diff --git a/security/ncrack/Makefile b/security/ncrack/Makefile index def310cdebcc..cedd01d907a4 100644 --- a/security/ncrack/Makefile +++ b/security/ncrack/Makefile @@ -1,23 +1,23 @@ PORTNAME= ncrack DISTVERSION= 0.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= se@FreeBSD.org COMMENT= High-speed network authentication cracking tool WWW= https://nmap.org/ncrack/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake ssl USE_GITHUB= yes GH_ACCOUNT= nmap GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .include diff --git a/security/ncrack/files/patch-opensshlib_openbsd-compat.h b/security/ncrack/files/patch-opensshlib_openbsd-compat.h new file mode 100644 index 000000000000..e6700fa7d161 --- /dev/null +++ b/security/ncrack/files/patch-opensshlib_openbsd-compat.h @@ -0,0 +1,11 @@ +--- opensshlib/openbsd-compat.h.orig 2019-08-24 22:25:32 UTC ++++ opensshlib/openbsd-compat.h +@@ -95,7 +95,7 @@ void *recallocarray(void *, size_t, size_t, size_t); + # define realpath(x, y) _ssh_compat_realpath(x, y) + # endif + +-char *realpath(const char *path, char *resolved); ++static char *realpath(const char *path, char *resolved); + #endif + + #ifndef HAVE_RRESVPORT_AF