git: 5c0e91d5e59a - main - security/nmap-devel: Pet portclippy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Mar 2024 21:35:48 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5c0e91d5e59acb7737f1ee00ffb901005fc95d7a
commit 5c0e91d5e59acb7737f1ee00ffb901005fc95d7a
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-28 21:32:19 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-28 21:35:37 +0000
security/nmap-devel: Pet portclippy
Reported by: Daniel Engberg <daniel.engberg.lists@pyret.net>
---
security/nmap-devel/Makefile | 30 ++++++++++++++----------------
1 file 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!