From 8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8 Mon Sep 17 00:00:00 2001 From: tmpfile Date: Tue, 11 Jul 2017 03:32:11 -0300 Subject: community/pdns: upgrade to 4.0.4 --- community/pdns/APKBUILD | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'community/pdns/APKBUILD') 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 # Maintainer: Matt Smith 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" -- cgit v1.2.3