[pdns] Update to 3.4.0-rc1
Morten Stevens
mstevens at fedoraproject.org
Fri Aug 1 12:14:50 UTC 2014
commit 75dda0ab1f8aba1656346108e058bdb31dd00c83
Author: Morten Stevens <mstevens at imt-systems.com>
Date: Fri Aug 1 14:14:33 2014 +0200
Update to 3.4.0-rc1
.gitignore | 1 +
pdns-default-config.patch | 6 +++---
pdns.service | 1 +
pdns.spec | 40 +++++++++++++++++++++++-----------------
sources | 2 +-
5 files changed, 29 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dc18fb4..7d702de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ pdns-2.9.22.tar.gz
/pdns-3.3-rc2.tar.gz
/pdns-3.3.tar.gz
/pdns-3.3.1.tar.gz
+/pdns-3.4.0-rc1.tar.bz2
diff --git a/pdns-default-config.patch b/pdns-default-config.patch
index e6d2075..d50f1e1 100644
--- a/pdns-default-config.patch
+++ b/pdns-default-config.patch
@@ -1,9 +1,9 @@
---- pdns-3.3-rc2/pdns/pdns.conf-dist.orig 2013-06-14 11:51:22.000000000 +0200
-+++ pdns-3.3-rc2/pdns/pdns.conf-dist 2013-06-28 13:45:37.307992960 +0200
+--- pdns-3.4.0-rc1/pdns/pdns.conf-dist.orig 2014-07-31 21:42:05.000000000 +0200
++++ pdns-3.4.0-rc1/pdns/pdns.conf-dist 2014-08-01 14:02:00.238999673 +0200
@@ -1,3 +1,6 @@
+setuid=pdns
+setgid=pdns
+launch=bind
# Autogenerated configuration file template
#################################
- # add-superfluous-nsec3-for-old-bind Add superfluous NSEC3 record to positive wildcard response
+ # allow-axfr-ips Allow zonetransfers only to these subnets
diff --git a/pdns.service b/pdns.service
index 5b5fa56..61d6984 100644
--- a/pdns.service
+++ b/pdns.service
@@ -9,6 +9,7 @@ ExecStop=/usr/bin/pdns_control quit
Restart=on-failure
RestartSec=2
PrivateTmp=true
+KillMode=none
[Install]
WantedBy=multi-user.target
diff --git a/pdns.spec b/pdns.spec
index 5b538b6..cb14508 100644
--- a/pdns.spec
+++ b/pdns.spec
@@ -1,14 +1,15 @@
%global _hardened_build 1
%global backends %{nil}
+%global prever rc1
Name: pdns
-Version: 3.3.1
-Release: 6%{?dist}
+Version: 3.4.0
+Release: 0.1.%{?prever}%{?dist}
Summary: A modern, advanced and high performance authoritative-only nameserver
Group: System Environment/Daemons
License: GPLv2
URL: http://powerdns.com
-Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
+Source0: http://downloads.powerdns.com/releases/%{name}-%{version}-%{?prever}.tar.bz2
Source1: pdns.service
Patch0: pdns-default-config.patch
@@ -24,6 +25,7 @@ BuildRequires: lua-devel
BuildRequires: cryptopp-devel
BuildRequires: bison
BuildRequires: polarssl-devel
+BuildRequires: zeromq-devel
Provides: powerdns = %{version}-%{release}
%description
@@ -129,26 +131,22 @@ BuildRequires: opendbx-devel
This package contains the opendbx backend for %{name}
%prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{?prever}
%patch0 -p1 -b .default-config-patch
-# No inclusion of pre-built binaries or libraries
-rm -rf pdns/ext/polarssl-*
-
%build
export CPPFLAGS="-DLDAP_DEPRECATED"
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
- --libdir=%{_libdir}/%{name} \
--disable-static \
--with-modules='' \
- --with-system-polarssl \
+ --with-system-polarssl \
--with-lua \
--with-dynmodules='%{backends}' \
--enable-cryptopp \
--enable-tools \
- --enable-remotebackend-http
+ --enable-remotebackend-zeromq
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -215,23 +213,27 @@ exit 0
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
%{_bindir}/dnsscope
+%{_bindir}/dnsdist
%{_bindir}/dnstcpbench
%{_bindir}/dnswasher
%{_bindir}/nproxy
%{_bindir}/nsec3dig
+%{_bindir}/saxfr
%{_mandir}/man8/dnsreplay.8.gz
%{_mandir}/man8/dnsscope.8.gz
%{_mandir}/man8/dnswasher.8.gz
%{_mandir}/man1/dnstcpbench.1.gz
%files backend-mysql
-%doc pdns/dnssec.schema.mysql.sql
-%doc pdns/no-dnssec.schema.mysql.sql
+%doc modules/gmysqlbackend/schema.mysql.sql
+%doc modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
+%doc modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
%{_libdir}/%{name}/libgmysqlbackend.so
%files backend-postgresql
-%doc pdns/dnssec.schema.pgsql.sql
-%doc pdns/no-dnssec.schema.pgsql.sql
+%doc modules/gpgsqlbackend/schema.pgsql.sql
+%doc modules/gpgsqlbackend/dnssec-3.x_to_3.4.0_schema.pgsql.sql
+%doc modules/gpgsqlbackend/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
%{_libdir}/%{name}/libgpgsqlbackend.so
%files backend-pipe
@@ -251,15 +253,19 @@ exit 0
%{_libdir}/%{name}/libluabackend.so
%files backend-sqlite
-%doc pdns/dnssec.schema.sqlite3.sql
-%doc pdns/no-dnssec.schema.sqlite3.sql
-%doc pdns/bind-dnssec.schema.sqlite3.sql
+%doc modules/gsqlite3backend/schema.sqlite3.sql
+%doc modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
+%doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
%{_libdir}/%{name}/libgsqlite3backend.so
%files backend-opendbx
%{_libdir}/%{name}/libopendbxbackend.so
%changelog
+* Fri Aug 01 2014 Morten Stevens <mstevens at imt-systems.com> - 3.4.0-0.1.rc1
+- Update to 3.4.0-rc1
+- Enable zeromq remote backend
+
* Mon Jul 14 2014 Morten Stevens <mstevens at imt-systems.com> - 3.3.1-6
- Rebuild for PolarSSL 1.3.8
diff --git a/sources b/sources
index 5a73878..81db8ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-074e2ff211fd12ecad25b5c1cc190dd4 pdns-3.3.1.tar.gz
+b83916a597f155296921ac621c48f5e2 pdns-3.4.0-rc1.tar.bz2
More information about the scm-commits
mailing list