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

Gaetan Bisson bisson at archlinux.org
Tue Sep 22 04:19:53 UTC 2015


    Date: Tuesday, September 22, 2015 @ 06:19:53
  Author: bisson
Revision: 141438

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

Added:
  nsd/repos/community-i686/PKGBUILD
    (from rev 141437, nsd/trunk/PKGBUILD)
  nsd/repos/community-i686/hints.patch
    (from rev 141437, nsd/trunk/hints.patch)
  nsd/repos/community-i686/install
    (from rev 141437, nsd/trunk/install)
  nsd/repos/community-i686/service
    (from rev 141437, nsd/trunk/service)
  nsd/repos/community-i686/tmpfiles.d
    (from rev 141437, nsd/trunk/tmpfiles.d)
  nsd/repos/community-x86_64/PKGBUILD
    (from rev 141437, nsd/trunk/PKGBUILD)
  nsd/repos/community-x86_64/hints.patch
    (from rev 141437, nsd/trunk/hints.patch)
  nsd/repos/community-x86_64/install
    (from rev 141437, nsd/trunk/install)
  nsd/repos/community-x86_64/service
    (from rev 141437, nsd/trunk/service)
  nsd/repos/community-x86_64/tmpfiles.d
    (from rev 141437, nsd/trunk/tmpfiles.d)
Deleted:
  nsd/repos/community-i686/PKGBUILD
  nsd/repos/community-i686/install
  nsd/repos/community-i686/service
  nsd/repos/community-i686/tmpfiles.d
  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                    |  112 +++++++++++++++++++++++++++++++++++++++++
 /install                     |   34 ++++++++++++
 /service                     |   26 +++++++++
 /tmpfiles.d                  |    2 
 community-i686/PKGBUILD      |   49 -----------------
 community-i686/hints.patch   |   13 ++++
 community-i686/install       |   17 ------
 community-i686/service       |   13 ----
 community-i686/tmpfiles.d    |    1 
 community-x86_64/PKGBUILD    |   49 -----------------
 community-x86_64/hints.patch |   13 ++++
 community-x86_64/install     |   17 ------
 community-x86_64/service     |   13 ----
 community-x86_64/tmpfiles.d  |    1 
 14 files changed, 200 insertions(+), 160 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-i686/PKGBUILD	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1,49 +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.4
-pkgrel=1
-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')
-sha256sums=('d6e0e9cd1f637a3b4bfa48dba47b1564408eb531c57f6a3dda1a2d529df800f0'
-            '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-i686/PKGBUILD (from rev 141437, nsd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,56 @@
+# $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.4
+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"
+        'hints.patch'
+        'tmpfiles.d'
+        'service')
+sha256sums=('d6e0e9cd1f637a3b4bfa48dba47b1564408eb531c57f6a3dda1a2d529df800f0'
+            '11cd5d6e5dc9bf3cda9024d1c0dfab8eb3ba00c3aa8e03dd078a580db4151dcb'
+            '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
+            '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p0 -i ../hints.patch
+}
+
+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-i686/hints.patch (from rev 141437, nsd/trunk/hints.patch)
===================================================================
--- community-i686/hints.patch	                        (rev 0)
+++ community-i686/hints.patch	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,13 @@
+Index: nsd.c
+===================================================================
+--- nsd.c	(revision 4501)
++++ nsd.c	(revision 4502)
+@@ -447,6 +447,8 @@
+ 	memset(&hints, 0, sizeof(*hints)*2);
+ 	hints[0].ai_family = DEFAULT_AI_FAMILY;
+ 	hints[0].ai_flags = AI_PASSIVE;
++	hints[1].ai_family = DEFAULT_AI_FAMILY;
++	hints[1].ai_flags = AI_PASSIVE;
+ 	nsd.identity	= 0;
+ 	nsd.version	= VERSION;
+ 	nsd.username	= 0;

Deleted: community-i686/install
===================================================================
--- community-i686/install	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-i686/install	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1,17 +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
-}
-
-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/install (from rev 141437, nsd/trunk/install)
===================================================================
--- community-i686/install	                        (rev 0)
+++ community-i686/install	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,17 @@
+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
+}
+
+post_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Deleted: community-i686/service
===================================================================
--- community-i686/service	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-i686/service	2015-09-22 04:19:53 UTC (rev 141438)
@@ -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-i686/service (from rev 141437, nsd/trunk/service)
===================================================================
--- community-i686/service	                        (rev 0)
+++ community-i686/service	2015-09-22 04:19:53 UTC (rev 141438)
@@ -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: community-i686/tmpfiles.d
===================================================================
--- community-i686/tmpfiles.d	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-i686/tmpfiles.d	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-i686/tmpfiles.d (from rev 141437, nsd/trunk/tmpfiles.d)
===================================================================
--- community-i686/tmpfiles.d	                        (rev 0)
+++ community-i686/tmpfiles.d	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1 @@
+d /run/nsd 0755 nsd nsd

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-x86_64/PKGBUILD	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1,49 +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.4
-pkgrel=1
-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')
-sha256sums=('d6e0e9cd1f637a3b4bfa48dba47b1564408eb531c57f6a3dda1a2d529df800f0'
-            '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 141437, nsd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,56 @@
+# $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.4
+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"
+        'hints.patch'
+        'tmpfiles.d'
+        'service')
+sha256sums=('d6e0e9cd1f637a3b4bfa48dba47b1564408eb531c57f6a3dda1a2d529df800f0'
+            '11cd5d6e5dc9bf3cda9024d1c0dfab8eb3ba00c3aa8e03dd078a580db4151dcb'
+            '8e72816177069d6b82306c4b61ca4d0eefd2a77a31ea79c50635eea5aecf8c5b'
+            '5ec7616df32c29ddec25a6ec772db5053e234410cf1042f2945d0f554b1f9b65')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p0 -i ../hints.patch
+}
+
+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/hints.patch (from rev 141437, nsd/trunk/hints.patch)
===================================================================
--- community-x86_64/hints.patch	                        (rev 0)
+++ community-x86_64/hints.patch	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,13 @@
+Index: nsd.c
+===================================================================
+--- nsd.c	(revision 4501)
++++ nsd.c	(revision 4502)
+@@ -447,6 +447,8 @@
+ 	memset(&hints, 0, sizeof(*hints)*2);
+ 	hints[0].ai_family = DEFAULT_AI_FAMILY;
+ 	hints[0].ai_flags = AI_PASSIVE;
++	hints[1].ai_family = DEFAULT_AI_FAMILY;
++	hints[1].ai_flags = AI_PASSIVE;
+ 	nsd.identity	= 0;
+ 	nsd.version	= VERSION;
+ 	nsd.username	= 0;

Deleted: community-x86_64/install
===================================================================
--- community-x86_64/install	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-x86_64/install	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1,17 +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
-}
-
-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/install (from rev 141437, nsd/trunk/install)
===================================================================
--- community-x86_64/install	                        (rev 0)
+++ community-x86_64/install	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1,17 @@
+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
+}
+
+post_remove() {
+	getent passwd nsd &>/dev/null && userdel nsd >/dev/null
+	getent group nsd &>/dev/null && groupdel nsd >/dev/null
+	true
+}

Deleted: community-x86_64/service
===================================================================
--- community-x86_64/service	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-x86_64/service	2015-09-22 04:19:53 UTC (rev 141438)
@@ -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 141437, nsd/trunk/service)
===================================================================
--- community-x86_64/service	                        (rev 0)
+++ community-x86_64/service	2015-09-22 04:19:53 UTC (rev 141438)
@@ -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: community-x86_64/tmpfiles.d
===================================================================
--- community-x86_64/tmpfiles.d	2015-09-22 04:19:06 UTC (rev 141437)
+++ community-x86_64/tmpfiles.d	2015-09-22 04:19:53 UTC (rev 141438)
@@ -1 +0,0 @@
-d /run/nsd 0755 nsd nsd

Copied: nsd/repos/community-x86_64/tmpfiles.d (from rev 141437, nsd/trunk/tmpfiles.d)
===================================================================
--- community-x86_64/tmpfiles.d	                        (rev 0)
+++ community-x86_64/tmpfiles.d	2015-09-22 04:19:53 UTC (rev 141438)
@@ -0,0 +1 @@
+d /run/nsd 0755 nsd nsd



More information about the arch-commits mailing list