import gopher 3.0.11

This is the Gopher+ distribution based on the University of Minnesota's
Internet Gopher+ distribution for UNIX machines.  University of
Minnesota actively developed this software until 1995.  In 2000, they
released it to the public under the GNU General Public License.

submitted by Deanna Phillips <deanna at sdf.lonestar.org>

ok bernd@, looks good jasper@
This commit is contained in:
steven 2006-07-31 12:52:20 +00:00
parent 76cef059f5
commit 95ef5ed2f2
8 changed files with 136 additions and 0 deletions

44
net/gopher/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
COMMENT= "distributed document delivery client"
DISTNAME= gopher_3.0.11
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= net
HOMEPAGE= http://quux.org/devel/gopher/Downloads/
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
WANTLIB= c m curses termcap
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
MAKE_FLAGS= CLIENTLIB=${SYSCONFDIR}/gopher
WRKDIST= ${WRKDIR}/gopher
NO_REGRESS= Yes
pre-install:
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g;" \
-e "s,!!SYSCONFDIR!!,${SYSCONFDIR},g" ${WRKSRC}/doc/gopher.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gopher/gopher ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gophfilt/gophfilt ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/goph*.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/gopherrc.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/gopher
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.hlp ${PREFIX}/share/gopher
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gopher
${INSTALL_DATA} ${WRKSRC}/gopher/gopher*.rc \
${PREFIX}/share/examples/gopher
.include <bsd.port.mk>

4
net/gopher/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (gopher_3.0.11.tar.gz) = dc84de97a4fc5052a47053a2beabf2ee
RMD160 (gopher_3.0.11.tar.gz) = 197ee4263612901191e9c964a749586826e350c2
SHA1 (gopher_3.0.11.tar.gz) = 7f64d5fcfa8b92967f94276b1697fda127624f98
SIZE (gopher_3.0.11.tar.gz) = 318250

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-doc_gopher_1,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
--- doc/gopher.1.orig Sun Jul 30 21:52:38 2006
+++ doc/gopher.1 Sun Jul 30 21:55:12 2006
@@ -227,11 +227,11 @@ The program used to print from a pipe.
$HOME/.gopherrc
user bookmarks and configuration information
.TP
-/usr/local/lib/gopher.rc
+!!SYSCONFDIR!!/gopher/gopher.rc
system default configuration information (default location - may be
somewhere else on your system)
.TP
-/usr/local/lib/gopher.hlp
+!!LOCALBASE!!/share/gopher/gopher.hlp
client help file displayed by the '?' command (default location - may be
somewhere else on your system)

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-doc_gopherrc_5,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
--- doc/gopherrc.5.orig Sun Jul 30 21:55:39 2006
+++ doc/gopherrc.5 Sun Jul 30 21:56:59 2006
@@ -77,10 +77,8 @@ then search words will be bolded. Other
.TP 12
.I Bookmarks:
.LP
-The bookmarks in .link format follow. For more information on the
-format of a .link file, consult the gopherd(8) manual page.
+The bookmarks in .link format follow.
-
.I
Sample gopherrc file:
@@ -102,4 +100,4 @@ Sample gopherrc file:
.SH "SEE ALSO"
.IR "Media Type Registration Procedure" ", March 1994, RFC 1590"
-.IR gopher(1), gopherd(8)
+.IR gopher(1).

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gopher_Makefile_in,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
--- gopher/Makefile.in.orig Fri Jul 28 20:19:27 2006
+++ gopher/Makefile.in Fri Jul 28 20:20:44 2006
@@ -132,7 +132,7 @@ OBJS = manager.o gopher.o globals.o ouru
CCFLAGS = $(OPT) $(DEBUGGING) -I.. -I$(top_srcdir) -I$(top_srcdir)/object \
$(INTLOPTS) $(CLIENTOPTS) -DGOPHERLIB=\"$(CLIENTLIB)\" \
- -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\" \
+ -DGOPHERHELP=\"${LOCALBASE}/share/gopher/gopher.hlp\" \
-DGLOBALRC=\"$(CLIENTLIB)/gopher.rc\" \
-DREMOTERC=\"$(CLIENTLIB)/gopherremote.rc\"

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-object_Regex_h,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
--- object/Regex.h.orig Wed Jul 26 12:56:33 2006
+++ object/Regex.h Wed Jul 26 12:56:44 2006
@@ -171,14 +171,6 @@
#warning REGEX_POSIX defined but REG_EXTENDED not found.
#endif
-/* These are named posix_re_comp and then #defined to the original names
-because MacOS X is nice enough to typedef re_comp and re_exec differently
-in unistd.h. Eww. */
-
-char *posix_re_comp(char *regex);
-int posix_re_exec(char *string);
-#define re_comp(a) (posix_re_comp(a))
-#define re_exec(a) (posix_re_exec(a))
#else
/* ********** Try to figure out what else they have. */

6
net/gopher/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
This is the Gopher+ distribution based on the University of Minnesota's
Internet Gopher+ distribution for UNIX machines. University of
Minnesota actively developed this software until 1995. In 2000, they
released it to the public under the GNU General Public License. This
represents the latest version of their tree, as adopted by a group of
programmers.

14
net/gopher/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/31 12:52:20 steven Exp $
bin/gopher
bin/gophfilt
@man man/man1/gopher.1
@man man/man1/gophfilt.1
@man man/man5/gopherrc.5
share/examples/gopher/
@sample ${SYSCONFDIR}/gopher/
share/examples/gopher/gopher.rc
@sample ${SYSCONFDIR}/gopher/gopher.rc
share/examples/gopher/gopherremote.rc
@sample ${SYSCONFDIR}/gopher/gopherremote.rc
share/gopher/
share/gopher/gopher.hlp