From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/
Date: Sat, 4 Dec 2021 15:58:39 +0000 (UTC) [thread overview]
Message-ID: <1638633494.2347bb98e3dc254b6af0a7601bfe2e93ffa241c9.floppym@gentoo> (raw)
commit: 2347bb98e3dc254b6af0a7601bfe2e93ffa241c9
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 3 22:53:25 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Dec 4 15:58:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2347bb98
net-libs/ldns: install 'drill' command
Bug: https://bugs.gentoo.org/828109
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
net-libs/ldns/ldns-1.8.0-r3.ebuild | 114 +++++++++++++++++++++++++++++++++++++
1 file changed, 114 insertions(+)
diff --git a/net-libs/ldns/ldns-1.8.0-r3.ebuild b/net-libs/ldns/ldns-1.8.0-r3.ebuild
new file mode 100644
index 000000000000..05e64154dcb4
--- /dev/null
+++ b/net-libs/ldns/ldns-1.8.0-r3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+inherit python-single-r1 autotools multilib-minimal
+
+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 examples gost python static-libs vim-syntax"
+
+# configure will die if ecdsa is enabled and ssl is not
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+COMMON_DEPEND="
+ python? ( ${PYTHON_DEPS} )
+ >=dev-libs/openssl-1.0.1e:0=[${MULTILIB_USEDEP}]
+ examples? ( net-libs/libpcap )
+"
+DEPEND="${COMMON_DEPEND}
+ python? ( dev-lang/swig )
+ doc? ( app-doc/doxygen )
+"
+RDEPEND="${COMMON_DEPEND}
+ !net-dns/ldns-utils
+"
+
+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"; 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 \
+ $(multilib_native_with drill) \
+ $(multilib_native_use_with examples) \
+ ${dane_ta_usage} \
+ --disable-rpath
+}
+
+src_prepare() {
+ default
+ # remove non-existing dependency for target packaging/libldns.pc
+ sed -i 's,$(srcdir)/packaging/libldns.pc.in,,' "${S}"/Makefile.in || die 'could not patch Makefile.in'
+
+ # remove $(srcdir) from path for multilib build
+ sed -i 's,$(srcdir)/packaging/libldns.pc,packaging/libldns.pc,' "${S}"/Makefile.in || die 'could not patch Makefile.in'
+
+ # remove Libs.private, see bug #695672
+ sed -i '/^Libs.private:/d' "${S}"/packaging/libldns.pc.in || die 'could not patch libldns.pc.in'
+
+ # 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'
+
+ eautoreconf
+}
+
+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
+ dodoc -r doc/html
+ fi
+}
+
+multilib_src_install_all() {
+ dodoc Changelog README*
+
+ find "${D}" -name '*.la' -delete || die
+ use python && python_optimize
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins libdns.vim
+ fi
+}
next reply other threads:[~2021-12-04 15:58 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-04 15:58 Mike Gilbert [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 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-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=1638633494.2347bb98e3dc254b6af0a7601bfe2e93ffa241c9.floppym@gentoo \
--to=floppym@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