ports/115163: dns/bind9-sdb-ldap port is outdated

Aleksey Ovcharenko aleksey.ovcharenko at gmail.com
Fri Aug 3 11:00:06 UTC 2007


>Number:         115163
>Category:       ports
>Synopsis:       dns/bind9-sdb-ldap port is outdated
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 03 11:00:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Aleksey Ovcharenko
>Release:        
>Organization:
>Environment:
>Description:
It's related to FreeBSD Security Advisory FreeBSD-SA-07:07.bind
>How-To-Repeat:

>Fix:
Apply an attached patch.

Patch attached with submission follows:

diff -ruN bind9-sdb-ldap.orig/Makefile bind9-sdb-ldap/Makefile
--- bind9-sdb-ldap.orig/Makefile	Mon Jul 23 02:35:46 2007
+++ bind9-sdb-ldap/Makefile	Fri Aug  3 03:02:33 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bind9
-PORTVERSION=	9.3.2
+PORTVERSION=	9.4.1
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	${MASTER_SITE_ISC}
 MASTER_SITE_SUBDIR=	bind9/${ISCVERSION}
@@ -23,7 +23,7 @@
 CONFLICTS=	bind-8.* bind84-8.* bind9-9.* bind9-dlz-* host-* skalibs-*
 
 # ISC releases things like 9.3.0rc1, which our versioning doesn't like
-ISCVERSION=	9.3.2
+ISCVERSION=	9.4.1-P1
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var --disable-linux-caps --with-openssl \
diff -ruN bind9-sdb-ldap.orig/distinfo bind9-sdb-ldap/distinfo
--- bind9-sdb-ldap.orig/distinfo	Sat Jun 24 05:55:59 2006
+++ bind9-sdb-ldap/distinfo	Fri Aug  3 02:59:04 2007
@@ -1,6 +1,6 @@
-MD5 (bind-9.3.2.tar.gz) = 55e709501a7780233c36e25ccd15ece2
-SHA256 (bind-9.3.2.tar.gz) = 4d4298abd85d06083a0643091dde05ffbe3db051439524dbe4a81c689735c694
-SIZE (bind-9.3.2.tar.gz) = 5302112
-MD5 (bind-9.3.2.tar.gz.asc) = 06eccb8a9122e0f6efa9502cc61f5006
-SHA256 (bind-9.3.2.tar.gz.asc) = b7a9bc3852bb75e390d457e4449083a90c1c267f68fae00f317b9712ef726cf3
-SIZE (bind-9.3.2.tar.gz.asc) = 187
+MD5 (bind-9.4.1-P1.tar.gz) = 44e0514e6105ddaa235394045d9aeb0c
+SHA256 (bind-9.4.1-P1.tar.gz) = 912d07be9a6b4fa180d38637bf32ac4e802b087e46fbbf2a76314ecc3444b693
+SIZE (bind-9.4.1-P1.tar.gz) = 6341409
+MD5 (bind-9.4.1-P1.tar.gz.asc) = 2d93fd12d3aa9895c23c09784f7fe0b7
+SHA256 (bind-9.4.1-P1.tar.gz.asc) = b66a7ad4a8dd2a375fb961ab9b8a744fa55b034c0b7233b4490b6351e36f5030
+SIZE (bind-9.4.1-P1.tar.gz.asc) = 478
diff -ruN bind9-sdb-ldap.orig/files/patch-sdb_ldap bind9-sdb-ldap/files/patch-sdb_ldap
--- bind9-sdb-ldap.orig/files/patch-sdb_ldap	Fri Nov  4 07:20:00 2005
+++ bind9-sdb-ldap/files/patch-sdb_ldap	Fri Aug  3 03:21:25 2007
@@ -700,28 +700,27 @@
 diff -ruN ../bind-9.3.1.org/bin/named/main.c ./bin/named/main.c
 --- ../bind-9.3.1.org/bin/named/main.c	Wed Jun 22 22:34:55 2005
 +++ ./bin/named/main.c	Wed Jun 22 22:47:38 2005
-@@ -71,6 +71,7 @@
+@@ -72,6 +72,7 @@
   * Include header files for database drivers here.
   */
  /* #include "xxdb.h" */
 +#include <ldapdb.h> 
  
- static isc_boolean_t	want_stats = ISC_FALSE;
- static char		program_name[ISC_DIR_NAMEMAX] = "named";
-@@ -656,6 +657,7 @@
+ /*
+  * Include DLZ drivers if appropriate.
+@@ -681,6 +682,7 @@
  	 * Add calls to register sdb drivers here.
  	 */
  	/* xxdb_init(); */
 +	ldapdb_init();
  
- 	ns_server_create(ns_g_mctx, &ns_g_server);
- }
-@@ -672,7 +674,7 @@
+ #ifdef DLZ
+ 	/*
+@@ -707,6 +709,7 @@
  	 * Add calls to unregister sdb drivers here.
  	 */
  	/* xxdb_clear(); */
--
 +	ldapdb_clear();
- 	isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
- 		      ISC_LOG_NOTICE, "exiting");
- 	ns_log_shutdown();
+ 
+ #ifdef DLZ
+ 	/*


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list