From 455fe049162e6b78eaf2b9bae52af5f1df8d239e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 2 Jun 2020 13:54:01 +0000 Subject: [PATCH] community/powerdns to 4.2.2-2 --- community/powerdns/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/community/powerdns/PKGBUILD b/community/powerdns/PKGBUILD index ad616c79a..8809f09bd 100644 --- a/community/powerdns/PKGBUILD +++ b/community/powerdns/PKGBUILD @@ -10,7 +10,7 @@ pkgname=powerdns pkgver=4.2.2 -pkgrel=1 +pkgrel=2 pkgdesc='Authoritative DNS server' url='https://www.powerdns.com/' arch=('x86_64') @@ -31,10 +31,12 @@ provides=('pdns') conflicts=('pdns') backup=('etc/powerdns/pdns.conf') source=(https://downloads.powerdns.com/releases/pdns-${pkgver}.tar.bz2{,.asc} - sysusers.conf) + sysusers.conf + ${pkgname}-gcc10.patch::https://github.com/PowerDNS/pdns/commit/ffb885e937c27bb1c62dee8f18c58.patch) sha512sums=('b9d0daadd89f4ab009981305d2c323ab75e283b59b94f764d53c37984a2b6200debe4e514572eac49973fcba2034df65214afb949ce3b1b4ff57b07b07f6e608' 'SKIP' - '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a' + '3685c8e08df2073351e3cd722ea1d7d19236c148d3a88368884ae5eb0a4fcd084eb2b62082e7f326e0770cd56c184a0f14fb026c02c0111a8386b6a0a46db3e5') validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis @@ -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 -Np1 < "${srcdir}/${pkgname}-gcc10.patch" } build() {