1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/security/ncrack/Makefile
Stefan Eßer 0cb87c12e5 security/ncrack: fix build on -CURRENT
This port seems to have been affected by the recent FORTIFY_SOURCE
update on -CURRENT. The error message was:

In file included from strlcpy.c:21:
In file included from ./includes.h:190:
In file included from ./entropy.h:30:
In file included from ./buffer.h:28:
In file included from ./sshbuf.h:29:
In file included from /usr/local/include/openssl/bn.h:26:
In file included from /usr/local/include/openssl/crypto.h:25:
In file included from /usr/include/stdlib.h:73:
/usr/include/ssp/stdlib.h:41:33: error: static declaration of
               '_ssh_compat_realpath' follows non-static declaration
   41 | __ssp_redirect_raw_impl(char *, realpath, realpath,
      |                                 ^
./openbsd-compat.h:98:7: note: previous declaration is here
   98 | char *realpath(const char *path, char *resolved);
      |       ^
./openbsd-compat.h:95:26: note: expanded from macro 'realpath'
   95 | #  define realpath(x, y) _ssh_compat_realpath(x, y)
      |                          ^
2 errors generated.
2024-07-16 23:06:14 +02:00

24 lines
425 B
Makefile

PORTNAME= ncrack
DISTVERSION= 0.7
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 <bsd.port.mk>