Install this version:
emerge -a =net-dns/host-20070128-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-dns/host-20070128-r1
Or alternatively:
emerge --autounmask-write -a =net-dns/host-20070128-r1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 20070128-r1 | 8 | ~alpha amd64 hppa ~mips ppc ppc64 sparc x86 | 0 |
# Copyright 1999-2022 Gentoo Authors and Martin V\"ath
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RESTRICT="mirror"
inherit toolchain-funcs
DESCRIPTION="A powerful command-line DNS query and test tool"
HOMEPAGE="http://www.weird.com/~woods/projects/host.html"
SRC_URI="ftp://ftp.weird.com/pub/Planix/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~mips ppc ppc64 sparc x86"
IUSE="debug"
# Bug 91515
RESTRICT="${RESTRICT} test"
BDEPEND=">=sys-apps/sed-4"
src_prepare() {
eapply -p0 "${FILESDIR}/${P}-Makefile.patch"
sed -i -e "s:^\(# if defined(__alpha).*\):\1 || defined(__x86_64__):" \
port.h || die "sed failed"
default
}
src_compile() {
use debug && export DEBUGDEFS="-DDEBUG"
emake CC="$(tc-getCC)" RES_LIB="/usr/$(get_libdir)/libresolv.a"
}
src_install () {
# This tool has slightly different format of output from "standard" host.
# Renaming it to host-woods, hopefully this does not conflict with anything.
newbin host host-woods || die "newbin failed"
newman host.1 host-woods.1 || die "newman failed"
dodoc RELEASE_NOTES ToDo || die "dodoc failed"
}
Manage flags for this package:
euse -i <flag> -p net-dns/host |
euse -E <flag> -p net-dns/host |
euse -D <flag> -p net-dns/host
>=sys-apps/sed-4