net-libs/udns - 0.7 (gentoo)

Search

Install

Install this version:

emerge -a =net-libs/udns-0.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-libs/udns-0.7

Or alternatively:

emerge --autounmask-write -a =net-libs/udns-0.7

Package Information

Description:
Async-capable DNS stub resolver library
Homepage:
https://www.corpit.ru/mjt/udns.html
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
0.7 8 ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs verify-sig

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
	verify-sig? ( https://www.corpit.ru/mjt/udns/${P}.tar.gz.asc )
"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="tools"

RDEPEND="tools? ( !mail-filter/rblcheck )"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-michaeltokarev )"

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/michaeltokarev.asc

src_configure() {
	# Uses non-standard configure script, econf doesn't work
	CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" edo ./configure --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
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-libs/udns | euse -E <flag> -p net-libs/udns | euse -D <flag> -p net-libs/udns

Global/Standard Flags

Inherited Eclasses

edo

Dependencies

RDEPEND

tools? ( !mail-filter/rblcheck )

BDEPEND

verify-sig? ( sec-keys/openpgp-keys-michaeltokarev )

Manifest for 0.7

Type File Size Source URLs
DIST udns-0.7.tar.gz 86471 bytes https://www.corpit.ru/mjt/udns/udns-0.7.tar.gz
DIST udns-0.7.tar.gz.asc 833 bytes https://www.corpit.ru/mjt/udns/udns-0.7.tar.gz.asc