Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 10:58:04 +0200
From:      Ralf van der Enden <tremere@cainites.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167045: [MAINTAINER] dns/powerdns-devel: update to 3.1.r2,1
Message-ID:  <E1SKQiC-000B6l-Ga@cainites.net>
Resent-Message-ID: <201204180900.q3I90L86090893@freefall.freebsd.org>

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

>Number:         167045
>Category:       ports
>Synopsis:       [MAINTAINER] dns/powerdns-devel: update to 3.1.r2,1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 09:00:20 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ralf van der Enden
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 9.0-STABLE FreeBSD 9.0-STABLE #1: Sun Apr 15 20:39:12 CEST 2012
>Description:
- Update to development release 3.1 RC2
The changelog can be found here: http://doc.powerdns.com/changelog.html#changelog-auth-3-1

Added file(s):
- files/patch-pdns_Makefile_in

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- powerdns-3.1.r2,1.patch begins here ---
diff -ruN --exclude=CVS ../powerdns-devel.orig/Makefile ./Makefile
--- ../powerdns-devel.orig/Makefile	2010-12-04 08:31:32.000000000 +0100
+++ ./Makefile	2012-04-18 10:56:37.000000000 +0200
@@ -6,24 +6,25 @@
 #
 
 PORTNAME=	powerdns
-PORTVERSION=	2.9.22.${SNAPSHOT}
-PORTREVISION=	1
+PORTVERSION=	3.1.r2
+PORTREVISION?=	0
 PORTEPOCH=	1
 CATEGORIES=	dns ipv6
-MASTER_SITES=	http://svn.powerdns.com/snapshots/${REVISION}/
-PKGNAMESUFFIX=	-devel
-DISTNAME=	pdns-${PORTVERSION:S/.${SNAPSHOT}//}-rc1.${SNAPSHOT}.${REVISION}
+MASTER_SITES=	http://powerdnssec.org/downloads/
+DISTNAME=	pdns-${PORTVERSION:S/.r/-rc/}
 
 MAINTAINER=	tremere@cainites.net
 COMMENT=	An advanced DNS server with multiple backends including SQL
 
 BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost-jam \
-		${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
+		${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
+LIB_DEPENDS=	botan.0:${PORTSDIR}/security/botan \
+		boost_serialization.[4-9]:${PORTSDIR}/devel/boost-libs
 
-SNAPSHOT=	20081119
-REVISION=	1305
+USE_LUA=	5.1
+LUA_COMPS=	lua
 
-CONFLICTS=	powerdns-[0-2]*
+CONFLICTS=	powerdns-3.0*
 
 USE_GMAKE=	YES
 USE_SUBMAKE=	YES
@@ -31,10 +32,12 @@
 USE_LDCONFIG=	YES
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ARGS+=	--with-modules="pipe" \
-			--with-dynmodules="${CONFIGURE_MODULES}" \
-			--sysconfdir="${PREFIX}/etc/pdns" \
-#			--enable-debug
+CONFIGURE_ARGS=	--with-modules="" \
+		--with-dynmodules="pipe ${CONFIGURE_MODULES}" \
+		--sysconfdir="${PREFIX}/etc/pdns" \
+		--with-boost="${LOCALBASE}" \
+		--enable-botan1.8 \
+		--enable-cryptopp
 SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
 		CURDIR2="${.CURDIR}" \
 		MKDIR="${MKDIR}" \
@@ -76,18 +79,19 @@
 CONFIGURE_MODULES+=	"gpgsql"
 PLIST_SUB+=		WITHPGSQL=""
 .else
-CONFIGURE_ARGS+=	--disable-pgsql
+CONFIGURE_ARGS+=	--without-pgsql
 PLIST_SUB+=		WITHPGSQL="@comment "
 .endif
 
 .if defined(WITH_MYSQL)
 USE_MYSQL?=		YES
+CONFIGURE_ARGS+=	--with-mysql=${LOCALBASE}
 CONFIGURE_MODULES+=	"gmysql"
-CXXFLAGS+=		-I${LOCALBASE}/include/mysql
-LDFLAGS+=		-L${LOCALBASE}/lib/mysql
+#CXXFLAGS+=		-I${LOCALBASE}/include/mysql
+#LDFLAGS+=		-L${LOCALBASE}/lib/mysql
 PLIST_SUB+=		WITHMYSQL=""
 .else
-CONFIGURE_ARGS+=	--disable-mysql
+CONFIGURE_ARGS+=	--without-mysql
 PLIST_SUB+=		WITHMYSQL="@comment "
 .endif
 
@@ -96,18 +100,18 @@
 USE_PGSQL?=		YES
 RUN_DEPENDS+=	postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
 SUB_LIST+=	PGSQL=postgresql
-.	else
-SUB_LIST+=	PGSQL=
 .	endif
+.else
+SUB_LIST+=	PGSQL=
 .endif
 .if defined(WITH_OPENDBX) || defined(WITH_MYSQL)
 .	if defined(WITH_MYSQL_LOCAL)
 USE_MYSQL?=		YES
 RUN_DEPENDS+=	mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
 SUB_LIST+=	MYSQL=mysql
-.	else
-SUB_LIST+=	MYSQL=
 .	endif
+.else
+SUB_LIST+=	MYSQL=
 .endif
 
 .if defined(WITH_OPENLDAP)
diff -ruN --exclude=CVS ../powerdns-devel.orig/distinfo ./distinfo
--- ../powerdns-devel.orig/distinfo	2011-03-20 13:49:01.000000000 +0100
+++ ./distinfo	2012-04-16 13:18:10.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (pdns-2.9.22-rc1.20081119.1305.tar.gz) = 791be0119d8183e8737313b606eabd9841aceebc26ee14ffc0350f8787a9cca5
-SIZE (pdns-2.9.22-rc1.20081119.1305.tar.gz) = 1059468
+SHA256 (pdns-3.1-rc2.tar.gz) = 9527c248dcf7fe115168025694d027c5cc3f41389a017bcf9192e7ca465807ab
+SIZE (pdns-3.1-rc2.tar.gz) = 1273089
diff -ruN --exclude=CVS ../powerdns-devel.orig/files/patch-modules_gpgsqlbackend_Makefile_in ./files/patch-modules_gpgsqlbackend_Makefile_in
--- ../powerdns-devel.orig/files/patch-modules_gpgsqlbackend_Makefile_in	2008-05-07 14:40:00.000000000 +0200
+++ ./files/patch-modules_gpgsqlbackend_Makefile_in	2012-04-16 13:35:46.000000000 +0200
@@ -1,6 +1,6 @@
---- modules/gpgsqlbackend/Makefile.in.org	2008-03-18 22:30:19.000000000 +0100
-+++ modules/gpgsqlbackend/Makefile.in	2008-03-18 22:31:26.000000000 +0100
-@@ -213,14 +213,14 @@
+--- modules/gpgsqlbackend/Makefile.in.org	2009-01-28 10:55:21.000000000 +0100
++++ modules/gpgsqlbackend/Makefile.in	2009-01-28 11:02:29.000000000 +0100
+@@ -217,8 +217,8 @@
  AM_CPPFLAGS = @THREADFLAGS@
  lib_LTLIBRARIES = libgpgsqlbackend.la
  EXTRA_DIST = OBJECTFILES OBJECTLIBS
@@ -9,11 +9,3 @@
  libgpgsqlbackend_la_SOURCES = gpgsqlbackend.cc gpgsqlbackend.hh \
  		spgsql.hh spgsql.cc
  
- libgpgsqlbackend_la_LDFLAGS = -module -avoid-version @PGSQL_lib@ -Wl,-Bstatic -lpq \
- 	-Wl,-Bdynamic 
- 
--libgpgsqlbackend_la_LIBADD = -lssl -lcrypt -lcrypto
-+libgpgsqlbackend_la_LIBADD = -lssl -lcrypto
- all: all-am
- 
- .SUFFIXES:
diff -ruN --exclude=CVS ../powerdns-devel.orig/files/patch-pdns_Makefile_in ./files/patch-pdns_Makefile_in
--- ../powerdns-devel.orig/files/patch-pdns_Makefile_in	1970-01-01 01:00:00.000000000 +0100
+++ ./files/patch-pdns_Makefile_in	2012-04-16 13:45:45.000000000 +0200
@@ -0,0 +1,23 @@
+--- pdns/Makefile.in.orig	2011-07-22 13:26:07.000000000 +0200
++++ pdns/Makefile.in	2011-08-09 10:11:41.000000000 +0200
+@@ -51,16 +51,16 @@
+ 	dnslog$(EXEEXT) nproxy$(EXEEXT) notify$(EXEEXT) \
+ 	pdnssec$(EXEEXT) dnsbulktest$(EXEEXT)
+ @BOTAN110_TRUE@am__append_1 = botan110signers.cc botansigners.cc
+-@BOTAN110_TRUE@am__append_2 = -lbotan-1.10 -lgmp
++@BOTAN110_TRUE@am__append_2 = -lbotan-1.10
+ @BOTAN18_TRUE@am__append_3 = botan18signers.cc botansigners.cc
+-@BOTAN18_TRUE@am__append_4 = -lbotan -lgmp
++@BOTAN18_TRUE@am__append_4 = -lbotan
+ @CRYPTOPP_TRUE@am__append_5 = cryptoppsigners.cc
+ @CRYPTOPP_TRUE@am__append_6 = -lcryptopp
+ @SQLITE3_TRUE@am__append_7 = ssqlite3.cc ssqlite3.hh
+ @BOTAN110_TRUE@am__append_8 = botan110signers.cc botansigners.cc
+-@BOTAN110_TRUE@am__append_9 = -lbotan-1.10 -lgmp
++@BOTAN110_TRUE@am__append_9 = -lbotan-1.10
+ @BOTAN18_TRUE@am__append_10 = botan18signers.cc botansigners.cc
+-@BOTAN18_TRUE@am__append_11 = -lbotan -lgmp
++@BOTAN18_TRUE@am__append_11 = -lbotan
+ @CRYPTOPP_TRUE@am__append_12 = cryptoppsigners.cc
+ @CRYPTOPP_TRUE@am__append_13 = -lcryptopp
+ @SQLITE3_TRUE@am__append_14 = ssqlite3.cc ssqlite3.hh
\ No newline at end of file
diff -ruN --exclude=CVS ../powerdns-devel.orig/files/pdns.conf ./files/pdns.conf
--- ../powerdns-devel.orig/files/pdns.conf	2007-04-27 09:25:40.000000000 +0200
+++ ./files/pdns.conf	2011-08-08 14:38:59.000000000 +0200
@@ -29,7 +29,7 @@
 #ldap-secret (default "")
 #ldap-method (default "simple")
 #ldap-filter-axfr (default "(:target:)" )
-ldap-filter-lookup (default "(:target:)" )
+#ldap-filter-lookup (default "(:target:)" )
 
 # OpenDBX (check http://www.linuxnetworks.de for more information)
 #launch=opendbx
@@ -44,7 +44,7 @@
 #################################
 # allow-axfr-ips	Allow zonetransfers only to these subnets
 #
-# allow-axfr-ips=0.0.0.0/0
+# allow-axfr-ips=0.0.0.0/0,::/0
 
 #################################
 # allow-recursion	List of subnets that are allowed to recurse
@@ -69,7 +69,7 @@
 #################################
 # config-dir	Location of configuration directory (pdns.conf)
 #
-# config-dir=/usr/local/etc
+# config-dir=/usr/local/etc/pdns
 
 #################################
 # config-name	Name of this virtual configuration - will rename the binary image
@@ -117,6 +117,21 @@
 # do-ipv6-additional-processing=no
 
 #################################
+# edns-subnet-option-number	EDNS option number to use
+#
+# edns-subnet-option-number=20730
+
+#################################
+# edns-subnet-processing	If we should act on EDNS Subnet options
+#
+# edns-subnet-processing=no
+
+#################################
+# entropy-source	If set, read entropy from this file
+#
+# entropy-source=/dev/urandom
+
+#################################
 # fancy-records	Process URL and MBOXFW records
 #
 # fancy-records=no
@@ -162,12 +177,17 @@
 # log-dns-details=
 
 #################################
+# log-dns-queries	If PDNS should log all incoming DNS queries
+#
+# log-dns-queries=no
+
+#################################
 # log-failed-updates	If PDNS should log failed update requests
 #
 # log-failed-updates=
 
 #################################
-# logfile	Logfile to use
+# logfile	Logfile to use (Windows only)
 #
 # logfile=pdns.log
 
@@ -187,6 +207,11 @@
 # master=no
 
 #################################
+# max-cache-entries	Maximum number of cache entries
+#
+# max-cache-entries=1000000
+
+#################################
 # max-queue-length	Maximum queuelength before considering situation lost
 #
 # max-queue-length=5000
@@ -217,6 +242,16 @@
 # out-of-zone-additional-processing=yes
 
 #################################
+# overload-queue-length	Maximum queuelength moving to packetcache only
+#
+# overload-queue-length=0
+
+#################################
+# per-zone-axfr-acls	When set, backends that implement it perform per-zone AXFL ACL checks
+#
+# per-zone-axfr-acls=off
+
+#################################
 # pipebackend-abi-version	Version of the pipe backend ABI
 #
 # pipebackend-abi-version=1
@@ -229,7 +264,12 @@
 #################################
 # query-local-address	Source IP address for sending queries
 #
-# query-local-address=
+# query-local-address=0.0.0.0
+
+#################################
+# query-local-address6	Source IPv6 address for sending queries
+#
+# query-local-address6=::
 
 #################################
 # query-logging	Hint backends that queries should be logged
@@ -242,6 +282,11 @@
 # queue-limit=1500
 
 #################################
+# receiver-threads	Default number of Distributor (backend) threads to start
+#
+# receiver-threads=1
+
+#################################
 # recursive-cache-ttl	Seconds to store packets in the PacketCache
 #
 # recursive-cache-ttl=10
@@ -252,11 +297,21 @@
 # recursor=no
 
 #################################
+# retrieval-threads	Number of AXFR-retrieval threads for slave operation
+#
+# retrieval-threads=2
+
+#################################
 # send-root-referral	Send out old-fashioned root-referral instead of ServFail in case of no authority
 #
 # send-root-referral=no
 
 #################################
+# server-id	Returned when queried for 'server.id' TXT or NSID, defaults to hostname
+#
+# server-id=
+
+#################################
 # setgid	If set, change group id to this gid for more security
 #
 # setgid=
@@ -267,6 +322,11 @@
 # setuid=
 
 #################################
+# signing-threads	Default number of signer threads to start
+#
+# signing-threads=3
+
+#################################
 # skip-cname	Do not perform CNAME indirection for each query
 #
 # skip-cname=no
@@ -282,6 +342,11 @@
 # slave-cycle-interval=60
 
 #################################
+# slave-renotify	If we should send out notifications for slaved updates
+#
+# slave-renotify=no
+
+#################################
 # smtpredirector	Our smtpredir MX host
 #
 # smtpredirector=a.misconfigured.powerdns.smtp.server
@@ -322,12 +387,37 @@
 # strict-rfc-axfrs=no
 
 #################################
+# tcp-control-address	If set, PowerDNS can be controlled over TCP on this address
+#
+# tcp-control-address=
+
+#################################
+# tcp-control-port	If set, PowerDNS can be controlled over TCP on this address
+#
+# tcp-control-port=53000
+
+#################################
+# tcp-control-range	If set, remote control of PowerDNS is possible over these networks only
+#
+# tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
+
+#################################
+# tcp-control-secret	If set, PowerDNS can be controlled over TCP after passing this secret
+#
+# tcp-control-secret=
+
+#################################
+# trusted-notification-proxy	IP address of incoming notification proxy
+#
+# trusted-notification-proxy=
+
+#################################
 # urlredirector	Where we send hosts to that need to be url redirected
 #
 # urlredirector=127.0.0.1
 
 #################################
-# use-logfile	Use a log file
+# use-logfile	Use a log file (Windows only)
 #
 # use-logfile=no
 
@@ -370,3 +460,5 @@
 # wildcards	Honor wildcards in the database
 #
 # wildcards=
+
+
diff -ruN --exclude=CVS ../powerdns-devel.orig/pkg-plist ./pkg-plist
--- ../powerdns-devel.orig/pkg-plist	2008-08-07 07:39:36.000000000 +0200
+++ ./pkg-plist	2011-08-08 14:38:59.000000000 +0200
@@ -1,4 +1,6 @@
+bin/dnsreplay
 bin/pdns_control
+bin/pdnssec
 bin/zone2ldap
 bin/zone2sql
 sbin/pdns_server
--- powerdns-3.1.r2,1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1SKQiC-000B6l-Ga>