commit:     2f086fe99d8785fe7fcd34897e7a53680ac57ee4
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sat May  3 07:29:07 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  4 06:07:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f086fe9

net-libs/udns: add 0.6

set HTTP+S for SRC_URI / HOMEPAGE

rm static useflag, no-op
add tc-getRANLIB

this release includes fixes for modern compilers,
tested with clang-19/gcc-15/musl-llvm

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/41911
Closes: https://github.com/gentoo/gentoo/pull/41911
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/udns/Manifest        |  1 +
 net-libs/udns/udns-0.6.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/net-libs/udns/Manifest b/net-libs/udns/Manifest
index 6ffcf9f1dabb..09d28de1cca7 100644
--- a/net-libs/udns/Manifest
+++ b/net-libs/udns/Manifest
@@ -1 +1,2 @@
 DIST udns-0.4.tar.gz 84716 BLAKE2B 
df41b325ae2ffaaaf09e1bb6f52d9e9a7c468c70d8bec849cb90ebcb1fac773ee2dc7e37125a75750b61a1a78d0416e6c9aeb72e43780b474d36e370a1b9cd8d
 SHA512 
2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b
+DIST udns-0.6.tar.gz 85129 BLAKE2B 
72d4753ca62b8528f8a0066622ec052ddd8adda2e4137e9a337d2f4048b789730a2c6e1b3420f6f59a59a2af9c4a8d8074a03b17f2774b5c014ef986fbd73895
 SHA512 
9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1

diff --git a/net-libs/udns/udns-0.6.ebuild b/net-libs/udns/udns-0.6.ebuild
new file mode 100644
index 000000000000..6703a8a6b7c0
--- /dev/null
+++ b/net-libs/udns/udns-0.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+DESCRIPTION="Async-capable DNS stub resolver library"
+HOMEPAGE="https://www.corpit.ru/mjt/udns.html";
+SRC_URI="https://www.corpit.ru/mjt/udns/${P}.tar.gz";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ipv6 +tools"
+
+src_configure() {
+       # Uses non-standard configure script, econf doesn't work
+       CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" edo ./configure $(use_enable 
ipv6)
+}
+
+src_compile() {
+       emake $(usex tools shared sharedlib)
+}
+
+src_install() {
+       dolib.so libudns.so.0
+       dosym libudns.so.0 /usr/$(get_libdir)/libudns.so
+
+       if use tools; then
+               newbin dnsget_s dnsget
+               newbin ex-rdns_s ex-rdns
+               newbin rblcheck_s rblcheck
+       fi
+
+       doheader udns.h
+
+       doman udns.3
+       use tools && doman dnsget.1 rblcheck.1
+
+       dodoc NEWS NOTES TODO
+}

Reply via email to