[arch-commits] Commit in nsd/repos (10 files)

Gaetan Bisson bisson at nymeria.archlinux.org
Sat Nov 2 00:00:56 UTC 2013


    Date: Saturday, November 2, 2013 @ 01:00:56
  Author: bisson
Revision: 100223

archrelease: copy trunk to community-i686, community-x86_64

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

-----------------------------+
 /tmpfiles.d                 |    2 +
 community-i686/PKGBUILD     |   46 ++++++++++++++++++++++++++++++++++++++++++
 community-i686/install      |   16 ++++++++++++++
 community-i686/service      |   12 ++++++++++
 community-i686/tmpfiles.d   |    1 
 community-x86_64/PKGBUILD   |   46 ++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/install    |   16 ++++++++++++++
 community-x86_64/service    |   12 ++++++++++
 community-x86_64/tmpfiles.d |    1 
 9 files changed, 150 insertions(+), 2 deletions(-)

Copied: nsd/repos/community-i686/PKGBUILD (from rev 100222, nsd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,46 @@
+# $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.0.0
+pkgrel=2
+pkgdesc='Authoritative only, high performance and simple DNS server'
+url='http://www.nlnetlabs.nl/nsd/'
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('openssl' 'libevent')
+makedepends=('flex')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'tmpfiles.d'
+        'service')
+sha1sums=('b3ebd669be8e830f62062d12be55242ca41da369'
+          '7ad2b8da961a893095eede8963cf8026b13186a1'
+          '491bf9c6e63644f7d6c81d3b16138f0d87706aa0')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/ \
+		--sbindir=/usr/bin \
+		--datarootdir=/usr/share \
+		--with-pidfile=/run/nsd/nsd.pid \
+		--enable-ratelimit
+	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-i686/install (from rev 100222, nsd/trunk/install)
===================================================================
--- community-i686/install	                        (rev 0)
+++ community-i686/install	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,16 @@
+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() {
+	usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
+post_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Copied: nsd/repos/community-i686/service (from rev 100222, nsd/trunk/service)
===================================================================
--- community-i686/service	                        (rev 0)
+++ community-i686/service	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+PIDFile=/run/nsd/nsd.pid
+ExecStart=/usr/bin/nsd -c /etc/nsd/nsd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/bin/kill -TERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/tmpfiles.d
===================================================================
--- community-i686/tmpfiles.d	2013-11-01 23:58:27 UTC (rev 100222)
+++ community-i686/tmpfiles.d	2013-11-02 00:00:56 UTC (rev 100223)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-i686/tmpfiles.d (from rev 100222, nsd/trunk/tmpfiles.d)
===================================================================
--- community-i686/tmpfiles.d	                        (rev 0)
+++ community-i686/tmpfiles.d	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1 @@
+d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-x86_64/PKGBUILD (from rev 100222, nsd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,46 @@
+# $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.0.0
+pkgrel=2
+pkgdesc='Authoritative only, high performance and simple DNS server'
+url='http://www.nlnetlabs.nl/nsd/'
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('openssl' 'libevent')
+makedepends=('flex')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'tmpfiles.d'
+        'service')
+sha1sums=('b3ebd669be8e830f62062d12be55242ca41da369'
+          '7ad2b8da961a893095eede8963cf8026b13186a1'
+          '491bf9c6e63644f7d6c81d3b16138f0d87706aa0')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/ \
+		--sbindir=/usr/bin \
+		--datarootdir=/usr/share \
+		--with-pidfile=/run/nsd/nsd.pid \
+		--enable-ratelimit
+	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/install (from rev 100222, nsd/trunk/install)
===================================================================
--- community-x86_64/install	                        (rev 0)
+++ community-x86_64/install	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,16 @@
+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() {
+	usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
+post_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Copied: nsd/repos/community-x86_64/service (from rev 100222, nsd/trunk/service)
===================================================================
--- community-x86_64/service	                        (rev 0)
+++ community-x86_64/service	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1,12 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+PIDFile=/run/nsd/nsd.pid
+ExecStart=/usr/bin/nsd -c /etc/nsd/nsd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/bin/kill -TERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/tmpfiles.d
===================================================================
--- community-x86_64/tmpfiles.d	2013-11-01 23:58:27 UTC (rev 100222)
+++ community-x86_64/tmpfiles.d	2013-11-02 00:00:56 UTC (rev 100223)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-x86_64/tmpfiles.d (from rev 100222, nsd/trunk/tmpfiles.d)
===================================================================
--- community-x86_64/tmpfiles.d	                        (rev 0)
+++ community-x86_64/tmpfiles.d	2013-11-02 00:00:56 UTC (rev 100223)
@@ -0,0 +1 @@
+d /run/nsd 0755 nsd nsd




More information about the arch-commits mailing list