Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=f89a1778188b54b60b0e7f5710829065671ac8f0
commit f89a1778188b54b60b0e7f5710829065671ac8f0 Author: crazy <[email protected]> Date: Sun Sep 25 20:55:17 2016 +0200 pdns-recursor-4.0.3-1-x86_64 * Version bump / rebuild with boost , tc * use systemd files provided upstream * fix a lot in build() * kill old files diff --git a/source/network-extra/pdns-recursor/FrugalBuild b/source/network-extra/pdns-recursor/FrugalBuild index ae752e6..ab06eba 100644 --- a/source/network-extra/pdns-recursor/FrugalBuild +++ b/source/network-extra/pdns-recursor/FrugalBuild @@ -5,24 +5,21 @@ # Contributor: Zoltan Kiss <[email protected]> # Maintainer: No One -options+=('asneeded') - pkgname=pdns-recursor -pkgver=3.7.2 +pkgver=4.0.3 pkgrel=1 pkgdesc="Power DNS recursor" url="http://www.powerdns.com/" -depends=('libstdc++') -makedepends=('boost>=1.58.0') +depends=('libstdc++>=6.2.1-5' 'protobuf') +makedepends=('boost>=1.61.0') groups=('network-extra') archs=('i686' 'x86_64') backup=(etc/powerdns/recursor.conf) up2date="Flasttar http://downloads.powerdns.com/releases/" -source=(http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2 \ - pdns-recursor.service recursor.conf) -signatures=(${source[0]}.asc '' '') -_F_systemd_units=(pdns-recursor=) -Finclude systemd +source=(http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2 recursor.conf) +sha1sums=('480afed5d68d087c4d573228e295b56a745f1b0f' \ + 'faed4e2f9582605456e7579a77f8f80181b260cc') + build() { @@ -30,21 +27,14 @@ build() Fconf \ --libdir=/usr/lib/pdns \ --sysconfdir=/etc/powerdns \ - --enable-pdns_server \ --enable-recursor \ --with-pgsql-includes=/usr/include \ --with-sqlite-includes=/usr/include \ - --with-modules="geo" \ - --with-dynmodules="gmysql gpgsql gsqlite pipe" + --enable-systemd --with-systemd=/lib/systemd/system make OPTFLAGS="" || Fdie Fmakeinstall Fmkdir /etc/powerdns - Fmkdir /lib/initscripts/messages/hu/LC_MESSAGES Ffile /etc/powerdns/recursor.conf - Frm /etc/init.d/ - Ffile /lib/systemd/system/pdns-recursor.service - Fgenscriptlet - Frm /etc/powerdns/recursor.conf-dist } # optimization OK diff --git a/source/network-extra/pdns-recursor/atomicity_fix.patch b/source/network-extra/pdns-recursor/atomicity_fix.patch deleted file mode 100644 index 7bdd01e..0000000 --- a/source/network-extra/pdns-recursor/atomicity_fix.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -Naur pdns-recursor-3.1.4.orig/recursor_cache.cc pdns-recursor-3.1.4/recursor_cache.cc ---- pdns-recursor-3.1.4.orig/recursor_cache.cc 2007-05-27 16:54:25.000000000 +0200 -+++ pdns-recursor-3.1.4/recursor_cache.cc 2007-05-27 16:58:19.000000000 +0200 -@@ -11,26 +11,26 @@ - #include "config.h" - - #ifdef GCC_SKIP_LOCKING --#include <bits/atomicity.h> -+#include <ext/atomicity.h> - // This code is ugly but does speedup the recursor tremendously on multi-processor systems, and even has a large effect (20, 30%) on uniprocessor --namespace __gnu_cxx --{ -- _Atomic_word -- __attribute__ ((__unused__)) -- __exchange_and_add(volatile _Atomic_word* __mem, int __val) -- { -- register _Atomic_word __result=*__mem; -- *__mem+=__val; -- return __result; -- } -- -- void -- __attribute__ ((__unused__)) -- __atomic_add(volatile _Atomic_word* __mem, int __val) -- { -- *__mem+=__val; -- } --} -+//namespace __gnu_cxx -+//{ -+// _Atomic_word -+// __attribute__ ((__unused__)) -+// __exchange_and_add(volatile _Atomic_word* __mem, int __val) -+// { -+// register _Atomic_word __result=*__mem; -+// *__mem+=__val; -+// return __result; -+// } -+// -+// void -+// __attribute__ ((__unused__)) -+// __atomic_add(volatile _Atomic_word* __mem, int __val) -+// { -+// *__mem+=__val; -+// } -+//} - #endif - - string simpleCompress(const string& label) diff --git a/source/network-extra/pdns-recursor/pdns-recursor.service b/source/network-extra/pdns-recursor/pdns-recursor.service deleted file mode 100644 index d82e133..0000000 --- a/source/network-extra/pdns-recursor/pdns-recursor.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=PDNS Recursor -After=syslog.target network.target - -[Service] -Type=forking -ExecStart=/usr/sbin/pdns_recursor --daemon -ExecStop=/usr/bin/rec_control stop -PIDFIle=/var/run/pdns_recursor.pid - -[Install] -WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
