diff options
author | Michael Weber <xmw@gentoo.org> | 2017-12-18 09:44:15 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-12-18 09:46:23 +0100 |
commit | 7363d590b8869c0f6241bc7bcba2f7cb3e5bb373 (patch) | |
tree | 01b2689460dc5470ad51b05e3a982a947017f393 /net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild | |
parent | net-dns/dnssec-validator: Remove old. (diff) | |
download | gentoo-7363d590b8869c0f6241bc7bcba2f7cb3e5bb373.tar.gz gentoo-7363d590b8869c0f6241bc7bcba2f7cb3e5bb373.tar.bz2 gentoo-7363d590b8869c0f6241bc7bcba2f7cb3e5bb373.zip |
net-dns/dnssec-validator: Revbump for EAPI=6 and newer glibc (thanks Conrad Kostecki).
Closes: https://bugs.gentoo.org/609242
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild')
-rw-r--r-- | net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild b/net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild new file mode 100644 index 000000000000..aebb02242a55 --- /dev/null +++ b/net-dns/dnssec-validator/dnssec-validator-2.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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:0 + !<net-dns/dnssec-tools-1.13" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/dnsval-${PV} + +PATCHES=( "${FILESDIR}"/${PN}-2.1-respect-LDFLAGS.patch + "${FILESDIR}"/${P}-glib-2.25.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 +} |