From 1ce58386c5ee7086ac6848f35cade5d45bf86764 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 3 Nov 2013 01:06:08 -0700 Subject: Sun Nov 3 01:05:44 PDT 2013 --- community/nsd/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'community/nsd/PKGBUILD') diff --git a/community/nsd/PKGBUILD b/community/nsd/PKGBUILD index c788d6441..bc40dcfb8 100644 --- a/community/nsd/PKGBUILD +++ b/community/nsd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 100048 2013-10-31 16:25:17Z bisson $ +# $Id: PKGBUILD 100223 2013-11-02 00:00:56Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Kaiting Chen # Contributor: Roberto Alsina pkgname=nsd pkgver=4.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Authoritative only, high performance and simple DNS server' url='http://www.nlnetlabs.nl/nsd/' license=('BSD') @@ -13,9 +13,11 @@ arch=('i686' 'x86_64') depends=('openssl' 'libevent') makedepends=('flex') source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'tmpfiles.d' 'service') sha1sums=('b3ebd669be8e830f62062d12be55242ca41da369' - '9957762b810374c4eaa1461169f3c848b50466fe') + '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}" -- cgit v1.2.3-54-g00ecf