community/powerdns to 4.6.0-1

This commit is contained in:
Kevin Mihelich 2022-01-25 14:01:43 +00:00
parent 6540d51e28
commit 804bfa29f2

View file

@ -9,7 +9,7 @@
# - explicitly link v5/v6 with libatomic
pkgname=powerdns
pkgver=4.5.3
pkgver=4.6.0
pkgrel=1
pkgdesc='Authoritative DNS server'
url='https://www.powerdns.com/'
@ -31,9 +31,11 @@ provides=('pdns')
conflicts=('pdns')
backup=('etc/powerdns/pdns.conf')
source=(https://downloads.powerdns.com/releases/pdns-${pkgver}.tar.bz2{,.asc}
openssl-3.0.patch::https://patch-diff.githubusercontent.com/raw/PowerDNS/pdns/pull/11233.diff
sysusers.conf)
sha512sums=('9708f69ed045c801e5cbc5d62f57532ad461f1e9e4574fe2b5d5f72e8534587cfc28f55afaaa1a52f59d7feb8331a683b3f5db7e896d01002996321598550607'
sha512sums=('bbe64ad01fed0ea93cec90d47b2fe71228b9298999f14456dd4b5617929c0e370b5b7cb568deeb17cbf3fd42873bb8c986e655ddda8c7b93b4591361ddef2397'
'SKIP'
'f180ae8111244f3a0faf884f6f5997b1fcef0eefa30c154d7d44bd2948acdfd742cb4e2410f0855579f36c02e39a3afab6966661d4201400ebc191c5b669d86e'
'522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a')
validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik <erik.winkels@open-xchange.com>
'16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk <peter.van.dijk@powerdns.com>
@ -44,6 +46,7 @@ prepare() {
# 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,' {} \;
patch -p1 < ../openssl-3.0.patch
}
build() {
@ -54,7 +57,7 @@ build() {
--sysconfdir=/etc/powerdns \
--sbindir=/usr/bin \
--with-modules='' \
--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \
--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe remote tinydns" \
--docdir=/usr/share/doc/powerdns \
--with-libsodium \
--enable-tools \