From 1b276bb2b9770bf7ccb69ba7aebfc1a2556f3404 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 5 Mar 2009 12:11:36 +0000 Subject: bind: bump version and convert to Makefile.autotools.in Patch by Gustavo Zacarias Closes #145. Current bind package is version 9.3.2 which is from the 9.3 branch and is EOLed. It has many security bugs probably fixed in 9.3.6-P1 but since it won't be supported for long it's probably metter to move on to a supported branch. CVE-2009-0025, CVE-2008-1447, CVE-2008-0122, CVE-2007-2926 and probably more. While at it migrate to Makefile.autotools.in too. Also introduced an option for/not to install userland tools (dig, host, nslookup, nsupdate). [ Peter: don't install into staging ] --- package/bind/bind-9.3.2-susv3-legacy.patch | 33 ------------------------------ 1 file changed, 33 deletions(-) delete mode 100644 package/bind/bind-9.3.2-susv3-legacy.patch (limited to 'package/bind/bind-9.3.2-susv3-legacy.patch') diff --git a/package/bind/bind-9.3.2-susv3-legacy.patch b/package/bind/bind-9.3.2-susv3-legacy.patch deleted file mode 100644 index c867828e3..000000000 --- a/package/bind/bind-9.3.2-susv3-legacy.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- - lib/isc/unix/ifiter_ioctl.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -Index: bind-9.3.2/lib/isc/unix/ifiter_ioctl.c -=================================================================== ---- bind-9.3.2.orig/lib/isc/unix/ifiter_ioctl.c -+++ bind-9.3.2/lib/isc/unix/ifiter_ioctl.c -@@ -17,11 +17,12 @@ - - /* $Id: ifiter_ioctl.c,v 1.19.2.5.2.17 2005/10/14 02:13:07 marka Exp $ */ - -+#include -+ - /* - * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl. - * See netintro(4). - */ -- - #if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR) - #ifdef ISC_PLATFORM_HAVEIF_LADDRCONF - #define lifc_len iflc_len -@@ -478,8 +479,8 @@ - for (i = 0; i < 16; i++) { - unsigned char byte; - static const char hex[] = "0123456789abcdef"; -- byte = ((index(hex, address[i * 2]) - hex) << 4) | -- (index(hex, address[i * 2 + 1]) - hex); -+ byte = ((strchr(hex, address[i * 2]) - hex) << 4) | -+ (strchr(hex, address[i * 2 + 1]) - hex); - addr6.s6_addr[i] = byte; - } - iter->current.af = AF_INET6; -- cgit v1.2.3