head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.20 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.18 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.16 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.14 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.12 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.10 pkgsrc-2008Q1:1.2.0.8 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.6 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.4 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.2 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.1.0.8 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.6 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2; locks; strict; comment @# @; 1.4 date 2010.02.10.17.30.26; author joerg; state dead; branches; next 1.3; 1.3 date 2009.04.07.17.38.11; author hasso; state Exp; branches; next 1.2; 1.2 date 2007.04.15.18.56.50; author cjs; state Exp; branches; next 1.1; 1.1 date 2006.08.28.16.00.45; author seb; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2006.08.28.16.00.45; author ghen; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2006.09.07.11.20.44; author ghen; state Exp; branches; next ; desc @@ 1.4 log @Retire bind9. @ text @$NetBSD: patch-an,v 1.3 2009/04/07 17:38:11 hasso Exp $ --- lib/bind/include/netdb.h.orig +++ lib/bind/include/netdb.h @@@@ -179,9 +179,17 @@@@ struct addrinfo { int _ai_pad; #endif socklen_t ai_addrlen; +#elif defined(__NetBSD__) +#if defined(__sparc__) && defined(_LP64) + int _ai_pad; +#endif + socklen_t ai_addrlen; #else size_t ai_addrlen; /*%< length of ai_addr */ #endif +#if defined(__NetBSD__) && (defined(__alpha__) || (defined(__i386__) && defined(_LP64))) + int _ai_pad; +#endif #ifdef __linux struct sockaddr *ai_addr; /*%< binary address */ char *ai_canonname; /*%< canonical name for hostname */ @@@@ -492,7 +500,7 @@@@ int innetgr_r __P((const char *, const #endif #else /* defined(sun) || defined(bsdi) */ -#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) +#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)) || (defined(__DragonFly__) && (__DragonFly_version + 0 >= 200202)) int gethostbyaddr_r __P((const char *, int, int, struct hostent *, char *, size_t, struct hostent **, int *)); int gethostbyname_r __P((const char *, struct hostent *, @@@@ -509,7 +517,7 @@@@ struct hostent *gethostent_r __P((struct void sethostent_r __P((int)); void endhostent_r __P((void)); -#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) +#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)) || (defined(__DragonFly__) && (__DragonFly_version + 0 >= 200202)) int getnetbyname_r __P((const char *, struct netent *, char *, size_t, struct netent **, int*)); int getnetbyaddr_r __P((unsigned long int, int, struct netent *, @@@@ -525,7 +533,7 @@@@ struct netent *getnetent_r __P((struct n void setnetent_r __P((int)); void endnetent_r __P((void)); -#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) +#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)) || (defined(__DragonFly__) && (__DragonFly_version + 0 >= 200202)) int getprotobyname_r __P((const char *, struct protoent *, char *, size_t, struct protoent **)); int getprotobynumber_r __P((int, struct protoent *, char *, size_t, @@@@ -541,7 +549,7 @@@@ struct protoent *getprotoent_r __P((stru void setprotoent_r __P((int)); void endprotoent_r __P((void)); -#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) +#if defined(__GLIBC__) || (defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)) || (defined(__DragonFly__) && (__DragonFly_version + 0 >= 200202)) int getservbyname_r __P((const char *name, const char *, struct servent *, char *, size_t, struct servent **)); int getservbyport_r __P((int port, const char *, @ 1.3 log @Make these compile on DragonFly master. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.2 2007/04/15 18:56:50 cjs Exp $ @ 1.2 log @Upgrade BIND to 9.4.0. I won't attempt to summarize 221 lines of changes in README here. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.1 2006/08/28 16:00:45 seb Exp $ d23 36 @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- lib/bind/include/netdb.h.orig 2004-11-30 01:15:42.000000000 +0000 d15 1 a15 1 size_t ai_addrlen; /* length of ai_addr */ d21 2 a22 2 struct sockaddr *ai_addr; /* binary address */ char *ai_canonname; /* canonical name for hostname */ @ 1.1.2.1 log @file patch-an was added on branch pkgsrc-2006Q2 on 2006-08-28 16:00:45 +0000 @ text @d1 22 @ 1.1.2.2 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 @a0 22 $NetBSD: patch-an,v 1.1.2.1 2006/09/07 11:20:44 ghen Exp $ --- lib/bind/include/netdb.h.orig 2004-11-30 01:15:42.000000000 +0000 +++ lib/bind/include/netdb.h @@@@ -179,9 +179,17 @@@@ struct addrinfo { int _ai_pad; #endif socklen_t ai_addrlen; +#elif defined(__NetBSD__) +#if defined(__sparc__) && defined(_LP64) + int _ai_pad; +#endif + socklen_t ai_addrlen; #else size_t ai_addrlen; /* length of ai_addr */ #endif +#if defined(__NetBSD__) && (defined(__alpha__) || (defined(__i386__) && defined(_LP64))) + int _ai_pad; +#endif #ifdef __linux struct sockaddr *ai_addr; /* binary address */ char *ai_canonname; /* canonical name for hostname */ @