aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdns/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-11 03:32:11 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-12 08:10:41 +0000
commit8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8 (patch)
tree94b578f86e35c2f3189e30b4402d5daf36e86720 /community/pdns/APKBUILD
parente57aa4dfa0d60bcf57c0fb350aad85c0ccdcdb69 (diff)
downloadaports-8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8.tar.gz
aports-8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8.tar.bz2
aports-8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8.tar.xz
community/pdns: upgrade to 4.0.4
Diffstat (limited to 'community/pdns/APKBUILD')
-rw-r--r--community/pdns/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/community/pdns/APKBUILD b/community/pdns/APKBUILD
index 016c599aa5..e95cb63027 100644
--- a/community/pdns/APKBUILD
+++ b/community/pdns/APKBUILD
@@ -3,8 +3,8 @@
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=pdns
-pkgver=4.0.3
-pkgrel=2
+pkgver=4.0.4
+pkgrel=0
pkgdesc="PowerDNS Authoritative Server"
url="http://www.powerdns.com/"
arch="all"
@@ -38,22 +38,21 @@ build() {
--libdir=/usr/lib/pdns \
--with-modules="" \
--with-dynmodules="bind ldap gmysql gpgsql pipe gsqlite3" \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname || return 1
+ "$pkgdir"/etc/init.d/$pkgname
rm "$pkgdir"/etc/$pkgname/$pkgname.conf-dist
install -m600 -D "$srcdir"/$pkgname.conf \
- "$pkgdir"/etc/$pkgname/$pkgname.conf || return 1
- chown pdns:pdns "$pkgdir"/etc/$pkgname/$pkgname.conf || return 1
+ "$pkgdir"/etc/$pkgname/$pkgname.conf
+ chown pdns:pdns "$pkgdir"/etc/$pkgname/$pkgname.conf
}
backend_bind() { _mv_backend bind; }
@@ -68,11 +67,11 @@ _mv_backend() {
pkgdesc="${backend} backend module for PowerDNS"
depends="$pkgname ${2:-}"
- mkdir -p "$subpkgdir"/usr/lib/pdns/pdns || return 1
+ mkdir -p "$subpkgdir"/usr/lib/pdns/pdns
mv "$pkgdir"/usr/lib/pdns/pdns/lib${backend}backend.so \
- "$subpkgdir"/usr/lib/pdns/pdns/ || return 1
+ "$subpkgdir"/usr/lib/pdns/pdns/
}
-sha512sums="58d33ac6cf457a916bae6abd8d2dc17f76fbcd1bd9e649948584dd669f5596b43e3e4d91841700ea1ea2cd1ac102749e503cd9075273540f33a2321e20d8bfc2 pdns-4.0.3.tar.bz2
+sha512sums="4ef4705cd990b03976775167c7c37850d45907e198549feda5f5701172e008e3f1f74a35a9bebdb24b63dec15ff63cb2cc9dfc8f92e4e1012e0539c5a88b845b pdns-4.0.4.tar.bz2
4e729120af0f5e6ce8f13fdb97af2e8471300df3c1e2e250f855861214a0bf733b5dc77f0e414f2969d81c13423cf29d0bfb7cb4938075ef763fd14877a54a79 pdns.initd
acde76a5a51232dbd2b1b9fed95328f5bb59e33718338ffaa47618806588a9c3c8691c7e7270944d9e2f40b1fb69fc33e204e2fdfbc9546ab723fc428d2a7955 pdns.conf"