From owner-svn-ports-head@freebsd.org Sat Dec 17 13:20:20 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87B9BC8509E; Sat, 17 Dec 2016 13:20:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4855A1D6D; Sat, 17 Dec 2016 13:20:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBHDKJxw088976; Sat, 17 Dec 2016 13:20:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBHDKJ25088973; Sat, 17 Dec 2016 13:20:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612171320.uBHDKJ25088973@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 17 Dec 2016 13:20:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428760 - head/dns/unbound X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2016 13:20:20 -0000 Author: sunpoet Date: Sat Dec 17 13:20:19 2016 New Revision: 428760 URL: https://svnweb.freebsd.org/changeset/ports/428760 Log: - 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 (maintainer) Modified: head/dns/unbound/Makefile head/dns/unbound/distinfo head/dns/unbound/pkg-plist Modified: head/dns/unbound/Makefile ============================================================================== --- head/dns/unbound/Makefile Sat Dec 17 13:09:12 2016 (r428759) +++ head/dns/unbound/Makefile Sat Dec 17 13:20:19 2016 (r428760) @@ -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 cach 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 - -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 .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 Modified: head/dns/unbound/distinfo ============================================================================== --- head/dns/unbound/distinfo Sat Dec 17 13:09:12 2016 (r428759) +++ head/dns/unbound/distinfo Sat Dec 17 13:20:19 2016 (r428760) @@ -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 Modified: head/dns/unbound/pkg-plist ============================================================================== --- head/dns/unbound/pkg-plist Sat Dec 17 13:09:12 2016 (r428759) +++ head/dns/unbound/pkg-plist Sat Dec 17 13:20:19 2016 (r428760) @@ -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