Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 15:04:48 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/131160: [UPDATE] dns/bind9-sdb-ldap to 9.4.3-P1
Message-ID:  <20090130140448.3268C4AD6B@mail.vx.sk>
Resent-Message-ID: <200901301410.n0UEA4G3048473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         131160
>Category:       ports
>Synopsis:       [UPDATE] dns/bind9-sdb-ldap to 9.4.3-P1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 14:10:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     RebuM
>Release:        FreeBSD 7.1-RELEASE i386/amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE i386/amd64
>Description:
- update to security release 9.4.3-P1
- import OPTIONS and other stuff from dns/bind94
>How-To-Repeat:
>Fix:
Index: ports/dns/bind9-sdb-ldap/Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/bind9-sdb-ldap/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- ports/dns/bind9-sdb-ldap/Makefile	5 Jan 2009 19:04:14 -0000	1.9
+++ ports/dns/bind9-sdb-ldap/Makefile	30 Jan 2009 13:46:57 -0000
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	bind9
-PORTVERSION=	9.4.2.1
-PORTREVISION=	1
+PORTVERSION=	9.4.3.1
 CATEGORIES=	dns net ipv6
-MASTER_SITES=	${MASTER_SITE_ISC}
+MASTER_SITES=	${MASTER_SITE_ISC} \
+		http://dougbarton.us/Downloads/%SUBDIR%/
 MASTER_SITE_SUBDIR=	bind9/${ISCVERSION}
 PKGNAMESUFFIX=	-sdb-ldap
 DISTNAME=	bind-${ISCVERSION}
@@ -23,22 +23,57 @@
 
 CONFLICTS=	bind9-9.* bind9-sdb-postgresql-* host-* skalibs-*
 
-# ISC releases things like 9.3.0rc1, which our versioning doesn't like
-ISCVERSION=	9.4.2-P1
+# ISC releases things like 9.4.0b3, which our versioning doesn't like
+ISCVERSION=	9.4.3-P1
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--localstatedir=/var --disable-linux-caps --with-openssl \
+CONFIGURE_ARGS=	--localstatedir=/var --disable-linux-caps \
 		--with-randomdev=/dev/random
 
+OPTIONS=	SSL "Building without OpenSSL removes DNSSEC" on \
+		REPLACE_BASE "Replace base BIND with this version" off \
+		LARGE_FILE "64-bit file support" off \
+		SIGCHASE "dig/host/nslookup will do DNSSEC validation" off \
+		IPV6 "IPv6 Support (autodetected by default)" off
+
+# Just in case
 USE_OPENSSL=	yes
 
-.if !defined(WITHOUT_BIND9_THREADS) || defined(PACKAGE_BUILDING)
+.include <bsd.port.pre.mk>
+
+# We are ok by default from 7.0-RELEASE on
+.if ${OSVERSION} >= 700055
+OPTIONS+=	THREADS "Compile with thread support" on
+.else
+OPTIONS+=	THREADS "Compile w/threads (Not Recommended <FreeBSD-7)" off
+.endif
+
+.if !defined(WITHOUT_SSL)
+CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
+.else
+CONFIGURE_ARGS+=	--disable-openssl-version-check
+CONFIGURE_ARGS+=	--without-openssl
+.endif
+
+.if defined(WITH_LARGE_FILE)
+CONFIGURE_ARGS+=	--enable-largefile
+.endif
+
+.if defined(WITH_SIGCHASE)
+CONFIGURE_ARGS+=	STD_CDEFINES="-DDIG_SIGCHASE=1"
+.endif
+
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+=	--enable-ipv6
+.endif
+
+.if !defined(WITHOUT_THREADS)
 CONFIGURE_ARGS+=	--enable-threads
 .else
 CONFIGURE_ARGS+=	--disable-threads
 .endif
 
-.if defined(WITH_PORT_REPLACES_BASE_BIND9)
+.if defined(WITH_REPLACE_BASE)
 PKGNAMESUFFIX=	-sdb-ldap-base
 PREFIX=		/usr
 BIND_DESTETC=	/etc/namedb
@@ -50,7 +85,7 @@
 
 PLIST_SUB=	BIND_DESTETC="${BIND_DESTETC}"
 
-MAN1=	dig.1 host.1 nslookup.1
+MAN1=	dig.1 host.1 nslookup.1 nsupdate.1
 MAN3=	lwres.3 lwres_addr_parse.3 lwres_buffer.3 lwres_buffer_add.3 \
 	lwres_buffer_back.3 lwres_buffer_clear.3 lwres_buffer_first.3 \
 	lwres_buffer_forward.3 lwres_buffer_getmem.3 lwres_buffer_getuint16.3 \
@@ -86,24 +121,14 @@
 	lwres_sethostent_r.3 lwres_string_parse.3
 MAN5=	named.conf.5 rndc.conf.5
 MAN8=	dnssec-keygen.8 dnssec-signzone.8 lwresd.8 named-checkconf.8 \
-	named-checkzone.8 named.8 nsupdate.8 rndc-confgen.8 rndc.8
+	named-checkzone.8 named.8 rndc-confgen.8 rndc.8
 MLINKS=	named-checkzone.8 named-compilezone.8
 
-pre-fetch:
-.if defined(PORT_REPLACES_BASE_BIND9)
-	@${ECHO} ""
-	@${ECHO} "***************************************************"
-	@${ECHO} "Support for the old PORT_REPLACES_BASE_BIND9 option"
-	@${ECHO} "will be removed in future versions of the port."
-	@${ECHO} "Use WITH_PORT_REPLACES_BASE_BIND9 instead."
-	@${ECHO} "***************************************************"
-	@${ECHO} ""
-	@/bin/sleep 5
-WITH_PORT_REPLACES_BASE_BIND9=	true
-.endif
+verify:	checksum
+	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
 
 post-patch:
-.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \
+.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.1 \
 	rndc/rndc.8
 	@${MV} ${WRKSRC}/bin/${FILE} ${WRKSRC}/bin/${FILE}.Dist
 	@${SED} -e 's#/etc/named.conf#${BIND_DESTETC}/named.conf#g' \
@@ -116,7 +141,8 @@
 		${BIND_DESTETC}/rndc.conf.sample
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}/arm ${DOCSDIR}/misc
-	${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM*html ${DOCSDIR}/arm
+	${INSTALL_DATA} ${WRKSRC}/doc/arm/*.html ${DOCSDIR}/arm
+	${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM.pdf ${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/doc/misc/[a-z]* ${DOCSDIR}/misc
 	${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \
 		${WRKSRC}/README ${DOCSDIR}/
@@ -124,4 +150,4 @@
 
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: ports/dns/bind9-sdb-ldap/distinfo
===================================================================
RCS file: /home/pcvs/ports/dns/bind9-sdb-ldap/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- ports/dns/bind9-sdb-ldap/distinfo	18 Aug 2008 12:46:55 -0000	1.5
+++ ports/dns/bind9-sdb-ldap/distinfo	30 Jan 2009 13:46:57 -0000
@@ -1,6 +1,6 @@
-MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8
-SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84
-SIZE (bind-9.4.2-P1.tar.gz) = 6451654
-MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b
-SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d
-SIZE (bind-9.4.2-P1.tar.gz.asc) = 479
+MD5 (bind-9.4.3-P1.tar.gz) = 3cb525ad4f22315e23f08c8ce1e1d3d3
+SHA256 (bind-9.4.3-P1.tar.gz) = 6f4323db5b55105a83a71517f42c0e6f1defdeefa7156b5ebe035480e2755c8a
+SIZE (bind-9.4.3-P1.tar.gz) = 6544583
+MD5 (bind-9.4.3-P1.tar.gz.asc) = b0f6c208697755993966c9dca4c0e069
+SHA256 (bind-9.4.3-P1.tar.gz.asc) = e346a9169b9d30d47a709bb9c654d579c86b698531260bd81e526ff40d74cd5c
+SIZE (bind-9.4.3-P1.tar.gz.asc) = 479
Index: ports/dns/bind9-sdb-ldap/pkg-message
===================================================================
RCS file: /home/pcvs/ports/dns/bind9-sdb-ldap/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- ports/dns/bind9-sdb-ldap/pkg-message	13 Jul 2005 19:24:35 -0000	1.1
+++ ports/dns/bind9-sdb-ldap/pkg-message	30 Jan 2009 13:46:57 -0000
@@ -5,18 +5,14 @@
 *	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |		*
 *	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|		*
 *									*
-*	BIND 9 requires a good source of randomness to operate.		*
-*	It also requires configuration of rndc, including a		*
-*	"secret" key.  If you are using FreeBSD 4.x, visit		*
-*	http://people.freebsd.org/~dougb/randomness.html for		*
-*	information on how to set up entropy gathering. Users		*
-*	of FreeBSD 5.x or later do not need to do this step. If		*
-*	you are running BIND 9 in a chroot environment, make		*
-*	sure that there is a /dev/random device in the chroot.		*
+*	If you are running BIND 9 in a chroot environment, make		*
+*	sure that there is a /dev/random device	in the chroot.		*
 *									*
-*	The easiest, and most secure way to configure rndc is		*
-*	to run 'rndc-confgen -a' which will generate the proper		*
-*	conf file, with a new random key, and appropriate file		*
-*	permissions.							*
+*	BIND 9 also requires configuration of rndc, including a		*
+*	"secret" key.  The easiest, and most secure way to configure	*
+*	rndc is to run 'rndc-confgen -a' to generate the proper	conf	*
+*	file, with a new random key, and appropriate file permissions.	*
+*									*
+*	The /etc/rc.d/named script in the base will do both for you.    *
 *									*
 *************************************************************************
Index: ports/dns/bind9-sdb-ldap/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/dns/bind9-sdb-ldap/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- ports/dns/bind9-sdb-ldap/pkg-plist	18 Aug 2008 12:46:55 -0000	1.5
+++ ports/dns/bind9-sdb-ldap/pkg-plist	30 Jan 2009 13:46:57 -0000
@@ -74,8 +74,8 @@
 include/dst/lib.h
 include/dst/result.h
 include/isc/app.h
-include/isc/atomic.h
 include/isc/assertions.h
+include/isc/atomic.h
 include/isc/base64.h
 include/isc/bitstring.h
 include/isc/boolean.h
@@ -195,6 +195,7 @@
 sbin/named-compilezone
 sbin/rndc
 sbin/rndc-confgen
+%%PORTDOCS%%%%DOCSDIR%%/Bv9ARM.pdf
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
@@ -210,6 +211,16 @@
 %%PORTDOCS%%%%DOCSDIR%%/arm/Bv9ARM.ch09.html
 %%PORTDOCS%%%%DOCSDIR%%/arm/Bv9ARM.ch10.html
 %%PORTDOCS%%%%DOCSDIR%%/arm/Bv9ARM.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.dig.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.dnssec-keygen.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.dnssec-signzone.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.host.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.named-checkconf.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.named-checkzone.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.named.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.rndc-confgen.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.rndc.conf.html
+%%PORTDOCS%%%%DOCSDIR%%/arm/man.rndc.html
 %%PORTDOCS%%%%DOCSDIR%%/misc/dnssec
 %%PORTDOCS%%%%DOCSDIR%%/misc/format-options.pl
 %%PORTDOCS%%%%DOCSDIR%%/misc/ipv6
@@ -219,6 +230,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/misc/rfc-compliance
 %%PORTDOCS%%%%DOCSDIR%%/misc/roadmap
 %%PORTDOCS%%%%DOCSDIR%%/misc/sdb
+%%PORTDOCS%%%%DOCSDIR%%/misc/sort-options.pl
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/arm
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/misc
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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