[arch-commits] Commit in nsd/trunk (PKGBUILD hints.patch)

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


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

fix FS#46273

Added:
  nsd/trunk/hints.patch
Modified:
  nsd/trunk/PKGBUILD

-------------+
 PKGBUILD    |    9 ++++++++-
 hints.patch |   13 +++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-22 04:12:07 UTC (rev 141436)
+++ PKGBUILD	2015-09-22 04:19:06 UTC (rev 141437)
@@ -5,7 +5,7 @@
 
 pkgname=nsd
 pkgver=4.1.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Authoritative only, high performance and simple DNS server'
 url='http://www.nlnetlabs.nl/nsd/'
 license=('BSD')
@@ -13,14 +13,21 @@
 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 \

Added: hints.patch
===================================================================
--- hints.patch	                        (rev 0)
+++ hints.patch	2015-09-22 04:19:06 UTC (rev 141437)
@@ -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;



More information about the arch-commits mailing list