From wcampbel@botbay.net  Wed Apr 18 11:44:27 2001
Return-Path: <wcampbel@botbay.net>
Received: from botbay.net (botbay.net [151.197.159.116])
	by hub.freebsd.org (Postfix) with ESMTP id 9675537B42C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2001 11:44:26 -0700 (PDT)
	(envelope-from wcampbel@botbay.net)
Received: (from wcampbel@localhost)
	by botbay.net (8.11.1/8.11.3) id f3IIiO326113;
	Wed, 18 Apr 2001 14:44:24 -0400 (EDT)
	(envelope-from wcampbel)
Message-Id: <200104181844.f3IIiO326113@botbay.net>
Date: Wed, 18 Apr 2001 14:44:24 -0400 (EDT)
From: Walter Campbell <wcampbel@botbay.net>
Reply-To: wcampbel@botbay.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Correction of: misc/26521
X-Send-Pr-Version: 3.2

>Number:         26678
>Category:       misc
>Synopsis:       Correction of: misc/26521
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 11:50:01 PDT 2001
>Closed-Date:    Sat May 11 20:41:03 PDT 2002
>Last-Modified:  Sat May 11 20:41:03 PDT 2002
>Originator:     Walter Campbell
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
BotBay.net
>Environment:

	Correction of: misc/26521
        Australia's whois.aunic.net as an option in whois(1)

>Description:

	Correction of the missing u option in the manpage summary of
        command line options

>How-To-Repeat:

	N/A

>Fix:


diff -uNrd whois.dist/whois.1 whois/whois.1
--- whois.dist/whois.1	Mon Jan 15 16:56:30 2001
+++ whois/whois.1	Wed Apr 18 14:36:57 2001
@@ -40,7 +40,7 @@
 .Nd Internet domain name and network number directory service
 .Sh SYNOPSIS
 .Nm
-.Op Fl adgimpQrR6
+.Op Fl adgimpQrRu6
 .Op Fl h Ar host
 .Ar name ...
 .Sh DESCRIPTION
@@ -117,8 +117,8 @@
 .It Fl p
 Use the Asia/Pacific Network Information Center
 .Pq Tn APNIC
-database.  It contains network numbers used in East Asia, Australia,
-New Zealand, and the Pacific islands.
+database.  It contains network numbers used in East Asia, New Zealand,
+and the Pacific islands.
 .It Fl Q
 Do a quick lookup.  This means that
 .Nm
@@ -136,6 +136,10 @@
 database.  It contains network numbers and domain contact information
 for subdomains of
 .Tn \&.RU .
+.It Fl u
+Use the Australia Network Information Center
+.Pq Tn AUNIC
+database.  It contains network numbers used in Australia
 .It Fl 6
 Use the IPv6 Resource Center
 .Pq Tn 6bone
diff -uNrd whois.dist/whois.c whois/whois.c
--- whois.dist/whois.c	Sat Jul 15 03:29:31 2000
+++ whois/whois.c	Thu Apr 12 17:37:01 2001
@@ -62,6 +62,7 @@
 #define	DNICHOST	"whois.nic.mil"
 #define	GNICHOST	"whois.nic.gov"
 #define	ANICHOST	"whois.arin.net"
+#define	AUNICHOST	"whois.aunic.net"
 #define	RNICHOST	"whois.ripe.net"
 #define	PNICHOST	"whois.apnic.net"
 #define	RUNICHOST	"whois.ripn.net"
@@ -96,7 +97,7 @@
 	qnichost = NULL;
 	flags = 0;
 	use_qnichost = 0;
-	while ((ch = getopt(argc, argv, "adgh:impQrR6")) != -1) {
+	while ((ch = getopt(argc, argv, "adgh:impQrRu6")) != -1) {
 		switch((char)ch) {
 		case 'a':
 			host = ANICHOST;
@@ -128,6 +129,9 @@
 		case 'R':
 			host = RUNICHOST;
 			break;
+		case 'u':
+			host = AUNICHOST;
+			break;
 		case '6':
 			host = SNICHOST;
 			break;
@@ -292,6 +296,6 @@
 usage()
 {
 	(void)fprintf(stderr,
-	    "usage: whois [-adgimpQrR6] [-h hostname] name ...\n");
+	    "usage: whois [-adgimpQrRu6] [-h hostname] name ...\n");
 	exit(EX_USAGE);
 }
>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@orbitel.bg>
To: Walter Campbell <wcampbel@botbay.net>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/26678: Correction of: misc/26521
Date: Wed, 18 Apr 2001 22:07:35 +0300

 On Wed, Apr 18, 2001 at 02:44:24PM -0400, Walter Campbell wrote:
 > 
 > >Number:         26678
 > >Category:       misc
 > >Synopsis:       Correction of: misc/26521
 > >Originator:     Walter Campbell
 > >Release:        FreeBSD 4.2-STABLE i386
 
 I don't think this needed a whole new PR.  Maybe this one should be closed,
 and you could sent the patch as a follow-up to the previous one?
 (Just send it as a reply to any mail you received with misc/26521 in
 the subject line, and CC it to freebsd-gnats-submit@FreeBSD.org, so it
 stays in GNATS's audit trail for this PR).
 
 G'luck,
 Peter
 
 -- 
 If wishes were fishes, the antecedent of this conditional would be true.
State-Changed-From-To: open->closed 
State-Changed-By: jmallett 
State-Changed-When: Sat May 11 20:40:51 PDT 2002 
State-Changed-Why:  
Close at the request of the submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26678 
>Unformatted:
