Date: Tuesday, August 6, 2019 @ 03:33:42
  Author: foutrelis
Revision: 497547

archrelease: copy trunk to community-staging-x86_64

Added:
  nsd/repos/community-staging-x86_64/
  nsd/repos/community-staging-x86_64/PKGBUILD
    (from rev 497546, nsd/trunk/PKGBUILD)
  nsd/repos/community-staging-x86_64/service
    (from rev 497546, nsd/trunk/service)
  nsd/repos/community-staging-x86_64/sysusers.d
    (from rev 497546, nsd/trunk/sysusers.d)
  nsd/repos/community-staging-x86_64/tmpfiles.d
    (from rev 497546, nsd/trunk/tmpfiles.d)

------------+
 PKGBUILD   |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 service    |   13 +++++++++++++
 sysusers.d |    1 +
 tmpfiles.d |    2 ++
 4 files changed, 67 insertions(+)

Copied: nsd/repos/community-staging-x86_64/PKGBUILD (from rev 497546, 
nsd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-06 03:33:42 UTC (rev 497547)
@@ -0,0 +1,51 @@
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Kaiting Chen <kaitocr...@gmail.com>
+# Contributor: Roberto Alsina <rals...@kde.org>
+
+pkgname=nsd
+pkgver=4.2.1
+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=('d17c0ea3968cb0eb2be79f2f83eb299b7bfcc554b784007616eed6ece828871f'
+            '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
+}

Copied: nsd/repos/community-staging-x86_64/service (from rev 497546, 
nsd/trunk/service)
===================================================================
--- community-staging-x86_64/service                            (rev 0)
+++ community-staging-x86_64/service    2019-08-06 03:33:42 UTC (rev 497547)
@@ -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

Copied: nsd/repos/community-staging-x86_64/sysusers.d (from rev 497546, 
nsd/trunk/sysusers.d)
===================================================================
--- community-staging-x86_64/sysusers.d                         (rev 0)
+++ community-staging-x86_64/sysusers.d 2019-08-06 03:33:42 UTC (rev 497547)
@@ -0,0 +1 @@
+u nsd - - /dev/null

Copied: nsd/repos/community-staging-x86_64/tmpfiles.d (from rev 497546, 
nsd/trunk/tmpfiles.d)
===================================================================
--- community-staging-x86_64/tmpfiles.d                         (rev 0)
+++ community-staging-x86_64/tmpfiles.d 2019-08-06 03:33:42 UTC (rev 497547)
@@ -0,0 +1,2 @@
+d /run/nsd 0755 nsd nsd
+z /var/db/nsd 0700 nsd nsd

Reply via email to