Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 20:08:36 +0100 (CET)
From:      Ralf van der Enden <tremere@cainites.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61213: Update to 2.9.13 including High CPU Load issue fix
Message-ID:  <20040111190836.5B7D2371@mail.cainites.net>
Resent-Message-ID: <200401111910.i0BJAG7J069140@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61213
>Category:       ports
>Synopsis:       Update to 2.9.13 including High CPU Load issue fix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 11 11:10:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ralf van der Enden
>Release:        FreeBSD 5.1-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #0: Sat Nov 29 15:04:40 CET 2003 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386


	
>Description:
Update to PowerDNS 2.9.13
- Opteron support!
- pdns_recursor jumbles answers now
- Big LDAP cleanup
- Zone2sql is now somewhat clearer when reporting malformed line errors
- pdns_recursor now survives the expiration of all its root records
- Serious issue fixed: added a patch to fix High CPU Load with the pdns_server and mysqld processes
>How-To-Repeat:
	
>Fix:

	

--- pdns-2.9.13.diff begins here ---
diff -ruN powerdns.orig/Makefile powerdns/Makefile
--- powerdns.orig/Makefile	Sun Jan 11 18:04:11 2004
+++ powerdns/Makefile	Sun Jan 11 18:10:47 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	powerdns
-PORTVERSION=	2.9.12
-PORTREVISION=	1
+PORTVERSION=	2.9.13
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${PORTVERSION}
diff -ruN powerdns.orig/Makefile.inc powerdns/Makefile.inc
--- powerdns.orig/Makefile.inc	Sun Jan 11 18:04:11 2004
+++ powerdns/Makefile.inc	Thu Jan  1 01:00:00 1970
@@ -1 +0,0 @@
-WITH_POSTGRESQL_DRIVER=YES
diff -ruN powerdns.orig/distinfo powerdns/distinfo
--- powerdns.orig/distinfo	Sun Jan 11 18:04:11 2004
+++ powerdns/distinfo	Sun Jan 11 18:12:44 2004
@@ -1 +1 @@
-MD5 (pdns-2.9.12.tar.gz) = c30c664b7f1c3baad4422e99c9dd1f18
+MD5 (pdns-2.9.13.tar.gz) = ffd80b49f553cbaaa089a02a90df7729
diff -ruN powerdns.orig/files/patch-pdns_communicator_hh powerdns/files/patch-pdns_communicator_hh
--- powerdns.orig/files/patch-pdns_communicator_hh	Thu Jan  1 01:00:00 1970
+++ powerdns/files/patch-pdns_communicator_hh	Sun Jan 11 18:11:58 2004
@@ -0,0 +1,11 @@
+--- pdns/communicator.hh	21 Jun 2003 09:59:08 -0000	1.5
++++ pdns/communicator.hh	10 Jan 2004 15:47:47 -0000
+@@ -94,7 +94,7 @@
+   
+   time_t earliest()
+   {
+-    time_t early=1<<31-1; // y2038 problem lurking here :-)
++    time_t early=(1<<31)-1; // y2038 problem lurking here :-)
+     for(d_nqueue_t::const_iterator i=d_nqueue.begin();i!=d_nqueue.end();++i) 
+       early=min(early,i->next);
+     return early-time(0);
diff -ruN powerdns.orig/files/patch-pdns_iputils_hh powerdns/files/patch-pdns_iputils_hh
--- powerdns.orig/files/patch-pdns_iputils_hh	Sun Jan 11 18:04:11 2004
+++ powerdns/files/patch-pdns_iputils_hh	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- pdns/iputils.hh.orig	Sat Aug 30 16:27:48 2003
-+++ pdns/iputils.hh		Mon Nov 10 17:27:02 2003
-@@ -51,10 +51,13 @@
-   Netmask(const string &mask) 
-   {
-     char *p;
--    char bits=32;
-+    u_int8_t bits=32;
-+    d_mask=0xFFFFFFFF;
-+
-     if((p=strchr(mask.c_str(),'/')))
--      bits=atoi(p+1);
-+      bits = (u_int8_t) atoi(p+1);
- 
-+    if( bits < 32 )
-     d_mask=~(0xFFFFFFFF>>bits);
- 
-     struct in_addr a;
--- pdns-2.9.13.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040111190836.5B7D2371>