diff options
Diffstat (limited to 'community/nsd/PKGBUILD')
-rw-r--r-- | community/nsd/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/nsd/PKGBUILD b/community/nsd/PKGBUILD index abc581a57..cf9d0322e 100644 --- a/community/nsd/PKGBUILD +++ b/community/nsd/PKGBUILD @@ -1,21 +1,23 @@ -# $Id: PKGBUILD 94613 2013-07-28 13:05:24Z bisson $ +# $Id: PKGBUILD 100223 2013-11-02 00:00:56Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Roberto Alsina <ralsina@kde.org> pkgname=nsd -pkgver=3.2.16 -pkgrel=1 +pkgver=4.0.0 +pkgrel=2 pkgdesc='Authoritative only, high performance and simple DNS server' url='http://www.nlnetlabs.nl/nsd/' license=('BSD') -depends=('openssl') -makedepends=('flex') arch=('i686' 'x86_64' 'mips64el') +depends=('openssl' 'libevent') +makedepends=('flex') source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'tmpfiles.d' 'service') -sha1sums=('cb95efa819902799365691a0a7ddb3690a97df88' - 'f35ecb887e86ae0a54ac70aef5a7577fc8761877') +sha1sums=('b3ebd669be8e830f62062d12be55242ca41da369' + '7ad2b8da961a893095eede8963cf8026b13186a1' + '491bf9c6e63644f7d6c81d3b16138f0d87706aa0') install=install @@ -25,7 +27,7 @@ build() { --prefix=/ \ --sbindir=/usr/bin \ --datarootdir=/usr/share \ - --with-pidfile=/run/nsd.pid \ + --with-pidfile=/run/nsd/nsd.pid \ --enable-ratelimit make } @@ -33,7 +35,10 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service + rmdir "${pkgdir}"/{tmp,run/{nsd,}} + rm doc/differences.pdf install -d "${pkgdir}"/usr/share/{doc,licenses}/"${pkgname}" install -m644 doc/* "${pkgdir}"/usr/share/doc/"${pkgname}" |