Subject: Re: Q re net/host
To: Georg Schwarz <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
Date: 03/24/2005 15:22:36
[ On Sunday, March 20, 2005 at 18:44:51 (+0100), Georg Schwarz wrote: ]
> Subject: Q re net/host
> Does net/host compile out of the box on an OS other than NetBSD?
About two years ago I opened a PR (#21047) providing an update to that
package. Sadly after some pointless discussion and almost a year going
by, the PR was closed last January and no further action was taken.
Here's a shar file, substantially identical to the one in PR#21047,
which can be used on NetBSD platforms to replace the existing pkgsrc
module entirely (i.e. to use this you must first remove all the
patches!). Some minor adaptation may be necessary to use this on other
platforms supported by pkgsrc (the simplest approach would be to use a
BSD make and *.mk files, especially if pkgsrc already provides an
infrastructure for installing and using them on non-BSD platforms).
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
# This archive contains:
echo x - DESCR
sed 's/^X//' >DESCR << 'END-of-DESCR'
XHost is a very powerful DNS query and testing command-line tool. Major
Xdifferences with the ancient version of the program with the same name
Xthat's included in the BIND-4 and BIND-8 distributions:
X - Major overhaul of the entire code including rigid error checking,
X and verbose error messages. Several sections have been rewritten
X from scratch. Documentation has been added. Syntax extended.
X - It is now possible to do recursive listings into delegated zones.
X - Maintain resource record statistics and host count during zone listings.
X - Check for various extraneous conditions during zone listings.
X - Check for illegal domain names containing invalid characters.
X - Verify that certain domain names represent canonical host names.
X - Perform ttl consistency checking during zone listings.
X - Exploit multiple server addresses if available.
X - Option to exploit only primary server for zone transfers.
X - Option to exclude info from names that do not reside in a zone.
X - Implement timeout handling during connect and read.
X - Write resource record output to optional log file.
X - Special MB tracing by recursively expanding MR and MG records.
X - Special mode to check SOA records at each nameserver for a zone.
X - Special mode to check reverse mappings of host addresses.
X - Configurable default options in HOST_DEFAULTS environment variable.
X - Implement new resource record types from RFCs 1183, 1348, 1664, 1712,
X 1876 and 1886. Basic experimental NSAP support as defined in RFC 1637.
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# $NetBSD: Makefile,v 1.8 2004/01/20 12:22:19 agc Exp $
XCOMMENT= A powerful DNS query and testing tool
XNO_CONFIGURE = yes
XNO_PATCH = yes
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
X$NetBSD: distinfo,v 1.3 2003/10/11 14:18:57 grant Exp $
XSHA1 (host-20040812.tar.gz) = 02027effe88a851e6cecf133cef8ba096af48258
XSize (host-20040812.tar.gz) = 147758 bytes
echo x - PLIST
sed 's/^X//' >PLIST << 'END-of-PLIST'
X@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:36 zuntum Exp $
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <firstname.lastname@example.org>
Planix, Inc. <email@example.com> Secrets of the Weird <firstname.lastname@example.org>