summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-17 13:20:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-17 13:20:19 +0000
commitc1dd9659ece3a6058506ff6127c0e9ad063b47e2 (patch)
treec3537993777a57caf58b32a9f19d147e66735756 /dns
parentdevel/git-cinnabar: update to 0.4.0.r.12 (diff)
- Update to 1.6.0
- Do not silence installation message - While I'm here: - Move LIB_DEPENDS upwards - Use = instead of += for CONFIGURE_ARGS and USES - Convert to options helper - Use TEST_TARGET Changes: https://unbound.nlnetlabs.nl/pipermail/unbound-users/2016-December/004587.html PR: 215322 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
Notes
Notes: svn path=/head/; revision=428760
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile79
-rw-r--r--dns/unbound/distinfo6
-rw-r--r--dns/unbound/pkg-plist2
3 files changed, 32 insertions, 55 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 108133ef84cc..30235995fafd 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= unbound
-PORTVERSION= 1.5.10
+PORTVERSION= 1.6.0
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@@ -12,13 +12,17 @@ COMMENT= Validating, recursive, and caching DNS resolver
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= libexpat.so:textproc/expat2 \
+ libldns.so:dns/ldns
+
BROKEN_aarch64= Fails to link: missing sbrk
-USES+= autoreconf cpe libtool ssl
+USES= autoreconf cpe libtool ssl
CPE_VENDOR= nlnetlabs
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE}
+CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE}
USE_LDCONFIG= yes
+TEST_TARGET= test
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
@@ -40,58 +44,34 @@ MUNIN_PLUGIN_DESC= Install Munin plugin
FILTER_AAAA_DESC= Build with AAAA filter functionality (contrib)
DNSTAP_DESC= Enable dnstap logging support
-.include <bsd.port.options.mk>
-
-LIB_DEPENDS+= libexpat.so:textproc/expat2 \
- libldns.so:dns/ldns
-
STRIP_FILES= .libs/libunbound.so unbound-checkconf unbound \
unbound-control .libs/unbound-host .libs/unbound-anchor
-.if ${PORT_OPTIONS:MPYTHON}
-USES+= python:2
-CONFIGURE_ARGS+=--with-pyunbound=yes --with-pythonmodule=yes LDFLAGS="-L${LOCALBASE}/lib"
-BUILD_DEPENDS+= swig:devel/swig13
-STRIP_FILES+= .libs/_unbound.so
-.endif
+DNSTAP_CONFIGURE_ENABLE=dnstap
+DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \
+ libprotobuf-c.so:devel/protobuf-c
+ECDSA_CONFIGURE_ENABLE= ecdsa
+ECDSA_VARS= DEPENDS_ARGS+=WITH_ECDSA=yes
+GOST_CONFIGURE_ENABLE= gost
+GOST_VARS= DEPENDS_ARGS+=WITH_GOST=yes
+LIBEVENT_CONFIGURE_WITH=libevent
+LIBEVENT_CPPFLAGS+= $$(pkg-config libevent --cflags-only-I)
+LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent2
+LIBEVENT_LDFLAGS+= $$(pkg-config libevent --libs-only-L)
+LIBEVENT_USES= pkgconfig
+MUNIN_PLUGIN_SUB_FILES= pkg-message
+PYTHON_BUILD_DEPENDS= swig:devel/swig13
+PYTHON_CONFIGURE_ON= --with-pyunbound=yes --with-pythonmodule=yes LDFLAGS="-L${LOCALBASE}/lib"
+PYTHON_USES= python:2
+PYTHON_VARS= STRIP_FILES+=.libs/_unbound.so
+THREADS_CONFIGURE_WITH= pthreads
+
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGOST}
. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015
WITH_OPENSSL_PORT= yes
. endif
-DEPENDS_ARGS+= WITH_GOST=yes
-.else
-CONFIGURE_ARGS+=--disable-gost
-.endif
-
-.if ${PORT_OPTIONS:MECDSA}
-DEPENDS_ARGS+= WITH_ECDSA=yes
-.else
-CONFIGURE_ARGS+=--disable-ecdsa
-.endif
-
-.if ${PORT_OPTIONS:MDNSTAP}
-CONFIGURE_ARGS+=--enable-dnstap
-LIB_DEPENDS+= libprotobuf-c.so:devel/protobuf-c
-LIB_DEPENDS+= libfstrm.so:devel/fstrm
-.endif
-
-.if ${PORT_OPTIONS:MMUNIN_PLUGIN}
-SUB_FILES+= pkg-message
-.endif
-
-.if ${PORT_OPTIONS:MLIBEVENT}
-LIB_DEPENDS+= libevent.so:devel/libevent2
-USES+= pkgconfig
-CONFIGURE_ARGS+=--with-libevent
-CPPFLAGS+= $$(pkg-config libevent --cflags-only-I)
-LDFLAGS+= $$(pkg-config libevent --libs-only-L)
-.else
-CONFIGURE_ARGS+=--with-libevent=no
-.endif
-
-.if empty(PORT_OPTIONS:MTHREADS)
-CONFIGURE_ARGS+=--without-pthreads
.endif
post-patch:
@@ -111,7 +91,7 @@ post-install-PYTHON-on:
post-install-MUNIN_PLUGIN-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
- @${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_ \
+ ${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_ \
${STAGEDIR}${PREFIX}/share/munin/plugins/
@${ECHO_MSG}
@${ECHO_MSG} "============================================================="
@@ -122,7 +102,4 @@ post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
-regression-test: build
- (cd ${WRKSRC} && ${MAKE} test)
-
.include <bsd.port.mk>
diff --git a/dns/unbound/distinfo b/dns/unbound/distinfo
index 95b13c5bd129..b4ae370caee4 100644
--- a/dns/unbound/distinfo
+++ b/dns/unbound/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474980110
-SHA256 (unbound-1.5.10.tar.gz) = a39b8b4fcca2a2b35a2daa53fe35150cc3f09038dc9acede09c912fc248a9486
-SIZE (unbound-1.5.10.tar.gz) = 4941299
+TIMESTAMP = 1481819504
+SHA256 (unbound-1.6.0.tar.gz) = 6b7db874e6debda742fee8869d722e5a17faf1086e93c911b8564532aeeffab7
+SIZE (unbound-1.6.0.tar.gz) = 5063253
diff --git a/dns/unbound/pkg-plist b/dns/unbound/pkg-plist
index 2fc4691e1ccc..70f477a6df4b 100644
--- a/dns/unbound/pkg-plist
+++ b/dns/unbound/pkg-plist
@@ -3,7 +3,7 @@ include/unbound.h
lib/libunbound.a
lib/libunbound.so
lib/libunbound.so.2
-lib/libunbound.so.2.4.2
+lib/libunbound.so.2.4.3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py