[33509] trunk/dports/net/bind9

dluke at macports.org dluke at macports.org
Mon Jan 28 08:09:33 PST 2008


Revision: 33509
          http://trac.macosforge.org/projects/macports/changeset/33509
Author:   dluke at macports.org
Date:     2008-01-28 08:09:25 -0800 (Mon, 28 Jan 2008)

Log Message:
-----------
Bind 9 updates:
- Change to startupitem.executable style startupitem creation
- Add patch for CVE-2008-0122/CVE-2007-6251 and bump revision

Modified Paths:
--------------
    trunk/dports/net/bind9/Portfile

Added Paths:
-----------
    trunk/dports/net/bind9/files/patch-inet_network.c.diff

Modified: trunk/dports/net/bind9/Portfile
===================================================================
--- trunk/dports/net/bind9/Portfile	2008-01-28 16:02:36 UTC (rev 33508)
+++ trunk/dports/net/bind9/Portfile	2008-01-28 16:09:25 UTC (rev 33509)
@@ -4,7 +4,7 @@
 
 name			bind9
 version			9.4.2
-revision		1
+revision		2
 
 categories		net
 maintainers		dluke at geeklair.net
@@ -31,10 +31,10 @@
 
 startupitem.create	yes
 startupitem.netchange	yes
-startupitem.start	"${prefix}/sbin/named"
-startupitem.restart	"/bin/kill -HUP \$(/bin/cat ${prefix}/var/run/named.pid)"
-startupitem.stop	"/bin/kill -15 \$(/bin/cat ${prefix}/var/run/named.pid)"
+startupitem.executable	${prefix}/sbin/named -f
 
+patchfiles		patch-inet_network.c.diff
+
 configure.args		--mandir=${prefix}/share/man --enable-libbind \
 				--with-openssl=${prefix} \
 				--enable-threads

Added: trunk/dports/net/bind9/files/patch-inet_network.c.diff
===================================================================
--- trunk/dports/net/bind9/files/patch-inet_network.c.diff	                        (rev 0)
+++ trunk/dports/net/bind9/files/patch-inet_network.c.diff	2008-01-28 16:09:25 UTC (rev 33509)
@@ -0,0 +1,15 @@
+--- lib/bind/inet/inet_network.c:1.5	Wed Apr 27 04:56:21 2005
++++ lib/bind/inet/inet_network.c	Tue Jan 15 04:02:01 2008
+@@ -84,9 +84,9 @@
+	}
+	if (!digit)
+		return (INADDR_NONE);
++	if (pp >= parts + 4 || val > 0xffU)
++		return (INADDR_NONE);
+	if (*cp == '.') {
+-		if (pp >= parts + 4 || val > 0xffU)
+-			return (INADDR_NONE);
+		*pp++ = val, cp++;
+		goto again;
+	}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080128/95772b02/attachment.html


More information about the macports-changes mailing list