aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/pdns/APKBUILD33
1 files changed, 10 insertions, 23 deletions
diff --git a/testing/pdns/APKBUILD b/testing/pdns/APKBUILD
index d3f191b679..f408e1a1dd 100644
--- a/testing/pdns/APKBUILD
+++ b/testing/pdns/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=pdns
-pkgver=3.1
-pkgrel=3
+pkgver=3.4.0
+pkgrel=0
pkgdesc="PowerDNS Authoritative Server"
url="http://www.powerdns.com/"
arch="all"
@@ -22,7 +22,7 @@ subpackages="$pkgname-doc
"
pkgusers="pdns"
pkggroups="pdns"
-source="http://downloads.powerdns.com/releases/pdns-$pkgver.tar.gz
+source="http://downloads.powerdns.com/releases/pdns-$pkgver.tar.bz2
0010-disable-execinfo.patch
pdns.initd
pdns.conf
@@ -59,8 +59,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/pdns/*.la || return 1
-
+ find "$pkgdir" -name '*.la' -delete
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
@@ -70,18 +69,6 @@ package() {
chown pdns:pdns "$pkgdir"/etc/$pkgname.conf || return 1
}
-doc() {
- mkdir -p "$subpkgdir"/usr || return 1
- mv "$pkgdir"/usr/share "$subpkgdir"/usr/ || return 1
-
- _docs="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO"
- mkdir -p "$subpkgdir"/usr/share/doc/$pkgname || return 1
- for _doc in $_docs; do
- cp "$_builddir"/$_doc \
- "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1
- done
-}
-
backend_geo() { _mv_backend geo; }
backend_ldap() { _mv_backend ldap openldap; }
backend_mysql() { _mv_backend gmysql mysql; }
@@ -99,20 +86,20 @@ _mv_backend() {
fi
depends="${depends} ${pkgname}"
- mkdir -p "$subpkgdir"/usr/lib/pdns || return 1
- mv "$pkgdir"/usr/lib/pdns/lib${backend}backend.so \
- "$subpkgdir"/usr/lib/pdns/ || return 1
+ mkdir -p "$subpkgdir"/usr/lib/pdns/pdns || return 1
+ mv "$pkgdir"/usr/lib/pdns/pdns/lib${backend}backend.so \
+ "$subpkgdir"/usr/lib/pdns/pdns/ || return 1
}
-md5sums="7dedae65403b31a795b2d53a512947fd pdns-3.1.tar.gz
+md5sums="d60cd0789cfcb20e7277fccb89840ac7 pdns-3.4.0.tar.bz2
fd4d14c30bae793072ba7f3fa6cca80e 0010-disable-execinfo.patch
db146742b8f5bd91494690ee01f29862 pdns.initd
351bac7f784a1a40e768466d9e6f1a79 pdns.conf"
-sha256sums="1400f7bd659207c0b1f4b8296092e559a7b7bf6a2434951970217d9af06922a1 pdns-3.1.tar.gz
+sha256sums="0780f7a7fe768f9debc9decadb5d3a555b716eed14296e7c41f355bf8db4825e pdns-3.4.0.tar.bz2
b826f47c7693f3d90c424fffc6035c5bf253dd92e41bf2d7873bed1dee4e2d7e 0010-disable-execinfo.patch
fbef85e8d53ea4a25e166578c0f642426d1fe3091a822a5c78837a71f563e6b4 pdns.initd
5fdf423f829dca0b50bc81bab773d7ec4ee6627e35f861124d8c2ccd79a2f50c pdns.conf"
-sha512sums="fdfaa98f401238b2a0cffe9e4eeb61787ca186cb3798e0265f70e525d98abfb937df200a2a922d5269db730dbeb5bbf457458b5c87fce034a359a03dfb3dfbc8 pdns-3.1.tar.gz
+sha512sums="2bc20d290366708cb6580d9bd4a6cbbb27534168e83f380118ba005ec2f2c7777a96cc86e24ef4efc974043d3eeeb56d830479a6d900a00c047ee378130bf7a5 pdns-3.4.0.tar.bz2
1a16d9695d267d14f4c08a7b932d12e5949be1e6211b413ae0fa98cea25653d7d73eaec9cddd411a89de56fc36a79371a01f57a4234af4c039d0d7994801cb05 0010-disable-execinfo.patch
589ab8d53d654dc3ae86150a80ca2853632170e21c2cf3045cb27118d6f26cb00fd3aad50a4d3de757c33bcbd249529317be099598acf2d02cff00153aba0daa pdns.initd
9913551bb4d685aaced806134b1037d85ce759e7d9e780e256e67651d9d346aad5e608b4a45a4933f0ba879605b69d06e579c38b7f917f7a9be37c7797c5953b pdns.conf"