pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nmap nmap: assorted fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d93526140437
branches:  trunk
changeset: 412895:d93526140437
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Mar 13 08:55:37 2020 +0000

description:
nmap: assorted fixes

- use pkgsrc libssh2 rather than bundled
- Check portability skip for bundled libssh2
- ipv6 is no longer optional, so remove it
- bump rev

diffstat:

 net/nmap/Makefile        |   6 ++++--
 net/nmap/Makefile.common |   4 +++-
 net/nmap/options.mk      |  11 ++---------
 3 files changed, 9 insertions(+), 12 deletions(-)

diffs (67 lines):

diff -r 94d45c048d88 -r d93526140437 net/nmap/Makefile
--- a/net/nmap/Makefile Fri Mar 13 08:37:59 2020 +0000
+++ b/net/nmap/Makefile Fri Mar 13 08:55:37 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.143 2020/01/25 10:45:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.144 2020/03/13 08:55:37 tnn Exp $
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "Makefile.common"
 
 COMMENT=       Network/port scanner with OS detection
@@ -16,6 +16,7 @@
 CONFIGURE_ARGS+=       --with-libpcap=${BUILDLINK_PREFIX.libpcap}
 CONFIGURE_ARGS+=       --with-libpcre=${BUILDLINK_PREFIX.pcre}
 CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+=       --with-libssh2=${BUILDLINK_PREFIX.libssh2}
 CONFIGURE_ARGS+=       --without-ndiff # provided by net/ndiff
 CONFIGURE_ARGS+=       --without-subversion
 CONFIGURE_ARGS+=       --without-zenmap # provided by net/zenmap
@@ -66,4 +67,5 @@
 .include "../../math/liblinear/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
+.include "../../security/libssh2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 94d45c048d88 -r d93526140437 net/nmap/Makefile.common
--- a/net/nmap/Makefile.common  Fri Mar 13 08:37:59 2020 +0000
+++ b/net/nmap/Makefile.common  Fri Mar 13 08:55:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2019/08/28 13:55:44 adam Exp $
+# $NetBSD: Makefile.common,v 1.3 2020/03/13 08:55:37 tnn Exp $
 # used by net/ndiff/Makefile
 # used by net/nmap/Makefile
 # used by net/zenmap/Makefile
@@ -13,3 +13,5 @@
 LICENSE=       gnu-gpl-v2
 
 CONFLICTS=     nmap<=7.70
+
+CHECK_PORTABILITY_SKIP+=       libssh2/Makefile.in
diff -r 94d45c048d88 -r d93526140437 net/nmap/options.mk
--- a/net/nmap/options.mk       Fri Mar 13 08:37:59 2020 +0000
+++ b/net/nmap/options.mk       Fri Mar 13 08:55:37 2020 +0000
@@ -1,20 +1,13 @@
-# $NetBSD: options.mk,v 1.20 2018/04/14 13:04:33 adam Exp $
+# $NetBSD: options.mk,v 1.21 2020/03/13 08:55:37 tnn Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nmap
 
-PKG_SUPPORTED_OPTIONS= inet6 lua
-PKG_SUGGESTED_OPTIONS= inet6
+PKG_SUPPORTED_OPTIONS= lua
 
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=   lua
 
-.if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=       --enable-ipv6
-.else
-CONFIGURE_ARGS+=       --disable-ipv6
-.endif
-
 .if !empty(PKG_OPTIONS:Mlua)
 LUA_VERSIONS_ACCEPTED= 53      # needs lua_isyieldable, introduced in Lua 5.3
 .include "../../lang/lua/buildlink3.mk"



Home | Main Index | Thread Index | Old Index