summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-03-28 14:32:19 -0700
committerCy Schubert <cy@FreeBSD.org>2024-03-28 14:35:37 -0700
commit5c0e91d5e59acb7737f1ee00ffb901005fc95d7a (patch)
treec0a2d666aab065cea7d162993f44f90205398115
parentsecurity/nmap-devel: Use version number documented in handbook (diff)
security/nmap-devel: Pet portclippy
Reported by: Daniel Engberg <daniel.engberg.lists@pyret.net>
-rw-r--r--security/nmap-devel/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile
index 94f32fbae102..1e7899e91f1c 100644
--- a/security/nmap-devel/Makefile
+++ b/security/nmap-devel/Makefile
@@ -7,41 +7,46 @@ MAINTAINER?= cy@FreeBSD.org
COMMENT?= Port scanning utility for large networks
WWW= https://nmap.org/
-USE_GITHUB= yes
-GH_TAGNAME= 036714cde
-NMAP_COMMIT_DATE= 20240327
-
-MAKE_JOBS_UNSAFE= yes
-
# nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605)
# https://nmap.org/book/man-legal.html
# Install the nmap modified license because of
# http://insecure.org/news/download-com-fiasco.html
LICENSE= NPSL
LICENSE_NAME= Nmap Public Source License
-LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
.if !defined(MASTERDIR)
LIB_DEPENDS= libpcre2-16.so:devel/pcre2
USES= tar:bzip2 gmake cpe libtool
+USE_GITHUB= yes
+GH_TAGNAME= 036714cde
+NMAP_COMMIT_DATE= 20240327
+
GNU_CONFIGURE= yes
+CONFIGURE_ARGS=--without-localdirs \
+ --without-zenmap \
+ --without-ndiff \
+ --with-libpcre=${LOCALBASE} \
+ --with-liblua=included \
+ --without-nmap-update
+MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-OPTIONS_SUB= yes
OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL
OPTIONS_DEFAULT=NLS SSH2 SSL
+OPTIONS_SUB= yes
PCAP_DESC= Build with libpcap from nmap
SSH2_DESC= SSH2 protocol support
NLS_CONFIGURE_ENABLE= nls
PCAP_CONFIGURE_ON= --with-libpcap=included
+SSH2_IMPLIES= SSL
SSH2_CONFIGURE_ON= --with-libssh2=included
SSH2_CONFIGURE_OFF= --without-libssh2
-SSH2_IMPLIES= SSL
SSL_USES= ssl
SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE}
SSL_CONFIGURE_OFF= --without-openssl
@@ -51,13 +56,6 @@ SSL_VARS= STRIP_FILES+=ncat
DOCS= CHANGELOG HACKING
STRIP_FILES+= nmap nping
-CONFIGURE_ARGS+=--without-localdirs \
- --without-zenmap \
- --without-ndiff \
- --with-libpcre=${LOCALBASE} \
- --with-liblua=included \
- --without-nmap-update
-
.include <bsd.port.options.mk>
# XXX limit results if we do a grep in the sources!