head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.6.0.24 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.22 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.20 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.18 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.16 pkgsrc-2008Q1:1.6.0.14 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.12 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.10 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.8 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.6 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.4 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.2 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.5.0.14 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.12 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.10 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.8 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.6 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.4 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.4.0.16 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.14 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.3 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2010.02.10.17.30.26; author joerg; state dead; branches; next 1.7; 1.7 date 2009.02.21.14.42.02; author adrianp; state Exp; branches; next 1.6; 1.6 date 2006.08.17.14.14.18; author taca; state Exp; branches; next 1.5; 1.5 date 2004.10.03.09.20.41; author tron; state Exp; branches 1.5.14.1; next 1.4; 1.4 date 2001.11.27.03.38.42; author itojun; state Exp; branches; next 1.3; 1.3 date 2001.01.28.06.50.22; author itojun; state Exp; branches; next 1.2; 1.2 date 2000.03.31.11.15.24; author hubertf; state dead; branches; next 1.1; 1.1 date 2000.02.22.03.51.00; author hubertf; state Exp; branches 1.1.1.1; next ; 1.5.14.1 date 2006.09.07.11.20.43; author ghen; state Exp; branches; next ; 1.1.1.1 date 2000.02.22.03.51.00; author hubertf; state Exp; branches; next ; desc @@ 1.8 log @Retire bind9. @ text @$NetBSD: patch-ac,v 1.7 2009/02/21 14:42:02 adrianp Exp $ --- lib/lwres/getaddrinfo.c.orig 2007-09-13 16:46:26.000000000 -0700 +++ lib/lwres/getaddrinfo.c @@@@ -142,6 +142,10 @@@@ #include #include +#ifdef __KAME__ +#include +#endif + #define SA(addr) ((struct sockaddr *)(addr)) #define SIN(addr) ((struct sockaddr_in *)(addr)) #define SIN6(addr) ((struct sockaddr_in6 *)(addr)) @@@@ -366,14 +370,22 @@@@ lwres_getaddrinfo(const char *hostname, p = strchr(ntmp, '%'); ep = NULL; +#ifdef __KAME__ + if (p != NULL) { + scopeid = if_nametoindex(p + 1); + if (scopeid) + p = NULL; + } +#endif /* * Vendors may want to support non-numeric * scopeid around here. */ - if (p != NULL) + if (p != NULL) { scopeid = (lwres_uint32_t)strtoul(p + 1, &ep, 10); + } 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; /* @ 1.7 log @Fix build on OpenSolaris http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/bind/getaddrinfo.c.patch @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update bind to 9.3.2. Changes are huge, so please see http://www.isc.org/sw/bind/bind9.3.php. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/10/03 09:20:41 tron Exp $ d3 1 a3 1 --- lib/lwres/getaddrinfo.c.orig 2005-06-10 08:54:33.000000000 +0900 d5 1 a5 1 @@@@ -30,6 +30,10 @@@@ d16 1 a16 1 @@@@ -252,14 +256,22 @@@@ lwres_getaddrinfo(const char *hostname, d40 22 @ 1.5 log @Update "bind9" package to version 9.3.0. Changes since version 9.2.3: - DNSSEC is now DS based (RFC 3658). See also RFC 3845, doc/draft/draft-ietf-dnsext-dnssec-*. - DNSSEC lookaside validation. - check-names is now implemented. - rrset-order in more complete. - IPv4/IPv6 transition support, dual-stack-servers. - IXFR deltas can now be generated when loading master files, ixfr-from-differences. - It is now possible to specify the size of a journal, max-journal-size. - It is now possible to define a named set of master servers to be used in masters clause, masters. - The advertised EDNS UDP size can now be set, edns-udp-size. allow-v6-synthesis has been obsoleted. NOTE: * Zones containing MD and MF will now be rejected. * dig, nslookup name. now report "Not Implemented" as NOTIMP rather than NOTIMPL. This will have impact on scripts that are looking for NOTIMPL. - libbind: corresponds to that from BIND 8.4.5. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2004/05/15 21:00:58 itojun Exp $ d3 2 a4 2 --- lib/lwres/getaddrinfo.c- 2004-05-16 05:03:22.000000000 +0900 +++ lib/lwres/getaddrinfo.c 2004-05-16 05:04:33.000000000 +0900 a5 1 #include d7 1 d16 1 a16 1 @@@@ -252,14 +256,22 @@@@ @ 1.5.14.1 log @Pullup ticket 1816 - requested by adrianp security update for bind9 Revisions pulled up: - pkgsrc/net/bind9/Makefile 1.79,1.81-1.82 - pkgsrc/net/bind9/PLIST 1.19 - pkgsrc/net/bind9/distinfo 1.27 - pkgsrc/net/bind9/patches/patch-aa removed - pkgsrc/net/bind9/patches/patch-ac 1.6 - pkgsrc/net/bind9/patches/patch-ad 1.6 - pkgsrc/net/bind9/patches/patch-ae removed - pkgsrc/net/bind9/patches/patch-af 1.6 - pkgsrc/net/bind9/patches/patch-ah removed - pkgsrc/net/bind9/patches/patch-ai 1.7 - pkgsrc/net/bind9/patches/patch-aj 1.4 - pkgsrc/net/bind9/patches/patch-al 1.2 - pkgsrc/net/bind9/patches/patch-am 1.1 - pkgsrc/net/bind9/patches/patch-ao 1.1 - pkgsrc/net/bind9/patches/patch-ap 1.1 - pkgsrc/net/bind9/patches/patch-aq 1.1 Module Name: pkgsrc Committed By: taca Date: Thu Aug 17 14:14:18 UTC 2006 Modified Files: pkgsrc/net/bind9: Makefile PLIST distinfo pkgsrc/net/bind9/patches: patch-ac patch-ad patch-af patch-ai patch-aj patch-al Added Files: pkgsrc/net/bind9/patches: patch-am Removed Files: pkgsrc/net/bind9/patches: patch-aa patch-ae patch-ah Log Message: Update bind to 9.3.2. Changes are huge, so please see http://www.isc.org/sw/bind/bind9.3.php. --- Module Name: pkgsrc Committed By: seb Date: Mon Aug 28 16:00:45 UTC 2006 Modified Files: pkgsrc/net/bind9: Makefile distinfo Added Files: pkgsrc/net/bind9/patches: patch-an patch-ao Log Message: Bump PKGREVISION to 1. Fix build on NetBSD/sparc64 3.x: sync CPP symbols usage between struct addrinfo definition and its usage in getaddrinfo(). While here define struct addrinfo's pad members the same way as in NetBSD's /usr/include/netbsd.h and sync code in lib/bind/irs/getaddrinfo.c:getaddrinfo(). This had been reported to bind9-bugs at isc dot org. --- Module Name: pkgsrc Committed By: rillig Date: Sun Sep 3 22:58:26 UTC 2006 Modified Files: pkgsrc/net/bind9: Makefile Log Message: Added the relevant variables to BUILD_DEFS. --- Module Name: pkgsrc Committed By: adrianp Date: Tue Sep 5 20:45:32 UTC 2006 Modified Files: pkgsrc/net/bind9: Makefile distinfo Added Files: pkgsrc/net/bind9/patches: patch-ap patch-aq Log Message: Fixes for CVE-2006-4095 and CVE-2006-4096 from bind-9.3.2-P1 * Assertion failure in ISC BIND SIG query processing (CVE-2006-4095) - Recursive servers Queries for SIG records will trigger an assertion failure if more than one RRset is returned. However exposure can be minimized by restricting which sources can ask for recursion. - Authoritative servers If a nameserver is serving a RFC 2535 DNSSEC zone and is queried for the SIG records where there are multiple RRsets, then the named program will trigger an assertion failure when it tries to construct the response. * INSIST failure in ISC BIND recursive query handling code (CVE-2006-4096) It is possible to trigger an INSIST failure by sending enough recursive queries such that the response to the query arrives after all the clients waiting for the response have left the recursion queue. However exposure can be minimized by restricting which sources can ask for recursion. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2006/08/17 14:14:18 taca Exp $ d3 2 a4 2 --- lib/lwres/getaddrinfo.c.orig 2005-06-10 08:54:33.000000000 +0900 +++ lib/lwres/getaddrinfo.c d6 1 a7 1 #include d16 1 a16 1 @@@@ -252,14 +256,22 @@@@ lwres_getaddrinfo(const char *hostname, @ 1.4 log @upgrade to 9.2.0. list of changes between 9.1.3 to 9.2.0 is available at: http://www.isc.org/products/BIND/bind9.html @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2001/07/17 01:30:31 itojun Exp $ d3 3 a5 3 --- lib/lwres/getaddrinfo.c.orig Sat Jul 14 08:34:01 2001 +++ lib/lwres/getaddrinfo.c Tue Jul 17 10:15:03 2001 @@@@ -31,6 +31,10 @@@@ d16 1 a16 1 @@@@ -253,14 +257,18 @@@@ a19 4 - /* - * Vendors may want to support non-numeric - * scopeid around here. - */ d27 4 @ 1.3 log @support KAME scope identifier (interface names). vanilla BIND9 supports numeric scope identifiers. @ text @d1 1 a1 2 $NetBSD$ support for kame scopeid extension (assumes that link scope = interface) d3 5 a7 4 --- lib/lwres/getaddrinfo.c- Sun Jan 28 15:34:17 2001 +++ lib/lwres/getaddrinfo.c Sun Jan 28 15:38:37 2001 @@@@ -28,6 +28,9 @@@@ #include a8 1 #include d12 5 a16 4 #include #include @@@@ -262,14 +265,18 @@@@ @ 1.2 log @Update to bind9.0.0 beta2. Changes: Many more config file options implemented (see doc/misc/options for a summary of the current implementation status), portability improvements, (works much better than beta 1 on FreeBSD 3.4), and bugfixes (almost all bugs reported against beta 1 have been fixed). @ text @d1 2 a2 1 $NetBSD: patch-ac,v 1.1 2000/02/22 03:51:00 hubertf Exp $ d4 4 a7 3 --- lib/lwres/Makefile.in.orig Fri Feb 4 07:02:49 2000 +++ lib/lwres/Makefile.in Mon Feb 21 05:08:46 2000 @@@@ -19,6 +19,8 @@@@ d9 4 a12 1 @@BIND9_VERSION@@ d14 5 a18 3 +@@LIBDNS_API@@ + @@BIND9_INCLUDES@@ d20 11 a30 9 CINCLUDES = -I. -I./include -I${srcdir}/include ${ISC_INCLUDES} @@@@ -53,7 +55,7 @@@@ -DLIBAGE=${LIBAGE} \ -c ${srcdir}/version.c -liblwres.@@A@@: ${OBJS} +liblwres.a: ${OBJS} ${AR} ${ARFLAGS} $@@ ${OBJS} ${RANLIB} $@@ d32 8 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @ BIND 9.0.0b1 is the first public release of BIND 9 code. It will be most useful to advanced users working with IPv6 or DNSSEC. BIND 9.0.0b1 is not functionally complete, and is not a release candidate for BIND 9.0.0. The ISC anticipates a number of additional beta releases between now and May, when BIND 9.0.0 is scheduled to be released. The ISC does not recommend using BIND 9.0.0b1 for "production" services. @ text @@