commit: 37075c08c4a3437b57328efc47afb8fdbc653444
parent d3e636308df9e17d09dfd67320b832525958ca51
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 27 Jun 2021 12:29:57 +0200
net-dns/ldns-utils: Superseeded by gentoo
Diffstat:
4 files changed, 0 insertions(+), 150 deletions(-)
diff --git a/net-dns/ldns-utils/Manifest b/net-dns/ldns-utils/Manifest
@@ -1 +0,0 @@
-DIST ldns-1.7.0.tar.gz 1304424 BLAKE2B 2f37aa2d00c1d9cf18711bd4f873f4722df01c4f4d0f627e054f04b2473c0fbf19449e293a130d5c8b98dcebafeb3d7b3f5923ae0244bd80139cea77f2171e06 SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8
diff --git a/net-dns/ldns-utils/files/ldns-utils-1.7.0_libressl.patch b/net-dns/ldns-utils/files/ldns-utils-1.7.0_libressl.patch
@@ -1,67 +0,0 @@
-diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c
-index f223675..c819b4a 100644
---- a/examples/ldns-dane.c
-+++ b/examples/ldns-dane.c
-@@ -1097,7 +1097,7 @@ dane_create(ldns_rr_list* tlsas, ldns_rdf* tlsa_owner,
- }
- }
-
--#if defined(USE_DANE_VERIFY) && ( OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL) )
-+#if defined(USE_DANE_VERIFY) && ( OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) )
- static bool
- dane_verify(ldns_rr_list* tlsas, ldns_rdf* address,
- X509* cert, STACK_OF(X509)* extra_certs,
-@@ -1165,7 +1165,7 @@ main(int argc, char* const* argv)
- ldns_status s;
- size_t i;
-
--#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(LIBRESSL_VERSION_NUMBER)
- size_t j, usable_tlsas = 0;
- X509_STORE_CTX *store_ctx = NULL;
- #endif /* OPENSSL_VERSION_NUMBER >= 0x10100000 */
-@@ -1688,7 +1688,7 @@ main(int argc, char* const* argv)
- }
- }
-
--#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
- ctx = SSL_CTX_new(SSLv23_client_method());
- #else
- ctx = SSL_CTX_new(TLS_client_method());
-@@ -1730,7 +1730,7 @@ main(int argc, char* const* argv)
- verify_server_name, name);
- break;
- #ifdef USE_DANE_VERIFY
--#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
- case VERIFY: if (! dane_verify(tlsas, NULL,
- cert, extra_certs, store,
- verify_server_name, name,
-@@ -1844,7 +1844,7 @@ main(int argc, char* const* argv)
- address = ldns_rr_a_address(
- ldns_rr_list_rr(addresses, i));
- assert(address != NULL);
--#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(LIBRESSL_VERSION_NUMBER)
- if (mode == VERIFY) {
- usable_tlsas = 0;
- if (SSL_dane_enable(ssl, name_str) <= 0) {
-@@ -1904,7 +1904,7 @@ main(int argc, char* const* argv)
- continue;
- }
- LDNS_ERR(s, "could not get cert chain from ssl");
--#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(LIBRESSL_VERSION_NUMBER)
-
- if (mode == VERIFY) {
- char *address_str = ldns_rdf2str(address);
-@@ -1934,7 +1934,7 @@ main(int argc, char* const* argv)
-
- #ifdef USE_DANE_VERIFY
- case VERIFY:
--#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(HAVE_LIBRESSL)
-+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
- if (! dane_verify(tlsas, address,
- cert, extra_certs, store,
- verify_server_name, name,
diff --git a/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild b/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P=${P/-utils}
-
-DESCRIPTION="Set of utilities to simplify various dns(sec) tasks"
-HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/"
-SRC_URI="https://www.nlnetlabs.nl/downloads/ldns/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="+dane ecdsa examples gost ssl"
-
-REQUIRED_USE="
- ecdsa? ( ssl )
- dane? ( ssl )
- gost? ( ssl )
-"
-
-DEPEND=">=net-libs/ldns-${PV}[dane?,ecdsa?,gost?]
- examples? ( net-libs/libpcap )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=( "${FILESDIR}/${P}_libressl.patch" )
-
-src_configure() {
- cd "${S}"/drill || die
- econf $(use_with ssl)
-
- if use examples; then
- cd "${S}"/examples || die
- econf \
- $(use_enable dane) \
- $(use_enable ecdsa) \
- $(use_enable gost) \
- $(use_enable ssl sha2) \
- $(use_with ssl)
- fi
-}
-
-src_compile() {
- emake -C drill
- if use examples; then
- emake -C examples
- fi
-}
-
-src_install() {
- cd "${S}"/drill || die
- emake DESTDIR="${D}" install
- dodoc ChangeLog.22-nov-2005 README REGRESSIONS
-
- if use examples; then
- cd "${S}"/examples || die
- emake DESTDIR="${D}" install
- newdoc README README.examples
- fi
-}
diff --git a/net-dns/ldns-utils/metadata.xml b/net-dns/ldns-utils/metadata.xml
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>contact@hacktivis.me</email>
- <name>Haelwenn (lanodan) Monnier</name>
- </maintainer>
- <longdescription lang="en">
-ldns is a library with the aim to simplify DNS programing in C. All
-lowlevel DNS/DNSSEC operations are supported. We also define a higher
-level API which allows a programmer to (for instance) create or sign
-packets.
- </longdescription>
- <use>
- <flag name="dane">Enable DNS-based Authentication of Named Entities (DANE) support</flag>
- <flag name="ecdsa">Enable ECDSA support</flag>
- <flag name="gost">Enable GOST support</flag>
- </use>
-</pkgmetadata>