ChangeLog

# ChangeLog for net-dns/host
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/host/ChangeLog,v 1.9 2008/05/13 13:41:12 jer Exp $

13 May 2008; Jeroen Roovers host-20070128.ebuild:
Stable for HPPA (LuckyLuke).

18 Nov 2007; Matti Bickel host-20070128.ebuild:
~ppc readded (bug #199077)

13 Nov 2007; Jeroen Roovers host-20070128.ebuild:
Marked ~hppa. Fixed one quoting issue.

13 Nov 2007; Raúl Porcel host-20070128.ebuild:
Add ~alpha

03 Oct 2007; Ferris McCormick host-20070128.ebuild:
Add ~sparc keyword --- Bug #194653 --- builds and host-woods works.

*host-20070128 (28 Aug 2007)

28 Aug 2007; George Shapovalov +host-20070128.ebuild:
A long awaited update. Big thanks to Thomas S. Howard for fixing linking
issue (#67973)

11 Jun 2006; George Shapovalov host-991529.ebuild:
changed RESTRICT=maketest to test

15 Jul 2005; George Shapovalov host-991529.ebuild:
moved the package to net-dns from net-misc (#80805)
as new "maketest" feature became available for portage, disabled it for this package
(causes problems here, see #91515)

02 Oct 2004; Sven Wegener +metadata.xml:
Moved maintainer from ChangeLog to metadata.xml.

02 Mar 2004; Tom Gall host-991529.ebuild:
stable on ppc64

13 Jan 2004; Chuck Short host-991529.ebuild:
Marked stable on amd64, closes #37063.

24 Dec 2003; Chuck Short host-991529.ebuild:
Added ~amd64 keyword, closes #35854.

10 Oct 2003; Michael Sterrett host-991529.ebuild:
remove DEPEND on bind-tools; The whole point of this ebuild is that it
supplies an independent host command; use sed >= 4; more error messages;
tidy Prompted by bug 30741

28 Jun 2003; Tavis Ormandy host-991529.ebuild:
stable on alpha

01 Mar 2003; Brandon Low host-991529.ebuild:
Switch to emake and make use CC/CXX environment variables

27 Feb 2003; Guy Martin host-991529.ebuild :
Added hppa to keywords.

24 Feb 2003; Nicholas Wourms host-991529.ebuild :
Added stable mips keyword to the ebuild.

21 Jan 2003; Will Woods host-991529.ebuild :
added ~alpha keyword

06 Dec 2002; Rodney Rees host-991529.ebuild :
changed sparc ~sparc keywords

06 Jul 2002; phoen][x host-991529.ebuild :
Added KEYWORDS, LICENSE, SLOT.

11 May 2002; G Shapovalov host-991529.ebuild :
initial release

*host-991529 (11 May 2002)

Manifest

DIST host-20070128.tar.gz 152347 RMD160 955635175ee12882d59a10756d16af44ec62f9e7 SHA1 2e4522259b98f963c46ff7462942edd4a01e381c SHA256 a2a56ab236f9e8549366175a3055e0dc7758dafd46658ed8bea58d87de39bd9f
DIST host.tar.Z 184455 RMD160 52b734d567b4a474f5cac94a5e44580a9eee7281 SHA1 28097ee01a94bb82cec69a3be556a869ea236b5f SHA256 1130e6870435f12b41db6eeae280ea8d1b4644887d5d030d98ac1b5a69576c6b
EBUILD host-20070128.ebuild 1534 RMD160 9844806ff2d1fde1580ab181b33dca83bccdcf59 SHA1 5659ae98b61b27a29f31e20be01a0191d1b052ad SHA256 8872871c16f07933ca40164d7daa29ca812df06e4d8a1e9a31e3f83b5eeb0e95
EBUILD host-991529.ebuild 1375 RMD160 25019f7973bab7e001f6a9ee8da4320482dfbf44 SHA1 fdd776ae1b7e22f49df38e237ee8b77600033df2 SHA256 6404b8c80bb3ea53f1b64a100cb3bd2c176da40fd145c680574599698272ca5d
MISC ChangeLog 2794 RMD160 12ccf1a476ef2c9f91cc40147fb7f95c844bf1ee SHA1 e792a23e28987fce6f5180b48fc5e4ba8f92a393 SHA256 3b722c245ededa4945e055e9d20cdeb2b715f7e2f1fe12b857831fa3116a4f19
MISC metadata.xml 240 RMD160 0b1b157c0af2333bc9f44c6ce28c303e61338219 SHA1 a44feaeeb174c0d61688fb4d72d4b560c5f72f40 SHA256 8a874f18656a89255947364de3bd041d836d3fc11ecf228e563ffdf05b1d5f4b

host-20070128.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/host/host-20070128.ebuild,v 1.6 2008/05/13 13:41:12 jer Exp $

inherit eutils toolchain-funcs multilib

DESCRIPTION="A powerful command-line DNS query and test tool implementing many additional protocols"
HOMEPAGE="http://www.weird.com/~woods/projects/host.html"
SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 hppa ~ppc ~sparc ~x86"
IUSE="debug"

RESTRICT="test"

RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"

src_unpack() {
unpack ${A}
cd "${S}"

if ! use debug; then
sed -i -e "/^CDEBUG/d" \
-e "/^DEBUGDEFS/d" \
Makefile || die "src_unpack failed"
fi

sed -i -e "/id-clash-30/d" \
-e "/^COPT/d" \
-e "s:^\(LDFLAGS = \)\(-static \)\(.*\):\1\3:" \
-e "s:^#\(RES_LIB = \)-lresolv:\1/usr/$(get_libdir)/libresolv.a:" \
-e "s:staff:root:" \
Makefile || die "src_unpack failed"

sed -i -e "s:^\(# if defined(__alpha).*\):\1 || defined(__x86_64__):" \
port.h || die "src_unpack failed"
}

src_compile() {
emake CC="$(tc-getCC)" COPTS="${CFLAGS}" || die "emake failed"
}

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"
}

host-991529.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/host/host-991529.ebuild,v 1.2 2006/06/11 15:33:29 george Exp $

# This is somewhat old tool, has not been changed since 1999,
# Still looks like host from bind does not provide all possible functionality
# at least xtraceroute wants LOC support, which is provided by this tool.

# This is the homepage for xtraceroute, not host, but that's the best I can do -
# at least it is mentioned there.

inherit toolchain-funcs

DESCRIPTION="the standalone host tool, supports LOC reporting (RFC1876)"
HOMEPAGE="http://www.dtek.chalmers.se/~d3august/xt/"
SRC_URI="ftp://ftp.ripe.net/tools/dns/${PN}.tar.Z"

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 hppa mips ppc ppc64 sparc x86"
IUSE=""

RESTRICT="test"

DEPEND=">=sys-apps/sed-4"

S="${WORKDIR}"

src_unpack() {
cd ${S}
unpack ${A}

sed -i -e "s:staff:root:" Makefile \
|| die "sed Makefile failed"
}

src_compile() {
emake CC="$(tc-getCC)" COPTS="${CFLAGS}" \
|| die "emake failed"
# ATTN!
# This util has slightly different format of output from "standard" host
# rename it to hostx, hopefully this does not conflict with anything.
mv host hostx
mv host.1 hostx.1
}

src_install () {
cd ${WORKDIR}
dobin hostx || die "dobin failed"
doman hostx.1
dodoc RE*
}

metadata.xml




no-herd

george@gentoo.org