public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/
Date: Sun, 29 Sep 2019 13:50:02 +0000 (UTC)	[thread overview]
Message-ID: <1569764988.93a05d4dbdf7cb7b00a1057b337a2c043318ee21.mschiff@gentoo> (raw)

commit:     93a05d4dbdf7cb7b00a1057b337a2c043318ee21
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 11:44:25 2019 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 13:49:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a05d4d

net-libs/ldns: disable dane-ta with USE=libressl

fixes #695640

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 net-libs/ldns/ldns-1.7.1-r1.ebuild | 113 +++++++++++++++++++++++++++++++++++++
 1 file changed, 113 insertions(+)

diff --git a/net-libs/ldns/ldns-1.7.1-r1.ebuild b/net-libs/ldns/ldns-1.7.1-r1.ebuild
new file mode 100644
index 00000000000..62d260df249
--- /dev/null
+++ b/net-libs/ldns/ldns-1.7.1-r1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_5 )
+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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~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} )"
+
+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 "<dev-libs/openssl-1.1.0" || use libressl; then
+		local dane_ta_usage="--disable-dane-ta-usage"
+	else
+		local dane_ta_usage=""
+	fi
+
+	ECONF_SOURCE=${S} \
+	econf \
+		$(use_enable static-libs static) \
+		$(use_enable gost) \
+		$(use_enable ecdsa) \
+		$(use_enable ed25519) \
+		$(use_enable ed448) \
+		$(use_enable dane) \
+		$(multilib_native_use_with python pyldns) \
+		$(multilib_native_use_with python pyldnsx) \
+		--with-ssl="${EPREFIX}"/usr \
+		--enable-sha2 \
+		--without-drill \
+		--without-examples \
+		$dane_ta_usage \
+		--disable-rpath
+}
+
+src_prepare() {
+	default
+	#epatch "${FILESDIR}/${P}-CVE-2017-1000231.patch"
+	#epatch "${FILESDIR}/${P}-CVE-2017-1000232.patch"
+	# remove non-existing dependency for target packaging/libldns.pc
+	sed -i 's,packaging/libldns.pc.in,,' "${S}"/Makefile.in || die 'could not patch Makefile.in'
+}
+
+multilib_src_compile() {
+	default
+
+	if multilib_is_native_abi && use doc ; then
+		emake doxygen
+	fi
+}
+
+multilib_src_install() {
+	default
+
+	if multilib_is_native_abi && use doc ; then
+		dohtml -r doc/html/.
+	fi
+}
+
+multilib_src_install_all() {
+	dodoc Changelog README*
+
+	prune_libtool_files --modules
+	use python && python_optimize
+
+	if use vim-syntax ; then
+		insinto /usr/share/vim/vimfiles/ftdetect
+		doins libdns.vim
+	fi
+
+	einfo
+	elog "Install net-dns/ldns-utils if you want drill and examples"
+	einfo
+}


             reply	other threads:[~2019-09-29 13:50 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-29 13:50 Marc Schiffbauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 19:15 [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/ Sam James
2024-10-31 22:12 Andreas K. Hüttel
2024-10-26 18:39 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-24 18:42 Arthur Zamarin
2024-10-05  5:21 Sam James
2024-10-05  2:23 Sam James
2024-08-23  2:08 Eli Schwartz
2024-06-06 15:03 Mike Gilbert
2024-04-15  8:35 Marc Schiffbauer
2024-02-06  5:18 Sam James
2023-04-19 11:07 Sam James
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19  9:47 Arthur Zamarin
2023-04-19  9:46 Sam James
2023-04-19  9:45 Sam James
2023-04-19  9:43 Sam James
2023-03-01 18:49 Marc Schiffbauer
2023-01-26  7:55 Sam James
2022-05-13  6:33 WANG Xuerui
2022-04-12 21:04 Sam James
2022-01-25 21:25 Sam James
2021-12-24 10:57 Marc Schiffbauer
2021-12-24 10:57 Marc Schiffbauer
2021-12-16  0:09 Sam James
2021-12-05 16:35 Sam James
2021-12-04 22:09 Mike Gilbert
2021-12-04 22:09 Mike Gilbert
2021-12-04 15:58 Mike Gilbert
2021-12-04  8:31 Agostino Sarubbo
2021-12-04  8:31 Agostino Sarubbo
2021-12-03 15:59 Sam James
2021-12-03 15:59 Sam James
2021-12-03 15:59 Sam James
2021-12-03  7:37 Agostino Sarubbo
2021-12-03  4:29 Sam James
2021-12-03  4:26 Sam James
2021-12-01 11:40 Marc Schiffbauer
2021-12-01 11:40 Marc Schiffbauer
2021-12-01 10:36 Marc Schiffbauer
2021-11-07 15:41 Andreas Sturmlechner
2021-11-07  7:28 Sam James
2021-11-02  9:14 Agostino Sarubbo
2021-10-30 22:55 Sam James
2021-10-29 11:16 Sam James
2021-10-28 14:03 Agostino Sarubbo
2021-10-27  6:37 Agostino Sarubbo
2021-10-27  6:35 Agostino Sarubbo
2021-09-04 20:38 Marc Schiffbauer
2021-09-04 19:01 Marc Schiffbauer
2021-06-17 20:32 Thomas Deutschmann
2021-06-03 15:52 Sergei Trofimovich
2021-06-01  6:59 Agostino Sarubbo
2021-06-01  6:36 Agostino Sarubbo
2021-06-01  6:32 Agostino Sarubbo
2021-05-31 23:51 Sam James
2021-05-31 23:51 Sam James
2021-05-31  9:20 David Seifert
2021-05-02 10:16 Mikle Kolyada
2021-02-15  2:28 Rick Farina
2021-02-07  1:12 Sam James
2020-12-11 17:20 Marc Schiffbauer
2020-09-18  8:11 Agostino Sarubbo
2020-09-07  8:20 Sergei Trofimovich
2020-09-06  7:49 Sergei Trofimovich
2020-09-04 14:05 Sam James
2020-09-01  0:11 Sam James
2020-08-30 23:26 Sam James
2020-08-30 17:14 Thomas Deutschmann
2020-05-07 15:17 Michał Górny
2020-04-18 17:55 Craig Andrews
2019-12-29  8:53 David Seifert
2019-09-29 13:50 Marc Schiffbauer
2019-09-25 17:10 Marc Schiffbauer
2019-05-04 19:08 Mikle Kolyada
2018-11-19  1:30 Thomas Deutschmann
2018-06-03 17:50 Mikle Kolyada
2018-01-25  0:13 Aaron Bauman
2018-01-20 11:50 Tobias Klausmann
2017-12-31 21:37 Sergei Trofimovich
2017-12-21 19:28 Markus Meier
2017-12-15 23:21 Sergei Trofimovich
2017-12-14 22:47 Sergei Trofimovich
2017-12-14 20:27 Agostino Sarubbo
2017-12-14 20:19 Sergei Trofimovich
2017-12-14 15:09 Thomas Deutschmann
2017-12-12 18:41 Markus Meier
2017-12-12  7:34 Marc Schiffbauer
2017-12-10 21:15 Marc Schiffbauer
2017-12-08 20:39 Thomas Deutschmann
2017-12-04 14:41 Agostino Sarubbo
2017-12-03 19:50 Sergei Trofimovich
2017-11-25 20:51 Patrick Lauer
2017-06-26  8:37 Alexis Ballier
2016-12-21 14:38 Marc Schiffbauer
2015-10-05  9:08 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1569764988.93a05d4dbdf7cb7b00a1057b337a2c043318ee21.mschiff@gentoo \
    --to=mschiff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox