From 1c6d545816cd0ad5117bde16b8d78b4368c072d4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 3 Nov 2015 23:39:27 +0000 Subject: [PATCH] pdns: Update to version 3.4.7 Ths patch also enables the testsuite. Signed-off-by: Michael Tremer --- pdns/pdns.nm | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pdns/pdns.nm b/pdns/pdns.nm index 3c25e9d46..21e9984f1 100644 --- a/pdns/pdns.nm +++ b/pdns/pdns.nm @@ -4,8 +4,8 @@ ############################################################################### name = pdns -version = 3.3.1 -release = 2 +version = 3.4.7 +release = 1 groups = Networking/DNS url = http://powerdns.com/ @@ -20,6 +20,7 @@ description end source_dl = http://downloads.powerdns.com/releases/ +sources = %{thisapp}.tar.bz2 build requires @@ -38,18 +39,22 @@ build configure_options += \ --sysconfdir=%{sysconfdir}/pdns \ - --libdir=%{libdir}/powerdns \ --with-system-polarssl \ --with-modules="" \ --with-dynmodules="pipe geo gsqlite3" \ --with-lua \ --enable-tools \ - --disable-static + --disable-static \ + --enable-unit-tests prepare_cmds %{create_user} end + test + make -C pdns check + end + install_cmds # Create directories for pdns sqlite db. mkdir -p %{BUILDROOT}%{datadir}/pdns/ @@ -78,7 +83,7 @@ build chrpath --delete %{BUILDROOT}/usr/bin/pdns_control chrpath --delete %{BUILDROOT}/usr/bin/zone2sql chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server - chrpath --delete %{BUILDROOT}%{libdir}/powerdns/*.so + chrpath --delete %{BUILDROOT}%{libdir}/pdns/*.so chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay chrpath --delete %{BUILDROOT}/usr/bin/pdnssec end -- 2.39.2