aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-11-08 06:47:52 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-11-08 06:47:52 +0000
commit737958cb55d3847d1670053dd314792cb5c7d07b (patch)
tree5b3e35243fc023841afabf825bbe818ab38ef1b4 /www
parentf23b9daea9d920356f727fdedb291c58726276df (diff)
downloadports-737958cb55d3847d1670053dd314792cb5c7d07b.tar.gz
ports-737958cb55d3847d1670053dd314792cb5c7d07b.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/gn/Makefile57
-rw-r--r--www/gn/distinfo1
-rw-r--r--www/gn/files/patch-aa103
-rw-r--r--www/gn/files/patch-ab94
-rw-r--r--www/gn/pkg-descr2
-rw-r--r--www/gn/pkg-plist9
-rw-r--r--www/gn/scripts/configure13
8 files changed, 0 insertions, 280 deletions
diff --git a/www/Makefile b/www/Makefile
index c1dbcda5d79f..3a14094858eb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -105,7 +105,6 @@
SUBDIR += geeklog
SUBDIR += gforge
SUBDIR += glibwww
- SUBDIR += gn
SUBDIR += gnuinfo
SUBDIR += gnujsp
SUBDIR += grail
diff --git a/www/gn/Makefile b/www/gn/Makefile
deleted file mode 100644
index 23a260ff8160..000000000000
--- a/www/gn/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-# New ports collection makefile for: gn
-# Date created: 20 Sep 1994
-# Whom: adam
-#
-# $FreeBSD$
-#
-
-PORTNAME= gn
-PORTVERSION= 2.24
-CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL} #ftp://ftp.acns.nwu.edu/pub/gn/
-MASTER_SITE_SUBDIR= trevor
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Gopher and http server
-
-BROKEN= "Does not compile"
-
-BUILD_DEPENDS= ${WAISDIR}/bin/waisindex:${PORTSDIR}/net/wais
-
-IS_INTERACTIVE= yes
-NO_PACKAGE= "Compiled-in hostnames"
-WAISDIR= ${PORTSDIR}/net/wais/work/freeWAIS-0.5
-
-INETD_CONF= /etc/inetd.conf
-CONF= ' stream tcp nowait nobody ${PREFIX}/libexec/gn gn'
-
-pre-build:
- @${LN} -fs ${WAISDIR}/include ${WRKSRC}/waisgn/ir
- @${LN} -fs ${WAISDIR}/bin ${WRKSRC}/waisgn
-
-pre-install:
- @${MKDIR} ${WRKSRC}/etc ${WRKSRC}/libexec ${WRKSRC}/gnroot
- @cd ${WRKSRC}/gnroot; \
- tar -cf - -C ${WRKSRC} docs | tar xpf - && \
- ${MV} docs/sample.root.menu menu
-
-post-install:
- @cd ${PREFIX}; \
- [ -s etc/gn_mime.types ] && \
- if ! cmp -s etc/gn_mime.types ${WRKSRC}/etc/gn_mime.types; then \
- ${ECHO_MSG} ${MV} etc/gn_mime.types etc/gn_mime.types.old; \
- ${MV} etc/gn_mime.types etc/gn_mime.types.old; \
- fi; \
- [ -s gnroot/menu ] && \
- if ! cmp -s gnroot/menu ${WRKSRC}/gnroot/menu; then \
- ${ECHO_MSG} ${MV} gnroot/menu gnroot/menu.old; \
- ${MV} gnroot/menu gnroot/menu.old; \
- fi; \
- tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \
- (cd gnroot; ${WRKSRC}/bin/mkcache -r); \
- ${AWK} '$$1 ~ /#*gopher/ && $$6 == "${PREFIX}/libexec/gn" { exit 1 }' \
- ${INETD_CONF} || { \
- ${ECHO_CMD} '#'gopher${CONF} >>${INETD_CONF}; \
- }
-
-.include <bsd.port.mk>
diff --git a/www/gn/distinfo b/www/gn/distinfo
deleted file mode 100644
index 96e2b88c1fac..000000000000
--- a/www/gn/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (gn-2.24.tar.gz) = ae5b229ad04cd2e6409cea1a3e78c04b
diff --git a/www/gn/files/patch-aa b/www/gn/files/patch-aa
deleted file mode 100644
index d52cfa7dbd7c..000000000000
--- a/www/gn/files/patch-aa
+++ /dev/null
@@ -1,103 +0,0 @@
-*** Makefile.old Fri May 5 08:34:10 1995
---- Makefile Fri May 5 08:40:46 1995
-***************
-*** 7,15 ****
- #
- # Where to put the programs
- #
-! SERVBINDIR = ../bin
- BINDIR = ../bin
-! LIBDIR = ../lib
-
- #
- # Compiler Flags (-I.. *MUST* be included)
---- 7,15 ----
- #
- # Where to put the programs
- #
-! SERVBINDIR = ../libexec
- BINDIR = ../bin
-! LIBDIR = ../etc
-
- #
- # Compiler Flags (-I.. *MUST* be included)
-***************
-*** 43,49 ****
-
-
- all: gn mkcache waisgn sgn
-! install: inst-gn inst-mkcache
- gn: gn/gn
- sgn: gn/sgn
- mkcache: mkcache/mkcache
---- 43,49 ----
-
-
- all: gn mkcache waisgn sgn
-! install: inst-gn inst-mkcache inst-waisgn
- gn: gn/gn
- sgn: gn/sgn
- mkcache: mkcache/mkcache
-*** config.h.org Sat Sep 3 16:51:51 1994
---- config.h Fri Sep 23 10:06:50 1994
-***************
-*** 13,24 ****
- */
-
-
-! #define ROOT_DIR "/your/root/data/dir"
- /*
- * Enter the complete path of your root data directory here.
- */
-
-! #define SUN_OS4
- /*
- Pick one of the following Operating System types which describes
- your system and replace the SUN_OS4 value above
---- 13,24 ----
- */
-
-
-! #define ROOT_DIR "/usr/local/gnroot"
- /*
- * Enter the complete path of your root data directory here.
- */
-
-! #define OTHER
- /*
- Pick one of the following Operating System types which describes
- your system and replace the SUN_OS4 value above
-***************
-*** 48,54 ****
- */
-
-
-! #define MIME_TYPE_FILE "/path/to/src/mkcache/gn_mime.types"
- /*
- * This file contains information permitting mkcache to translate
- * ascertain the MIME "Content-type" from the suffix of a file name
---- 48,54 ----
- */
-
-
-! #define MIME_TYPE_FILE "/usr/local/etc/gn_mime.types"
- /*
- * This file contains information permitting mkcache to translate
- * ascertain the MIME "Content-type" from the suffix of a file name
-***************
-*** 109,115 ****
- * If you wish to run at a different port than 70, edit this line.
- */
-
-! #define DECOMPRESS "/usr/local/bin/zcat"
- /*
- * This is the program which does "on the fly" decompression
- */
---- 109,115 ----
- * If you wish to run at a different port than 70, edit this line.
- */
-
-! #define DECOMPRESS "/usr/bin/zcat"
- /*
- * This is the program which does "on the fly" decompression
- */
diff --git a/www/gn/files/patch-ab b/www/gn/files/patch-ab
deleted file mode 100644
index 642c017e8b21..000000000000
--- a/www/gn/files/patch-ab
+++ /dev/null
@@ -1,94 +0,0 @@
-*** Makefile.old Thu May 4 14:49:25 1995
---- Makefile Thu May 4 14:50:11 1995
-***************
-*** 53,69 ****
- @echo "Making gn"
- (cd gn; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL_STRIP)" BINDIR="$(SERVBINDIR)" )
-!
- gn/sgn: config.h
- @echo "Making sgn"
- (cd gn; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL_STRIP)" BINDIR="$(SERVBINDIR)" sgn )
-!
- mkcache/mkcache: config.h
- @echo "Making mkcache"
- (cd mkcache; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL)" BINDIR="$(BINDIR)" )
-!
- waisgn/waisgn: config.h
- @echo "Making waisgn"
- @if [ -d waisgn/ir ] ; then \
---- 53,69 ----
- @echo "Making gn"
- (cd gn; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL_STRIP)" BINDIR="$(SERVBINDIR)" )
-!
- gn/sgn: config.h
- @echo "Making sgn"
- (cd gn; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL_STRIP)" BINDIR="$(SERVBINDIR)" sgn )
-!
- mkcache/mkcache: config.h
- @echo "Making mkcache"
- (cd mkcache; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" \
- INSTALL="$(INSTALL)" BINDIR="$(BINDIR)" )
-!
- waisgn/waisgn: config.h
- @echo "Making waisgn"
- @if [ -d waisgn/ir ] ; then \
-*** gn/Makefile.old Thu May 4 15:05:12 1995
---- gn/Makefile Thu May 4 15:05:19 1995
-***************
-*** 24,30 ****
-
- clean:
- @rm -f *.o *~ gn sgn
-!
- gn.o: gn.h chkcache.h ../config.h
- sgn.o: gn.h gn.c chkcache.h ../config.h
- pselect.o: gn.h ../config.h
---- 24,30 ----
-
- clean:
- @rm -f *.o *~ gn sgn
-!
- gn.o: gn.h chkcache.h ../config.h
- sgn.o: gn.h gn.c chkcache.h ../config.h
- pselect.o: gn.h ../config.h
-*** mkcache/Makefile.old Thu May 4 15:11:06 1995
---- mkcache/Makefile Thu May 4 15:11:06 1995
-***************
-*** 8,14 ****
-
- clean:
- @rm -f *.o *~ mkcache
-!
- mkcache.o: mkcache.h ../config.h
- init.o: mkcache.h ../config.h
- content.o: mkcache.h ../config.h
---- 8,14 ----
-
- clean:
- @rm -f *.o *~ mkcache
-!
- mkcache.o: mkcache.h ../config.h
- init.o: mkcache.h ../config.h
- content.o: mkcache.h ../config.h
-*** waisgn/Makefile.old Thu May 4 15:25:59 1995
---- waisgn/Makefile Thu May 4 15:26:06 1995
-***************
-*** 9,14 ****
-
- clean:
- @rm -f *.o *~ waisgn
-!
- waisgn.o: waisgn.h ../config.h
- ../gn/www.o: ../gn/www.c ../gn/gn.h
---- 9,14 ----
-
- clean:
- @rm -f *.o *~ waisgn
-!
- waisgn.o: waisgn.h ../config.h
- ../gn/www.o: ../gn/www.c ../gn/gn.h
diff --git a/www/gn/pkg-descr b/www/gn/pkg-descr
deleted file mode 100644
index 2b853c5ef3e3..000000000000
--- a/www/gn/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-GN is a combined server for both gopher and http.
-It also has some nice features of its own.
diff --git a/www/gn/pkg-plist b/www/gn/pkg-plist
deleted file mode 100644
index a8e70ff76fa1..000000000000
--- a/www/gn/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-@cwd /usr/local
-etc/gn_mime.types
-libexec/gn
-libexec/sgn
-libexec/waisgn
-bin/mkcache
-gnroot
-@cwd ./gnroot
-@exec ../bin/mkcache -r
diff --git a/www/gn/scripts/configure b/www/gn/scripts/configure
deleted file mode 100644
index b811928e6289..000000000000
--- a/www/gn/scripts/configure
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-
-hostname=`hostname`
-echo -n "Hostname of server machine? [$hostname] "
-read answer; if [ X$answer != X ]; then hostname=$answer; fi
-maintainer="mailto:webmaster@$hostname"
-echo -n "URL to default webmaster? [$maintainer] "
-read answer; if [ X$answer != X ]; then maintainer=$answer; fi
-sed -e "/GN_HOSTNAME/s/\".*\"/\"$hostname\"/" \
- -e "/MAINTAINER/s/\".*\"/\"$maintainer\"/" \
- ${WRKSRC}/config.h >${WRKSRC}/config.h.foo
-mv ${WRKSRC}/config.h.foo ${WRKSRC}/config.h