1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Maintainer: Remi Gacogne <rgacogne[at]archlinux[dot]org>
3 # Contributor: Alexander Rødseth <rodseth@gmail.com>
4 # Contributor: Jan de Groot <jgc@archlinux.org>
5 # Contributor: Jan Steffens <heftig@archlinux.org>
7 pkgname=powerdns-recursor
10 pkgdesc='Resolving DNS server'
11 url='https://www.powerdns.com/'
14 depends=('gcc-libs' 'boost-libs' 'libcurl.so' 'libsodium' 'systemd-libs' 'luajit' 'openssl'
15 'libboost_context.so' 'fstrm' 'net-snmp')
16 makedepends=('boost' 'pandoc' 'ragel' 'systemd')
17 provides=('pdns-recursor')
18 conflicts=('pdns-recursor')
19 backup=('etc/powerdns/recursor.conf')
20 source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc}
22 sha512sums=('1cfdf94bc10d01ebfae00780304f0d46b3388d824158195e1db2b04a08143cc8f36c4861a05ac8cbc05948349aafe1c9e822a27b15b470ef89a81e8bd584a5f2'
24 '63b3f0664d38fbbcb6b1c914cee050a27eca0a15550962973743580dd5d3ace2e68272ca2d856d53cc74001fe9246d61207ebbc74524c096736777ed08c88e72')
25 validpgpkeys=('FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk <peter.van.dijk@powerdns.com>
26 '16E12866B7738C73976A57436FFC33439B0D04DF') # Winkels, Erik <erik.winkels@open-xchange.com>
29 cd pdns-recursor-${pkgver}
34 cd pdns-recursor-${pkgver}
38 --sysconfdir=/etc/powerdns \
39 --disable-silent-rules \
40 --enable-reproducible \
42 --enable-dns-over-tls \
45 --with-service-user=pdns-recursor \
46 --with-service-group=pdns-recursor
51 cd pdns-recursor-${pkgver}
52 make DESTDIR="${pkgdir}" install
53 mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
54 install -Dm 644 "${srcdir}/sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/powerdns-recursor.conf"