Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 23:30:12 +0200 (CEST)
From:      Jaap Akkerhuis <jaap@NLnetLabs.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jaapna@bela.nlnetlabs.nl
Subject:   ports/173003: [MAINTAINER] dns/ldns: update to 1.6.14
Message-ID:  <201210232130.q9NLUCFW018638@bela.nlnetlabs.nl>
Resent-Message-ID: <201210232140.q9NLe1fN030916@freefall.freebsd.org>

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

>Number:         173003
>Category:       ports
>Synopsis:       [MAINTAINER] dns/ldns: update to 1.6.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 23 21:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jaap Akkerhuis
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
NLnet Labs
>Environment:
System: FreeBSD bela.nlnetlabs.nl 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #33: Tue Oct 23 14:55:39 CEST 2012
>Description:
- Port is updated to use OptionsNG Framework as contributed by Kenji Takefu. See <http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171934 for the details

- Update to 1.6.14

Most notable improvements:

* DANE support (RFC6698), including ldns-dane example tool.
* Configurable default CA certificate repository for ldns-dane with
  --with-ca-file=CAFILE and --with-ca-path=CAPATH
* Configurable default trust anchor with --with-trust-anchor=FILE
  for drill, ldns-verify-zone and ldns-dane
* Various improvements and fixes of pyldns from Katel Slany
  now documented in their own Changelog.

See for all the details the Changelog (and the contrib/pyldns Changelog)


Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- ldns-1.6.14.patch begins here ---
diff -ruN --exclude=CVS ../ldns.orig/Makefile ./Makefile
--- ../ldns.orig/Makefile	2012-10-07 18:19:34.762480890 +0200
+++ ./Makefile	2012-10-23 16:23:21.761450692 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ldns
-PORTVERSION=	1.6.13
-PORTREVISION=	1
+PORTVERSION=	1.6.14
 CATEGORIES=	dns
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/ldns/ \
 		CRITICAL
@@ -22,24 +21,27 @@
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS=	DOCS "With documentation" Off \
-		EXAMPLES "With example programs" On \
-		DRILL "With drill program" On \
-		GOST "GOST signatures enabled (requires openssl >= 1.0.0)" Off \
-		PYLDNS "Build python bindings" Off
+OPTIONS_DEFINE=	DOCS EXAMPLES DRILL GOST PYLDNS
+OPTIONS_SET=	EXAMPLES DRILL
+OPTIONS_UNSET=	DOCS GOST PYLDNS
+
+EXAMPLES_DESC=	"With example programs"
+DRILL_DESC=	"With drill program"
+GOST_DESC=	"GOST signatures enabled (requires openssl >= 1.0.0)"
+PYLDNS_DESC=	${PYTHON_DESC}
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PYLDNS)
+.if ${PORT_OPTIONS:MPYLDNS}
 USE_PYTHON=	yes
 .endif
 
 .include <bsd.port.pre.mk>
 
 ALL_TARGET=	all
-INSTALL_TARGET=	install-lib install-h
+INSTALL_TARGET=	install-lib install-h install-config
 
-.if defined(WITH_DOCS)
+.if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
 ALL_TARGET+=	doc
 INSTALL_TARGET+=install-manpages
@@ -66,6 +68,9 @@
 	ldns_buffer_write_string_at.3 ldns_buffer_write_u16.3 \
 	ldns_buffer_write_u16_at.3 ldns_buffer_write_u8.3 \
 	ldns_buffer_write_u8_at.3 ldns_calc_keytag.3 ldns_create_nsec.3 \
+	ldns_dane_cert2rdf.3 ldns_dane_create_tlsa_owner.3 \
+	ldns_dane_create_tlsa_rr.3 ldns_dane_select_certificate.3 \
+	ldns_dane_verify.3 ldns_dane_verify_rr.3 \
 	ldns_dname.3 ldns_dname2canonical.3 ldns_dname_cat.3 \
 	ldns_dname_cat_clone.3 ldns_dname_compare.3 ldns_dname_interval.3 \
 	ldns_dname_is_subdomain.3 ldns_dname_label.3 \
@@ -232,21 +237,21 @@
 MAN1+=	ldns-config.1
 .endif
 
-.if defined(WITH_GOST)
+.if ${PORT_OPTIONS:MGOST}
 BUILD_DEPENDS+=	openssl>=1.0:${PORTSDIR}/security/openssl
 .else
 NO_GOST=	--disable-gost
 CONFIGURE_ARGS+=${NO_GOST}
 .endif
 
-.if defined(WITH_DRILL)
+.if ${PORT_OPTIONS:MDRILL}
 PLIST_SUB+=	DRILLPROG=""
 MAN1+=	drill.1
 .else
 PLIST_SUB+=	DRILLPROG="@comment "
 .endif
 
-.if defined(WITH_EXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 PLIST_SUB+=	EXAMPLES=""
 NOMANCOMPRESS=	true
 MANCOMPRESSED=	no
@@ -256,12 +261,12 @@
 	ldns-nsec3-hash.1 ldns-read-zone.1 ldns-resolver.1 ldns-revoke.1 \
 	ldns-rrsig.1 ldns-signzone.1 ldns-testns.1 ldns-update.1 \
 	ldns-verify-zone.1 ldns-version.1 ldns-walk.1 ldns-zcat.1 \
-	ldns-zsplit.1 ldnsd.1 ldns-test-edns.1
+	ldns-zsplit.1 ldnsd.1 ldns-test-edns.1 ldns-dane.1
 .else
 PLIST_SUB+=	EXAMPLES="@comment "
 .endif
 
-.if defined(WITH_PYLDNS)
+.if ${PORT_OPTIONS:MPYLDNS}
 CONFIGURE_ARGS+=--with-pyldns
 BUILD_DEPENDS+=	${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
 INSTALL_TARGET+=install-pyldns
@@ -271,30 +276,30 @@
 .endif
 
 post-configure:
-.if defined(WITH_EXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@(cd ${WRKSRC}/examples; ./configure --prefix=${PREFIX} \
 		--infodir=${PREFIX}/${INFO_PATH} --mandir=${MANPREFIX}/man \
 		--build=${CONFIGURE_TARGET} ${NO_GOST} ${NO_SHA2})
 .endif
-.if defined(WITH_DRILL)
+.if ${PORT_OPTIONS:MDRILL}
 	@(cd ${WRKSRC}/drill; ./configure --prefix=${PREFIX} \
 		--mandir=${MANPREFIX}/man \
 		--build=${CONFIGURE_TARGET})
 .endif
 
 post-build:
-.if defined(WITH_EXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	 @(cd ${WRKSRC}/examples; ${GMAKE})
 .endif
-.if defined(WITH_DRILL)
+.if ${PORT_OPTIONS:MDRILL}
 	 @(cd ${WRKSRC}/drill; ${GMAKE})
 .endif
 
 post-install:
-.if defined(WITH_EXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@(cd ${WRKSRC}/examples; ${GMAKE} install)
 .endif
-.if defined(WITH_DRILL)
+.if ${PORT_OPTIONS:MDRILL}
 	@(cd ${WRKSRC}/drill; ${GMAKE} install)
 .endif
 
diff -ruN --exclude=CVS ../ldns.orig/distinfo ./distinfo
--- ../ldns.orig/distinfo	2012-10-07 18:19:34.761476570 +0200
+++ ./distinfo	2012-10-23 16:25:50.917449473 +0200
@@ -1,2 +1,2 @@
-SHA256 (ldns-1.6.13.tar.gz) = e50622f68908ac57eeef1b2f94bf2cf4d6b1dd309b4e613dce36139d89f15680
-SIZE (ldns-1.6.13.tar.gz) = 1066139
+SHA256 (ldns-1.6.14.tar.gz) = 4824f4b7d484d69f3a735a994c26b9d8699992e88631f680eac3907ce1a5e7d6
+SIZE (ldns-1.6.14.tar.gz) = 1109608
diff -ruN --exclude=CVS ../ldns.orig/pkg-plist ./pkg-plist
--- ../ldns.orig/pkg-plist	2012-10-07 18:19:34.762480890 +0200
+++ ./pkg-plist	2012-10-12 11:47:49.178081957 +0200
@@ -1,6 +1,8 @@
 %%EXAMPLES%%bin/ldns-chaos
 %%EXAMPLES%%bin/ldns-compare-zones
+%%EXAMPLES%%bin/ldns-config
 %%EXAMPLES%%bin/ldns-dpa
+%%EXAMPLES%%bin/ldns-dane
 %%EXAMPLES%%bin/ldns-gen-zone
 %%EXAMPLES%%bin/ldns-key2ds
 %%EXAMPLES%%bin/ldns-keyfetcher
@@ -25,6 +27,7 @@
 %%DRILLPROG%%bin/drill
 include/ldns/buffer.h
 include/ldns/common.h
+include/ldns/dane.h
 include/ldns/dname.h
 include/ldns/dnssec.h
 include/ldns/dnssec_sign.h
--- ldns-1.6.14.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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