diff options
Diffstat (limited to 'main/nsd')
-rw-r--r-- | main/nsd/APKBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD index 8e34434e98..a910e76d17 100644 --- a/main/nsd/APKBUILD +++ b/main/nsd/APKBUILD @@ -3,15 +3,14 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nsd -pkgver=4.1.16 -pkgrel=1 +pkgver=4.1.19 +pkgrel=0 pkgdesc="NSD is an authoritative only, high performance, simple and open source name server." -url="http://www.nlnetlabs.nl/projects/nsd/" +url="https://www.nlnetlabs.nl/projects/nsd" arch="all" license="BSD" depends="" -depends_dev= -makedepends="$depends_dev libressl-dev libevent-dev" +makedepends="libressl-dev libevent-dev" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-doc $pkgname-dbg" pkgusers="nsd" @@ -30,25 +29,24 @@ build() { --mandir=/usr/share/man \ --with-user=nsd \ --with-pidfile=/var/run/nsd/nsd.pid \ - --with-xfrdir=/var/db/nsd \ - || return 1 - make || return 1 + --with-xfrdir=/var/db/nsd + 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 install -d "$pkgdir"/usr/share/doc/$pkgname cp -a "$builddir"/doc/* "$builddir"/contrib \ "$pkgdir"/usr/share/doc/$pkgname/ - chown nsd.nsd "$pkgdir"/var/db/nsd || return 1 - rm -fr "$pkgdir"/var/run || return 1 + chown nsd.nsd "$pkgdir"/var/db/nsd + rm -fr "$pkgdir"/var/run } -sha512sums="51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3 nsd-4.1.16.tar.gz +sha512sums="fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82 nsd-4.1.19.tar.gz 0425f606bf102175adab6d198aeb692872576f9c0bfce11b9d9e4145595b4902e5ef3fe2c3ae5d832308f43282618494b8dd27eb76658e79df85cc7798008722 nsd.initd" |