mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
89 lines
2.6 KiB
Text
89 lines
2.6 KiB
Text
# Maintainer: Peter van Dijk <peter.van.dijk@powerdns.com>
|
|
_pkgname=pdns-recursor # upstream package name
|
|
pkgname=pdns-recursor
|
|
pkgver=4.5.5
|
|
pkgrel=0
|
|
pkgdesc="PowerDNS Recursive Server"
|
|
url="https://www.powerdns.com/"
|
|
arch="all !s390x !mips64" # broken context
|
|
license="GPL-2.0-only WITH OpenSSL-Exception"
|
|
makedepends="autoconf automake libtool boost-dev openssl-dev libsodium-dev lua5.3-dev
|
|
net-snmp-dev"
|
|
install="$pkgname.pre-install"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
pkgusers="recursor"
|
|
pkggroups="recursor"
|
|
source="https://downloads.powerdns.com/releases/$_pkgname-$pkgver.tar.bz2
|
|
$pkgname-GPGKEYS::https://www.powerdns.com/powerdns-keyblock.asc
|
|
$_pkgname.initd
|
|
recursor.conf
|
|
"
|
|
|
|
[ "$CARCH" = "riscv64" ] && options="$options textrels"
|
|
|
|
# secfixes:
|
|
# 4.3.5-r0:
|
|
# - CVE-2020-25829
|
|
# 4.3.2-r0:
|
|
# - CVE-2020-14196
|
|
# 4.3.1-r0:
|
|
# - CVE-2020-10995
|
|
# - CVE-2020-12244
|
|
# 4.1.9-r0:
|
|
# - CVE-2019-3806
|
|
# - CVE-2019-3807
|
|
# 4.1.8-r0:
|
|
# - CVE-2018-16855
|
|
# 4.1.7-r0:
|
|
# - CVE-2018-10851
|
|
# - CVE-2018-14644
|
|
# - CVE-2018-14626
|
|
# 4.1.1-r0:
|
|
# - CVE-2018-1000003
|
|
# 4.0.7-r0:
|
|
# - CVE-2017-15090
|
|
# - CVE-2017-15092
|
|
# - CVE-2017-15093
|
|
# - CVE-2017-15094
|
|
|
|
build() {
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc/pdns \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--libdir=/usr/lib/pdns \
|
|
--enable-unit-tests
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm -v "$pkgdir"/etc/pdns/recursor.conf-dist
|
|
|
|
install -m755 -D "$srcdir/$_pkgname.initd" \
|
|
"$pkgdir/etc/init.d/$pkgname"
|
|
|
|
install -v -m640 -o root -g recursor \
|
|
-D "$srcdir/recursor.conf" \
|
|
"$pkgdir/etc/pdns/recursor.conf"
|
|
}
|
|
|
|
_gpg_signature_extensions="sig"
|
|
_gpgfingerprints="
|
|
FBAE 0323 821C 7706 A5CA 151B DCF5 13FA 7EED 19F3
|
|
1628 90D0 689D D12D D33E 4696 1C5E E990 D2E7 1575
|
|
good:B76C D467 1C09 68BA A87D E61C 5E50 715B F2FF E1A7
|
|
good:16E1 2866 B773 8C73 976A 5743 6FFC 3343 9B0D 04DF
|
|
"
|
|
|
|
sha512sums="
|
|
7df2e89eea55e870724370753b39d867e2b32fc8bcbdb3efaefa824917b16b9d382817dce7d551dc16d8ad0b0c04b3021cba310b47de969fe54c395eafe7706b pdns-recursor-4.5.5.tar.bz2
|
|
7027c12c450ecdf4fa569e882eebdb437f166c71090f867928fddb08c558df452922ee3b33fa1dad3097b322bdb79a2096e07d9d2e9f15423464a64df6a9cde3 pdns-recursor-GPGKEYS
|
|
71f7be51d3a9a78f22f3946e95534d4f5b37b3bcbd1891ad3a17095be545fdb0eaf239d58c9f40ccc642542150c0b35ed025bf69acabfa779c0ab10c67a5e796 pdns-recursor.initd
|
|
9eb82b86ba75af71ef49a510f087bbefaaacafb4c06dde9124c0fa74b27456d59dd246cc8bffd35394fcf4840995375c9004827bbc3b527d419f54fd65bf632a recursor.conf
|
|
"
|