summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-23 22:23:38 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-23 22:23:38 +0000
commitdb382cb254707b564e6e76da37774c6a61482efb (patch)
tree1d0cc590c65af1eaa7e507c6020e20a376d3f827 /net-dns
parentuse eqawarn rather than ewarn for append-ldflags checking #423159 by Pacho Ramos (diff)
downloadgentoo-2-db382cb254707b564e6e76da37774c6a61482efb.tar.gz
gentoo-2-db382cb254707b564e6e76da37774c6a61482efb.tar.bz2
gentoo-2-db382cb254707b564e6e76da37774c6a61482efb.zip
Initial import
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnssec-validator/ChangeLog10
-rw-r--r--net-dns/dnssec-validator/Manifest4
-rw-r--r--net-dns/dnssec-validator/dnssec-validator-1.13.ebuild49
-rw-r--r--net-dns/dnssec-validator/files/dnssec-validator-1.13-respect-LDFLAGS.patch22
-rw-r--r--net-dns/dnssec-validator/metadata.xml9
5 files changed, 94 insertions, 0 deletions
diff --git a/net-dns/dnssec-validator/ChangeLog b/net-dns/dnssec-validator/ChangeLog
new file mode 100644
index 000000000000..e739f54cbdc1
--- /dev/null
+++ b/net-dns/dnssec-validator/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-dns/dnssec-validator
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-validator/ChangeLog,v 1.1 2012/06/23 22:23:38 xmw Exp $
+
+*dnssec-validator-1.13 (23 Jun 2012)
+
+ 23 Jun 2012; Michael Weber <xmw@gentoo.org> +dnssec-validator-1.13.ebuild,
+ +files/dnssec-validator-1.13-respect-LDFLAGS.patch, +metadata.xml:
+ Initial import
+
diff --git a/net-dns/dnssec-validator/Manifest b/net-dns/dnssec-validator/Manifest
new file mode 100644
index 000000000000..6376f974acb5
--- /dev/null
+++ b/net-dns/dnssec-validator/Manifest
@@ -0,0 +1,4 @@
+AUX dnssec-validator-1.13-respect-LDFLAGS.patch 493 RMD160 9f248f72864fd00c964e0663d52ea131991147c9 SHA1 94690a6cbbc546397c6c5ea0732b300f32ca5360 SHA256 6e9a284c09f02ed6cd45c50c5b32d885471846d39153f6cf0c6995018618f02a
+DIST dnsval-1.13.tar.gz 986029 RMD160 ab1197dba9857f680867883f107bdf191fb30e18 SHA1 3fe9eede41a5e6b7704df951632abfa35780a395 SHA256 84477a5bb92f4ab5d0ef45d301d1eb908561f24fa5f047196b3067a3880fd698
+EBUILD dnssec-validator-1.13.ebuild 1094 RMD160 e11baed9478b29941fd474ab016d89a17d76925d SHA1 3d31fb3d91c6a318764fe4d097a191e7ffc1b1ab SHA256 5199de68f9e70c0383ddae0adadc3975d6e3f2e9853e46695b62c165eb28575b
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
diff --git a/net-dns/dnssec-validator/dnssec-validator-1.13.ebuild b/net-dns/dnssec-validator/dnssec-validator-1.13.ebuild
new file mode 100644
index 000000000000..47b17f3fb946
--- /dev/null
+++ b/net-dns/dnssec-validator/dnssec-validator-1.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-validator/dnssec-validator-1.13.ebuild,v 1.1 2012/06/23 22:23:38 xmw Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="DNSSEC validator (dnsval)"
+HOMEPAGE="http://www.dnssec-tools.org/"
+SRC_URI="http://www.dnssec-tools.org/download/dnsval-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ipv6 static-libs +threads"
+
+RDEPEND="dev-libs/openssl
+ !<net-dns/dnssec-tools-1.13
+ !net-dns/dnsval"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/dnsval-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-respect-LDFLAGS.patch
+}
+
+src_configure() {
+ econf \
+ --with-nsec3 \
+ --with-dlv \
+ $(use_with ipv6) \
+ $(use_with threads)
+}
+
+src_install() {
+ dodir /usr/bin /usr/include/validator
+ default
+
+ insinto /etc/dnssec-tools
+ doins etc/{dnsval.conf,root.hints}
+ elog "Creating /etc/dnssec-tools/resolv.conf as symlink to /etc/resolv.conf"
+ dosym ../resolv.conf /etc/dnssec-tools/resolv.conf
+
+
+ use static-libs || find "${D}" -name "*.a" -delete
+ prune_libtool_files
+}
diff --git a/net-dns/dnssec-validator/files/dnssec-validator-1.13-respect-LDFLAGS.patch b/net-dns/dnssec-validator/files/dnssec-validator-1.13-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..dc7525909c23
--- /dev/null
+++ b/net-dns/dnssec-validator/files/dnssec-validator-1.13-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+--- dnsval-1.13/libsres/Makefile.in
++++ dnsval-1.13/libsres/Makefile.in
+@@ -63,7 +63,7 @@
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBRES): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ)
++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LDFLAGS)
+
+ install:
+ $(MKPATH) $(DESTDIR)$(libdir)
+--- dnsval-1.13/libval/Makefile.in
++++ dnsval-1.13/libval/Makefile.in
+@@ -60,7 +60,7 @@
+ $(RM) -rf $(LT_DIR)
+
+ $(LIBVAL): $(LOBJ)
+- $(LIBTOOLLD) -o $@ $(LOBJ)
++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LDFLAGS)
+
+ install:
+ $(MKPATH) $(DESTDIR)$(libdir)
diff --git a/net-dns/dnssec-validator/metadata.xml b/net-dns/dnssec-validator/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/net-dns/dnssec-validator/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+