[arch-commits] Commit in nsd/repos/community-x86_64 (8 files)
Gaëtan Bisson
bisson at archlinux.org
Sun Dec 17 18:52:16 UTC 2017
Date: Sunday, December 17, 2017 @ 18:52:15
Author: bisson
Revision: 274661
archrelease: copy trunk to community-x86_64
Added:
nsd/repos/community-x86_64/PKGBUILD
(from rev 274660, nsd/trunk/PKGBUILD)
nsd/repos/community-x86_64/service
(from rev 274660, nsd/trunk/service)
nsd/repos/community-x86_64/sysusers.d
(from rev 274660, nsd/trunk/sysusers.d)
nsd/repos/community-x86_64/tmpfiles.d
(from rev 274660, nsd/trunk/tmpfiles.d)
Deleted:
nsd/repos/community-x86_64/PKGBUILD
nsd/repos/community-x86_64/service
nsd/repos/community-x86_64/sysusers.d
nsd/repos/community-x86_64/tmpfiles.d
------------+
PKGBUILD | 105 +++++++++++++++++++++++++++++------------------------------
service | 27 +++++++--------
sysusers.d | 2 -
tmpfiles.d | 3 +
4 files changed, 68 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-17 18:51:28 UTC (rev 274660)
+++ PKGBUILD 2017-12-17 18:52:15 UTC (rev 274661)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=nsd
-pkgver=4.1.19
-pkgrel=2
-pkgdesc='Authoritative only, high performance and simple DNS server'
-url='https://www.nlnetlabs.nl/nsd/'
-license=('BSD')
-arch=('x86_64')
-depends=('openssl' 'libevent')
-makedepends=('flex')
-validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
-source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
- 'tmpfiles.d'
- 'sysusers.d'
- 'service')
-sha256sums=('b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5'
- 'SKIP'
- '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
- '6490660d5d4b3e28e16d73e50e35a786a41149917999939fac461ebc60465c79'
- 'ba87a4cd10395e13ffd34f42714cfd98d3818b35aa96240e28523837d109a1df')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/ \
- --sbindir=/usr/bin \
- --datarootdir=/usr/share \
- --with-pidfile=/run/nsd/nsd.pid \
- --enable-ratelimit \
- --enable-relro-now \
- --enable-pie \
-
- make
-}
-
-package() {
- 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}"
- install -m644 doc/* "${pkgdir}"/usr/share/doc/"${pkgname}"
- ln -s ../../doc/"${pkgname}"/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
- install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
- install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf
- install -Dm644 ../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/nsd.conf
-}
Copied: nsd/repos/community-x86_64/PKGBUILD (from rev 274660, nsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-17 18:52:15 UTC (rev 274661)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=nsd
+pkgver=4.1.19
+pkgrel=3
+pkgdesc='Authoritative only, high performance and simple DNS server'
+url='https://www.nlnetlabs.nl/nsd/'
+license=('BSD')
+arch=('x86_64')
+depends=('openssl' 'libevent')
+makedepends=('flex')
+validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
+source=("https://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ 'tmpfiles.d'
+ 'sysusers.d'
+ 'service')
+sha256sums=('b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5'
+ 'SKIP'
+ '0be5badb996297150da49b4c655d801bfba76fd8d7785e0899184c130630fe66'
+ '6490660d5d4b3e28e16d73e50e35a786a41149917999939fac461ebc60465c79'
+ '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/ \
+ --sbindir=/usr/bin \
+ --datarootdir=/usr/share \
+ --with-pidfile=/run/nsd/nsd.pid \
+ --enable-ratelimit \
+ --enable-relro-now \
+ --enable-pie \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ 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}"
+ ln -s ../../doc/"${pkgname}"/LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
+ install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
+ install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf
+ install -Dm644 ../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/nsd.conf
+}
Deleted: service
===================================================================
--- service 2017-12-17 18:51:28 UTC (rev 274660)
+++ service 2017-12-17 18:52:15 UTC (rev 274661)
@@ -1,14 +0,0 @@
-[Unit]
-Description=NSD Name Server Daemon
-After=network.target
-
-[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
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
Copied: nsd/repos/community-x86_64/service (from rev 274660, nsd/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2017-12-17 18:52:15 UTC (rev 274661)
@@ -0,0 +1,13 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+PIDFile=/run/nsd/nsd.pid
+ExecStart=/usr/bin/nsd -d -c /etc/nsd/nsd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/bin/kill -TERM $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
Deleted: sysusers.d
===================================================================
--- sysusers.d 2017-12-17 18:51:28 UTC (rev 274660)
+++ sysusers.d 2017-12-17 18:52:15 UTC (rev 274661)
@@ -1 +0,0 @@
-u nsd - - /dev/null
Copied: nsd/repos/community-x86_64/sysusers.d (from rev 274660, nsd/trunk/sysusers.d)
===================================================================
--- sysusers.d (rev 0)
+++ sysusers.d 2017-12-17 18:52:15 UTC (rev 274661)
@@ -0,0 +1 @@
+u nsd - - /dev/null
Deleted: tmpfiles.d
===================================================================
--- tmpfiles.d 2017-12-17 18:51:28 UTC (rev 274660)
+++ tmpfiles.d 2017-12-17 18:52:15 UTC (rev 274661)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd
Copied: nsd/repos/community-x86_64/tmpfiles.d (from rev 274660, nsd/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d (rev 0)
+++ tmpfiles.d 2017-12-17 18:52:15 UTC (rev 274661)
@@ -0,0 +1,2 @@
+d /run/nsd 0755 nsd nsd
+z /var/db/nsd 0700 nsd nsd
More information about the arch-commits
mailing list