[arch-commits] Commit in ldns/repos (6 files)

Gaetan Bisson bisson at archlinux.org
Sun Apr 22 07:34:09 UTC 2012


    Date: Sunday, April 22, 2012 @ 03:34:09
  Author: bisson
Revision: 156644

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

Added:
  ldns/repos/extra-i686/
  ldns/repos/extra-i686/Makefile.patch
    (from rev 156643, ldns/trunk/Makefile.patch)
  ldns/repos/extra-i686/PKGBUILD
    (from rev 156643, ldns/trunk/PKGBUILD)
  ldns/repos/extra-x86_64/
  ldns/repos/extra-x86_64/Makefile.patch
    (from rev 156643, ldns/trunk/Makefile.patch)
  ldns/repos/extra-x86_64/PKGBUILD
    (from rev 156643, ldns/trunk/PKGBUILD)

-----------------------------+
 extra-i686/Makefile.patch   |   20 ++++++++++++++++++
 extra-i686/PKGBUILD         |   45 ++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/Makefile.patch |   20 ++++++++++++++++++
 extra-x86_64/PKGBUILD       |   45 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 130 insertions(+)

Copied: ldns/repos/extra-i686/Makefile.patch (from rev 156643, ldns/trunk/Makefile.patch)
===================================================================
--- extra-i686/Makefile.patch	                        (rev 0)
+++ extra-i686/Makefile.patch	2012-04-22 07:34:09 UTC (rev 156644)
@@ -0,0 +1,20 @@
+--- old/Makefile.in	2012-01-12 00:11:36.000000000 +1100
++++ new/Makefile.in	2012-01-27 11:36:16.110154453 +1100
+@@ -130,7 +130,7 @@
+ 		exit -1 ; \
+ 	fi
+ drill/drill: $(DRILL_LOBJS) $(LIB)
+-	$(LINK_EXE) $(DRILL_LOBJS) $(LIBS) -lldns -o drill/drill
++	$(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill
+ 
+ install-drill: drill/drill
+ 	$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
+@@ -157,7 +157,7 @@
+ 		exit -1 ; \
+ 	fi
+ $(EXAMPLE_PROGS): $(EXAMPLE_LOBJS) $(LIB)
+-	$(LINK_EXE) $@.lo $(LIBS) -lldns -o $@
++	$(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@
+ 
+ $(TESTNS): $(TESTNS_LOBJS) $(LIB)
+ 	$(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS)

Copied: ldns/repos/extra-i686/PKGBUILD (from rev 156643, ldns/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-04-22 07:34:09 UTC (rev 156644)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: mathieui <mathieui at mathieui.net>
+# Contributor: jiribb <jiribb at gmail.com>
+
+pkgname=ldns
+pkgver=1.6.12
+pkgrel=1
+pkgdesc='Fast DNS library supporting recent RFCs, including Drill and other tools'
+url='http://www.nlnetlabs.nl/projects/ldns/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+options=('!libtool')
+depends=('openssl')
+makedepends=('libpcap')
+optdepends=('libpcap: ldns-dpa tool')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'Makefile.patch')
+sha1sums=('1d61df0f666908551d5a62768f77d63e727810aa'
+          '01bce260e9639d9cd26109a689dddf2498e5026a')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -p1 -i ../Makefile.patch
+
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--enable-static=no \
+		--disable-rpath \
+		--with-drill \
+		--with-examples \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: ldns/repos/extra-x86_64/Makefile.patch (from rev 156643, ldns/trunk/Makefile.patch)
===================================================================
--- extra-x86_64/Makefile.patch	                        (rev 0)
+++ extra-x86_64/Makefile.patch	2012-04-22 07:34:09 UTC (rev 156644)
@@ -0,0 +1,20 @@
+--- old/Makefile.in	2012-01-12 00:11:36.000000000 +1100
++++ new/Makefile.in	2012-01-27 11:36:16.110154453 +1100
+@@ -130,7 +130,7 @@
+ 		exit -1 ; \
+ 	fi
+ drill/drill: $(DRILL_LOBJS) $(LIB)
+-	$(LINK_EXE) $(DRILL_LOBJS) $(LIBS) -lldns -o drill/drill
++	$(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill
+ 
+ install-drill: drill/drill
+ 	$(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
+@@ -157,7 +157,7 @@
+ 		exit -1 ; \
+ 	fi
+ $(EXAMPLE_PROGS): $(EXAMPLE_LOBJS) $(LIB)
+-	$(LINK_EXE) $@.lo $(LIBS) -lldns -o $@
++	$(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@
+ 
+ $(TESTNS): $(TESTNS_LOBJS) $(LIB)
+ 	$(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS)

Copied: ldns/repos/extra-x86_64/PKGBUILD (from rev 156643, ldns/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-04-22 07:34:09 UTC (rev 156644)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: mathieui <mathieui at mathieui.net>
+# Contributor: jiribb <jiribb at gmail.com>
+
+pkgname=ldns
+pkgver=1.6.12
+pkgrel=1
+pkgdesc='Fast DNS library supporting recent RFCs, including Drill and other tools'
+url='http://www.nlnetlabs.nl/projects/ldns/'
+license=('custom:BSD')
+arch=('i686' 'x86_64')
+options=('!libtool')
+depends=('openssl')
+makedepends=('libpcap')
+optdepends=('libpcap: ldns-dpa tool')
+source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'Makefile.patch')
+sha1sums=('1d61df0f666908551d5a62768f77d63e727810aa'
+          '01bce260e9639d9cd26109a689dddf2498e5026a')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	patch -p1 -i ../Makefile.patch
+
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--enable-static=no \
+		--disable-rpath \
+		--with-drill \
+		--with-examples \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list