diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 04:59:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-16 04:59:22 +0100 |
commit | c748acf4192a1e08c9feb2d5f0004937a4869639 (patch) | |
tree | 3d3802bdd2770dc25d23a317afd0149df5a53cb2 /net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild | |
parent | d458376753e8fa261bdf469a99543577fb8d95a0 (diff) |
gentoo auto-resync : 16:09:2023 - 04:59:22
Diffstat (limited to 'net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild')
-rw-r--r-- | net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild b/net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild new file mode 100644 index 000000000000..e0c2291fabef --- /dev/null +++ b/net-dns/dnssec-validator/dnssec-validator-2.2.3-r4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Tools to ease the validation of DNSSEC related technologies" +HOMEPAGE="https://www.dnssec-tools.org/" +SRC_URI="https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/dnssec-tools-${PV}.tar.gz" +S="${WORKDIR}/DNSSEC-Tools-dnssec-tools-${PV}/dnssec-tools/validator" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="dlv +nsec3 static-libs +threads" + +RDEPEND=">=dev-libs/openssl-1.1.0:0=" +DEPEND="${RDEPEND}" + +# Tests fail due "Cannot create context: -7" +RESTRICT="test" + +PATCHES=( + # Users LDFLAGS are not respected + # See https://github.com/DNSSEC-Tools/DNSSEC-Tools/pull/9 + "${FILESDIR}/${P}-ldflags.patch" + "${FILESDIR}/${PN}-2.2.3-musl-fix.patch" +) + +src_prepare() { + default + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with dlv) + $(use_with nsec3) + $(use_enable static-libs static) + $(use_with threads) + --with-dnsval-conf="${EPREFIX}/etc/dnssec-tools/dnsval.conf" + --with-ipv6 + --with-resolv-conf="${EPREFIX}/etc/dnssec-tools/resolv.conf" + --with-root-hints="${EPREFIX}/etc/dnssec-tools/root.hints" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + # Install fails with MAKEOPTS > -j1 + # See https://github.com/DNSSEC-Tools/DNSSEC-Tools/issues/8 + emake -j1 DESTDIR="${D}" install + + einstalldocs + + find "${D}" -name '*.la' -delete || die +} |