2017-06-03 00:41:01 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Alexander Rødseth <rodseth@gmail.com>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: Jan Steffens <heftig@archlinux.org>
|
|
|
|
# Contributor: Remi Gacogne <rgacogne[at]archlinux[dot]org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - explicitly link v5/v6 with libatomic
|
2018-01-26 01:07:57 +00:00
|
|
|
# - remove makedepend on pandoc
|
2017-06-03 00:41:01 +00:00
|
|
|
|
|
|
|
pkgname=powerdns-recursor
|
2019-07-29 23:28:21 +00:00
|
|
|
pkgver=4.2.0
|
2019-10-06 15:47:02 +00:00
|
|
|
pkgrel=2
|
2017-06-03 00:41:01 +00:00
|
|
|
pkgdesc='Resolving DNS server'
|
|
|
|
url='https://www.powerdns.com/'
|
2017-11-27 19:50:24 +00:00
|
|
|
arch=('x86_64')
|
2017-06-03 00:41:01 +00:00
|
|
|
license=('GPL2')
|
2019-03-12 23:41:28 +00:00
|
|
|
depends=('gcc-libs' 'boost-libs' 'libsodium' 'systemd-libs' 'lua' 'openssl' 'protobuf'
|
2017-06-03 00:41:01 +00:00
|
|
|
'libboost_context.so')
|
2018-08-06 13:11:38 +00:00
|
|
|
makedepends=('boost' 'inetutils' 'ragel' 'systemd')
|
2017-06-03 00:41:01 +00:00
|
|
|
provides=('pdns-recursor')
|
|
|
|
conflicts=('pdns-recursor')
|
|
|
|
backup=('etc/powerdns/recursor.conf')
|
|
|
|
source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc})
|
2019-07-29 23:28:21 +00:00
|
|
|
sha512sums=('e4be63c1be70f0dfd7aab71f1184d5cc1d15e60e775451a96e8472db6fb3825762ebd6f51b593b167389868bbfde0538612b14a04c03f3f60a7e49f7882e78bf'
|
2017-06-03 00:41:01 +00:00
|
|
|
'SKIP')
|
2017-07-18 23:59:12 +00:00
|
|
|
validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Pieter Lexis <pieter.lexis@powerdns.com>
|
2017-11-27 19:50:24 +00:00
|
|
|
'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' # Peter van Dijk <peter.van.dijk@powerdns.com>
|
|
|
|
'16E12866B7738C73976A57436FFC33439B0D04DF') # Winkels, Erik <erik.winkels@open-xchange.com>
|
2017-06-03 00:41:01 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pdns-recursor-${pkgver}
|
|
|
|
[[ $CARCH == arm || $CARCH == armv6h ]] && LIBS="-latomic"
|
|
|
|
LIBS=$LIBS ./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--sysconfdir=/etc/powerdns \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--enable-reproducible \
|
2018-01-26 01:07:57 +00:00
|
|
|
--enable-systemd \
|
|
|
|
--enable-protobuf \
|
|
|
|
--enable-libsodium
|
2017-06-03 00:41:01 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd pdns-recursor-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|