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

Gaëtan Bisson bisson at archlinux.org
Sun Dec 17 18:51:29 UTC 2017


    Date: Sunday, December 17, 2017 @ 18:51:28
  Author: bisson
Revision: 274660

better use of systemd-tmpfiles.d features

Modified:
  nsd/trunk/PKGBUILD
  nsd/trunk/service
  nsd/trunk/tmpfiles.d

------------+
 PKGBUILD   |   11 +++++------
 service    |    1 -
 tmpfiles.d |    1 +
 3 files changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-17 18:45:28 UTC (rev 274659)
+++ PKGBUILD	2017-12-17 18:51:28 UTC (rev 274660)
@@ -5,7 +5,7 @@
 
 pkgname=nsd
 pkgver=4.1.19
-pkgrel=2
+pkgrel=3
 pkgdesc='Authoritative only, high performance and simple DNS server'
 url='https://www.nlnetlabs.nl/nsd/'
 license=('BSD')
@@ -15,13 +15,13 @@
 validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
 source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
         'tmpfiles.d'
-	'sysusers.d'
+        'sysusers.d'
         'service')
 sha256sums=('b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5'
             'SKIP'
-            '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
-	    '6490660d5d4b3e28e16d73e50e35a786a41149917999939fac461ebc60465c79'
-            'ba87a4cd10395e13ffd34f42714cfd98d3818b35aa96240e28523837d109a1df')
+            '0be5badb996297150da49b4c655d801bfba76fd8d7785e0899184c130630fe66'
+            '6490660d5d4b3e28e16d73e50e35a786a41149917999939fac461ebc60465c79'
+            '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
@@ -41,7 +41,6 @@
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install
 	rmdir "${pkgdir}"/{tmp,run/{nsd,}}
-	chmod 700 "${pkgdir}"/var/db/nsd
 
 	rm doc/differences.pdf
 	install -d "${pkgdir}"/usr/share/{doc,licenses}/"${pkgname}"

Modified: service
===================================================================
--- service	2017-12-17 18:45:28 UTC (rev 274659)
+++ service	2017-12-17 18:51:28 UTC (rev 274660)
@@ -4,7 +4,6 @@
 
 [Service]
 PIDFile=/run/nsd/nsd.pid
-ExecStartPre=/usr/bin/chown nsd:nsd /var/db/nsd
 ExecStart=/usr/bin/nsd -d -c /etc/nsd/nsd.conf
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -TERM $MAINPID

Modified: tmpfiles.d
===================================================================
--- tmpfiles.d	2017-12-17 18:45:28 UTC (rev 274659)
+++ tmpfiles.d	2017-12-17 18:51:28 UTC (rev 274660)
@@ -1 +1,2 @@
 d /run/nsd 0755 nsd nsd
+z /var/db/nsd 0700 nsd nsd



More information about the arch-commits mailing list