pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nmap Support inet6 option. From PR 37152.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d2dcc0ada9d
branches:  trunk
changeset: 553135:7d2dcc0ada9d
user:      shattered <shattered%pkgsrc.org@localhost>
date:      Thu Jan 15 20:28:31 2009 +0000

description:
Support inet6 option.  From PR 37152.

OK by salo@.

diffstat:

 net/nmap/Makefile   |   4 ++--
 net/nmap/options.mk |  10 ++++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 55e110ad6b55 -r 7d2dcc0ada9d net/nmap/Makefile
--- a/net/nmap/Makefile Thu Jan 15 20:10:55 2009 +0000
+++ b/net/nmap/Makefile Thu Jan 15 20:28:31 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.63 2009/01/10 20:22:15 adrianp Exp $
+# $NetBSD: Makefile,v 1.64 2009/01/15 20:28:31 shattered Exp $
 #
 
 DISTNAME=      nmap-4.76
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net security
 MASTER_SITES=  http://download.insecure.org/nmap/dist/
 EXTRACT_SUFX=  .tar.bz2
diff -r 55e110ad6b55 -r 7d2dcc0ada9d net/nmap/options.mk
--- a/net/nmap/options.mk       Thu Jan 15 20:10:55 2009 +0000
+++ b/net/nmap/options.mk       Thu Jan 15 20:28:31 2009 +0000
@@ -1,11 +1,17 @@
-# $NetBSD: options.mk,v 1.1 2008/06/09 19:35:31 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2009/01/15 20:28:31 shattered Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.nmap
 
-PKG_SUPPORTED_OPTIONS= zenmap
+PKG_SUPPORTED_OPTIONS= zenmap inet6
 
 .include "../../mk/bsd.options.mk"
 
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif
+
 ###
 ### Enable dynamically loadable preprocessors, detection engine
 ### and rules libraries.



Home | Main Index | Thread Index | Old Index