pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind96 Update bind96 to 9.6.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/24db9789281f
branches: trunk
changeset: 396502:24db9789281f
user: obache <obache%pkgsrc.org@localhost>
date: Sun Jul 26 09:07:58 2009 +0000
description:
Update bind96 to 9.6.1.
Based on PR 41772 by Robert Elz.
Pkgsrc changes:
o MAKE_JOBS_SAFE=no, README said "Do not use a parallel make".
o remove patch-aj, libbind has been removed from the BIND 9 distribution
since 9.6.0.
o add bind-dig-sigchase option. requested by PR 41751.
Changes since 9.6.0:
--- 9.6.1 released ---
2607. [bug] named could incorrectly delete NSEC3 records for
empty nodes when processing a update request.
[RT #19749]
2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2603. [port] win32: handle .exe extension of named-checkzone and
named-comilezone argv[0] names under windows.
[RT #19767]
2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
--- 9.6.1rc1 released ---
2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2597. [bug] Handle a validation failure with a insecure delegation
from a NSEC3 signed master/slave zone. [RT #19464]
2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
newer cache entries in the worst case. [RT #19563]
2595. [bug] Fix unknown extended rcodes in dig. [RT #19625]
2592. [bug] Treat "any" as a type in nsupdate. [RT #19455]
2591. [bug] named could die when processing a update in
removed_orphaned_ds(). [RT #19507]
2588. [bug] SO_REUSEADDR could be set unconditionally after failure
of bind(2) call. This should be rare and mostly
harmless, but may cause interference with other
processes that happen to use the same port. [RT #19642]
2586. [bug] Missing cleanup of SIG rdataset in searching a DLZ DB
or SDB. [RT #19577]
2585. [bug] Uninitialized socket name could be referenced via a
statistics channel, triggering an assertion failure in
XML rendering. [RT #19427]
2584. [bug] alpha: gcc optimization could break atomic operations.
[RT #19227]
2583. [port] netbsd: provide a control to not add the compile
date to the version string, -DNO_VERSION_DATE.
2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2579. [bug] DNSSEC lookaside validation failed to handle unknown
algorithms. [RT #19479]
2578. [bug] Changed default sig-signing-type to 65534, because
65535 turns out to be reserved. [RT #19477]
2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
--- 9.6.1b1 released ---
2577. [doc] Clarified some statistics counters. [RT #19454]
2576. [bug] NSEC record were not being correctly signed when
a zone transitions from insecure to secure.
Handle such incorrectly signed zones. [RT #19114]
2574. [doc] Document nsupdate -g and -o. [RT #19351]
2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2568. [bug] Report when the write to indicate a otherwise
successful start fails. [RT #19360]
2567. [bug] dst__privstruct_writefile() could miss write errors.
write_public_key() could miss write errors.
dnssec-dsfromkey could miss write errors.
[RT #19360]
2564. [bug] Only take EDNS fallback steps when processing timeouts.
[RT #19405]
2563. [bug] Dig could leak a socket causing it to wait forever
to exit. [RT #19359]
2562. [doc] ARM: miscellaneous improvements, reorganization,
and some new content.
2561. [doc] Add isc-config.sh(1) man page. [RT #16378]
2560. [bug] Add #include <config.h> to iptable.c. [RT #18258]
2559. [bug] dnssec-dsfromkey could compute bad DS records when
reading from a K* files. [RT #19357]
2557. [cleanup] PCI compliance:
* new libisc log module file
* isc_dir_chroot() now also changes the working
directory to "/".
* additional INSISTs
* additional logging when files can't be removed.
2556. [port] Solaris: mkdir(2) on tmpfs filesystems does not do the
error checks in the correct order resulting in the
wrong error code sometimes being returned. [RT #19249]
2554. [bug] Validation of uppercase queries from NSEC3 zones could
fail. [RT #19297]
2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291]
2552. [bug] zero-no-soa-ttl-cache was not being honoured.
[RT #19340]
2551. [bug] Potential Reference leak on return. [RT #19341]
2550. [bug] Check --with-openssl=<path> finds <openssl/opensslv.h>.
[RT #19343]
2549. [port] linux: define NR_OPEN if not currently defined.
[RT #19344]
2548. [bug] Install iterated_hash.h. [RT #19335]
2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer. New public
function isc_mem_reallocate() was introduced to address
this bug. [RT #19313]
2545. [doc] ARM: Legal hostname checking (check-names) is
for SRV RDATA too. [RT #19304]
2544. [cleanup] Removed unused structure members in adb.c. [RT #19225]
2543. [contrib] Update contrib/zkt to version 0.98. [RT #19113]
2542. [doc] Update the description of dig +adflag. [RT #19290]
2541. [bug] Conditionally update dispatch manager statistics.
[RT #19247]
2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion. [RT #19198]
2538. [bug] cache/ADB memory could grow over max-cache-size,
especially with threads and smaller max-cache-size
values. [RT #19240]
2537. [experimental] Added more statistics counters including those on socket
I/O events and query RTT histograms. [RT #18802]
2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2535. [bug] dig +showsearh and +trace interacted badly. [RT #19091]
2532. [bug] dig: check the question section of the response to
see if it matches the asked question. [RT #18495]
2531. [bug] Change #2207 was incomplete. [RT #19098]
2530. [bug] named failed to reject insecure to secure transitions
via UPDATE. [RT #19101]
2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2528. [cleanup] Silence spurious configure warning about
--datarootdir [RT #19096]
2527. [bug] named could reuse cache on reload with
enabling/disabling validation. [RT #19119]
2525. [experimental] New logging category "query-errors" to provide detailed
internal information about query failures, especially
about server failures. [RT #19027]
2524. [port] sunos: dnssec-signzone needs strtoul(). [RT #19129]
2523. [bug] Random type rdata freed by dns_nsec_typepresent().
[RT #19112]
2522. [security] Handle -1 from DSA_do_verify() and EVP_VerifyFinal().
2521. [bug] Improve epoll cross compilation support. [RT #19047]
2519. [bug] dig/host with -4 or -6 didn't work if more than two
nameserver addresses of the excluded address family
preceded in resolv.conf. [RT #19081]
2517. [bug] dig +trace with -4 or -6 failed when it chose a
nameserver address of the excluded address.
[RT #18843]
2516. [bug] glue sort for responses was performed even when not
needed. [RT #19039]
2514. [bug] dig/host failed with -4 or -6 when resolv.conf contains
a nameserver of the excluded address family.
[RT #18848]
2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2506. [port] solaris: Check at configure time if
hack_shutup_pthreadonceinit is needed. [RT #19037]
2505. [port] Treat amd64 similarly to x86_64 when determining
atomic operation support. [RT #19031]
2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2502. [cleanup] isc_radix: Improve compliance with coding style,
document function in <isc/radix.h>. [RT #18534]
diffstat:
net/bind96/Makefile | 7 ++++---
net/bind96/PLIST | 6 +++++-
net/bind96/distinfo | 17 ++++++++---------
net/bind96/options.mk | 15 ++++++++++++---
net/bind96/patches/patch-ab | 10 +++++-----
net/bind96/patches/patch-ac | 24 +-----------------------
net/bind96/patches/patch-ad | 28 ++++++++++++++--------------
net/bind96/patches/patch-ag | 8 ++++----
net/bind96/patches/patch-aj | 13 -------------
9 files changed, 53 insertions(+), 75 deletions(-)
diffs (266 lines):
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/Makefile
--- a/net/bind96/Makefile Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/Makefile Sun Jul 26 09:07:58 2009 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2009/07/24 12:30:00 obache Exp $
+# $NetBSD: Makefile,v 1.5 2009/07/26 09:07:58 obache Exp $
DISTNAME= bind-${BIND_VERSION}
-PKGNAME= ${DISTNAME:S/-P1/pl1/}
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
@@ -14,7 +13,9 @@
PKG_DESTDIR_SUPPORT= user-destdir
-BIND_VERSION= 9.6.0-P1
+MAKE_JOBS_SAFE= no
+
+BIND_VERSION= 9.6.1
.include "../../mk/bsd.prefs.mk"
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/PLIST
--- a/net/bind96/PLIST Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/PLIST Sun Jul 26 09:07:58 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:09:22 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/07/26 09:07:58 obache Exp $
bin/dig
bin/host
bin/isc-config.sh
@@ -103,6 +103,7 @@
include/isc/httpd.h
include/isc/int.h
include/isc/interfaceiter.h
+include/isc/iterated_hash.h
include/isc/lang.h
include/isc/lex.h
include/isc/lfsr.h
@@ -195,6 +196,7 @@
lib/libisccfg.la
lib/liblwres.la
man/man1/dig.1
+man/man1/isc-config.sh.1
man/man1/host.1
man/man1/nslookup.1
man/man1/nsupdate.1
@@ -489,6 +491,8 @@
share/doc/bind9/rfc/rfc4648.txt
share/doc/bind9/rfc/rfc4701.txt
share/doc/bind9/rfc/rfc5155.txt
+share/doc/bind9/rfc/rfc5205.txt
+share/doc/bind9/rfc/rfc5507.txt
share/doc/bind9/rfc/rfc952.txt
share/examples/rc.d/lwresd
share/examples/rc.d/named9
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/distinfo
--- a/net/bind96/distinfo Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/distinfo Sun Jul 26 09:07:58 2009 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.3 2009/02/21 14:51:43 adrianp Exp $
+$NetBSD: distinfo,v 1.4 2009/07/26 09:07:58 obache Exp $
-SHA1 (bind-9.6.0-P1.tar.gz) = c2b703d05fc768f63f028b0812c46d6eb81c145d
-RMD160 (bind-9.6.0-P1.tar.gz) = 4507987e293b79e57ad6b87dd84012030d5b1d6e
-Size (bind-9.6.0-P1.tar.gz) = 6526739 bytes
-SHA1 (patch-ab) = dd12c457791a75a8b43d9dfd0c0b236dcdbe31a5
-SHA1 (patch-ac) = 71a379fcb128013bfbacd87002c27dd90c1844b1
-SHA1 (patch-ad) = b229db208df08efe25aa8840d62904f39b88aecf
-SHA1 (patch-ag) = 9d61e0f527a76977bf8457355997d201fa37dd4e
-SHA1 (patch-aj) = c3bbf84a8a735298552f918ac38331e06a1b68a1
+SHA1 (bind-9.6.1.tar.gz) = 50c485a152b566ca89d082e5d6f777c00f0a92b2
+RMD160 (bind-9.6.1.tar.gz) = 18431b1418eda7298295945d63d5ad185f19d78f
+Size (bind-9.6.1.tar.gz) = 6724683 bytes
+SHA1 (patch-ab) = 6cec876c8caa7082f97365863f3f88c4f168da48
+SHA1 (patch-ac) = 074649e1514870a3154c623a5f6d1507b72b5b05
+SHA1 (patch-ad) = c916e594fd959d3a003cb7916fdf5cf89b6e5c45
+SHA1 (patch-ag) = 52c656fa2ebbdb07ee1602b7b36a6aa38ddce4d0
SHA1 (patch-am) = bb267f13dbd30d492f4dfcf9c278b941efa97bed
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/options.mk
--- a/net/bind96/options.mk Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/options.mk Sun Jul 26 09:07:58 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2009/07/26 09:07:58 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bind96
-PKG_SUPPORTED_OPTIONS= bind-xml-statistics-server inet6 threads
-PKG_SUPPORTED_OPTIONS+= mysql pgsql ldap dlz-filesystem
+PKG_SUPPORTED_OPTIONS= bind-dig-sigchase bind-xml-statistics-server
+PKG_SUPPORTED_OPTIONS+= inet6 threads mysql pgsql ldap dlz-filesystem
.include "../../mk/pthread.buildlink3.mk"
@@ -74,3 +74,12 @@
.else
CONFIGURE_ARGS+= --disable-threads
.endif
+
+###
+### dig(1) option +sigchase for DNSSEC signature chasing
+###
+.if !empty(PKG_OPTIONS:Mbind-dig-sigchase)
+# If anything else needs to add entries to STD_CDEFINES, this will need
+# to be changed so that the two can cooperate.
+CONFIGURE_ENV+= STD_CDEFINES=-DDIG_SIGCHASE=1
+.endif
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/patches/patch-ab
--- a/net/bind96/patches/patch-ab Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/patches/patch-ab Sun Jul 26 09:07:58 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
+$NetBSD: patch-ab,v 1.2 2009/07/26 09:07:58 obache Exp $
---- lib/lwres/getnameinfo.c.orig 2004-08-28 08:25:24.000000000 +0200
-+++ lib/lwres/getnameinfo.c 2004-10-03 08:56:21.000000000 +0200
-@@ -63,6 +63,10 @@
+--- lib/lwres/getnameinfo.c.orig 2007-06-19 23:47:22.000000000 +0000
++++ lib/lwres/getnameinfo.c
+@@ -121,6 +121,10 @@
#include <lwres/netdb.h>
#include "print_p.h"
@@ -13,7 +13,7 @@
#include "assert_p.h"
#define SUCCESS 0
-@@ -211,13 +215,10 @@
+@@ -271,13 +275,10 @@ lwres_getnameinfo(const struct sockaddr
((const struct sockaddr_in6 *)sa)->sin6_scope_id) {
char *p = numaddr + strlen(numaddr);
const char *stringscope = NULL;
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/patches/patch-ac
--- a/net/bind96/patches/patch-ac Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/patches/patch-ac Sun Jul 26 09:07:58 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 2009/02/21 14:51:43 adrianp Exp $
+$NetBSD: patch-ac,v 1.3 2009/07/26 09:07:58 obache Exp $
--- lib/lwres/getaddrinfo.c.orig 2007-09-12 21:45:18.000000000 -0700
+++ lib/lwres/getaddrinfo.c
@@ -37,25 +37,3 @@
if (p != NULL && ep != NULL && ep[0] == '\0')
*p = '\0';
else {
-@@ -709,17 +721,17 @@ lwres_freeaddrinfo(struct addrinfo *ai)
- static int
- get_local(const char *name, int socktype, struct addrinfo **res) {
- struct addrinfo *ai;
-- struct sockaddr_un *sun;
-+ struct sockaddr_un *un;
-
- if (socktype == 0)
- return (EAI_SOCKTYPE);
-
-- ai = ai_alloc(AF_LOCAL, sizeof(*sun));
-+ ai = ai_alloc(AF_LOCAL, sizeof(*un));
- if (ai == NULL)
- return (EAI_MEMORY);
-
-- sun = SUN(ai->ai_addr);
-- strncpy(sun->sun_path, name, sizeof(sun->sun_path));
-+ un = SUN(ai->ai_addr);
-+ strncpy(un->sun_path, name, sizeof(un->sun_path));
-
- ai->ai_socktype = socktype;
- /*
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/patches/patch-ad
--- a/net/bind96/patches/patch-ad Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/patches/patch-ad Sun Jul 26 09:07:58 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
+$NetBSD: patch-ad,v 1.2 2009/07/26 09:07:58 obache Exp $
---- configure.orig 2008-10-29 10:09:21.000000000 +0000
+--- configure.orig 2009-03-13 05:35:43.000000000 +0000
+++ configure
-@@ -6972,6 +6972,8 @@ case $host in
+@@ -23751,6 +23751,8 @@ case $host in
use_threads=false ;;
*-freebsd*)
use_threads=false ;;
@@ -11,30 +11,30 @@
*-bsdi234*)
# Thread signals do not work reliably on some versions of BSD/OS.
use_threads=false ;;
-@@ -7060,7 +7062,7 @@ echo "$as_me: WARNING: linking with PTL2
- echo "${ECHO_T}native" >&6; }
+@@ -23839,7 +23841,7 @@ $as_echo "$as_me: WARNING: linking with
+ $as_echo "native" >&6; }
LIBS="-lpthread $LIBS"
else
- if test ! -d $LOCALBASE/pthreads
+ if test ! -d $LOCALBASE/pthreads -a ! -f /usr/include/pthread.h
then
- { echo "$as_me:$LINENO: result: none" >&5
- echo "${ECHO_T}none" >&6; }
-@@ -7071,14 +7073,23 @@ echo "$as_me: error: \"could not find th
+ { $as_echo "$as_me:$LINENO: result: none" >&5
+ $as_echo "none" >&6; }
+@@ -23850,14 +23852,23 @@ $as_echo "$as_me: error: \"could not fin
if $use_threads
then
-- { echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
+- { $as_echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
+ if test -f /usr/include/pthread.h
+ then
-+ { echo "$as_me:$LINENO: result: native pthreads" >&5
-+echo "${ECHO_T}native pthreads" >&6; }
++ { $as_echo "$as_me:$LINENO: result: native pthreads" >&5
++$as_echo "native pthreads" >&6; }
+ LIBS="-lpthread $LIBS"
+ CPPFLAGS="$CPPFLAGS -I/usr/include"
+ STD_CINDLUES="$STD_CINDLUES -I/usr/include"
+ else
-+ { echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
- echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6; }
++ { $as_echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
+ $as_echo "mit-pthreads/unproven-pthreads" >&6; }
- pkg="$LOCALBASE/pthreads"
- lib1="-L$pkg/lib -Wl,-R$pkg/lib"
- lib2="-lpthread -lm -lgcc -lpthread"
@@ -51,7 +51,7 @@
fi
fi
fi
-@@ -31037,7 +31048,7 @@ echo "${ECHO_T}no" >&6; }
+@@ -32836,7 +32847,7 @@ $as_echo "no" >&6; }
fi
if test -n "-L$use_dlz_postgres_lib -lpq"
then
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/patches/patch-ag
--- a/net/bind96/patches/patch-ag Sun Jul 26 07:05:07 2009 +0000
+++ b/net/bind96/patches/patch-ag Sun Jul 26 09:07:58 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
+$NetBSD: patch-ag,v 1.2 2009/07/26 09:07:58 obache Exp $
---- lib/dns/rbt.c.orig 2004-03-08 21:06:27.000000000 +0000
-+++ lib/dns/rbt.c 2005-03-16 13:45:23.000000000 +0000
-@@ -165,6 +165,10 @@
+--- lib/dns/rbt.c.orig 2009-01-18 23:47:40.000000000 +0000
++++ lib/dns/rbt.c
+@@ -167,6 +167,10 @@ Name(dns_rbtnode_t *node) {
static void dns_rbt_printnodename(dns_rbtnode_t *node);
#endif
diff -r 8792d6c7d486 -r 24db9789281f net/bind96/patches/patch-aj
--- a/net/bind96/patches/patch-aj Sun Jul 26 07:05:07 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aj,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
-
---- lib/Makefile.in.orig 2004-03-08 18:04:25.000000000 +0900
-+++ lib/Makefile.in
-@@ -23,7 +23,7 @@ top_srcdir = @top_srcdir@
- # Attempt to disable parallel processing.
- .NOTPARALLEL:
- .NO_PARALLEL:
--SUBDIRS = isc isccc dns isccfg bind9 lwres tests
-+SUBDIRS = bind isc isccc dns isccfg bind9 lwres tests
- TARGETS =
-
- @BIND9_MAKE_RULES@
Home |
Main Index |
Thread Index |
Old Index