]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
pdns: Update to 3.0.1.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Feb 2012 00:52:11 +0000 (01:52 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Feb 2012 00:52:11 +0000 (01:52 +0100)
Fixes CVE-2012-0206 and bug #10030.

It is now possible to build this package on x86_64, too.

pdns/pdns.nm

index 0d0737c0a31dd09e2538651ec41fe31743a5080d..a56570c65135819407c0f9e7147bc2f0825760ef 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = pdns
-version    = 3.0
+version    = 3.0.1
 release    = 1
 
 groups     = Networking/DNS
@@ -19,7 +19,7 @@ description
        Furthermore, PowerDNS interfaces with almost any database.
 end
 
-source_dl  =
+source_dl  = http://downloads.powerdns.com/releases/
 
 build
        requires
@@ -38,7 +38,7 @@ build
 
        configure_options += \
                --sysconfdir=/etc/pdns \
-               --libdir=/usr/lib/powerdns \
+               --libdir=%{libdir}/powerdns \
                --with-modules="" \
                --with-dynmodules="pipe geo ldap gsqlite3" \
                --with-lua \
@@ -49,9 +49,9 @@ build
                chrpath --delete %{BUILDROOT}/usr/bin/zone2ldap
                chrpath --delete %{BUILDROOT}/usr/bin/zone2sql
                chrpath --delete %{BUILDROOT}/usr/sbin/pdns_server
-               chrpath --delete %{BUILDROOT}/usr/lib/powerdns/*.so
+               chrpath --delete %{BUILDROOT}%{libdir}/powerdns/*.so
                chrpath --delete %{BUILDROOT}/usr/bin/dnsreplay
-               chrpath --delete %{BUILDROOT}//usr/bin/pdnssec
+               chrpath --delete %{BUILDROOT}/usr/bin/pdnssec
        end
 end