Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 09:50:12 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ef3384d24e58 - 2024Q1 - security/nmap: Add NLS option
Message-ID:  <202401240950.40O9oCvG000592@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef3384d24e58290a29166010a768eac687cb4e88

commit ef3384d24e58290a29166010a768eac687cb4e88
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-01-24 09:33:46 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-01-24 09:50:07 +0000

    security/nmap: Add NLS option
    
    Add a (default) NLS option.
    
    PR:             276580
    Original by:    Helge Oldach <freebsd@oldach.net>
    
    (cherry picked from commit d7c24e0f57125b5be6533f4dc1618288d2ad40f0)
---
 security/nmap/Makefile  |  6 ++++--
 security/nmap/pkg-plist | 28 ++++++++++++++--------------
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index d12ad6eb544f..9aca11abc780 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nmap
 DISTVERSION=	7.94
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	https://nmap.org/dist/ \
 		LOCAL/ohauer
@@ -25,12 +26,13 @@ USES=		tar:bzip2 gmake cpe
 GNU_CONFIGURE=	yes
 
 OPTIONS_SUB=	yes
-OPTIONS_DEFINE=	DOCS PCAP SSH2 SSL
-OPTIONS_DEFAULT=SSH2 SSL
+OPTIONS_DEFINE=	DOCS NLS PCAP SSH2 SSL
+OPTIONS_DEFAULT=NLS SSH2 SSL
 
 PCAP_DESC=		Build with libpcap from nmap
 SSH2_DESC=		SSH2 protocol support
 
+NLS_CONFIGURE_ENABLE=	nls
 PCAP_CONFIGURE_ON=	--with-libpcap=included
 SSH2_CONFIGURE_ON=	--with-libssh2=included
 SSH2_CONFIGURE_OFF=	--without-libssh2
diff --git a/security/nmap/pkg-plist b/security/nmap/pkg-plist
index 1642464d9f87..7a2fcfd7f250 100644
--- a/security/nmap/pkg-plist
+++ b/security/nmap/pkg-plist
@@ -1,23 +1,23 @@
 bin/ncat
 bin/nmap
 bin/nping
-man/de/man1/nmap.1.gz
-man/es/man1/nmap.1.gz
-man/fr/man1/nmap.1.gz
-man/hr/man1/nmap.1.gz
-man/hu/man1/nmap.1.gz
-man/it/man1/nmap.1.gz
-man/ja/man1/nmap.1.gz
+%%NLS%%man/de/man1/nmap.1.gz
+%%NLS%%man/es/man1/nmap.1.gz
+%%NLS%%man/fr/man1/nmap.1.gz
+%%NLS%%man/hr/man1/nmap.1.gz
+%%NLS%%man/hu/man1/nmap.1.gz
+%%NLS%%man/it/man1/nmap.1.gz
+%%NLS%%man/ja/man1/nmap.1.gz
 man/man1/ncat.1.gz
 man/man1/nmap.1.gz
 man/man1/nping.1.gz
-man/pl/man1/nmap.1.gz
-man/pt_BR/man1/nmap.1.gz
-man/pt_PT/man1/nmap.1.gz
-man/ro/man1/nmap.1.gz
-man/ru/man1/nmap.1.gz
-man/sk/man1/nmap.1.gz
-man/zh/man1/nmap.1.gz
+%%NLS%%man/pl/man1/nmap.1.gz
+%%NLS%%man/pt_BR/man1/nmap.1.gz
+%%NLS%%man/pt_PT/man1/nmap.1.gz
+%%NLS%%man/ro/man1/nmap.1.gz
+%%NLS%%man/ru/man1/nmap.1.gz
+%%NLS%%man/sk/man1/nmap.1.gz
+%%NLS%%man/zh/man1/nmap.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%PORTDOCS%%%%DOCSDIR%%/HACKING
 %%SSL%%share/ncat/ca-bundle.crt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401240950.40O9oCvG000592>