net-libs/udns: drop 0.4-r3

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2025-07-29 08:31:12 +02:00
parent 839741c597
commit f914ed4982
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50
3 changed files with 0 additions and 80 deletions

View File

@ -1,2 +1 @@
DIST udns-0.4.tar.gz 84716 BLAKE2B df41b325ae2ffaaaf09e1bb6f52d9e9a7c468c70d8bec849cb90ebcb1fac773ee2dc7e37125a75750b61a1a78d0416e6c9aeb72e43780b474d36e370a1b9cd8d SHA512 2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b
DIST udns-0.6.tar.gz 85129 BLAKE2B 72d4753ca62b8528f8a0066622ec052ddd8adda2e4137e9a337d2f4048b789730a2c6e1b3420f6f59a59a2af9c4a8d8074a03b17f2774b5c014ef986fbd73895 SHA512 9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1

View File

@ -1,33 +0,0 @@
https://bugs.gentoo.org/874759
https://bugs.gentoo.org/883285
https://bugs.gentoo.org/919260
https://src.fedoraproject.org/rpms/udns/c/27e7b66faa416c13b113e895c204373596282c37?branch=rawhide
Provide autoconf-style fake prototype for socket to avoid implicit
function declarations. Otherwise the check will always fail with soem
C99 compilers.
Avoid incorrect pointer types and a pointer-to-int conversion with
inet_pton and inet_ntop.
--- a/configure
+++ b/configure
@@ -75,6 +75,7 @@ int main(int argc, char **argv) {
EOF
if ac_library_find_v 'socket and connect' "" "-lsocket -lnsl" <<EOF
+char socket(void); char connect(void);
int main() { socket(); connect(); return 0; }
EOF
then :
@@ -92,8 +93,8 @@ ac_ign \
int main() {
char buf[64];
long x = 0;
- inet_pton(AF_INET, &x, buf);
- return inet_ntop(AF_INET, &x, buf, sizeof(buf));
+ inet_pton(AF_INET, (void *) &x, buf);
+ return inet_ntop(AF_INET, (void *) &x, buf, sizeof(buf)) != 0;
}
EOF

View File

@ -1,46 +0,0 @@
# Copyright 1999-2024 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="http://www.corpit.ru/mjt/udns.html"
SRC_URI="http://www.corpit.ru/mjt/udns/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86"
IUSE="ipv6 static +tools"
PATCHES=(
"${FILESDIR}"/${PN}-0.4-configure-c99.patch
)
src_configure() {
# Uses non-standard configure script, econf doesn't work
CC="$(tc-getCC)" 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
}