From c40982e711f0e106dfcc9c23666009aa31e97a70 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sun, 6 Aug 2023 00:11:51 +0200 Subject: net-dns/dnssec-validator: fix QA UseFlagWithoutDeps Signed-off-by: Conrad Kostecki --- .../dnssec-validator-2.2.3-r2.ebuild | 60 ---------------------- .../dnssec-validator-2.2.3-r3.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 net-dns/dnssec-validator/dnssec-validator-2.2.3-r2.ebuild create mode 100644 net-dns/dnssec-validator/dnssec-validator-2.2.3-r3.ebuild (limited to 'net-dns') diff --git a/net-dns/dnssec-validator/dnssec-validator-2.2.3-r2.ebuild b/net-dns/dnssec-validator/dnssec-validator-2.2.3-r2.ebuild deleted file mode 100644 index ca5e3e389089..000000000000 --- a/net-dns/dnssec-validator/dnssec-validator-2.2.3-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 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 +ipv6 +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" -) - -src_prepare() { - default - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_with dlv) - $(use_with ipv6) - $(use_with nsec3) - $(use_enable static-libs static) - $(use_with threads) - --with-dnsval-conf="${EPREFIX}/etc/dnssec-tools/dnsval.conf" - --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 -} diff --git a/net-dns/dnssec-validator/dnssec-validator-2.2.3-r3.ebuild b/net-dns/dnssec-validator/dnssec-validator-2.2.3-r3.ebuild new file mode 100644 index 000000000000..20a94d1e224c --- /dev/null +++ b/net-dns/dnssec-validator/dnssec-validator-2.2.3-r3.ebuild @@ -0,0 +1,60 @@ +# 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" +) + +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 +} -- cgit v1.2.3-65-gdbad