community/powerdns to 4.4.1-4

This commit is contained in:
Kevin Mihelich 2021-06-10 13:00:30 +00:00
parent 22ece24c8b
commit 9a9de8fb1d
2 changed files with 20 additions and 1 deletions

View file

@ -10,7 +10,7 @@
pkgname=powerdns
pkgver=4.4.1
pkgrel=3
pkgrel=4
pkgdesc='Authoritative DNS server'
url='https://www.powerdns.com/'
arch=('x86_64')
@ -31,9 +31,11 @@ provides=('pdns')
conflicts=('pdns')
backup=('etc/powerdns/pdns.conf')
source=(https://downloads.powerdns.com/releases/pdns-${pkgver}.tar.bz2{,.asc}
boost-1.76.patch
sysusers.conf)
sha512sums=('a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e'
'SKIP'
'f269db1941a8bd6715ed8dbdb118975cd9f54edcbdc55a016211936aeeb121a30af2148a33925bc72a9188db43f8d18b2b12c923ba581d882ee527afdb6d4cbd'
'522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a')
validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik <erik.winkels@open-xchange.com>
'16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk <peter.van.dijk@powerdns.com>
@ -41,6 +43,8 @@ validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik <erik
prepare() {
cd pdns-${pkgver}
patch -Np1 -i ../boost-1.76.patch
autoreconf -vi
# Patch the Makefile.in's so /powerdns is used instead of /pdns (for e.g. $LIBDIR)
# This allows for running pdns_server without setting `module-dir` in the config.
find . -name 'Makefile.in' -exec sed -i 's,pkglibdir = \$(libdir)/@PACKAGE@,pkglibdir = $(libdir)/powerdns,' {} \;

View file

@ -0,0 +1,15 @@
Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819
diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am
--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.000000000 +0200
+++ pdns-4.4.1/pdns/Makefile.am 2021-06-09 00:18:28.264532242 +0300
@@ -6,7 +6,8 @@ AM_CPPFLAGS += \
$(LIBEDIT_CFLAGS) \
$(LIBCRYPTO_INCLUDES) \
$(SYSTEMD_CFLAGS) \
- $(YAML_CFLAGS)
+ $(YAML_CFLAGS) \
+ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS
AM_CXXFLAGS = \
-DSYSCONFDIR=\"$(sysconfdir)\" \