community/powerdns-recursor to 4.3.1-1

This commit is contained in:
Kevin Mihelich 2020-06-02 13:54:58 +00:00
parent 455fe04916
commit bb58e636e3
2 changed files with 15 additions and 7 deletions

View file

@ -9,22 +9,24 @@
# - remove makedepend on pandoc # - remove makedepend on pandoc
pkgname=powerdns-recursor pkgname=powerdns-recursor
pkgver=4.2.2 pkgver=4.3.1
pkgrel=1 pkgrel=1
pkgdesc='Resolving DNS server' pkgdesc='Resolving DNS server'
url='https://www.powerdns.com/' url='https://www.powerdns.com/'
arch=('x86_64') arch=('x86_64')
license=('GPL2') license=('GPL2')
depends=('gcc-libs' 'boost-libs' 'libsodium' 'systemd-libs' 'lua' 'openssl' 'protobuf' depends=('gcc-libs' 'boost-libs' 'libsodium' 'systemd-libs' 'luajit' 'openssl' 'protobuf'
'libboost_context.so') 'libboost_context.so' 'fstrm' 'net-snmp' 'libprotobuf.so')
makedepends=('boost' 'inetutils' 'ragel' 'systemd') makedepends=('boost' 'inetutils' 'ragel' 'systemd')
provides=('pdns-recursor') provides=('pdns-recursor')
conflicts=('pdns-recursor') conflicts=('pdns-recursor')
backup=('etc/powerdns/recursor.conf') backup=('etc/powerdns/recursor.conf')
source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc} source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc}
sysusers.conf
${pkgname}-gcc10.patch::https://github.com/PowerDNS/pdns/commit/ffb885e937c27bb1c62dee8f18c58.patch) ${pkgname}-gcc10.patch::https://github.com/PowerDNS/pdns/commit/ffb885e937c27bb1c62dee8f18c58.patch)
sha512sums=('c34708603a46af7dde7ec0ebd352fa001826ac61ecdf1f12c7e297b490886870fe85a94ee846d48ace1de51952da19fa0102ed43e5ec27ee34978cb42414abc0' sha512sums=('49ae4957ef202f94ec87e6449dfa9c147689b5576ca1002e0155319099d698300c113e221571f6d41cb1cdc1649619621c2ccf8105620c25452ac30bd83e46b8'
'SKIP' 'SKIP'
'63b3f0664d38fbbcb6b1c914cee050a27eca0a15550962973743580dd5d3ace2e68272ca2d856d53cc74001fe9246d61207ebbc74524c096736777ed08c88e72'
'3685c8e08df2073351e3cd722ea1d7d19236c148d3a88368884ae5eb0a4fcd084eb2b62082e7f326e0770cd56c184a0f14fb026c02c0111a8386b6a0a46db3e5') '3685c8e08df2073351e3cd722ea1d7d19236c148d3a88368884ae5eb0a4fcd084eb2b62082e7f326e0770cd56c184a0f14fb026c02c0111a8386b6a0a46db3e5')
validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis <pieter.lexis@powerdns.com> validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis <pieter.lexis@powerdns.com>
'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk <peter.van.dijk@powerdns.com> 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk <peter.van.dijk@powerdns.com>
@ -32,7 +34,8 @@ validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis <pieter
prepare() { prepare() {
cd pdns-recursor-${pkgver} cd pdns-recursor-${pkgver}
patch -Np1 < ../${pkgname}-gcc10.patch patch -Np1 < "${srcdir}/${pkgname}-gcc10.patch"
autoreconf -i
} }
build() { build() {
@ -45,8 +48,11 @@ build() {
--disable-silent-rules \ --disable-silent-rules \
--enable-reproducible \ --enable-reproducible \
--enable-systemd \ --enable-systemd \
--enable-protobuf \ --with-protobuf \
--enable-libsodium --with-libsodium \
--with-lua=luajit \
--with-service-user=pdns-recursor \
--with-service-group=pdns-recursor
make make
} }
@ -54,6 +60,7 @@ package() {
cd pdns-recursor-${pkgver} cd pdns-recursor-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,} mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
install -Dm 644 "${srcdir}/sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/powerdns-recursor.conf"
} }
# vim: ts=2 sw=2 et: # vim: ts=2 sw=2 et:

View file

@ -0,0 +1 @@
u pdns-recursor - "PowerDNS Recursor" -