Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/dnssec-tools: build with validator libs

From: Stuart Cardall <developer_at_it-offshore.co.uk>
Date: Sun, 1 Feb 2015 22:00:36 +0000

adds:

libsres.so
libval_shim.so
libval-threads.so
---
 testing/dnssec-tools/APKBUILD | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/testing/dnssec-tools/APKBUILD b/testing/dnssec-tools/APKBUILD
index 20d330f..ea0a2d3 100644
--- a/testing/dnssec-tools/APKBUILD
+++ b/testing/dnssec-tools/APKBUILD
_at_@ -8,7 +8,7 @@ url="https://www.dnssec-tools.org/"
 arch="all"
 license="GPL3"
 makedepends="autoconf automake bind-dev libtool openssl-dev perl-graphviz perl-crypt-openssl-random
-	     perl-net-dns perl-net-dns-sec perl-xml-simple perl-dev sed"
+	     perl-net-dns perl-net-dns-sec perl-xml-simple perl-dev sed chrpath"
 source="http://www.dnssec-tools.org/download/dnssec-tools-2.1.tar.gz"
 subpackages="$pkgname-dev"
 
_at_@ -33,13 +33,14 @@ prepare() {
 
 build() {
 	cd "${_builddir}"
+	CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE=1"
 	./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--disable-bind-checks \
-		--without-validator \
+		--with-validator \
 		--with-perl-build-args=INSTALLDIRS=vendor
 	make || return 1
 }
_at_@ -48,6 +49,8 @@ package() {
 	cd "${_builddir}"
 	mkdir -p "${pkgdir}"/usr/share/man/man1
 	make DESTDIR="${pkgdir}" install || return 1
+	rm -f "${pkgdir}"/usr/lib/*.la
+	chrpath -d "${pkgdir}"/usr/bin/dt-*
 }
 
 md5sums="b4c76b325c380780682a548730d3e09a  dnssec-tools-2.1.tar.gz"
-- 
2.2.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Feb 01 2015 - 22:00:36 GMT