NetBSD Problem Report #17489

Received: (qmail 20185 invoked by uid 605); 6 Jul 2002 05:17:15 -0000
Message-Id: <25078-1025932633@rainier.reedmedia.net>
Date: Fri, 05 Jul 2002 22:17:14 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: Submit package: gethost
X-Send-Pr-Version: 3.95

>Number:         17489
>Category:       pkg
>Synopsis:       pkgsrc submission for gethost
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 06 05:18:01 +0000 2002
>Closed-Date:    Wed Jul 10 02:17:10 +0000 2002
>Last-Modified:  Wed Jul 10 02:17:10 +0000 2002
>Originator:     
>Release:        NetBSD 1.5.3_RC2
>Organization:
http://bsd.reedmedia.net/
>Environment:


System: NetBSD rainier.reedmedia.net 1.5.3_RC2 NetBSD 1.5.3_RC2 (JCR-1.5-20020520) #0: Mon May 20 17:26:50 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-1.5-20020520 i386
Architecture: i386
Machine: i386
>Description:
Please use pkgsrc for a new package: net/gethost

From gethost(1) man page:

DESCRIPTION
     The gethost utility does hostname and IP lookups. It returns the host-
     name, any aliases, the IPv4 or IPv6 address, and, optionally, the time
     taken for each hostname to lookup.  It uses standard Unix libraries in-
     stead of using direct DNS resolver lookups. This is useful in trou-
     bleshooting, because it will do lookups as your system sees them.

>How-To-Repeat:
Use ping(1) to test /etc/hosts and wonder why a simple tool isn't available.
>Fix:
pkgsrc is at
http://www.reedmedia.net/misc/netbsd/packages/pkgsrc-gethost.tar.gz

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kim 
State-Changed-When: Tue Jul 9 19:15:51 PDT 2002 
State-Changed-Why:  
Thanks!  Package added to pkgsrc as net/gethost. 

I added patches/patch-aa to comment out the 
gcc-specific CC and CFLAGS so that compiling 
on other platforms should not cause problems 
as easily. 

Regards, 
+ Kim 
. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.