From 6e0d2f77208f9977b59c68b5fa1a41058a68d30a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 22 Nov 2014 15:47:11 +0100 Subject: [PATCH] New package: ldns-1.6.17 --- common/shlibs | 1 + srcpkgs/ldns/patches/libressl.patch | 11 +++++++++ srcpkgs/ldns/template | 36 +++++++++++++++++++++++++++++ srcpkgs/libldns | 1 + srcpkgs/libldns-devel | 1 + 5 files changed, 50 insertions(+) create mode 100644 srcpkgs/ldns/patches/libressl.patch create mode 100644 srcpkgs/ldns/template create mode 120000 srcpkgs/libldns create mode 120000 srcpkgs/libldns-devel diff --git a/common/shlibs b/common/shlibs index c77bc1234c6..660ed452318 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1827,3 +1827,4 @@ libstfl.so.0 stfl-0.23_1 libenventor.so.0 enventor-0.4.1_1 libCDApplet.so cairo-dock-plugins-3.4.0_1 libhydrogen-core-0.9.6.1.so hydrogen-0.9.6.1_1 +libldns.so.1 libldns-1.6.17_1 diff --git a/srcpkgs/ldns/patches/libressl.patch b/srcpkgs/ldns/patches/libressl.patch new file mode 100644 index 00000000000..3c8cf7a8dd4 --- /dev/null +++ b/srcpkgs/ldns/patches/libressl.patch @@ -0,0 +1,11 @@ +--- examples/ldns-signzone.c.orig 2014-07-13 16:15:08.722786209 +0100 ++++ examples/ldns-signzone.c 2014-07-13 16:15:24.772771739 +0100 +@@ -473,7 +473,7 @@ + case 'E': + ENGINE_load_builtin_engines(); + ENGINE_load_dynamic(); +- ENGINE_load_cryptodev(); ++ /* ENGINE_load_cryptodev(); */ + engine = ENGINE_by_id(optarg); + if (!engine) { + printf("No such engine: %s\n", optarg); diff --git a/srcpkgs/ldns/template b/srcpkgs/ldns/template new file mode 100644 index 00000000000..58370d940d7 --- /dev/null +++ b/srcpkgs/ldns/template @@ -0,0 +1,36 @@ +# Template file for 'ldns' +pkgname=ldns +version=1.6.17 +revision=1 +build_style=gnu-configure +configure_args="--with-drill --with-examples + --with-trust-anchor=/etc/dns/root.key" +hostmakedepends="perl" +makedepends="libpcap-devel libressl-devel dnssec-anchors" +short_desc="Modern DNS/DNSSEC library -- utils" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://www.nlnetlabs.nl/projects/ldns/" +distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd + +libldns_package() { + depends="dnssec-anchors" + short_desc="Modern DNS/DNSSEC library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libldns-devel_package() { + depends="libldns>=${version}_${revision}" + short_desc="Modern DNS/DNSSEC library -- development files" + pkg_install() { + vmove usr/bin/ldns-config + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/share/man/man1/ldns-config.1 + vmove usr/share/man/man3 + } +} diff --git a/srcpkgs/libldns b/srcpkgs/libldns new file mode 120000 index 00000000000..924ab02bb3e --- /dev/null +++ b/srcpkgs/libldns @@ -0,0 +1 @@ +ldns \ No newline at end of file diff --git a/srcpkgs/libldns-devel b/srcpkgs/libldns-devel new file mode 120000 index 00000000000..924ab02bb3e --- /dev/null +++ b/srcpkgs/libldns-devel @@ -0,0 +1 @@ +ldns \ No newline at end of file