Subject: pkg/7856: update to net/archie
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 06/26/1999 09:05:49
>Number:         7856
>Category:       pkg
>Synopsis:       minor update to net/archie
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 09:05:01 1999
>Last-Modified:
>Originator:     Frederick Bruckman
>Organization:

>Release:        NetBSD-1.4
>Environment:
	
System: NetBSD corwin.home 1.4 NetBSD 1.4 (CORWIN) #11:
Wed Jun 9 12:36:02 CDT 1999 root@:
/usr/src/sys/arch/mac68k/compile/CORWIN mac68k


>Description:
	
	Update net/archie's homepage; update built-in sites from Bunyip's
	canononical list. Also build with libcompat instead of custom regex.
>How-To-Repeat:
	
>Fix:
--- net/archie/patches/patch-aa.orig	Fri Aug  7 06:25:09 1998
+++ net/archie/patches/patch-aa	Sat Jun 26 10:34:26 1999
@@ -29,7 +27,7 @@
   #	* If you're on a Stardent, add  -43
   #	* If you're running EP/IX, you may need to add  -systype bsd43
   #	  but try it without it first.
-! OPTIONS= -O -I.
+! OPTIONS= -O3 -I.
   
   # For this, DEFINES is usually ok as-is.  Try it without any of these
   # first; if some stuff fails or shows up undefined, then come back and
@@ -46,10 +44,41 @@
   #     * if your system is lacking strspn(), add               -DSTRSPN
   #     * if you're using the unbundled SparcCompiler on a
   #	Solaris 2 system, add				      -DSOLARIS2
-! DEFINES= -DDEBUG -DNOREGEX
+! DEFINES= # -DDEBUG -DNOREGEX
   
   # The default Archie server; choose one of:
   #    archie.ans.net		(USA [NY])
+***************
+*** 46,59 ****
+  #
+  # Note this only applies to the command-line client; to change the
+  # default for the Emacs lisp version, set the archie-server variable.
+! ARCHIE= archie.sura.net
+  
+  #	Usually LDFLAGS is empty; if, after you build this, archie
+  #	 complains that it can't resolve ARCHIE.ANS.NET (or whatever
+  #	 you defined ARCHIE_HOST as), you need to add `-lresolv'.
+  #
+  #	* If you need the PW library (e.g. A/UX), add -lPW
+! LDFLAGS=
+  # If you're using ISC, use:
+  #LDFLAGS= -linet
+  # If you're using Wallongong TCP/IP on an AT&T box, use:
+--- 46,59 ----
+  #
+  # Note this only applies to the command-line client; to change the
+  # default for the Emacs lisp version, set the archie-server variable.
+! ARCHIE= archie.rutgers.edu
+  
+  #	Usually LDFLAGS is empty; if, after you build this, archie
+  #	 complains that it can't resolve ARCHIE.ANS.NET (or whatever
+  #	 you defined ARCHIE_HOST as), you need to add `-lresolv'.
+  #
+  #	* If you need the PW library (e.g. A/UX), add -lPW
+! LDFLAGS= -lcompat
+  # If you're using ISC, use:
+  #LDFLAGS= -linet
+  # If you're using Wallongong TCP/IP on an AT&T box, use:
 ***************
 *** 84,89 ****
 --- 84,93 ----
--- net/archie/patches/patch-ab.orig	Fri Aug  7 06:25:09 1998
+++ net/archie/patches/patch-ab	Sat Jun 26 10:34:52 1999
@@ -12,26 +10,31 @@
   #endif
   
   /*
---- 8,30 ----
+--- 8,35 ----
   
   /* You can't touch this.  */
   #ifndef XARCHIE
 ! /* Dated: March 13th, 1996 */
-! # define ARCHIES	"archie.au (Australia)","archie.uni-linz.ac.at (Austria)", \
-! 	"archie.univie.ac.at (Austria)","archie.cs.mcgill.ca (Canada)", \
-! 	"archie.uqam.ca (Canada)","archie.funet.fi (Finland)", \
-! 	"archie.univ-rennes1.fr (France","archie.th-darmstadt.de (Germany)", \
-! 	"archie.ac.il (Israel)","archie.unipi.it (Italy)", \
-! 	"archie.wide.ad.jp (Japan)","archie.hana.nm.kr (Korea)", \
-! 	"archie.sogang.ac.kr (Korea)","archie.uninett.no (Norway)", \
-!	"archie.uct.ac.za (South Africa [CT])", \
-! 	"archie.rediris.es (Spain)","archie.luth.se (Sweden)", \
-! 	"archie.switch.ch (Switzerland)","archie.twnic.net (Taiwan)", \
-! 	"archie.ncu.edu.tw (Taiwan)","archie.doc.ic.ac.uk (United Kingdom)", \
-! 	"archie.hensa.ac.uk (United Kingdom)","archie.unl.edu (USA [NE])", \
-! 	"archie.internic.net (USA [NJ])","archie.rutgers.edu (USA [NJ])", \
-! 	"archie.ans.net (USA [NY])","archie.sura.net (USA [MD])"
-! # define NARCHIES	27
+! # define ARCHIES	"archie.au (Australia)", \
+! 			"archie.univie.ac.at (Austria)", \
+! 			"archie.belnet.be", \
+! 			"archie.bunyip.com", \
+! 			"archie.cs.mcgill.ca (Canada)", \
+! 			"archie.funet.fi (Finland)", \
+! 			"archie.th-darmstadt.de (Germany)", \
+! 			"archie.ac.il (Israel)", \
+! 			"archie.unipi.it (Italy)", \
+! 			"archie.wide.ad.jp (Japan)", \
+! 			"archie.kornet.ac.kr (Korea)", \
+! 			"archie.sogang.ac.kr (Korea)", \
+! 			"archie.icm.edu.pl (Poland)", \
+! 			"archie.rediris.es (Spain)", \
+! 			"archie.switch.ch (Switzerland)", \
+! 			"archie.ncu.edu.tw (Taiwan)", \
+! 			"archie.doc.ic.ac.uk (United Kingdom)", \
+! 			"archie.hensa.ac.uk (United Kingdom)", \
+! 			"archie.rutgers.edu (USA [NJ])"
+! # define NARCHIES	19
 ! 
   #endif
   
--- net/archie/Makefile.orig	Tue Jun 23 06:23:44 1998
+++ net/archie/Makefile	Sat Jun 26 10:37:35 1999
@@ -9,6 +9,7 @@
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	packages@netbsd.org
+HOMEPAGE=	http://www.bunyip.com/products/archie/
 
 WRKSRC=		${WRKDIR}/archie-1.4.1-FIX
 



>Audit-Trail:
>Unformatted: