cvs commit: ports/dns/nsd Makefile pkg-message pkg-plist ports/dns/nsd/files nsd.sh.tmpl

Olafur Osvaldsson oli at isnic.is
Sat May 29 16:55:09 PDT 2004


Pav,

On Sun, 30 May 2004, Pav Lucistnik wrote:

> Usual way to name options is WITH_FOO and WITHOUT_FOO.

OK, I've attached a patch to fix this, apply at your own discretion.

/Oli

-- 
Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel:   +354 525-5291
Email: oli at isnic.is
-------------- next part --------------
diff -ruN nsd.orig/Makefile nsd/Makefile
--- nsd.orig/Makefile	Sat May 29 12:23:56 2004
+++ nsd/Makefile	Sat May 29 23:52:19 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	nsd
 PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
 		ftp://ftp.rhnet.is/pub/nsd/
@@ -30,31 +30,31 @@
 		--with-namedxfer=${NSDXFER} \
 		--with-libwrap
 
-.if defined(DISABLE_IPV6)
+.if defined(WITHOUT_IPV6)
 CONFIGURE_ARGS+=	--disable-ipv6
 .endif
 
-.if defined(DISABLE_AXFR)
+.if defined(WITHOUT_AXFR)
 CONFIGURE_ARGS+=	--disable-axfr
 .endif
 
-.if defined(ENABLE_PLUGINS)
+.if defined(WITH_PLUGINS)
 CONFIGURE_ARGS+=	--enable-plugins
 .endif
 
-.if defined(ENABLE_BIND8_STATS)
+.if defined(WITH_BIND8_STATS)
 CONFIGURE_ARGS+=	--enable-bind8-stats
 .endif
 
-.if defined(ENABLE_DNSSEC)
+.if defined(WITH_DNSSEC)
 CONFIGURE_ARGS+=	--enable-dnssec
 .endif
 
-.if defined(ENABLE_ROOT_SERVER)
+.if defined(WITH_ROOT_SERVER)
 CONFIGURE_ARGS+=	--enable-root-server
 .endif
 
-.if defined(ENABLE_MMAP)
+.if defined(WITH_MMAP)
 CONFIGURE_ARGS+=	--enable-mmap
 .endif
 
@@ -71,15 +71,15 @@
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "nsd has the following tunables:"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "  DISABLE_IPV6		Disables IPv6 support"
-	@${ECHO_MSG} "  DISABLE_AXFR		Disables AXFR"
+	@${ECHO_MSG} "  WITHOUT_IPV6		Disables IPv6 support"
+	@${ECHO_MSG} "  WITHOUT_AXFR		Disables AXFR"
 	@${ECHO_MSG} ""
-	@${ECHO_MSG} "  ENABLE_PLUGINS	Enable plugin support"
-	@${ECHO_MSG} "  ENABLE_BIND8_STATS	Enables BIND8 like NSTATS & XSTATS"
-	@${ECHO_MSG} "  ENABLE_DNSSEC		Enable experimental DNSSEC support"
+	@${ECHO_MSG} "  WITH_PLUGINS		Enable plugin support"
+	@${ECHO_MSG} "  WITH_BIND8_STATS	Enables BIND8 like NSTATS & XSTATS"
+	@${ECHO_MSG} "  WITH_DNSSEC		Enable experimental DNSSEC support"
 	@${ECHO_MSG} "			according to the latest drafts"
-	@${ECHO_MSG} "  ENABLE_ROOT_SERVER	Configure NSD as a root server"
-	@${ECHO_MSG} "  ENABLE_MMAP		Configure NSD to load the database using mmap(2)"
+	@${ECHO_MSG} "  WITH_ROOT_SERVER	Configure NSD as a root server"
+	@${ECHO_MSG} "  WITH_MMAP		Configure NSD to load the database using mmap(2)"
 	@${ECHO_MSG} ""
 
 pre-build:


More information about the cvs-ports mailing list