From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ldns/
Date: Wed, 1 Mar 2023 18:49:21 +0000 (UTC) [thread overview]
Message-ID: <1677696549.5484ef531559e140fb261d20f5b3c224c7a4604c.mschiff@gentoo> (raw)
commit: 5484ef531559e140fb261d20f5b3c224c7a4604c
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 1 18:48:42 2023 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Wed Mar 1 18:49:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5484ef53
net-libs/ldns: support python3.11
Closes: https://bugs.gentoo.org/897104
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
net-libs/ldns/ldns-1.8.3-r1.ebuild | 90 ++++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
diff --git a/net-libs/ldns/ldns-1.8.3-r1.ebuild b/net-libs/ldns/ldns-1.8.3-r1.ebuild
new file mode 100644
index 000000000000..b6b2d28818e4
--- /dev/null
+++ b/net-libs/ldns/ldns-1.8.3-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit autotools python-single-r1 multilib-minimal
+
+DESCRIPTION="A library with the aim to simplify DNS programming in C"
+HOMEPAGE="https://www.nlnetlabs.nl/projects/ldns/"
+SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="doc examples python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="test" # missing test directory
+
+BDEPEND="
+ python? ( dev-lang/swig )
+ doc? ( app-doc/doxygen )
+"
+DEPEND="
+ python? ( ${PYTHON_DEPS} )
+ >=dev-libs/openssl-1.1.1l-r1:0=[${MULTILIB_USEDEP},static-libs?]
+ examples? ( net-libs/libpcap )
+"
+RDEPEND="
+ ${DEPEND}
+ !<net-dns/ldns-utils-1.8.0-r2
+"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/ldns-config
+)
+
+PATCHES=(
+ "${FILESDIR}/ldns-1.8.1-pkgconfig.patch"
+ "${FILESDIR}/${P}-docs.patch"
+ "${FILESDIR}/${P}-configure-strict.patch"
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Drop after 1.8.3
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_with python pyldns) \
+ $(multilib_native_use_with python pyldnsx) \
+ --with-ssl="${EPREFIX}"/usr \
+ $(multilib_native_with drill) \
+ $(multilib_native_use_with examples) \
+ --disable-rpath
+}
+
+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
+
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins libdns.vim
+}
next reply other threads:[~2023-03-01 18:49 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 18:49 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-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-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=1677696549.5484ef531559e140fb261d20f5b3c224c7a4604c.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