diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /net-dns/ldns-utils | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'net-dns/ldns-utils')
-rw-r--r-- | net-dns/ldns-utils/Manifest | 3 | ||||
-rw-r--r-- | net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild | 80 | ||||
-rw-r--r-- | net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild | 25 |
3 files changed, 108 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/Manifest b/net-dns/ldns-utils/Manifest index 6d99818acdff..bc915fd7342d 100644 --- a/net-dns/ldns-utils/Manifest +++ b/net-dns/ldns-utils/Manifest @@ -1,3 +1,6 @@ DIST ldns-1.7.1.tar.gz 1244394 BLAKE2B 8f2d9c6e34c4f13924ce1531a5757c4a619fc31ebc5a0a3d4aaf43fcfc8b53e8f371984b1c60ab74f735a05a9ca0710fc29a40fffeaef66eb54395eb3a727a0d SHA512 e8f72a4ff4aa544acac5e7be9a8ba38c6b8d388bb26f9a0ed04c1a921622f8582cc8539beafc76a29187a55c94069b7c1875e77522e1a7e7bb3e297dd1e4c2b7 +DIST ldns-1.8.0.tar.gz 1283220 BLAKE2B f916a8c76d788ac7c52aea8bfe675ad4c614a0c6fb011b61f5a27d4a5dc1a2adb33b5c6992b4813b3758c9b7cceab1c77f8c1d66baaa4de993f23888bce69df1 SHA512 54b306160bb7fd76d181f4be0a13134017f6f98ae96e0c954409f31f262e9dbe611c4b76fb6dff47bb6155c652ed8d026b52a50dfcf611e54d9c204b314c4fd6 EBUILD ldns-utils-1.7.1.ebuild 1444 BLAKE2B f2d897b11e13ef176b3400ac418329583c8d77ab9a15e3cf1135d49fb1c6233f147375d0eee79bf9baea0f5d548dc1b3fc1382c95560022ce8585d0d96014d70 SHA512 be92ebb6aeeea36326a5293d485014d08b2b56ff07072e99983aee4215719ac8db9f76cf27616d1e29245b43920351593a570267f8b728e096dc8a785060a2b1 +EBUILD ldns-utils-1.8.0-r1.ebuild 1734 BLAKE2B c832ed898eca34469a936fc8d9a3d74622e96ef2b2d5739219302b78b9bc7a74b19ff5e1cd910a6fb74df378c8a852f1fc883849ddc7216dd9754465ee359d94 SHA512 ff154d66c1d35d4915374306c40c57da7b9476f96f71c9eadfb3ef01416a40f1534d12e06c23be2c5f27819cd66fc3076cc688c5a03047c6fa4f67558c7890a9 +EBUILD ldns-utils-1.8.0-r2.ebuild 636 BLAKE2B 1745bf9dd3bb6e61fed48cb529d0012dd0f1384f59ab1100eb716a9dfadf706487918933f05120c752e64f0964a3988abf2f3f4b83cdc316127f48bfb0c9505b SHA512 9cc9a28b42c3843beaa8341e7025d69d3b7165a77f8b7d7d92bddc7c1a99746d7115a9876d35fb86589ec703cea1b727f86ce644d7af8d8729d4d33f9069ac7e MISC metadata.xml 849 BLAKE2B 3e5b25a17b5b317e38b857d2e4a65212c9300505832926c3a2fcbd5468fca0bbc3c5fd2260d678ed1c7b1b55b33150fd059f4ed80907c34083e92f00ba22b574 SHA512 9fcf62af1b836fd9f8dbe4406f0ffc8d6bb0bbe9005bbef9e558097b50a11c0c126e66e16faa6be3ca21bcfe55243a536808cbf408fa953e7f46417a068b5043 diff --git a/net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild b/net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild new file mode 100644 index 000000000000..b7516aaa9282 --- /dev/null +++ b/net-dns/ldns-utils/ldns-utils-1.8.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_P=${P/-utils} + +DESCRIPTION="Set of utilities to simplify various dns(sec) tasks" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/ldns/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="+dane ecdsa ed25519 ed448 examples gost ssl" + +REQUIRED_USE=" + ecdsa? ( ssl ) + ed25519? ( ssl ) + ed448? ( ssl ) + dane? ( ssl ) + gost? ( ssl ) +" + +DEPEND=">=net-libs/ldns-${PV}[dane?,ecdsa?,ed25519?,ed448?,gost?] + examples? ( net-libs/libpcap )" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # backport https://github.com/NLnetLabs/ldns/commit/bc9d017f6fd8b6b5d2ff6e4489a2931d0aab8184 + sed -i 's/AC_SUBST(VERSION_INFO.*/AC_SUBST(VERSION_INFO, [5:0:2])/' "${S}"/configure.ac || die 'could not patch configure.ac' + + default +} + +src_configure() { + eautoreconf + + # >=openssl-1.1.0 required for dane-ta + if has_version "<dev-libs/openssl-1.1.0" ; then + local dane_ta_usage="--disable-dane-ta-usage" + else + local dane_ta_usage="" + fi + + ECONF_SOURCE=${S} \ + econf \ + --with-drill \ + $(use_with ssl) \ + $(use_with examples) \ + $(use_enable dane) \ + $(use_enable ecdsa) \ + $(use_enable ed25519) \ + $(use_enable ed448) \ + $(use_enable gost) \ + $(use_enable ssl sha2) \ + $dane_ta_usage + +} + +src_compile() { + default +} + +src_install() { + #cd "${S}"/drill + emake DESTDIR="${D}" install-drill + dodoc drill/{ChangeLog.22-nov-2005,README,REGRESSIONS} + + if use examples; then + emake DESTDIR="${D}" install-examples + newdoc examples/README README.examples + fi +} diff --git a/net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild b/net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild new file mode 100644 index 000000000000..3dc600717c87 --- /dev/null +++ b/net-dns/ldns-utils/ldns-utils-1.8.0-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P=${P/-utils} + +DESCRIPTION="Set of utilities to simplify various dns(sec) tasks" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="+dane ecdsa ed25519 ed448 examples gost ssl" + +REQUIRED_USE=" + ecdsa? ( ssl ) + ed25519? ( ssl ) + ed448? ( ssl ) + dane? ( ssl ) + gost? ( ssl ) +" + +RDEPEND=">=net-libs/ldns-1.8.0-r3[dane?,ecdsa?,ed25519?,ed448?,gost?] + examples? ( >=net-libs/ldns-1.8.0-r3[examples(-)] )" |