[arch-commits] Commit in nsd/trunk (PKGBUILD service)

Gaetan Bisson bisson at nymeria.archlinux.org
Tue May 14 08:53:25 EDT 2013


    Date: Tuesday, May 14, 2013 @ 14:53:25
  Author: bisson
Revision: 90837

move binaries to /usr/bin

Modified:
  nsd/trunk/PKGBUILD
  nsd/trunk/service

----------+
 PKGBUILD |   12 ++++--------
 service  |    6 +++---
 2 files changed, 7 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-14 12:51:36 UTC (rev 90836)
+++ PKGBUILD	2013-05-14 12:53:25 UTC (rev 90837)
@@ -5,7 +5,7 @@
 
 pkgname=nsd
 pkgver=3.2.15
-pkgrel=1
+pkgrel=2
 pkgdesc='Authoritative only, high performance and simple DNS server'
 url='http://www.nlnetlabs.nl/nsd/'
 license=('BSD')
@@ -15,29 +15,25 @@
 source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
         'service')
 sha1sums=('e31a81ab7877422b34e1f163f9509cd93f395664'
-          '1cfa2d7254139be50f11753d4e07281ed2af36eb')
+          'f35ecb887e86ae0a54ac70aef5a7577fc8761877')
 
 install=install
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-
 	./configure \
 		--prefix=/ \
-		--exec-prefix=/usr \
+		--sbindir=/usr/bin \
 		--datarootdir=/usr/share \
 		--with-pidfile=/run/nsd.pid \
-		--enable-ratelimit \
-
+		--enable-ratelimit
 	make
 }
 
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-
 	make DESTDIR="${pkgdir}" install
 	install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
-
 	rm doc/differences.pdf
 	install -d "${pkgdir}"/usr/share/{doc,licenses}/"${pkgname}"
 	install -m644 doc/* "${pkgdir}"/usr/share/doc/"${pkgname}"

Modified: service
===================================================================
--- service	2013-05-14 12:51:36 UTC (rev 90836)
+++ service	2013-05-14 12:53:25 UTC (rev 90837)
@@ -5,9 +5,9 @@
 [Service]
 Type=forking
 PIDFile=/run/nsd.pid
-ExecStart=/usr/sbin/nsdc start
-ExecReload=/usr/sbin/nsdc reload
-ExecStop=/usr/sbin/nsdc stop
+ExecStart=/usr/bin/nsdc start
+ExecReload=/usr/bin/nsdc reload
+ExecStop=/usr/bin/nsdc stop
 
 [Install]
 WantedBy=multi-user.target



More information about the arch-commits mailing list