summaryrefslogtreecommitdiff
path: root/net-libs/ldns
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-libs/ldns
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'net-libs/ldns')
-rw-r--r--net-libs/ldns/Manifest2
-rw-r--r--net-libs/ldns/files/ldns-1.8.1-pkgconfig.patch10
-rw-r--r--net-libs/ldns/files/ldns-1.8.3-configure-strict.patch139
-rw-r--r--net-libs/ldns/files/ldns-1.8.3-docs.patch95
-rw-r--r--net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch101
-rw-r--r--net-libs/ldns/files/ldns-1.8.4-swig-4.3.0.patch127
-rw-r--r--net-libs/ldns/files/ldns-1.9-std23-bool.patch34
-rw-r--r--net-libs/ldns/files/patch-ldns_keys_h19
-rw-r--r--net-libs/ldns/ldns-1.8.4-r1.ebuild105
-rw-r--r--net-libs/ldns/ldns-1.9.0.ebuild105
-rw-r--r--net-libs/ldns/metadata.xml29
11 files changed, 0 insertions, 766 deletions
diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest
deleted file mode 100644
index 271d8ee356c0..000000000000
--- a/net-libs/ldns/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ldns-1.8.4.tar.gz 1301058 BLAKE2B 26003c816c380a58c441f70cb2ea37b7e1402383bc35fbaceae1668af5f591f4cdd04e9ef90655a87ef2ec505a06c1d5c802ed2a80414464ef2e89f4349b995c SHA512 3ee26289bfe587fb19b7441412917d7f7197e385cc1329847c1ae707650709a1ccef7d4a645bd85da89effad95715ec868ef312e5f336d3fe2e408e8109439fc
-DIST ldns-1.9.0.tar.gz 1305262 BLAKE2B 2079fc2f7b4bf244038bbb94edcced98d5a12272df726c016d94ce9c7f8daabab3c7f4cf1c18355f4572995150a5d5876122086fab5e8704b2c225b211d7a511 SHA512 8b2a40e5e512ef1100240b765d4a6bb183a8f13a27436c42c5e1a9d6a4de71434900216ea339a717f791f5329f9ef64d0f4794b582decbd2a314ef4ca3a1171c
diff --git a/net-libs/ldns/files/ldns-1.8.1-pkgconfig.patch b/net-libs/ldns/files/ldns-1.8.1-pkgconfig.patch
deleted file mode 100644
index 7731ff6af7a2..000000000000
--- a/net-libs/ldns/files/ldns-1.8.1-pkgconfig.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/packaging/libldns.pc.in
-+++ b/packaging/libldns.pc.in
-@@ -8,6 +8,6 @@
- URL: http://www.nlnetlabs.nl/projects/ldns
- Version: @PACKAGE_VERSION@
- Requires:
-+Requires.private: libcrypto libssl
- Libs: -L${libdir} -lldns
--Libs.private: @LDFLAGS@
- Cflags: -I${includedir}
diff --git a/net-libs/ldns/files/ldns-1.8.3-configure-strict.patch b/net-libs/ldns/files/ldns-1.8.3-configure-strict.patch
deleted file mode 100644
index 37b809585a9b..000000000000
--- a/net-libs/ldns/files/ldns-1.8.3-configure-strict.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-https://github.com/NLnetLabs/ldns/commit/59af7359ed744327aaf0deb2e6ac90fe9e191ba6
-
-From 59af7359ed744327aaf0deb2e6ac90fe9e191ba6 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sat, 19 Nov 2022 01:31:57 +0000
-Subject: [PATCH] acx_nlnetlabs.m4: fix -Wstrict-prototypes
-
-Fix -Wstrict-prototypes as it's easy to do and avoids future warnings. Noticed
-when doing Clang 16 / GCC 14 / C23 work.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
-or the (new) c-std-porting mailing list [3].
-
-[0] https://lwn.net/Articles/913505/
-[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/acx_nlnetlabs.m4
-+++ b/acx_nlnetlabs.m4
-@@ -183,7 +183,7 @@ dnl cache=`echo $1 | sed 'y%.=/+- %___p__%'`
- AC_CACHE_VAL(cv_prog_cc_flag_needed_$cache,
- [
- echo '$2' > conftest.c
--echo 'void f(){}' >>conftest.c
-+echo 'void f(void){}' >>conftest.c
- if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
- eval "cv_prog_cc_flag_needed_$cache=no"
- else
-@@ -229,7 +229,7 @@ dnl DEPFLAG: set to flag that generates dependencies.
- AC_DEFUN([ACX_DEPFLAG],
- [
- AC_MSG_CHECKING([$CC dependency flag])
--echo 'void f(){}' >conftest.c
-+echo 'void f(void){}' >conftest.c
- if test "`$CC -MM conftest.c 2>&1`" = "conftest.o: conftest.c"; then
- DEPFLAG="-MM"
- else
-@@ -268,7 +268,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED($C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAUL
- #include <getopt.h>
- #endif
-
--int test() {
-+int test(void) {
- int a;
- char **opts = NULL;
- struct timeval tv;
-@@ -305,7 +305,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED($C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAUL
- #include <getopt.h>
- #endif
-
--int test() {
-+int test(void) {
- int a;
- char **opts = NULL;
- struct timeval tv;
-@@ -331,7 +331,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED($C99FLAG,
- [
- #include <stdbool.h>
- #include <ctype.h>
--int test() {
-+int test(void) {
- int a = 0;
- return a;
- }
-@@ -341,7 +341,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED(-D_BSD_SOURCE -D_DEFAULT_SOURCE,
- [
- #include <ctype.h>
-
--int test() {
-+int test(void) {
- int a;
- a = isascii(32);
- return a;
-@@ -352,7 +352,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED(-D_GNU_SOURCE,
- [
- #include <netinet/in.h>
-
--int test() {
-+int test(void) {
- struct in6_pktinfo inf;
- int a = (int)sizeof(inf);
- return a;
-@@ -366,7 +366,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED(-D_GNU_SOURCE -D_FRSRESGID,
- [
- #include <unistd.h>
-
--int test() {
-+int test(void) {
- int a = setresgid(0,0,0);
- a = setresuid(0,0,0);
- return a;
-@@ -381,7 +381,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED(-D_POSIX_C_SOURCE=200112,
- #endif
- #include <netdb.h>
-
--int test() {
-+int test(void) {
- int a = 0;
- char *t;
- time_t time = 0;
-@@ -409,7 +409,7 @@ ACX_CHECK_COMPILER_FLAG_NEEDED(-D__EXTENSIONS__,
- #include <getopt.h>
- #endif
-
--int test() {
-+int test(void) {
- int a;
- char **opts = NULL;
- struct timeval tv;
-@@ -809,7 +809,7 @@ dnl try to see if an additional _LARGEFILE_SOURCE 1 is needed to get fseeko
- ACX_CHECK_COMPILER_FLAG_NEEDED(-D_LARGEFILE_SOURCE=1,
- [
- #include <stdio.h>
--int test() {
-+int test(void) {
- int a = fseeko(stdin, 0, 0);
- return a;
- }
-@@ -834,7 +834,7 @@ char* (*f) () = getaddrinfo;
- #ifdef __cplusplus
- }
- #endif
--int main() {
-+int main(void) {
- ;
- return 0;
- }
-@@ -898,7 +898,7 @@ cache=`echo $1 | sed 'y%.=/+-%___p_%'`
- AC_CACHE_VAL(cv_cc_deprecated_$cache,
- [
- echo '$3' >conftest.c
--echo 'void f(){ $2 }' >>conftest.c
-+echo 'void f(void){ $2 }' >>conftest.c
- if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep -e deprecated -e unavailable`"; then
- eval "cv_cc_deprecated_$cache=no"
- else
-
diff --git a/net-libs/ldns/files/ldns-1.8.3-docs.patch b/net-libs/ldns/files/ldns-1.8.3-docs.patch
deleted file mode 100644
index 6b4e7582a441..000000000000
--- a/net-libs/ldns/files/ldns-1.8.3-docs.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-https://bugs.gentoo.org/892065
-https://github.com/NLnetLabs/ldns/commit/5d5c95a947d98dd292ba81e95ca90ba6aeccb1d0
-
-From 5d5c95a947d98dd292ba81e95ca90ba6aeccb1d0 Mon Sep 17 00:00:00 2001
-From: Willem Toorop <willem@nlnetlabs.nl>
-Date: Mon, 5 Sep 2022 10:01:18 +0200
-Subject: [PATCH] Fix building documentation in build directory.
-
-Thanks Michael Tokarev
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -270,7 +270,7 @@ doxygen:
- @if test ! -e doc/header.html ; then \
- $(INSTALL) -c -m 644 $(srcdir)/doc/header.html doc/ ; \
- fi ;
-- $(doxygen) $(srcdir)/libdns.doxygen
-+ $(doxygen) libdns.doxygen
-
- doc: manpages $(doxygen)
- @$(INSTALL) -d doc
---- a/ldns/net.h.in
-+++ b/ldns/net.h.in
-@@ -91,13 +91,12 @@ int ldns_tcp_bgsend(ldns_buffer *qbin, const struct sockaddr_storage *to, sockle
-
- /**
- * Sends a buffer to an ip using tcp and return the response as a ldns_pkt
-- * \param[in] qbin the ldns_buffer to be send
-+ * \param[out] result packet with the answer
- * \param[in] qbin the ldns_buffer to be send
- * \param[in] to the ip addr to send to
- * \param[in] tolen length of the ip addr
- * \param[in] timeout the timeout value for the network
- * \param[out] answersize size of the packet
-- * \param[out] result packet with the answer
- * \return status
- */
- ldns_status ldns_tcp_send(uint8_t **result, ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *answersize);
---- a/libdns.doxygen.in
-+++ b/libdns.doxygen.in
-@@ -51,7 +51,7 @@ PROJECT_BRIEF =
- # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
- # the logo to the output directory.
-
--PROJECT_LOGO = doc/images/LogoInGradientBar2-y100.png
-+PROJECT_LOGO = @srcdir@/doc/images/LogoInGradientBar2-y100.png
-
- # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
- # into which the generated documentation will be written. If a relative path is
-@@ -854,12 +854,12 @@ WARN_LOGFILE =
- # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
- # Note: If this tag is empty the current directory is searched.
-
--INPUT = . \
-- ldns/ \
-- doc/ \
-- examples/ldns-mx.c \
-- examples/ldns-read-zone.c \
-- examples/ldns-signzone.c
-+INPUT = ldns/ \
-+ @srcdir@/doc/ \
-+ @srcdir@/examples/ldns-mx.c \
-+ @srcdir@/examples/ldns-read-zone.c \
-+ @srcdir@/examples/ldns-signzone.c \
-+ @srcdir@
-
- # This tag can be used to specify the character encoding of the source files
- # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-@@ -936,7 +936,7 @@ EXCLUDE_SYMBOLS =
- # that contain example code fragments that are included (see the \include
- # command).
-
--EXAMPLE_PATH = examples
-+EXAMPLE_PATH = @srcdir@/examples
-
- # If the value of the EXAMPLE_PATH tag contains directories, you can use the
- # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-@@ -956,7 +956,7 @@ EXAMPLE_RECURSIVE = NO
- # that contain images that are to be included in the documentation (see the
- # \image command).
-
--IMAGE_PATH = doc/images
-+IMAGE_PATH = @srcdir@/doc/images
-
- # The INPUT_FILTER tag can be used to specify a program that doxygen should
- # invoke to filter for each input file. Doxygen will invoke the filter program
-@@ -1798,7 +1798,7 @@ COMPACT_LATEX = NO
- # The default value is: a4.
- # This tag requires that the tag GENERATE_LATEX is set to YES.
-
--PAPER_TYPE = a4wide
-+PAPER_TYPE = a4
-
- # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
- # that should be included in the LaTeX output. The package can be specified just
-
diff --git a/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch b/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch
deleted file mode 100644
index 8165371d53bb..000000000000
--- a/net-libs/ldns/files/ldns-1.8.3-swig-4.2.0.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-https://bugs.gentoo.org/921302
-https://github.com/NLnetLabs/ldns/pull/232
-https://github.com/NLnetLabs/ldns/pull/233
-
-From daf38095763f758c77be538da25c267dc5cb73c8 Mon Sep 17 00:00:00 2001
-From: Florian Weimer <fweimer@redhat.com>
-Date: Fri, 26 Jan 2024 11:30:39 +0100
-Subject: [PATCH] SWIG_Python_str_AsChar removal in SWIG 4.2.0
-
-The replacement, SWIG_PyUnicode_AsUTF8AndSize, has different
-memory management requirements.
----
- contrib/python/ldns_rdf.i | 21 +++++++++++++++++++--
- 1 file changed, 19 insertions(+), 2 deletions(-)
-
-diff --git a/contrib/python/ldns_rdf.i b/contrib/python/ldns_rdf.i
-index 5d7448fd..60daf1a7 100644
---- a/contrib/python/ldns_rdf.i
-+++ b/contrib/python/ldns_rdf.i
-@@ -56,7 +56,11 @@
- */
- %typemap(arginit, noblock=1) const ldns_rdf *
- {
-+#if SWIG_VERSION >= 0x040200
-+ PyObject *$1_bytes = NULL;
-+#else
- char *$1_str = NULL;
-+#endif
- }
-
- /*
-@@ -66,11 +70,17 @@
- %typemap(in, noblock=1) const ldns_rdf * (void* argp, $1_ltype tmp = 0, int res)
- {
- if (Python_str_Check($input)) {
-+ const char *argstr;
-+#if SWIG_VERSION >= 0x040200
-+ argstr = SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &$1_bytes);
-+#else
- $1_str = SWIG_Python_str_AsChar($input);
-- if ($1_str == NULL) {
-+ argstr = $1_str;
-+#endif
-+ if (argstr == NULL) {
- %argument_fail(SWIG_TypeError, "char *", $symname, $argnum);
- }
-- tmp = ldns_dname_new_frm_str($1_str);
-+ tmp = ldns_dname_new_frm_str(argstr);
- if (tmp == NULL) {
- %argument_fail(SWIG_TypeError, "char *", $symname, $argnum);
- }
-@@ -90,10 +100,17 @@
- */
- %typemap(freearg, noblock=1) const ldns_rdf *
- {
-+#if SWIG_VERSION >= 0x040200
-+ if ($1_bytes != NULL) {
-+ /* Is not NULL only when a conversion form string occurred. */
-+ Py_XDECREF($1_bytes);
-+ }
-+#else
- if ($1_str != NULL) {
- /* Is not NULL only when a conversion form string occurred. */
- SWIG_Python_str_DelForPy3($1_str); /* Is a empty macro for Python < 3. */
- }
-+#endif
- }
-
- %nodefaultctor ldns_struct_rdf; /* No default constructor. */
-
-From f91f61e10be595a6a46845112aaed7da24551bf9 Mon Sep 17 00:00:00 2001
-From: Florian Weimer <fweimer@redhat.com>
-Date: Fri, 26 Jan 2024 11:57:03 +0100
-Subject: [PATCH] 32-bit compatibility for Python SWIG bindings
-
-The ssize_t type can be int instead of long, and the pointer
-types are incompatible.
----
- contrib/python/ldns.i | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/contrib/python/ldns.i b/contrib/python/ldns.i
-index 881ba5e85..b4a740820 100644
---- a/contrib/python/ldns.i
-+++ b/contrib/python/ldns.i
-@@ -99,12 +99,14 @@
- %typemap(in, noblock=1) (ssize_t)
- {
- int $1_res = 0;
-- $1_res = SWIG_AsVal_long($input, &$1);
-+ long val;
-+ $1_res = SWIG_AsVal_long($input, &val);
- if (!SWIG_IsOK($1_res)) {
- SWIG_exception_fail(SWIG_ArgError($1_res), "in method '"
- "$symname" "', argument " "$argnum" " of type '"
- "$type""'");
- }
-+ $1 = val;
- }
-
-
diff --git a/net-libs/ldns/files/ldns-1.8.4-swig-4.3.0.patch b/net-libs/ldns/files/ldns-1.8.4-swig-4.3.0.patch
deleted file mode 100644
index a6ec69016637..000000000000
--- a/net-libs/ldns/files/ldns-1.8.4-swig-4.3.0.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-From 49b2e4a938d263bb8c532e64f33690551e43ca0c Mon Sep 17 00:00:00 2001
-From: Po-Chuan Hsieh <sunpoet@sunpoet.net>
-Date: Mon, 28 Oct 2024 21:42:27 +0800
-Subject: [PATCH] Fix build with SWIG 4.3.0
-
-Replace SWIG_Python_AppendOutput with SWIG_AppendOutput.
-
-from CHANGES:
- New declaration of SWIG_Python_AppendOutput is now:
-
- SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void);
-
- The 3rd parameter is new and the new $isvoid special variable
- should be passed to it, indicating whether or not the wrapped
- function returns void. If SWIG_Python_AppendOutput is currently being
- used and a completely backwards compatible (but technically incorrect)
- solution is required, then pass 1 for the is_void parameter.
-
- Also consider replacing with:
-
- SWIG_AppendOutput(PyObject* result, PyObject* obj);
-
- which calls SWIG_Python_AppendOutput with same parameters but adding $isvoid
- for final parameter.
-
-Reference: https://github.com/swig/swig/blob/master/CHANGES#L382-L397
----
- contrib/python/ldns_buffer.i | 2 +-
- contrib/python/ldns_key.i | 2 +-
- contrib/python/ldns_packet.i | 2 +-
- contrib/python/ldns_rdf.i | 2 +-
- contrib/python/ldns_resolver.i | 2 +-
- contrib/python/ldns_rr.i | 2 +-
- contrib/python/ldns_zone.i | 2 +-
- 7 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/contrib/python/ldns_buffer.i b/contrib/python/ldns_buffer.i
-index 5c2d583b..0a3e3895 100644
---- a/contrib/python/ldns_buffer.i
-+++ b/contrib/python/ldns_buffer.i
-@@ -45,7 +45,7 @@
- /* Result generation, appends (ldns_buffer *) after the result. */
- %typemap(argout, noblock=1) (ldns_buffer **)
- {
-- $result = SWIG_Python_AppendOutput($result,
-+ $result = SWIG_AppendOutput($result,
- SWIG_NewPointerObj(SWIG_as_voidptr($1_buf),
- SWIGTYPE_p_ldns_struct_buffer, SWIG_POINTER_OWN | 0));
- }
-diff --git a/contrib/python/ldns_key.i b/contrib/python/ldns_key.i
-index dc67e67b..6a3c2db4 100644
---- a/contrib/python/ldns_key.i
-+++ b/contrib/python/ldns_key.i
-@@ -38,7 +38,7 @@
- /* result generation */
- %typemap(argout,noblock=1) (ldns_key **)
- {
-- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN | 0 ));
-+ $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_key), SWIGTYPE_p_ldns_struct_key, SWIG_POINTER_OWN | 0 ));
- }
-
- %typemap(argout) ldns_rdf *r "Py_INCREF($input);"
-diff --git a/contrib/python/ldns_packet.i b/contrib/python/ldns_packet.i
-index c2d7a3b6..8309808d 100644
---- a/contrib/python/ldns_packet.i
-+++ b/contrib/python/ldns_packet.i
-@@ -45,7 +45,7 @@
- /* Result generation, appends (ldns_pkt *) after the result. */
- %typemap(argout,noblock=1) (ldns_pkt **)
- {
-- $result = SWIG_Python_AppendOutput($result,
-+ $result = SWIG_AppendOutput($result,
- SWIG_NewPointerObj(SWIG_as_voidptr($1_pkt),
- SWIGTYPE_p_ldns_struct_pkt, SWIG_POINTER_OWN | 0 ));
- }
-diff --git a/contrib/python/ldns_rdf.i b/contrib/python/ldns_rdf.i
-index 39f9af18..ed1f0d00 100644
---- a/contrib/python/ldns_rdf.i
-+++ b/contrib/python/ldns_rdf.i
-@@ -45,7 +45,7 @@
- /* Result generation, appends (ldns_rdf *) after the result. */
- %typemap(argout, noblock=1) (ldns_rdf **)
- {
-- $result = SWIG_Python_AppendOutput($result,
-+ $result = SWIG_AppendOutput($result,
- SWIG_NewPointerObj(SWIG_as_voidptr($1_rdf),
- SWIGTYPE_p_ldns_struct_rdf, SWIG_POINTER_OWN | 0));
- }
-diff --git a/contrib/python/ldns_resolver.i b/contrib/python/ldns_resolver.i
-index 8468cce3..8d0abc6e 100644
---- a/contrib/python/ldns_resolver.i
-+++ b/contrib/python/ldns_resolver.i
-@@ -45,7 +45,7 @@
- /* Result generation, appends (ldns_resolver *) after the result. */
- %typemap(argout,noblock=1) (ldns_resolver **r)
- {
-- $result = SWIG_Python_AppendOutput($result,
-+ $result = SWIG_AppendOutput($result,
- SWIG_NewPointerObj(SWIG_as_voidptr($1_res),
- SWIGTYPE_p_ldns_struct_resolver, SWIG_POINTER_OWN | 0 ));
- }
-diff --git a/contrib/python/ldns_rr.i b/contrib/python/ldns_rr.i
-index 2e0a0714..c53955cf 100644
---- a/contrib/python/ldns_rr.i
-+++ b/contrib/python/ldns_rr.i
-@@ -45,7 +45,7 @@
- /* Result generation, appends (ldns_rr *) after the result. */
- %typemap(argout, noblock=1) (ldns_rr **)
- {
-- $result = SWIG_Python_AppendOutput($result,
-+ $result = SWIG_AppendOutput($result,
- SWIG_NewPointerObj(SWIG_as_voidptr($1_rr),
- SWIGTYPE_p_ldns_struct_rr, SWIG_POINTER_OWN | 0 ));
- }
-diff --git a/contrib/python/ldns_zone.i b/contrib/python/ldns_zone.i
-index bbb8d8f2..3459478a 100644
---- a/contrib/python/ldns_zone.i
-+++ b/contrib/python/ldns_zone.i
-@@ -39,7 +39,7 @@
- /* result generation */
- %typemap(argout,noblock=1) (ldns_zone **)
- {
-- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN | 0 ));
-+ $result = SWIG_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr($1_zone), SWIGTYPE_p_ldns_struct_zone, SWIG_POINTER_OWN | 0 ));
- }
-
- %nodefaultctor ldns_struct_zone; //no default constructor & destructor
diff --git a/net-libs/ldns/files/ldns-1.9-std23-bool.patch b/net-libs/ldns/files/ldns-1.9-std23-bool.patch
deleted file mode 100644
index d09972a8c61f..000000000000
--- a/net-libs/ldns/files/ldns-1.9-std23-bool.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From fa04eca688a78d88d96fd08b47a80fd8a73a8156 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
-Date: Thu, 4 Dec 2025 17:01:59 +0100
-Subject: [PATCH] Skip definition of bool on -std=c23 or newer
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fedora gcc compiler switched to c23 standard by default. It now does not
-compile ldns in default settings.
-
-Signed-off-by: Petr Menšík <pemensik@redhat.com>
----
- ldns/common.h.in | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/ldns/common.h.in b/ldns/common.h.in
-index db55960..c4e473c 100644
---- a/ldns/common.h.in
-+++ b/ldns/common.h.in
-@@ -40,6 +40,10 @@
- */
- /*@ignore@*/
- /* splint barfs on this construct */
-+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
-+/* c23 defines bool already and deprecates stdbool.h */
-+#define __bool_true_false_are_defined
-+#endif
- #ifndef __bool_true_false_are_defined
- # ifdef HAVE_STDBOOL_H
- # include <stdbool.h>
---
-2.52.0
-
diff --git a/net-libs/ldns/files/patch-ldns_keys_h b/net-libs/ldns/files/patch-ldns_keys_h
deleted file mode 100644
index d51c0ef41ba3..000000000000
--- a/net-libs/ldns/files/patch-ldns_keys_h
+++ /dev/null
@@ -1,19 +0,0 @@
-hack to workaround opendnssec trying to use these constants for a
-non-ldns-related purpose
-
-Index: ldns/keys.h
---- ldns/keys.h.orig
-+++ ldns/keys.h
-@@ -94,10 +94,10 @@ enum ldns_enum_signing_algorithm
- LDNS_SIGN_ECC_GOST = LDNS_ECC_GOST,
- LDNS_SIGN_ECDSAP256SHA256 = LDNS_ECDSAP256SHA256,
- LDNS_SIGN_ECDSAP384SHA384 = LDNS_ECDSAP384SHA384,
--#if LDNS_BUILD_CONFIG_USE_ED25519
-+#if LDNS_BUILD_CONFIG_USE_ED25519 || USE_ED25519
- LDNS_SIGN_ED25519 = LDNS_ED25519,
- #endif /* LDNS_BUILD_CONFIG_USE_ED25519 */
--#if LDNS_BUILD_CONFIG_USE_ED448
-+#if LDNS_BUILD_CONFIG_USE_ED448 || USE_ED448
- LDNS_SIGN_ED448 = LDNS_ED448,
- #endif /* LDNS_BUILD_CONFIG_USE_ED448 */
- LDNS_SIGN_HMACMD5 = 157, /* not official! This type is for TSIG, not DNSSEC */
diff --git a/net-libs/ldns/ldns-1.8.4-r1.ebuild b/net-libs/ldns/ldns-1.8.4-r1.ebuild
deleted file mode 100644
index e937daeb7c6a..000000000000
--- a/net-libs/ldns/ldns-1.8.4-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2021-2024 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-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? (
- ${PYTHON_DEPS}
- dev-lang/swig
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
- )
- doc? ( app-text/doxygen )
-"
-DEPEND="
- python? ( ${PYTHON_DEPS} )
- dev-libs/openssl[${MULTILIB_USEDEP},static-libs?]
-
- examples? ( net-libs/libpcap )
-"
-RDEPEND="
- ${DEPEND}
-"
-
-# False positive, always fails, bug #898658
-QA_CONFIG_IMPL_DECL_SKIP+=(
- ioctlsocket
-)
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/ldns-config
-)
-
-PATCHES=(
- "${FILESDIR}/ldns-1.8.1-pkgconfig.patch"
- "${FILESDIR}/ldns-1.8.4-swig-4.3.0.patch"
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- eapply -p0 "${FILESDIR}/patch-ldns_keys_h"
- default
-
- # Drop after 1.8.3
- eautoreconf
-}
-
-multilib_src_configure() {
- # >=openssl-1.1.0 required for dane-ta
- if has_version "<dev-libs/openssl-1.1.0" || use ; then
- local dane_ta_usage="--disable-dane-ta-usage"
- else
- local dane_ta_usage=""
- fi
-
- 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) \
- $dane_ta_usage \
- --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
-}
diff --git a/net-libs/ldns/ldns-1.9.0.ebuild b/net-libs/ldns/ldns-1.9.0.ebuild
deleted file mode 100644
index c10a03a26e54..000000000000
--- a/net-libs/ldns/ldns-1.9.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-PYTHON_COMPAT=( python3_{13..14} )
-inherit 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? (
- ${PYTHON_DEPS}
- dev-lang/swig
- $(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
- )
- doc? ( app-text/doxygen )
-"
-DEPEND="
- python? ( ${PYTHON_DEPS} )
- >=dev-libs/openssl-1.1.1l-r1:=[${MULTILIB_USEDEP},static-libs?]
-
- examples? ( net-libs/libpcap )
-"
-RDEPEND="
- ${DEPEND}
-"
-
-# False positive, always fails, bug #898658
-QA_CONFIG_IMPL_DECL_SKIP+=(
- ioctlsocket
-)
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/ldns-config
-)
-
-PATCHES=(
- "${FILESDIR}/ldns-1.8.1-pkgconfig.patch"
- "${FILESDIR}/ldns-1.9-std23-bool.patch"
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- eapply -p0 "${FILESDIR}/patch-ldns_keys_h"
- default
-}
-
-multilib_src_configure() {
- # >=openssl-1.1.0 required for dane-ta
- if has_version "<dev-libs/openssl-1.1.0" || use ; then
- local dane_ta_usage="--disable-dane-ta-usage"
- else
- local dane_ta_usage=""
- fi
-
- local myeconfargs=(
- $(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
- $dane_ta_usage
- )
-
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-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
-}
diff --git a/net-libs/ldns/metadata.xml b/net-libs/ldns/metadata.xml
deleted file mode 100644
index 071b2a67fba1..000000000000
--- a/net-libs/ldns/metadata.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>mschiff@gentoo.org</email>
- <name>Marc Schiffbauer</name>
- </maintainer>
- <longdescription lang="en">
- ldns is a library with the aim to simplify DNS programming 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>
- <upstream>
- <remote-id type="cpe">cpe:/a:nlnetlabs:ldns</remote-id>
- </upstream>
- <use>
- <flag name="dane">Enable DNS-based Authentication of Named Entities (DANE) support</flag>
- <flag name="ecdsa">Enable ECDSA support</flag>
- <flag name="ed25519">Enable ED25519 support</flag>
- <flag name="ed448">Enable ED448 support</flag>
- <flag name="gost">Enable GOST support</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file