summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:24:26 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:24:26 +0000
commitb9c2b2b4be66b1c6af25f3e99c104ceb30442c29 (patch)
treee02318e5d475cda32c8521ee4def225caa6e2d37 /net
parentReviewed by: (diff)
Reviewed by:
Submitted by: Obtained from:
Notes
Notes: svn path=/head/; revision=267
Diffstat (limited to 'net')
-rw-r--r--net/archie/Makefile18
-rw-r--r--net/archie/files/patch-aa63
-rw-r--r--net/archie/files/patch-ab35
-rw-r--r--net/archie/pkg-comment1
-rw-r--r--net/archie/pkg-descr3
-rw-r--r--net/archie/pkg-plist3
6 files changed, 123 insertions, 0 deletions
diff --git a/net/archie/Makefile b/net/archie/Makefile
new file mode 100644
index 000000000000..577ec39ffdd5
--- /dev/null
+++ b/net/archie/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: archie
+# Version required: 1.4.1
+# Date created: 20 Oct 1994
+# Whom: torstenb
+#
+# $Id:$
+#
+
+DISTNAME= c-archie-1.4.1-FIXED
+MASTER_SITES= ftp://nic.sura.net/pub/archie/clients/
+WRKSRC= ${WRKDIR}/archie-1.4.1-FIX
+EXTRACT_SUFX= .tar.Z
+
+pre-install:
+ mkdir -p ${PREFIX}/bin
+ mkdir -p ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/net/archie/files/patch-aa b/net/archie/files/patch-aa
new file mode 100644
index 000000000000..53e2ab08cba8
--- /dev/null
+++ b/net/archie/files/patch-aa
@@ -0,0 +1,63 @@
+*** Makefile.orig Fri Oct 21 00:25:31 1994
+--- Makefile Fri Oct 21 00:26:55 1994
+***************
+*** 2,15 ****
+ # Makefile for the minimal build for an archie Prospero client.
+ #
+ # Your C compiler:
+! #CC=cc
+
+ # For most systems, these OPTIONS will suffice. Exceptions:
+ #
+ # * 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. -I/usr/netinclude -I/usr/ucbinclude
+
+ # 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
+--- 2,15 ----
+ # Makefile for the minimal build for an archie Prospero client.
+ #
+ # Your C compiler:
+! CC=cc
+
+ # For most systems, these OPTIONS will suffice. Exceptions:
+ #
+ # * 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.
+
+ # 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
+***************
+*** 30,36 ****
+ # * if your system is lacking strspn(), add -DSTRSPN
+ # * if you're using the unbundled SparcCompiler on a
+ # Solaris 2 system, add -DSOLARIS2
+! DEFINES= -DDEBUG
+
+ # The default Archie server; choose one of:
+ # archie.ans.net (USA [NY])
+--- 30,36 ----
+ # * 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
+
+ # The default Archie server; choose one of:
+ # archie.ans.net (USA [NY])
+***************
+*** 84,89 ****
+--- 84,93 ----
+ vlalloc.o vl_comp.o
+
+ all: archie
++
++ install:
++ install -c -s archie ${PREFIX}/bin/archie
++ install -c archie.man ${PREFIX}/man/man1/archie.1
+
+ archie: $(OBJS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)
diff --git a/net/archie/files/patch-ab b/net/archie/files/patch-ab
new file mode 100644
index 000000000000..a35b6177ea49
--- /dev/null
+++ b/net/archie/files/patch-ab
@@ -0,0 +1,35 @@
+*** archie.h.orig Fri Oct 21 00:25:42 1994
+--- archie.h Fri Oct 21 00:26:59 1994
+***************
+*** 8,15 ****
+
+ /* You can't touch this. */
+ #ifndef XARCHIE
+! # define ARCHIES "archie.ans.net (USA [NY])","archie.rutgers.edu (USA [NJ])","archie.sura.net (USA [MD])","archie.unl.edu (USA [NE])","archie.mcgill.ca (Canada)","archie.funet.fi (Finland/Mainland Europe)","archie.au (Australia)","archie.doc.ic.ac.uk (Great Britain/Ireland)","archie.wide.ad.jp (Japan)","archie.ncu.edu.tw (Taiwan)"
+! # define NARCHIES 10
+ #endif
+
+ /*
+--- 8,29 ----
+
+ /* You can't touch this. */
+ #ifndef XARCHIE
+! /* Dated: June 21st, 1994 */
+! # 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.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 26
+!
+ #endif
+
+ /*
diff --git a/net/archie/pkg-comment b/net/archie/pkg-comment
new file mode 100644
index 000000000000..af785a594cab
--- /dev/null
+++ b/net/archie/pkg-comment
@@ -0,0 +1 @@
+archie - prospero client for the archie service
diff --git a/net/archie/pkg-descr b/net/archie/pkg-descr
new file mode 100644
index 000000000000..2039d7a853d1
--- /dev/null
+++ b/net/archie/pkg-descr
@@ -0,0 +1,3 @@
+Archie - a system that will let you check a database containing
+thousands of entries for the files that're available at FTP sites around
+the world.
diff --git a/net/archie/pkg-plist b/net/archie/pkg-plist
new file mode 100644
index 000000000000..ca00c9b54416
--- /dev/null
+++ b/net/archie/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/local
+bin/archie
+man/man1/archie.1