[Midnightbsd-cvs] mports [16442] trunk/dns/unbound: unbound 1.4.22

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 5 21:24:28 EDT 2014


Revision: 16442
          http://svnweb.midnightbsd.org/mports/?rev=16442
Author:   laffer1
Date:     2014-08-05 21:24:27 -0400 (Tue, 05 Aug 2014)
Log Message:
-----------
unbound 1.4.22

Modified Paths:
--------------
    trunk/dns/unbound/Makefile
    trunk/dns/unbound/distinfo
    trunk/dns/unbound/files/patch-Makefile.in
    trunk/dns/unbound/files/unbound.in
    trunk/dns/unbound/pkg-plist

Removed Paths:
-------------
    trunk/dns/unbound/files/patch-configure

Modified: trunk/dns/unbound/Makefile
===================================================================
--- trunk/dns/unbound/Makefile	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/Makefile	2014-08-06 01:24:27 UTC (rev 16442)
@@ -1,19 +1,19 @@
 # $MidnightBSD$
 
 PORTNAME=	unbound
-PORTVERSION=	1.4.21
+PORTVERSION=	1.4.22
 CATEGORIES=	dns
 MASTER_SITES=	http://unbound.net/downloads/
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A validating, recursive, and caching DNS resolver
+COMMENT=	Validating, recursive, and caching DNS resolver
 
-LICENSE=	bsd3
+LICENSE=	bsd4
 
-USE_GMAKE=	yes
+USES=		gmake
 #USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--with-ssl=/usr
+CONFIGURE_ARGS+=--with-ssl=/usr --with-libexpat=${LOCALBASE}
 USE_LDCONFIG=	yes
 
 USERS=		${PORTNAME}
@@ -20,19 +20,6 @@
 
 USE_RC_SUBR=	unbound
 
-MAN1=		unbound-host.1
-MAN3=		libunbound.3 ub_cancel.3 ub_ctx.3 ub_ctx_add_ta.3 \
-		ub_ctx_add_ta_file.3 ub_ctx_async.3 ub_ctx_config.3 \
-		ub_ctx_create.3 ub_ctx_data_add.3 ub_ctx_data_remove.3 \
-		ub_ctx_debuglevel.3 ub_ctx_debugout.3 ub_ctx_delete.3 \
-		ub_ctx_get_option.3 ub_ctx_hosts.3 ub_ctx_print_local_zones.3 \
-		ub_ctx_resolvconf.3 ub_ctx_set_fwd.3 ub_ctx_set_option.3 \
-		ub_ctx_trustedkeys.3 ub_ctx_zone_add.3 ub_ctx_zone_remove.3 \
-		ub_fd.3 ub_poll.3 ub_process.3 ub_resolve.3 ub_resolve_async.3 \
-		ub_resolve_free.3 ub_result.3 ub_strerror.3 ub_wait.3
-MAN5=		unbound.conf.5
-MAN8=		unbound.8 unbound-anchor.8 unbound-control.8 unbound-checkconf.8
-
 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

Modified: trunk/dns/unbound/distinfo
===================================================================
--- trunk/dns/unbound/distinfo	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/distinfo	2014-08-06 01:24:27 UTC (rev 16442)
@@ -1,2 +1,2 @@
-SHA256 (unbound-1.4.21.tar.gz) = 502f817a72721f78243923eb1d6187029639f7a8bdcc33a6ce0819bbb2a80970
-SIZE (unbound-1.4.21.tar.gz) = 3624553
+SHA256 (unbound-1.4.22.tar.gz) = 1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f
+SIZE (unbound-1.4.22.tar.gz) = 4735801

Modified: trunk/dns/unbound/files/patch-Makefile.in
===================================================================
--- trunk/dns/unbound/files/patch-Makefile.in	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/files/patch-Makefile.in	2014-08-06 01:24:27 UTC (rev 16442)
@@ -1,11 +1,11 @@
---- Makefile.in.orig	2013-03-22 16:41:13.000000000 +0400
-+++ Makefile.in	2013-09-23 06:08:58.535408755 +0400
-@@ -488,7 +488,7 @@
- 		echo ".so man3/libunbound.3" > $(DESTDIR)$(mandir)/man3/$$mpage.3 ; \
- 	done
+--- Makefile.in.orig	2014-01-31 14:19:01.000000000 +0400
++++ Makefile.in	2014-03-13 14:27:03.613703943 +0400
+@@ -497,7 +497,7 @@
+ 	$(INSTALL) -c -m 644 doc/unbound.conf.5 $(DESTDIR)$(mandir)/man5
+ 	$(INSTALL) -c -m 644 $(srcdir)/doc/unbound-host.1 $(DESTDIR)$(mandir)/man1
  	$(INSTALL) -c -m 755 unbound-control-setup $(DESTDIR)$(sbindir)/unbound-control-setup
 -	if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile); fi
 +	$(INSTALL) -d `dirname $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf $(DESTDIR)$(configfile).sample
- 	$(LIBTOOL) --mode=install cp unbound.h $(DESTDIR)$(includedir)/unbound.h
- 	$(LIBTOOL) --mode=install cp libunbound.la $(DESTDIR)$(libdir)
- 	$(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
+ 
+ pythonmod-uninstall:
+ 	rm -f -- $(DESTDIR)$(PYTHON_SITE_PKG)/unboundmodule.py

Deleted: trunk/dns/unbound/files/patch-configure
===================================================================
--- trunk/dns/unbound/files/patch-configure	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/files/patch-configure	2014-08-06 01:24:27 UTC (rev 16442)
@@ -1,13 +0,0 @@
---- configure.orig	2012-05-24 12:37:55.000000000 +0400
-+++ configure	2012-05-24 16:48:58.593092754 +0400
-@@ -17949,9 +17949,7 @@
-     -a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
-     -a $ac_cv_func_ldns_get_random = yes \
-     -a $ac_cv_header_ldns_ldns_h = yes \
--    -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
--    -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes \
--    -a $ac_cv_have_decl_LDNS_ECDSAP384SHA384 = yes; then
-+    -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes; then
-         :
- else
-     as_fn_error $? "ldns library is not recent, update the ldns library, install it into system lib dir or use --with-ldns=path to other location.  The --with-ldns can point to the make-dir of ldns.  Package libldns or download source http://www.nlnetlabs.nl/projects/ldns" "$LINENO" 5

Modified: trunk/dns/unbound/files/unbound.in
===================================================================
--- trunk/dns/unbound/files/unbound.in	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/files/unbound.in	2014-08-06 01:24:27 UTC (rev 16442)
@@ -2,11 +2,14 @@
 #
 # $MidnightBSD$
 #
-# unbound freebsd startup rc.d script, modified from the named script.
+# unbound 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
@@ -20,19 +23,25 @@
 command="%%PREFIX%%/sbin/unbound"
 extra_commands="reload"
 start_precmd="start_precmd"
-reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null" 
+reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null"
 
 load_rc_config $name
 
 pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
 unbound_enable=${unbound_enable:-"NO"}
+unbound_anchorflags=${unbound_anchorflags:-""}
 
 start_precmd()
 {
-	%%PREFIX%%/sbin/unbound-checkconf && \
+	%%PREFIX%%/sbin/unbound-checkconf > /dev/null && \
 	echo -n "Obtaining a trust anchor:" && \
-	su -m unbound -c %%PREFIX%%/sbin/unbound-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 .
+	return 0
 }
 
 run_rc_command "$1"

Modified: trunk/dns/unbound/pkg-plist
===================================================================
--- trunk/dns/unbound/pkg-plist	2014-08-06 01:16:13 UTC (rev 16441)
+++ trunk/dns/unbound/pkg-plist	2014-08-06 01:24:27 UTC (rev 16442)
@@ -4,6 +4,44 @@
 lib/libunbound.so
 lib/libunbound.la
 lib/libunbound.a
+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



More information about the Midnightbsd-cvs mailing list