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

Gaetan Bisson bisson at nymeria.archlinux.org
Tue May 14 19:27:03 EDT 2013


    Date: Wednesday, May 15, 2013 @ 01:27:03
  Author: bisson
Revision: 90854

db-move: moved nsd from [community-staging] to [community-testing] (i686, x86_64)

Added:
  nsd/repos/community-testing-i686/
  nsd/repos/community-testing-i686/PKGBUILD
    (from rev 90853, nsd/repos/community-staging-i686/PKGBUILD)
  nsd/repos/community-testing-i686/install
    (from rev 90853, nsd/repos/community-staging-i686/install)
  nsd/repos/community-testing-i686/service
    (from rev 90853, nsd/repos/community-staging-i686/service)
  nsd/repos/community-testing-x86_64/
  nsd/repos/community-testing-x86_64/PKGBUILD
    (from rev 90853, nsd/repos/community-staging-x86_64/PKGBUILD)
  nsd/repos/community-testing-x86_64/install
    (from rev 90853, nsd/repos/community-staging-x86_64/install)
  nsd/repos/community-testing-x86_64/service
    (from rev 90853, nsd/repos/community-staging-x86_64/service)
Deleted:
  nsd/repos/community-staging-i686/
  nsd/repos/community-staging-x86_64/

-----------------------------------+
 community-testing-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-testing-i686/install    |   12 ++++++++++
 community-testing-i686/service    |   13 +++++++++++
 community-testing-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/install  |   12 ++++++++++
 community-testing-x86_64/service  |   13 +++++++++++
 6 files changed, 132 insertions(+)

Copied: nsd/repos/community-testing-i686/PKGBUILD (from rev 90853, nsd/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,41 @@
+# $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=3.2.15
+pkgrel=2
+pkgdesc='Authoritative only, high performance and simple DNS server'
+url='http://www.nlnetlabs.nl/nsd/'
+license=('BSD')
+depends=('openssl')
+makedepends=('flex')
+arch=('i686' 'x86_64')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'service')
+sha1sums=('e31a81ab7877422b34e1f163f9509cd93f395664'
+          'f35ecb887e86ae0a54ac70aef5a7577fc8761877')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/ \
+		--sbindir=/usr/bin \
+		--datarootdir=/usr/share \
+		--with-pidfile=/run/nsd.pid \
+		--enable-ratelimit
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
+	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-testing-i686/install (from rev 90853, nsd/repos/community-staging-i686/install)
===================================================================
--- community-testing-i686/install	                        (rev 0)
+++ community-testing-i686/install	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,12 @@
+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_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Copied: nsd/repos/community-testing-i686/service (from rev 90853, nsd/repos/community-staging-i686/service)
===================================================================
--- community-testing-i686/service	                        (rev 0)
+++ community-testing-i686/service	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,13 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nsd.pid
+ExecStart=/usr/bin/nsdc start
+ExecReload=/usr/bin/nsdc reload
+ExecStop=/usr/bin/nsdc stop
+
+[Install]
+WantedBy=multi-user.target

Copied: nsd/repos/community-testing-x86_64/PKGBUILD (from rev 90853, nsd/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,41 @@
+# $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=3.2.15
+pkgrel=2
+pkgdesc='Authoritative only, high performance and simple DNS server'
+url='http://www.nlnetlabs.nl/nsd/'
+license=('BSD')
+depends=('openssl')
+makedepends=('flex')
+arch=('i686' 'x86_64')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'service')
+sha1sums=('e31a81ab7877422b34e1f163f9509cd93f395664'
+          'f35ecb887e86ae0a54ac70aef5a7577fc8761877')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/ \
+		--sbindir=/usr/bin \
+		--datarootdir=/usr/share \
+		--with-pidfile=/run/nsd.pid \
+		--enable-ratelimit
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/nsd.service
+	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-testing-x86_64/install (from rev 90853, nsd/repos/community-staging-x86_64/install)
===================================================================
--- community-testing-x86_64/install	                        (rev 0)
+++ community-testing-x86_64/install	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,12 @@
+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_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Copied: nsd/repos/community-testing-x86_64/service (from rev 90853, nsd/repos/community-staging-x86_64/service)
===================================================================
--- community-testing-x86_64/service	                        (rev 0)
+++ community-testing-x86_64/service	2013-05-14 23:27:03 UTC (rev 90854)
@@ -0,0 +1,13 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nsd.pid
+ExecStart=/usr/bin/nsdc start
+ExecReload=/usr/bin/nsdc reload
+ExecStop=/usr/bin/nsdc stop
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list