aboutsummaryrefslogtreecommitdiffstats
path: root/dns/ldns
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-10-07 06:43:49 +0800
committerzi <zi@FreeBSD.org>2011-10-07 06:43:49 +0800
commit11a56be8508706d9e422a8ee1ca2875599790372 (patch)
treed3a2ba3a77194b7923bde1a77a7ffb3fa8c4035c /dns/ldns
parent914a06ad514beab50c3df86731e35eb146c0301c (diff)
downloadfreebsd-ports-gnome-11a56be8508706d9e422a8ee1ca2875599790372.tar.gz
freebsd-ports-gnome-11a56be8508706d9e422a8ee1ca2875599790372.tar.zst
freebsd-ports-gnome-11a56be8508706d9e422a8ee1ca2875599790372.zip
- Update to 1.6.11
- Fix up whitespace PR: ports/161133 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Diffstat (limited to 'dns/ldns')
-rw-r--r--dns/ldns/Makefile43
-rw-r--r--dns/ldns/distinfo4
2 files changed, 24 insertions, 23 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index d307079cac56..ce30a0fdfd2f 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ldns
-PORTVERSION= 1.6.10
+PORTVERSION= 1.6.11
CATEGORIES= dns
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ \
CRITICAL
@@ -28,6 +28,17 @@ OPTIONS= DOCS "With documentation" Off \
ECDSA "With highly experimental ECDSA support" Off \
PYLDNS "Build python bindings" Off
+.if defined(WITH_PYLDNS)
+USE_PYTHON= yes
+.include "${PORTSDIR}/Mk/bsd.python.mk"
+CONFIGURE_ARGS+=--with-pyldns
+BUILD_DEPENDS+= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
+INSTALL_TARGET+=install-pyldns
+PLIST_SUB+= PYLDNS=""
+.else
+PLIST_SUB+= PYLDNS="@comment "
+.endif
+
.include <bsd.port.pre.mk>
ALL_TARGET= all
@@ -223,24 +234,25 @@ MAN3= ldns_bget_token.3 ldns_bgetc.3 ldns_bskipcs.3 ldns_buffer.3 \
ldns_zone_print.3 ldns_zone_push_rr.3 ldns_zone_push_rr_list.3 \
ldns_zone_rr_count.3 ldns_zone_rrs.3 ldns_zone_set_rrs.3 \
ldns_zone_set_soa.3 ldns_zone_soa.3 ldns_zone_sort.3
+MAN1+= ldns-config.1
.endif
.if defined(WITH_GOST)
BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl
.else
-NO_GOST= --disable-gost
-CONFIGURE_ARGS+= ${NO_GOST}
+NO_GOST= --disable-gost
+CONFIGURE_ARGS+=${NO_GOST}
.endif
.if defined(WITH_DRILL)
-PLIST_SUB+= DRILLPROG=""
+PLIST_SUB+= DRILLPROG=""
MAN1+= drill.1
.else
-PLIST_SUB+= DRILLPROG="@comment "
+PLIST_SUB+= DRILLPROG="@comment "
.endif
.if defined(WITH_EXAMPLES)
-PLIST_SUB+= EXAMPLES=""
+PLIST_SUB+= EXAMPLES=""
NOMANCOMPRESS= true
MANCOMPRESSED= no
MAN1+= ldns-chaos.1 ldns-compare-zones.1 ldns-dpa.1 \
@@ -251,27 +263,16 @@ MAN1+= ldns-chaos.1 ldns-compare-zones.1 ldns-dpa.1 \
ldns-verify-zone.1 ldns-version.1 ldns-walk.1 ldns-zcat.1 \
ldns-zsplit.1 ldnsd.1 ldns-test-edns.1
.else
-PLIST_SUB+= EXAMPLES="@comment "
+PLIST_SUB+= EXAMPLES="@comment "
.endif
.if defined(WITH_ECDSA) && ${OSVERSION} > 700000
-CONFIGURE_ARGS+= --enable-ecdsa
-.endif
-
-.if defined(WITH_PYLDNS)
-USE_PYTHON= yes
-.include "${PORTSDIR}/Mk/bsd.python.mk"
-CONFIGURE_ARGS+= --with-pyldns
-BUILD_DEPENDS+= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
-INSTALL_TARGET+= install-pyldns
-PLIST_SUB+= PYLDNS=""
-.else
-PLIST_SUB+= PYLDNS="@comment "
+CONFIGURE_ARGS+=--enable-ecdsa
.endif
.if ${OSVERSION} < 700000
-NO_SHA2= --disable-sha2
-CONFIGURE_ARGS+= ${NO_SHA2}
+NO_SHA2= --disable-sha2
+CONFIGURE_ARGS+=${NO_SHA2}
.endif
post-configure:
diff --git a/dns/ldns/distinfo b/dns/ldns/distinfo
index 2dac225e04a9..8a2633d06ddf 100644
--- a/dns/ldns/distinfo
+++ b/dns/ldns/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ldns-1.6.10.tar.gz) = a421aa71230045e0d22a97db8c4ffbc049ee06b064de141912da270db7217a8f
-SIZE (ldns-1.6.10.tar.gz) = 999717
+SHA256 (ldns-1.6.11.tar.gz) = 6891b8ea8e9ded3e7d2caaaf494a8c2459bab729cdd1716f6db2ba375f628888
+SIZE (ldns-1.6.11.tar.gz) = 1018369