Subject: pkg/20441: update net/md-whois - diff included
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 02/20/2003 00:31:16
>Number:         20441
>Category:       pkg
>Synopsis:       patch to update md-whois
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 20 00:32:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
net/md-whois doesn't work for .org anymore.
Here's a patch to upgrade.
>How-To-Repeat:
	
>Fix:

diff -b -u -r1.1 DESCR
--- md-whois/DESCR	2001/10/31 22:56:11	1.1
+++ md-whois/DESCR	2003/02/20 08:24:49
@@ -1,4 +1,6 @@
 An improved whois client which attempts to find the correct
 server. If it can't guess, then it will default to whois.arin.net
 for IPv4 addresses, whois.6bone.net for IPv6 addresses, and
-whois.internic.net for domains.
+whois.networksolutions.com for domains.
+
+This whois is written by Marco d'Itri.
diff -b -u -r1.5 Makefile
--- md-whois/Makefile	2002/07/24 19:45:26	1.5
+++ md-whois/Makefile	2003/02/20 08:24:49
@@ -1,7 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2002/07/24 19:45:26 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/04/30 04:16:10 jlam Exp $
 
-DISTNAME=	whois_4.5.2
-PKGNAME=	md-whois-4.5.2
+# todo: set location of [md-]whois.conf and fix in man page too
+# todo: build and install the po/ files and add to PLIST
+# todo: add choice for mk/bsd.pkg.defaults.mk to define name prefix
+# (defaults to "md-" to distinguish from other whois clients) and adjust PLIST
+
+VERSION=	4.6.2
+DISTNAME=	whois_${VERSION}
+PKGNAME=	md-whois-${VERSION}
 CATEGORIES=	net
 MASTER_SITES=	http://www.linux.it/~md/software/
 
@@ -11,7 +17,7 @@
 
 USE_PERL5=	build
 
-WRKSRC=		${WRKDIR}/whois-4.5.2
+WRKSRC=		${WRKDIR}/whois-${VERSION}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/whois ${PREFIX}/bin/md-whois
diff -b -u -r1.2 distinfo
--- md-whois/distinfo	2001/04/21 11:23:22	1.2
+++ md-whois/distinfo	2003/02/20 08:24:49
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.2 2001/04/21 11:23:22 wiz Exp $
 
-SHA1 (whois_4.5.2.tar.gz) = 1813a00377f3d6c789e24273e8c4af5798a7c593
-Size (whois_4.5.2.tar.gz) = 23276 bytes
+SHA1 (whois_4.6.2.tar.gz) = 43187f3a6c63dae66b45012db29b1279da4f070b
+Size (whois_4.6.2.tar.gz) = 34754 bytes
>Release-Note:
>Audit-Trail:
>Unformatted: