From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BB1D31382C5 for ; Fri, 11 Dec 2020 17:20:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FA02E0843; Fri, 11 Dec 2020 17:20:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC69EE0843 for ; Fri, 11 Dec 2020 17:20:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7FB3A340FCD for ; Fri, 11 Dec 2020 17:20:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1D9E3A6 for ; Fri, 11 Dec 2020 17:20:25 +0000 (UTC) From: "Marc Schiffbauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" Message-ID: <1607707214.2ddbbed9426642be9f92598150eb7129a52de802.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/ldns/ldns-1.7.1-r2.ebuild X-VCS-Directories: net-libs/ldns/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 2ddbbed9426642be9f92598150eb7129a52de802 X-VCS-Branch: master Date: Fri, 11 Dec 2020 17:20:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 232c6228-c737-4d6f-a4db-9060dacbdda6 X-Archives-Hash: 5117519b0612af4e19577a72f1aeb936 commit: 2ddbbed9426642be9f92598150eb7129a52de802 Author: Marc Schiffbauer gentoo org> AuthorDate: Fri Dec 11 17:19:24 2020 +0000 Commit: Marc Schiffbauer gentoo org> CommitDate: Fri Dec 11 17:20:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddbbed9 net-libs/ldns: more libressl fixes, get rid of ltprune Closes: https://bugs.gentoo.org/738988 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Marc Schiffbauer gentoo.org> net-libs/ldns/ldns-1.7.1-r2.ebuild | 116 +++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/net-libs/ldns/ldns-1.7.1-r2.ebuild b/net-libs/ldns/ldns-1.7.1-r2.ebuild new file mode 100644 index 00000000000..db38abaf3b4 --- /dev/null +++ b/net-libs/ldns/ldns-1.7.1-r2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit eutils multilib-minimal python-single-r1 + +DESCRIPTION="a library with the aim to simplify DNS programming in C" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+dane doc +ecdsa ed25519 ed448 gost libressl python static-libs vim-syntax" + +# configure will die if ecdsa is enabled and ssl is not +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + ed25519? ( !libressl ) + ed448? ( !libressl ) +" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + ecdsa? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0=[-bindist,${MULTILIB_USEDEP}] ) + ) + ed25519? ( + !libressl? ( >=dev-libs/openssl-1.1.0:0=[-bindist,${MULTILIB_USEDEP}] ) + ) + ed448? ( + !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist,${MULTILIB_USEDEP}] ) + ) + !libressl? ( >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen ) +" + +RESTRICT="test" # 1.6.9 has no test directory + +MULTILIB_CHOST_TOOLS=( + /usr/bin/ldns-config +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +multilib_src_configure() { + # >=openssl-1.1.0 required for dane-ta + if has_version "