pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Update PowerDNS to 3.4.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3967743af74
branches: trunk
changeset: 643061:e3967743af74
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Wed Dec 10 14:50:08 2014 +0000
description:
Update PowerDNS to 3.4.1.
pkgsrc changes:
- SQLite 2.x support no longer exists
- SQLite 3.x support cannot be compiled outside the main package because
of how symbols are distributed, so making it a compile time option
for net/powerdns now.
Too many changes since 2.9.22.5 (over 2 years ago), see the full changelog:
http://doc.powerdns.com/md/changelog/
Upgrade notes:
- PowerDNS 3.4 comes with a mandatory database schema upgrade coming from
any previous 3.x release.
- PowerDNS 3.1 introduces native SQLite3 support for storing key material for
DNSSEC in the bindbackend. With this change, support for bind+gsql-setups
('hybrid mode') has been dropped.
- PowerDNS 3.0 introduces full DNSSEC support which requires changes
to database schemas. By default, old non-DNSSEC schema is assumed.
Please see the docs on upgrading for particular steps that need to be taken:
http://doc.powerdns.com/md/authoritative/upgrading/
diffstat:
net/Makefile | 4 +-
net/powerdns-ldap/Makefile | 3 +-
net/powerdns-ldap/PLIST | 4 +-
net/powerdns-mysql/Makefile | 3 +-
net/powerdns-mysql/PLIST | 7 +-
net/powerdns-pgsql/Makefile | 3 +-
net/powerdns-pgsql/PLIST | 7 +-
net/powerdns-sqlite/DESCR | 9 -
net/powerdns-sqlite/Makefile | 14 -
net/powerdns-sqlite/PLIST | 2 -
net/powerdns-sqlite3/DESCR | 9 -
net/powerdns-sqlite3/Makefile | 14 -
net/powerdns-sqlite3/PLIST | 2 -
net/powerdns/Makefile | 9 +-
net/powerdns/Makefile.backend | 3 +-
net/powerdns/Makefile.common | 19 +-
net/powerdns/PLIST | 32 +-
net/powerdns/distinfo | 51 +-
net/powerdns/files/smf/manifest.xml | 30 +
net/powerdns/options.mk | 45 +
net/powerdns/patches/patch-aa | 18 +-
net/powerdns/patches/patch-ab | 13 +-
net/powerdns/patches/patch-configure | 52 +-
net/powerdns/patches/patch-modules_luabackend_luabackend.hh | 15 +
net/powerdns/patches/patch-modules_pipebackend_pipebackend.cc | 9 +-
net/powerdns/patches/patch-modules_pipebackend_pipebackend.hh | 7 +-
net/powerdns/patches/patch-pdns_aes_brg_endian.h | 14 -
net/powerdns/patches/patch-pdns_backends_bind_bindbackend2.cc | 248 ----------
net/powerdns/patches/patch-pdns_backends_bind_bindbackend2.hh | 44 -
net/powerdns/patches/patch-pdns_botan18signers.cc | 43 +
net/powerdns/patches/patch-pdns_dns.hh | 19 +-
net/powerdns/patches/patch-pdns_dnspacket.cc | 23 +-
net/powerdns/patches/patch-pdns_dnsparser.cc | 13 +-
net/powerdns/patches/patch-pdns_dnsparser.hh | 9 +-
net/powerdns/patches/patch-pdns_dnspbench.cc | 13 -
net/powerdns/patches/patch-pdns_dnsscope.cc | 16 +
net/powerdns/patches/patch-pdns_dynloader.cc | 11 +-
net/powerdns/patches/patch-pdns_dynmessenger.cc | 12 -
net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c | 14 -
net/powerdns/patches/patch-pdns_htimer.cc | 7 +-
net/powerdns/patches/patch-pdns_nameserver.cc | 13 -
net/powerdns/patches/patch-pdns_packethandler.cc | 16 -
net/powerdns/patches/patch-pdns_pdns_recursor.cc | 142 +++--
net/powerdns/patches/patch-pdns_receiver.cc | 8 +-
net/powerdns/patches/patch-pdns_recursor__cache.cc | 9 +-
net/powerdns/patches/patch-pdns_resolver.cc | 60 +-
net/powerdns/patches/patch-pdns_tcpreceiver.cc | 127 ++--
47 files changed, 547 insertions(+), 698 deletions(-)
diffs (truncated from 1699 to 300 lines):
diff -r a79d04aa7b12 -r e3967743af74 net/Makefile
--- a/net/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ b/net/Makefile Wed Dec 10 14:50:08 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1047 2014/12/06 10:45:34 obache Exp $
+# $NetBSD: Makefile,v 1.1048 2014/12/10 14:50:08 fhajny Exp $
#
COMMENT= Networking tools
@@ -540,8 +540,6 @@
SUBDIR+= powerdns-mysql
SUBDIR+= powerdns-pgsql
SUBDIR+= powerdns-recursor
-SUBDIR+= powerdns-sqlite
-SUBDIR+= powerdns-sqlite3
SUBDIR+= pppd
SUBDIR+= pptp
SUBDIR+= proftpd
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-ldap/Makefile
--- a/net/powerdns-ldap/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-ldap/Makefile Wed Dec 10 14:50:08 2014 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2014/02/12 23:18:25 tron Exp $
+# $NetBSD: Makefile,v 1.14 2014/12/10 14:50:09 fhajny Exp $
.include "../../net/powerdns/Makefile.backend"
PKGNAME= ${DISTNAME:S/pdns/powerdns-ldap/}
-PKGREVISION= 5
COMMENT= LDAP backend module for PowerDNS
CONFIGURE_ARGS+= --with-dynmodules="ldap"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-ldap/PLIST
--- a/net/powerdns-ldap/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-ldap/PLIST Wed Dec 10 14:50:08 2014 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.3 2012/01/25 10:21:12 ghen Exp $
-lib/pdns/libldapbackend.la
+@comment $NetBSD: PLIST,v 1.4 2014/12/10 14:50:09 fhajny Exp $
+lib/pdns/pdns/libldapbackend.la
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-mysql/Makefile
--- a/net/powerdns-mysql/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-mysql/Makefile Wed Dec 10 14:50:08 2014 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2013/03/02 20:33:31 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2014/12/10 14:50:09 fhajny Exp $
.include "../../net/powerdns/Makefile.backend"
PKGNAME= ${DISTNAME:S/pdns/powerdns-mysql/}
-PKGREVISION= 4
COMMENT= MySQL backend module for PowerDNS
CONFIGURE_ARGS+= --with-dynmodules="gmysql"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-mysql/PLIST
--- a/net/powerdns-mysql/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-mysql/PLIST Wed Dec 10 14:50:08 2014 +0000
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2012/01/25 10:21:12 ghen Exp $
-lib/pdns/libgmysqlbackend.la
+@comment $NetBSD: PLIST,v 1.5 2014/12/10 14:50:09 fhajny Exp $
+lib/pdns/pdns/libgmysqlbackend.la
+share/doc/pdns/dnssec-3.x_to_3.4.0_schema.mysql.sql
+share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.mysql.sql
+share/doc/pdns/schema.mysql.sql
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-pgsql/Makefile
--- a/net/powerdns-pgsql/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-pgsql/Makefile Wed Dec 10 14:50:08 2014 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2014/06/10 14:21:37 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2014/12/10 14:50:09 fhajny Exp $
.include "../../net/powerdns/Makefile.backend"
PKGNAME= ${DISTNAME:S/pdns/powerdns-pgsql/}
-PKGREVISION= 4
COMMENT= PostgreSQL backend module for PowerDNS
CONFIGURE_ARGS+= --with-dynmodules="gpgsql"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-pgsql/PLIST
--- a/net/powerdns-pgsql/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns-pgsql/PLIST Wed Dec 10 14:50:08 2014 +0000
@@ -1,2 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2012/01/25 10:21:12 ghen Exp $
-lib/pdns/libgpgsqlbackend.la
+@comment $NetBSD: PLIST,v 1.4 2014/12/10 14:50:09 fhajny Exp $
+lib/pdns/pdns/libgpgsqlbackend.la
+share/doc/pdns/dnssec-3.x_to_3.4.0_schema.pgsql.sql
+share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
+share/doc/pdns/schema.pgsql.sql
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite/DESCR
--- a/net/powerdns-sqlite/DESCR Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-The PowerDNS nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all the relevant DNS standards documents. PowerDNS is open source.
-
-The PowerDNS nameserver utilizes a flexible backend architecture that
-can access DNS information from any data source. This includes file
-formats, BIND zone files, relational databases or LDAP directories.
-
-This packages provides the SQLite backend module.
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite/Makefile
--- a/net/powerdns-sqlite/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile,v 1.7 2012/10/23 17:19:00 asau Exp $
-
-.include "../../net/powerdns/Makefile.backend"
-
-PKGNAME= ${DISTNAME:S/pdns/powerdns-sqlite/}
-PKGREVISION= 2
-COMMENT= SQLite backend module for PowerDNS
-
-CONFIGURE_ARGS+= --with-dynmodules="gsqlite"
-CONFIGURE_ARGS+= --with-sqlite-lib=${BUILDLINK_PREFIX.sqlite}/lib
-CONFIGURE_ARGS+= --with-sqlite-includes=${BUILDLINK_PREFIX.sqlite}/include
-
-.include "../../databases/sqlite/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite/PLIST
--- a/net/powerdns-sqlite/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2012/01/25 10:21:12 ghen Exp $
-lib/pdns/libgsqlitebackend.la
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite3/DESCR
--- a/net/powerdns-sqlite3/DESCR Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-The PowerDNS nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all the relevant DNS standards documents. PowerDNS is open source.
-
-The PowerDNS nameserver utilizes a flexible backend architecture that
-can access DNS information from any data source. This includes file
-formats, BIND zone files, relational databases or LDAP directories.
-
-This packages provides the SQLite version 3 backend module.
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite3/Makefile
--- a/net/powerdns-sqlite3/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2014/10/07 16:47:33 adam Exp $
-
-.include "../../net/powerdns/Makefile.backend"
-
-PKGNAME= ${DISTNAME:S/pdns/powerdns-sqlite3/}
-PKGREVISION= 2
-COMMENT= SQLite version 3 backend module for PowerDNS
-
-CONFIGURE_ARGS+= --with-dynmodules="gsqlite3"
-CONFIGURE_ARGS+= --with-sqlite3-lib=${BUILDLINK_PREFIX.sqlite3}/lib
-CONFIGURE_ARGS+= --with-sqlite3-includes=${BUILDLINK_PREFIX.sqlite3}/include
-
-.include "../../databases/sqlite3/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns-sqlite3/PLIST
--- a/net/powerdns-sqlite3/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2013/09/06 11:01:57 fhajny Exp $
-lib/pdns/libgsqlite3backend.la
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns/Makefile
--- a/net/powerdns/Makefile Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns/Makefile Wed Dec 10 14:50:08 2014 +0000
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.9 2012/10/23 17:18:59 asau Exp $
+# $NetBSD: Makefile,v 1.10 2014/12/10 14:50:08 fhajny Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
-PKGREVISION= 2
COMMENT= Modern, advanced and high performance nameserver
+.include "options.mk"
+
CONFIGURE_ARGS+= --with-modules="geo"
-CONFIGURE_ARGS+= --with-dynmodules="pipe"
+CONFIGURE_ARGS+= --with-dynmodules="${PDNS_MODULES}"
RCD_SCRIPTS= pdns
+SMF_NAME= pdns
EGDIR= ${PREFIX}/share/examples/pdns
MAKE_ENV+= EGDIR=${EGDIR}
@@ -24,4 +26,5 @@
LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns/Makefile.backend
--- a/net/powerdns/Makefile.backend Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns/Makefile.backend Wed Dec 10 14:50:08 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.backend,v 1.1.1.1 2006/08/13 09:34:21 ghen Exp $
+# $NetBSD: Makefile.backend,v 1.2 2014/12/10 14:50:08 fhajny Exp $
.include "../../net/powerdns/Makefile.common"
@@ -8,7 +8,6 @@
PATCHDIR= ${.CURDIR}/../../net/powerdns/patches
CONFIGURE_ARGS+= --disable-pdns_server
-CONFIGURE_ARGS+= --disable-recursor
CONFIGURE_ARGS+= --with-modules=""
BUILD_DIRS= modules
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns/Makefile.common
--- a/net/powerdns/Makefile.common Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns/Makefile.common Wed Dec 10 14:50:08 2014 +0000
@@ -1,22 +1,31 @@
-# $NetBSD: Makefile.common,v 1.9 2014/10/05 16:41:08 wiz Exp $
-#
-# used by net/powerdns/Makefile.backend
+# $NetBSD: Makefile.common,v 1.10 2014/12/10 14:50:08 fhajny Exp $
-PDNS_VERSION= 2.9.22.5
+PDNS_VERSION= 3.4.1
DISTNAME= pdns-${PDNS_VERSION}
CATEGORIES= net
MASTER_SITES= http://downloads.powerdns.com/releases/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.powerdns.com/
+LICENSE= gnu-gpl-v2
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_LIBSUBDIR=pdns
+CONFIGURE_ARGS+= --enable-pdns_server
+CONFIGURE_ARGS+= --with-system-polarssl
+CONFIGURE_ARGS+= --without-lua
+
+BUILDLINK_TRANSFORM+= rm:-fstack-protector
+
.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/polarssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns/PLIST
--- a/net/powerdns/PLIST Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns/PLIST Wed Dec 10 14:50:08 2014 +0000
@@ -1,11 +1,37 @@
-@comment $NetBSD: PLIST,v 1.5 2014/03/11 14:05:10 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.6 2014/12/10 14:50:08 fhajny Exp $
+${PLIST.tools}bin/dnsbulktest
+${PLIST.tools}bin/dnsdist
+${PLIST.tools}bin/dnsreplay
+${PLIST.tools}bin/dnsscan
+${PLIST.tools}bin/dnsscope
+${PLIST.tools}bin/dnstcpbench
+${PLIST.tools}bin/dnswasher
+${PLIST.tools}bin/nproxy
+${PLIST.tools}bin/nsec3dig
bin/pdns_control
+bin/pdnssec
+${PLIST.tools}bin/saxfr
+bin/zone2json
bin/zone2ldap
bin/zone2sql
-lib/pdns/libgeobackend.la
-lib/pdns/libpipebackend.la
+lib/pdns/pdns/libgeobackend.la
+${PLIST.bind}lib/pdns/pdns/libbindbackend.la
+${PLIST.pipe}lib/pdns/pdns/libpipebackend.la
+${PLIST.random}lib/pdns/pdns/librandombackend.la
+${PLIST.remote}lib/pdns/pdns/libremotebackend.la
+${PLIST.sqlite}lib/pdns/pdns/libgsqlite3backend.la
+${PLIST.tools}man/man1/dnsdist.1
+${PLIST.tools}man/man1/dnstcpbench.1
+${PLIST.tools}man/man8/dnsreplay.8
+${PLIST.tools}man/man8/dnsscope.8
+${PLIST.tools}man/man8/dnswasher.8
man/man8/pdns_control.8
man/man8/pdns_server.8
+man/man8/pdnssec.8
+man/man8/zone2ldap.8
man/man8/zone2sql.8
sbin/pdns_server
+${PLIST.sqlite}share/doc/pdns/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
+${PLIST.sqlite}share/doc/pdns/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
+${PLIST.sqlite}share/doc/pdns/schema.sqlite3.sql
share/examples/pdns/pdns.conf-dist
diff -r a79d04aa7b12 -r e3967743af74 net/powerdns/distinfo
--- a/net/powerdns/distinfo Wed Dec 10 14:29:21 2014 +0000
+++ b/net/powerdns/distinfo Wed Dec 10 14:50:08 2014 +0000
@@ -1,29 +1,24 @@
-$NetBSD: distinfo,v 1.13 2013/05/09 20:06:53 joerg Exp $
Home |
Main Index |
Thread Index |
Old Index