mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
community/pdns-recursor: upgrade to 4.0.6
This commit is contained in:
parent
a0a777c398
commit
c29a333a75
@ -1,7 +1,7 @@
|
|||||||
# Contributor: Olivier Mauras <olivier@mauras.ch>
|
# Contributor: Olivier Mauras <olivier@mauras.ch>
|
||||||
pkgname=pdns-recursor
|
pkgname=pdns-recursor
|
||||||
pkgver=4.0.4
|
pkgver=4.0.6
|
||||||
pkgrel=2
|
pkgrel=0
|
||||||
pkgdesc="PowerDNS Recursive Server"
|
pkgdesc="PowerDNS Recursive Server"
|
||||||
url="http://www.powerdns.com/"
|
url="http://www.powerdns.com/"
|
||||||
arch="all !s390x"
|
arch="all !s390x"
|
||||||
@ -18,49 +18,32 @@ source="http://downloads.powerdns.com/releases/pdns-recursor-$pkgver.tar.bz2
|
|||||||
recursor.conf
|
recursor.conf
|
||||||
"
|
"
|
||||||
|
|
||||||
_builddir="$srcdir/$pkgname-$pkgver"
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
|
||||||
local i
|
|
||||||
cd "$_builddir"
|
|
||||||
for i in $source; do
|
|
||||||
case $i in
|
|
||||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc/pdns \
|
--sysconfdir=/etc/pdns \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--libdir=/usr/lib/pdns \
|
--libdir=/usr/lib/pdns \
|
||||||
--disable-static \
|
--disable-static
|
||||||
|| return 1
|
make
|
||||||
make || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
rm "$pkgdir"/etc/pdns/recursor.conf-dist || return 1
|
rm "$pkgdir"/etc/pdns/recursor.conf-dist
|
||||||
|
|
||||||
install -m755 -D "$srcdir"/$pkgname.initd \
|
install -m755 -D "$srcdir"/$pkgname.initd \
|
||||||
"$pkgdir"/etc/init.d/$pkgname || return 1
|
"$pkgdir"/etc/init.d/$pkgname
|
||||||
|
|
||||||
install -m600 -D "$srcdir"/recursor.conf \
|
install -m600 -D "$srcdir"/recursor.conf \
|
||||||
"$pkgdir"/etc/pdns/recursor.conf || return 1
|
"$pkgdir"/etc/pdns/recursor.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="7bc78f05154c4c822ab09117f96d819c pdns-recursor-4.0.4.tar.bz2
|
sha512sums="2203fd96469deded1da677344485da221eec036b1ad9fb418a89cd4477d73f2a6fcf984a39b574561df6946f440ddf1982de20cd39d7204da9c27e74216d1159 pdns-recursor-4.0.6.tar.bz2
|
||||||
35f373bae0503632088956fa14754e4e pdns-recursor.initd
|
|
||||||
2950b9932de6baae360f220c7686f520 recursor.conf"
|
|
||||||
sha256sums="2338778f49ccd03401e65f6f4b39047890e691c8ff6d810ecee45321fb4f1e4d pdns-recursor-4.0.4.tar.bz2
|
|
||||||
215d916383e3cba184f8418b98cd2ced146500006e21e2efeb0ee5b53f3df049 pdns-recursor.initd
|
|
||||||
12bdbf651db0c7fe63ddb01a239a5ddd40825f50811a5d3f4d13cda294bd0344 recursor.conf"
|
|
||||||
sha512sums="9473dfe9abc509b2bb953139dd7892de2027ee1508902fa0c2cd30dd9a88878fcf44370b8372d573cbab12de32bb8c604005d3b39ea34db2ef86786e689d36ab pdns-recursor-4.0.4.tar.bz2
|
|
||||||
f23cb30d943e0b0aea09371dc57aa43e55b8f91062a3caa3fac17e3565a8e36dfd304f45eba588f625ca2337cd2ade450ea5ae1776872c006204cdaf912f6651 pdns-recursor.initd
|
f23cb30d943e0b0aea09371dc57aa43e55b8f91062a3caa3fac17e3565a8e36dfd304f45eba588f625ca2337cd2ade450ea5ae1776872c006204cdaf912f6651 pdns-recursor.initd
|
||||||
954df537693a202fc195e751011bbfaa605b3f3df42ac386fa82eb809b73c2b987f5e418b5c96bb3b0669497426ce0daa39a719844701e06990b82843a4cf0d4 recursor.conf"
|
954df537693a202fc195e751011bbfaa605b3f3df42ac386fa82eb809b73c2b987f5e418b5c96bb3b0669497426ce0daa39a719844701e06990b82843a4cf0d4 recursor.conf"
|
||||||
|
Loading…
Reference in New Issue
Block a user