Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gcc6.git;a=commitdiff;h=fcc0aca678b2ab8eb9bcf9cc54d8b557193712b8
commit fcc0aca678b2ab8eb9bcf9cc54d8b557193712b8 Author: crazy <[email protected]> Date: Sun Sep 25 20:43:39 2016 +0200 pdns-4.0.1-1-x86_64 * Version bump / rebuild with boost * removed service file upstream has his own now * kill all old files / patches diff --git a/source/network-extra/pdns/FrugalBuild b/source/network-extra/pdns/FrugalBuild index bd493e8..1bc0f3d 100644 --- a/source/network-extra/pdns/FrugalBuild +++ b/source/network-extra/pdns/FrugalBuild @@ -6,23 +6,20 @@ # Maintainer: No One pkgname=pdns -pkgver=3.4.4 -pkgrel=2 +pkgver=4.0.1 +pkgrel=1 pkgdesc="Power DNS Server and Recursor" url="http://www.powerdns.com/" -depends=('libstdc++' 'sqlite2' 'libmysqlclient' 'libpq' 'libboost>=1.60.0') -makedepends=('mysql' 'postgresql' 'boost>=1.60.0') +depends=('libstdc++>=6.2.1-5' 'sqlite3' 'libmysqlclient>=5.5.50-2' 'libpq>=9.5.4' 'libboost>=1.61.0') +makedepends=('mysql>=5.5.50-2' 'postgresql>=9.5.4' 'boost>=1.61.0') groups=('network-extra') archs=('i686' 'x86_64') up2date="Flasttar http://downloads.powerdns.com/releases/" backup=(etc/powerdns/pdns.conf) source=(http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2 \ - pdns.service \ - pdns.conf \ - README.Frugalware) -signatures=(${source[0]}.asc '' '' '') -_F_systemd_units=(pdns=) -Finclude systemd + pdns.conf) +sha1sums=('c70157875c78ffa64d39e9cd4b5b816c8efb58d3' \ + 'd9d18a2cc538200cb1b5598c2dfdf80a0e0d0c9d') build() { @@ -32,13 +29,9 @@ build() --enable-pdns_server \ --with-pgsql-includes=/usr/include \ --with-sqlite-includes=/usr/include \ - --with-modules="geo" \ - --with-dynmodules="gmysql gpgsql gsqlite3 pipe" - Fmkdir /lib/initscripts/messages/hu/LC_MESSAGES + --with-dynmodules="gmysql gpgsql gsqlite3 pipe" \ + --enable-systemd --with-systemd=/lib/systemd/system Ffile /etc/powerdns/pdns.conf - Ffile /lib/systemd/system/pdns.service - Fgenscriptlet - Frm /etc/powerdns/pdns.conf-dist } # optimization OK diff --git a/source/network-extra/pdns/README.Frugalware b/source/network-extra/pdns/README.Frugalware deleted file mode 100644 index e149a12..0000000 --- a/source/network-extra/pdns/README.Frugalware +++ /dev/null @@ -1,26 +0,0 @@ -If you wish to use the gmysql or gpgsql backends with a local server, then -follow these instructions. - -For gmysql, install `mysql` package. - ----- -pacman-g2 -Sy mysql ----- - -For gpgsql, install `postgresql` package. - ----- -pacman-g2 -Sy postgresql ----- - -Now, copy `/lib/systemd/system/pdns.service` to `/etc/systemd/system/pdns.service`. - ----- -cp -f /lib/systemd/system/pdns.service /etc/systemd/system/pdns.service ----- - -Uncomment the lines appropriate for your selected backend. The comments in -the file will guide you. After all this, you must still ensure the specific -database backend you are wanting to use is properly configured. This means -both the pdns configuration and the setup for the mysql or postgresql daemon. -Refer to pdns, mysql, and/or postgresql documentation for more information. diff --git a/source/network-extra/pdns/gcc43.patch b/source/network-extra/pdns/gcc43.patch deleted file mode 100644 index 3472f80..0000000 --- a/source/network-extra/pdns/gcc43.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -Naur pdns-2.9.21/modules/ldapbackend/powerldap.cc pdns-2.9.21-p/modules/ldapbackend/powerldap.cc ---- pdns-2.9.21/modules/ldapbackend/powerldap.cc 2007-04-21 15:56:36.000000000 +0200 -+++ pdns-2.9.21-p/modules/ldapbackend/powerldap.cc 2008-04-13 13:18:07.000000000 +0200 -@@ -1,4 +1,6 @@ - #include "powerldap.hh" -+// for timeval -+#include <sys/time.h> - - - -diff -Naur pdns-2.9.21/pdns/dns.hh pdns-2.9.21-p/pdns/dns.hh ---- pdns-2.9.21/pdns/dns.hh 2007-04-21 15:56:36.000000000 +0200 -+++ pdns-2.9.21-p/pdns/dns.hh 2008-04-13 13:18:07.000000000 +0200 -@@ -115,7 +115,7 @@ - #pragma pack (pop) - #endif - --typedef enum { -+enum { - ns_t_invalid = 0, /* Cookie. */ - ns_t_a = 1, /* Host address. */ - ns_t_ns = 2, /* Authoritative server. */ -diff -Naur pdns-2.9.21/pdns/dynmessenger.cc pdns-2.9.21-p/pdns/dynmessenger.cc ---- pdns-2.9.21/pdns/dynmessenger.cc 2007-04-21 15:56:36.000000000 +0200 -+++ pdns-2.9.21-p/pdns/dynmessenger.cc 2008-04-13 13:18:07.000000000 +0200 -@@ -18,6 +18,7 @@ - */ - #include "dynmessenger.hh" - #include <cstdio> -+#include <cstdlib> - #include <cstring> - #include <cerrno> - #include <iostream> -diff -Naur pdns-2.9.21/pdns/misc.hh pdns-2.9.21-p/pdns/misc.hh ---- pdns-2.9.21/pdns/misc.hh 2007-04-21 15:56:36.000000000 +0200 -+++ pdns-2.9.21-p/pdns/misc.hh 2008-04-13 13:18:07.000000000 +0200 -@@ -19,6 +19,7 @@ - #ifndef MISC_HH - #define MISC_HH - #include <stdint.h> -+#include <cstring> - - #if 0 - #define RDTSC(qp) \ -@@ -234,7 +235,7 @@ - return c==' ' || c=='\t' || c=='\r' || c=='\n'; - } - --inline const char dns_tolower(char c) -+inline char dns_tolower(char c) - { - if(c>='A' && c<='Z') - c+='a'-'A'; diff --git a/source/network-extra/pdns/gcc44_missing_includes.patch b/source/network-extra/pdns/gcc44_missing_includes.patch deleted file mode 100644 index 5d9e395..0000000 --- a/source/network-extra/pdns/gcc44_missing_includes.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: b/pdns/dnsparser.cc -=================================================================== ---- a/pdns/dnsparser.cc -+++ b/pdns/dnsparser.cc -@@ -20,6 +20,7 @@ - #include "dnswriter.hh" - #include <boost/lexical_cast.hpp> - #include <boost/algorithm/string.hpp> -+#include <cstdio> - - using namespace boost; - -Index: b/pdns/rcpgenerator.cc -=================================================================== ---- a/pdns/rcpgenerator.cc -+++ b/pdns/rcpgenerator.cc -@@ -20,6 +20,7 @@ - #include "dnsparser.hh" - #include "misc.hh" - #include <boost/lexical_cast.hpp> -+#include <cstdio> - #include <iostream> - #include "base64.hh" - using namespace boost; diff --git a/source/network-extra/pdns/pdns.service b/source/network-extra/pdns/pdns.service deleted file mode 100644 index 1e57f7d..0000000 --- a/source/network-extra/pdns/pdns.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=PDNS DNS Server -After=syslog.target network.target - -# Uncomment these lines if you are using gmysql backend locally. -#After=mysqld.service -#Requires=mysqld.service - -# Uncomment these lines if you are using gpgsql backend locally. -#After=postgresql.service -#Requires=postgresql.service - -[Service] -Type=forking -ExecStart=/usr/sbin/pdns_server --daemon=yes --guardian=yes -ExecReload=/usr/bin/pdns_control cycle -ExecStop=/usr/bin/pdns_control quit -PIDFile=/var/run/pdns.pid - -[Install] -WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
