ports/76145: update to 2.9.17
Ralf van der Enden
tremere at cainites.net
Wed Jan 12 15:00:42 UTC 2005
>Number: 76145
>Category: ports
>Synopsis: update to 2.9.17
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 12 15:00:41 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ralf van der Enden
>Release: FreeBSD 5.3-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: Fri Jan 7 10:07:35 CET 2005 root at lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386
>Description:
Update to version 2.9.17
- for changes see http://rtfm.powerdns.com/changelog.html
>How-To-Repeat:
>Fix:
--- pdns-2.9.17.diff begins here ---
diff -ruN powerdns.orig/Makefile powerdns/Makefile
--- powerdns.orig/Makefile Wed Jan 12 12:47:47 2005
+++ powerdns/Makefile Wed Jan 12 12:48:42 2005
@@ -6,8 +6,7 @@
#
PORTNAME= powerdns
-PORTVERSION= 2.9.16
-PORTREVISION= 7
+PORTVERSION= 2.9.17
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
DISTNAME= pdns-${PORTVERSION}
diff -ruN powerdns.orig/distinfo powerdns/distinfo
--- powerdns.orig/distinfo Wed Jan 12 12:47:47 2005
+++ powerdns/distinfo Wed Jan 12 12:48:48 2005
@@ -1,2 +1,2 @@
-MD5 (pdns-2.9.16.tar.gz) = 7e9a859a5a21996dbf7b31cd61731dbc
-SIZE (pdns-2.9.16.tar.gz) = 767977
+MD5 (pdns-2.9.17.tar.gz) = 92489391182dc40012f1de7b2005ea93
+SIZE (pdns-2.9.17.tar.gz) = 782592
diff -ruN powerdns.orig/files/patch-pdns_pdns_recursor_cc powerdns/files/patch-pdns_pdns_recursor_cc
--- powerdns.orig/files/patch-pdns_pdns_recursor_cc Wed Jan 12 12:47:47 2005
+++ powerdns/files/patch-pdns_pdns_recursor_cc Wed Jan 12 15:43:08 2005
@@ -1,33 +1,29 @@
---- pdns/pdns_recursor.cc.orig Tue Nov 16 21:21:59 2004
-+++ pdns/pdns_recursor.cc Tue Nov 16 21:22:31 2004
-@@ -22,6 +22,8 @@
- #include <errno.h>
- #include <map>
- #include <set>
-+#include <semaphore.h>
-+#include <pthread.h>
- #ifndef WIN32
- #include <netdb.h>
- #endif // WIN32
-@@ -42,21 +44,6 @@
- MemRecursorCache RC;
+--- pdns/pdns_recursor.cc.orig Wed Jan 12 15:30:19 2005
++++ pdns/pdns_recursor.cc Wed Jan 12 15:31:01 2005
+@@ -39,7 +39,7 @@
+ #include <fstream>
+ #include "recursor_cache.hh"
+
+-#ifdef FreeBSD // see cvstrac ticket #26
++#ifdef __FreeBSD__ // see cvstrac ticket #26
+ #include <pthread.h>
+ #include <semaphore.h>
+ #endif
+@@ -48,7 +48,8 @@
string s_programname="pdns_recursor";
--
--#ifndef WIN32
--extern "C" {
-- int sem_init(sem_t*, int, unsigned int){return 0;}
-- int sem_wait(sem_t*){return 0;}
-- int sem_trywait(sem_t*){return 0;}
-- int sem_post(sem_t*){return 0;}
-- int sem_getvalue(sem_t*, int*){return 0;}
-- pthread_t pthread_self(void){return (pthread_t) 0;}
-- int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr){ return 0; }
-- int pthread_mutex_lock(pthread_mutex_t *mutex){ return 0; }
-- int pthread_mutex_unlock(pthread_mutex_t *mutex) { return 0; }
--
--}
--#endif // WIN32
+
+-#if !WIN32 && !FreeBSD
++#ifndef WIN32
++#ifndef __FreeBSD__
+ extern "C" {
+ int sem_init(sem_t*, int, unsigned int){return 0;}
+ int sem_wait(sem_t*){return 0;}
+@@ -61,6 +62,7 @@
+ int pthread_mutex_unlock(pthread_mutex_t *mutex) { return 0; }
+
+ }
++#endif // __FreeBSD__
+ #endif // WIN32
StatBag S;
- ArgvMap &arg()
--- pdns-2.9.17.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list