Index: head/dns/unbound/Makefile =================================================================== --- head/dns/unbound/Makefile (revision 465194) +++ head/dns/unbound/Makefile (revision 465195) @@ -1,111 +1,110 @@ # Created by: Sergey Matveychuk # $FreeBSD$ PORTNAME= unbound -PORTVERSION= 1.6.8 -PORTREVISION= 2 +PORTVERSION= 1.7.0 CATEGORIES= dns MASTER_SITES= https://unbound.net/downloads/ \ https://distfiles.crux.guru/ MAINTAINER= jaap@NLnetLabs.nl COMMENT= Validating, recursive, and caching DNS resolver LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:textproc/expat2 \ libldns.so:dns/ldns USES= autoreconf cpe libtool ssl CPE_VENDOR= nlnetlabs GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE} USE_LDCONFIG= yes TEST_TARGET= test USERS= ${PORTNAME} GROUPS= ${PORTNAME} USE_RC_SUBR= unbound PORTDOCS= CREDITS Changelog FEATURES LICENSE README README.svn \ README.tests TODO control_proto_spec.txt ietf67-design-02.odp \ ietf67-design-02.pdf requirements.txt OPTIONS_SUB= yes OPTIONS_DEFINE= THREADS PYTHON GOST ECDSA MUNIN_PLUGIN DOCS LIBEVENT \ FILTER_AAAA DNSTAP DNSCRYPT SUBNET EVAPI TFOCL TFOSE OPTIONS_DEFAULT=THREADS ECDSA LIBEVENT LIBEVENT_DESC= Build against libevent GOST_DESC= Enable GOST support (requires OpenSSL >= 1.0) ECDSA_DESC= Enable ECDSA (elliptic curve) support (OpenSSL >= 1.0) MUNIN_PLUGIN_DESC= Install Munin plugin FILTER_AAAA_DESC= Build with AAAA filter functionality (contrib) DNSTAP_DESC= Enable dnstap logging support DNSCRYPT_DESC= Enable dnscrypt support SUBNET_DESC= Enable client subnet support EVAPI_DESC= (Experimental) pluggable event based libunbound API support TFOCL_DESC= Enable TCP Fast Open for client mode TFOSE_DESC= Enable TCP Fast Open for server mode STRIP_FILES= .libs/libunbound.so unbound-checkconf unbound \ unbound-control .libs/unbound-host .libs/unbound-anchor DNSTAP_CONFIGURE_ENABLE=dnstap DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ libprotobuf-c.so:devel/protobuf-c DNSCRYPT_CONFIGURE_ENABLE= dnscrypt DNSCRYPT_LIB_DEPENDS= libsodium.so:security/libsodium SUBNET_CONFIGURE_ENABLE= subnet EVAPI_CONFIGURE_ENABLE= event-api TFOCL_CONFIGURE_ENABLE= tfo-client TFOSE_CONFIGURE_ENABLE= tfo-server 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/libevent LIBEVENT_LDFLAGS+= $$(pkg-config libevent --libs-only-L) LIBEVENT_USES= pkgconfig MUNIN_PLUGIN_SUB_FILES= pkg-message PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 PYTHON_CONFIGURE_ON= --with-pyunbound=yes --with-pythonmodule=yes \ LDFLAGS="-L${LOCALBASE}/lib" \ ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0 PYTHON_USES= python:2.7 PYTHON_VARS= STRIP_FILES+=.libs/_unbound.so THREADS_CONFIGURE_WITH= pthreads post-patch: @${RM} ${WRKSRC}/util/configlexer.c @${REINPLACE_CMD} -e 's|if test ! -e $$(DESTDIR)$$(configfile); then || ; \ s|$$(configfile); fi|$$(configfile).sample|' \ ${WRKSRC}/Makefile.in post-patch-FILTER_AAAA-on: ${CAT} ${WRKSRC}/contrib/aaaa-filter-iterator.patch | ${PATCH} -d ${WRKSRC} -p1 -s post-build: @for s in ${STRIP_FILES}; do ${STRIP_CMD} ${WRKSRC}/$$s; done post-install-PYTHON-on: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_unbound.so post-install-MUNIN_PLUGIN-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins ${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_ \ ${STAGEDIR}${PREFIX}/share/munin/plugins/ @${ECHO_MSG} @${ECHO_MSG} "=============================================================" @${CAT} ${WRKDIR}/pkg-message @${ECHO_MSG} "=============================================================" post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include Index: head/dns/unbound/distinfo =================================================================== --- head/dns/unbound/distinfo (revision 465194) +++ head/dns/unbound/distinfo (revision 465195) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516376435 -SHA256 (unbound-1.6.8.tar.gz) = e3b428e33f56a45417107448418865fe08d58e0e7fea199b855515f60884dd49 -SIZE (unbound-1.6.8.tar.gz) = 5467536 +TIMESTAMP = 1521117536 +SHA256 (unbound-1.7.0.tar.gz) = 94dd9071fb13d8ccd122a3ac67c4524a3324d0e771fc7a8a7c49af8abfb926a2 +SIZE (unbound-1.7.0.tar.gz) = 5538228 Index: head/dns/unbound/files/unbound.in =================================================================== --- head/dns/unbound/files/unbound.in (revision 465194) +++ head/dns/unbound/files/unbound.in (revision 465195) @@ -1,49 +1,49 @@ #!/bin/sh # # $FreeBSD$ # # unbound freebsd startup rc.d script, modified from the named script. # uses the default unbound installation path and pidfile location. # copy this to /etc/rc.d/unbound # and put unbound_enable="YES" into rc.conf # # unbound_anchorflags can be used to allow you to pass a custom flags to # unbound-anchor. Examples include a custom resolv.conf (-f) or a custom # root.hints (-r). Useful for when /etc/resolv.conf only contains 127.0.0.1 # PROVIDE: unbound # REQUIRE: SERVERS cleanvar # KEYWORD: shutdown . /etc/rc.subr name="unbound" rcvar=unbound_enable command="%%PREFIX%%/sbin/unbound" extra_commands="reload" start_precmd="start_precmd" reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} >/dev/null" load_rc_config $name -pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"} +pidfile=`%%PREFIX%%/sbin/unbound-checkconf -o pidfile ${unbound_conf}` unbound_enable=${unbound_enable:-"NO"} unbound_anchorflags=${unbound_anchorflags:-""} unbound_conf=${unbound_conf:-"%%ETCDIR%%/unbound.conf"} unbound_flags=${unbound_flags:-" -c ${unbound_conf}"} start_precmd() { echo -n "Obtaining a trust anchor:" if [ "${unbound_anchorflags}T" = "T" ]; then su -m unbound -c %%PREFIX%%/sbin/unbound-anchor else su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}" fi echo . %%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} > /dev/null return $? } run_rc_command "$1" Index: head/dns/unbound/pkg-plist =================================================================== --- head/dns/unbound/pkg-plist (revision 465194) +++ head/dns/unbound/pkg-plist (revision 465195) @@ -1,56 +1,57 @@ @sample %%ETCDIR%%/unbound.conf.sample include/unbound.h %%EVAPI%%include/unbound-event.h +libdata/pkgconfig/libunbound.pc lib/libunbound.a lib/libunbound.so lib/libunbound.so.2 -lib/libunbound.so.2.5.7 +lib/libunbound.so.2.5.8 %%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py man/man1/unbound-host.1.gz man/man3/libunbound.3.gz man/man3/ub_cancel.3.gz man/man3/ub_ctx.3.gz man/man3/ub_ctx_add_ta.3.gz man/man3/ub_ctx_add_ta_file.3.gz man/man3/ub_ctx_async.3.gz man/man3/ub_ctx_config.3.gz man/man3/ub_ctx_create.3.gz man/man3/ub_ctx_data_add.3.gz man/man3/ub_ctx_data_remove.3.gz man/man3/ub_ctx_debuglevel.3.gz man/man3/ub_ctx_debugout.3.gz man/man3/ub_ctx_delete.3.gz man/man3/ub_ctx_get_option.3.gz man/man3/ub_ctx_hosts.3.gz man/man3/ub_ctx_print_local_zones.3.gz man/man3/ub_ctx_resolvconf.3.gz man/man3/ub_ctx_set_fwd.3.gz man/man3/ub_ctx_set_option.3.gz man/man3/ub_ctx_trustedkeys.3.gz man/man3/ub_ctx_zone_add.3.gz man/man3/ub_ctx_zone_remove.3.gz man/man3/ub_fd.3.gz man/man3/ub_poll.3.gz man/man3/ub_process.3.gz man/man3/ub_resolve.3.gz man/man3/ub_resolve_async.3.gz man/man3/ub_resolve_free.3.gz man/man3/ub_result.3.gz man/man3/ub_strerror.3.gz man/man3/ub_wait.3.gz man/man5/unbound.conf.5.gz man/man8/unbound-anchor.8.gz man/man8/unbound-checkconf.8.gz man/man8/unbound-control-setup.8.gz man/man8/unbound-control.8.gz man/man8/unbound.8.gz sbin/unbound sbin/unbound-anchor sbin/unbound-checkconf sbin/unbound-control sbin/unbound-control-setup sbin/unbound-host %%MUNIN_PLUGIN%%share/munin/plugins/unbound_munin_ @dir(unbound,,) %%ETCDIR%%