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
|
|
|
|
|
|
|
|
pkgname=powerdns-recursor
|
2017-07-18 23:59:12 +00:00
|
|
|
pkgver=4.0.6
|
2017-09-21 12:38:24 +00:00
|
|
|
pkgrel=2
|
2017-06-03 00:41:01 +00:00
|
|
|
pkgdesc='Resolving DNS server'
|
|
|
|
url='https://www.powerdns.com/'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('gcc-libs' 'boost-libs' 'libsystemd' 'lua' 'openssl' 'protobuf'
|
|
|
|
'libboost_context.so')
|
|
|
|
makedepends=('boost' 'inetutils' 'systemd')
|
|
|
|
provides=('pdns-recursor')
|
|
|
|
conflicts=('pdns-recursor')
|
|
|
|
backup=('etc/powerdns/recursor.conf')
|
|
|
|
source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc})
|
2017-07-18 23:59:12 +00:00
|
|
|
sha512sums=('2203fd96469deded1da677344485da221eec036b1ad9fb418a89cd4477d73f2a6fcf984a39b574561df6946f440ddf1982de20cd39d7204da9c27e74216d1159'
|
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>
|
|
|
|
'FBAE0323821C7706A5CA151BDCF513FA7EED19F3') # Peter van Dijk <peter.van.dijk@powerdns.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 \
|
|
|
|
--enable-systemd
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd pdns-recursor-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|