On 2008/08/14 15:06, Frank Denis wrote on ports@:
> 
>   Here's an update of unbound to version 1.0.2, that brings some additional
> paranoia and bug fixes.
> 
>   Tested since release on i386 and amd64.

working fine here on amd64 and sparc64, looks good to me for
when ports unlocks.

> +++ net/unbound/patches/patch-util_config_file_c      Thu Jan  1 01:00:00 1970

N.B. removed file :)


> diff -urN net/unbound.old/Makefile net/unbound/Makefile
> --- net/unbound.old/Makefile  Mon Aug  4 14:41:31 2008
> +++ net/unbound/Makefile      Thu Aug 14 14:51:47 2008
> @@ -2,7 +2,7 @@
>  
>  COMMENT=     validating DNS resolver
>  
> -DISTNAME=    unbound-1.0.1
> +DISTNAME=    unbound-1.0.2
>  PKGNAME=     ${DISTNAME}
>  
>  CATEGORIES=  net
> @@ -35,7 +35,8 @@
>                       --without-pthreads \
>                       --with-chroot-dir=/var/unbound \
>                       --with-pidfile=/var/unbound/var/run/unbound.pid \
> -                     --with-conf-file=/var/unbound/etc/unbound.conf
> +                     --with-conf-file=/var/unbound/etc/unbound.conf \
> +                     --with-username=_unbound
>  
>  post-install:
>       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/unbound
> diff -urN net/unbound.old/distinfo net/unbound/distinfo
> --- net/unbound.old/distinfo  Mon Aug  4 14:41:31 2008
> +++ net/unbound/distinfo      Thu Aug 14 14:46:14 2008
> @@ -1,5 +1,5 @@
> -MD5 (unbound-1.0.1.tar.gz) = 5gyCIXaMx57Kh4PwHoz5aQ==
> -RMD160 (unbound-1.0.1.tar.gz) = 874phyU8mMMl8T3HFMoMHPNCQGM=
> -SHA1 (unbound-1.0.1.tar.gz) = OoYzdsii6AWQOqTZoyZIufTIDvE=
> -SHA256 (unbound-1.0.1.tar.gz) = ldMSS14qNXhIuEQToveOWJbUFjYnjtSQ3PE7+JaD85U=
> -SIZE (unbound-1.0.1.tar.gz) = 3592490
> +MD5 (unbound-1.0.2.tar.gz) = AbCKnA0kvpgd5ktuTiXsvg==
> +RMD160 (unbound-1.0.2.tar.gz) = HpQlBUaPauQGGyCJFOm3/u1uz/E=
> +SHA1 (unbound-1.0.2.tar.gz) = k/qnt2z3aBuMewxRh6r4TDa2Zws=
> +SHA256 (unbound-1.0.2.tar.gz) = 5rvEu4UMIR6X7ntbwYJ/WetSItKVtxW9pFUXdXZiQKw=
> +SIZE (unbound-1.0.2.tar.gz) = 3597275
> diff -urN net/unbound.old/patches/patch-Makefile_in 
> net/unbound/patches/patch-Makefile_in
> --- net/unbound.old/patches/patch-Makefile_in Mon Aug  4 14:41:31 2008
> +++ net/unbound/patches/patch-Makefile_in     Thu Aug 14 14:50:49 2008
> @@ -1,21 +1,8 @@
>  $OpenBSD: patch-Makefile_in,v 1.2 2008/07/16 20:34:10 jakob Exp $
> ---- Makefile.in.orig Tue Jul 15 17:05:12 2008
> -+++ Makefile.in      Wed Jul 16 21:13:36 2008
> -@@ -270,15 +270,15 @@ install:
> -     $(LIBTOOL) --mode=install cp unbound $(DESTDIR)$(sbindir)/unbound
> -     $(LIBTOOL) --mode=install cp unbound-checkconf 
> $(DESTDIR)$(sbindir)/unbound-checkconf
> -     $(LIBTOOL) --mode=install cp unbound-host 
> $(DESTDIR)$(sbindir)/unbound-host
> --    $(INSTALL) -c -m 644 $(srcdir)/doc/unbound.8 $(DESTDIR)$(mandir)/man8
> --    $(INSTALL) -c -m 644 $(srcdir)/doc/unbound-checkconf.8 
> $(DESTDIR)$(mandir)/man8
> --    $(INSTALL) -c -m 644 $(srcdir)/doc/unbound.conf.5 
> $(DESTDIR)$(mandir)/man5
> -+    $(INSTALL) -c -m 644 doc/unbound.8 $(DESTDIR)$(mandir)/man8
> -+    $(INSTALL) -c -m 644 doc/unbound-checkconf.8 $(DESTDIR)$(mandir)/man8
> -+    $(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 644 $(srcdir)/doc/libunbound.3 $(DESTDIR)$(mandir)/man3
> --    if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname 
> $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 $(srcdir)/doc/example.conf 
> $(DESTDIR)$(configfile); fi
> -+    $(INSTALL) -c -m 644 doc/libunbound.3 $(DESTDIR)$(mandir)/man3
> -+    if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname 
> $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf 
> $(DESTDIR)$(configfile); fi
> +--- Makefile.in.orig Thu Jul 17 10:45:12 2008
> ++++ Makefile.in      Thu Aug 14 14:48:46 2008
> +@@ -278,7 +278,7 @@ install:
> +     if test ! -e $(DESTDIR)$(configfile); then $(INSTALL) -d `dirname 
> $(DESTDIR)$(configfile)`; $(INSTALL) -c -m 644 doc/example.conf 
> $(DESTDIR)$(configfile); fi
>       $(LIBTOOL) --mode=install cp $(srcdir)/libunbound/unbound.h 
> $(DESTDIR)$(includedir)/unbound.h
>       $(LIBTOOL) --mode=install cp libunbound.la $(DESTDIR)$(libdir)
>  -    $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
> diff -urN net/unbound.old/patches/patch-doc_example_conf_in 
> net/unbound/patches/patch-doc_example_conf_in
> --- net/unbound.old/patches/patch-doc_example_conf_in Mon Aug  4 14:41:31 2008
> +++ net/unbound/patches/patch-doc_example_conf_in     Thu Aug 14 14:50:49 2008
> @@ -1,15 +1,12 @@
>  $OpenBSD: patch-doc_example_conf_in,v 1.1 2008/07/16 20:34:10 jakob Exp $
> ---- doc/example.conf.in.orig Mon Jun  9 16:59:29 2008
> -+++ doc/example.conf.in      Wed Jul 16 20:36:51 2008
> -@@ -165,9 +165,9 @@ server:
> +--- doc/example.conf.in.orig Thu Jul 17 11:00:38 2008
> ++++ doc/example.conf.in      Thu Aug 14 14:49:25 2008
> +@@ -165,7 +165,7 @@ server:
>       # chroot: "@UNBOUND_CHROOT_DIR@"
>   
>       # if given, user privileges are dropped (after binding port),
>  -    # and the given username is assumed. Default is user "unbound".
>  +    # and the given username is assumed. Default is user "_unbound".
>       # If you give "" no privileges are dropped.
> --    # username: "unbound"
> -+    # username: "_unbound"
> +     # username: "@UNBOUND_USERNAME@"
>   
> -     # the working directory. The relative files in this config are 
> -     # relative to this directory. If you give "" the working directory
> diff -urN net/unbound.old/patches/patch-doc_unbound_conf_5_in 
> net/unbound/patches/patch-doc_unbound_conf_5_in
> --- net/unbound.old/patches/patch-doc_unbound_conf_5_in       Mon Aug  4 
> 14:41:31 2008
> +++ net/unbound/patches/patch-doc_unbound_conf_5_in   Thu Aug 14 14:50:49 2008
> @@ -1,12 +1,12 @@
>  $OpenBSD: patch-doc_unbound_conf_5_in,v 1.1 2008/07/16 20:34:10 jakob Exp $
> ---- doc/unbound.conf.5.in.orig       Wed Jul 16 20:33:05 2008
> -+++ doc/unbound.conf.5.in    Wed Jul 16 20:36:59 2008
> -@@ -258,7 +258,7 @@ If given a chroot is done to the given directory. The 
> +--- doc/unbound.conf.5.in.orig       Thu Aug  7 09:10:36 2008
> ++++ doc/unbound.conf.5.in    Thu Aug 14 14:50:17 2008
> +@@ -285,7 +285,7 @@ SIGHUP.
> + .B use\-syslog: \fI<yes or no>
> + Sets unbound to send log messages to the syslogd, using 
> + \fIsyslog\fR(3). 
> +-The log facility LOG_DAEMON is used, with identity "unbound".
> ++The log facility LOG_DAEMON is used, with identity "_unbound".
> + The logfile setting is overridden when use\-syslog is turned on.
> + The default is to log to syslog.
>   .TP
> - .B username: \fI<name>
> - If given, after binding the port the user privileges are dropped. Default is
> --"unbound". If you give username: "" no user change is performed. 
> -+"_unbound". If you give username: "" no user change is performed. 
> - .IP
> - If this user is not capable of binding the
> - port, reloads (by signal HUP) will still retain the opened ports.
> diff -urN net/unbound.old/patches/patch-util_config_file_c 
> net/unbound/patches/patch-util_config_file_c
> --- net/unbound.old/patches/patch-util_config_file_c  Mon Aug  4 14:41:31 2008
> +++ net/unbound/patches/patch-util_config_file_c      Thu Jan  1 01:00:00 1970
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-util_config_file_c,v 1.1 2008/07/16 20:34:10 jakob Exp $
> ---- util/config_file.c.orig  Wed Jun 25 16:36:10 2008
> -+++ util/config_file.c       Wed Jul 16 21:47:00 2008
> -@@ -105,7 +105,7 @@ config_create()
> -     if(!(cfg->outgoing_avail_ports = (int*)calloc(65536, sizeof(int))))
> -             goto error_exit;
> -     init_outgoing_availports(cfg->outgoing_avail_ports, 65536);
> --    if(!(cfg->username = strdup("unbound"))) goto error_exit;
> -+    if(!(cfg->username = strdup("_unbound"))) goto error_exit;
> - #ifdef HAVE_CHROOT
> -     if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;
> - #endif
> diff -urN net/unbound.old/pkg/PLIST net/unbound/pkg/PLIST
> --- net/unbound.old/pkg/PLIST Mon Aug  4 14:41:31 2008
> +++ net/unbound/pkg/PLIST     Thu Aug 14 14:54:22 2008
> @@ -10,9 +10,9 @@
>  @man man/man5/unbound.conf.5
>  @man man/man8/unbound-checkconf.8
>  @man man/man8/unbound.8
> -sbin/unbound
> -sbin/unbound-checkconf
> -sbin/unbound-host
> [EMAIL PROTECTED] sbin/unbound
> [EMAIL PROTECTED] sbin/unbound-checkconf
> [EMAIL PROTECTED] sbin/unbound-host
>  share/examples/unbound/
>  share/examples/unbound/unbound.conf
>  @sample /var/unbound/

Reply via email to