[arch-commits] Commit in nsd/repos/community-x86_64 (8 files)
Gaëtan Bisson
bisson at archlinux.org
Tue Sep 25 16:49:26 UTC 2018
Date: Tuesday, September 25, 2018 @ 16:49:26
Author: bisson
Revision: 384927
archrelease: copy trunk to community-x86_64
Added:
nsd/repos/community-x86_64/PKGBUILD
(from rev 384926, nsd/trunk/PKGBUILD)
nsd/repos/community-x86_64/service
(from rev 384926, nsd/trunk/service)
nsd/repos/community-x86_64/sysusers.d
(from rev 384926, nsd/trunk/sysusers.d)
nsd/repos/community-x86_64/tmpfiles.d
(from rev 384926, 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 | 103 +++++++++++++++++++++++++++++------------------------------
service | 26 +++++++-------
sysusers.d | 2 -
tmpfiles.d | 4 +-
4 files changed, 67 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-25 16:48:51 UTC (rev 384926)
+++ PKGBUILD 2018-09-25 16:49:26 UTC (rev 384927)
@@ -1,52 +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.24
-pkgrel=1
-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=('4fb687c8e494610ad8692a127ac101ed73df851142a42766c33de06e54449311'
- '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-x86_64/PKGBUILD (from rev 384926, nsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-25 16:49:26 UTC (rev 384927)
@@ -0,0 +1,51 @@
+# 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.25
+pkgrel=1
+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=('8f5bff5abbbb03c396afd7be575806cde1217e884c189fa34445e0ca4793df7f'
+ '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 2018-09-25 16:48:51 UTC (rev 384926)
+++ service 2018-09-25 16:49:26 UTC (rev 384927)
@@ -1,13 +0,0 @@
-[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-x86_64/service (from rev 384926, nsd/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2018-09-25 16:49:26 UTC (rev 384927)
@@ -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 2018-09-25 16:48:51 UTC (rev 384926)
+++ sysusers.d 2018-09-25 16:49:26 UTC (rev 384927)
@@ -1 +0,0 @@
-u nsd - - /dev/null
Copied: nsd/repos/community-x86_64/sysusers.d (from rev 384926, nsd/trunk/sysusers.d)
===================================================================
--- sysusers.d (rev 0)
+++ sysusers.d 2018-09-25 16:49:26 UTC (rev 384927)
@@ -0,0 +1 @@
+u nsd - - /dev/null
Deleted: tmpfiles.d
===================================================================
--- tmpfiles.d 2018-09-25 16:48:51 UTC (rev 384926)
+++ tmpfiles.d 2018-09-25 16:49:26 UTC (rev 384927)
@@ -1,2 +0,0 @@
-d /run/nsd 0755 nsd nsd
-z /var/db/nsd 0700 nsd nsd
Copied: nsd/repos/community-x86_64/tmpfiles.d (from rev 384926, nsd/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d (rev 0)
+++ tmpfiles.d 2018-09-25 16:49:26 UTC (rev 384927)
@@ -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