[arch-commits] Commit in nsd/repos/community-x86_64 (8 files)

Gaëtan Bisson bisson at archlinux.org
Mon Dec 11 23:29:01 UTC 2017


    Date: Monday, December 11, 2017 @ 23:29:00
  Author: bisson
Revision: 273924

archrelease: copy trunk to community-x86_64

Added:
  nsd/repos/community-x86_64/PKGBUILD
    (from rev 273923, nsd/trunk/PKGBUILD)
  nsd/repos/community-x86_64/install
    (from rev 273923, nsd/trunk/install)
  nsd/repos/community-x86_64/service
    (from rev 273923, nsd/trunk/service)
  nsd/repos/community-x86_64/tmpfiles.d
    (from rev 273923, nsd/trunk/tmpfiles.d)
Deleted:
  nsd/repos/community-x86_64/PKGBUILD
  nsd/repos/community-x86_64/install
  nsd/repos/community-x86_64/service
  nsd/repos/community-x86_64/tmpfiles.d

------------+
 PKGBUILD   |  102 +++++++++++++++++++++++++++++------------------------------
 install    |   22 ++++++------
 service    |   26 +++++++--------
 tmpfiles.d |    2 -
 4 files changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-11 23:28:20 UTC (rev 273923)
+++ PKGBUILD	2017-12-11 23:29:00 UTC (rev 273924)
@@ -1,51 +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.18
-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'
-        'service')
-sha256sums=('8c1db23c5ad44c6410874161e78f785475d3f08ed0daae57fe56c44e33a89c0f'
-            'SKIP'
-            '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
-            '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
-
-install=install
-
-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
-	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf
-	install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
-	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
-}

Copied: nsd/repos/community-x86_64/PKGBUILD (from rev 273923, nsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-11 23:29:00 UTC (rev 273924)
@@ -0,0 +1,51 @@
+# $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=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'
+        'service')
+sha256sums=('b0782cb9b57416888d488b6460b071cd85ecb5f99381865b3a7f93dddf9e02c5'
+            'SKIP'
+            '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
+            '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
+
+install=install
+
+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
+	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/nsd.conf
+	install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
+	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
+}

Deleted: install
===================================================================
--- install	2017-12-11 23:28:20 UTC (rev 273923)
+++ install	2017-12-11 23:29:00 UTC (rev 273924)
@@ -1,11 +0,0 @@
-post_upgrade() {
-	usr/bin/systemd-tmpfiles --create nsd.conf || true
-}
-
-post_install() {
-	getent group nsd &>/dev/null || groupadd -r nsd >/dev/null
-	getent passwd nsd &>/dev/null || useradd -r -g nsd -d /dev/null -s /bin/false -c nsd nsd >/dev/null
-	chown nsd:nsd /var/db/nsd
-	chmod 700 /var/db/nsd
-	post_upgrade
-}

Copied: nsd/repos/community-x86_64/install (from rev 273923, nsd/trunk/install)
===================================================================
--- install	                        (rev 0)
+++ install	2017-12-11 23:29:00 UTC (rev 273924)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
+post_install() {
+	getent group nsd &>/dev/null || groupadd -r nsd >/dev/null
+	getent passwd nsd &>/dev/null || useradd -r -g nsd -d /dev/null -s /bin/false -c nsd nsd >/dev/null
+	chown nsd:nsd /var/db/nsd
+	chmod 700 /var/db/nsd
+	post_upgrade
+}

Deleted: service
===================================================================
--- service	2017-12-11 23:28:20 UTC (rev 273923)
+++ service	2017-12-11 23:29:00 UTC (rev 273924)
@@ -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 273923, nsd/trunk/service)
===================================================================
--- service	                        (rev 0)
+++ service	2017-12-11 23:29:00 UTC (rev 273924)
@@ -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: tmpfiles.d
===================================================================
--- tmpfiles.d	2017-12-11 23:28:20 UTC (rev 273923)
+++ tmpfiles.d	2017-12-11 23:29:00 UTC (rev 273924)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-x86_64/tmpfiles.d (from rev 273923, nsd/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d	                        (rev 0)
+++ tmpfiles.d	2017-12-11 23:29:00 UTC (rev 273924)
@@ -0,0 +1 @@
+d /run/nsd 0755 nsd nsd



More information about the arch-commits mailing list