-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DPorts Builder
committed
Aug 18, 2016
1 parent
94dcbeb
commit bdc841f
Showing
11 changed files
with
170 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Created by: ats (original) | ||
# $FreeBSD$ | ||
|
||
PORTNAME= gopher | ||
PORTVERSION= 3.0.6 | ||
PORTREVISION= 1 | ||
CATEGORIES= net | ||
MASTER_SITES= http://gopher.quux.org:70/give-me-gopher/ \ | ||
http://dl.droso.net/FreeBSD/distfiles/ | ||
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} | ||
WRKSRC= ${WRKDIR}/${PORTNAME} | ||
|
||
MAINTAINER= erwin@FreeBSD.org | ||
COMMENT= Gopher client for access to a distributed document service | ||
|
||
GNU_CONFIGURE= yes | ||
USES= gmake | ||
|
||
pre-patch: | ||
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ | ||
's,<malloc.h>,<stdlib.h>,' | ||
do-install: | ||
${INSTALL_PROGRAM} ${WRKSRC}/gopher/gopher ${STAGEDIR}${PREFIX}/bin/gopher | ||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gopher | ||
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopher.rc | ||
${INSTALL_DATA} ${WRKSRC}/gopher/gopherremote.rc ${STAGEDIR}${PREFIX}/etc/gopher/gopherremote.rc | ||
${INSTALL_DATA} ${WRKSRC}/gopher/gopher.hlp ${STAGEDIR}${PREFIX}/etc/gopher/gopher.hlp | ||
${INSTALL_PROGRAM} ${WRKSRC}/gophfilt/gophfilt ${STAGEDIR}${PREFIX}/bin/gophfilt | ||
${INSTALL_MAN} ${WRKSRC}/doc/gopher.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | ||
${INSTALL_MAN} ${WRKSRC}/doc/gophfilt.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 | ||
${INSTALL_MAN} ${WRKSRC}/doc/gopherrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
USES+= ncurses | ||
|
||
CONFIGURE_ENV+= ac_cv_lib_ncurses_main=yes | ||
|
||
dfly-patch: | ||
${REINPLACE_CMD} -e 's@curses@ncurses@g' \ | ||
-e "/LIBS/s@\(-lncurses\)@-L${LOCALBASE}/lib \1@g" \ | ||
${WRKSRC}/configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (gopher_3.0.6.tar.gz) = 896a21c4d5284a6f1a5f8a20afe6e0ca9c7da7109b8c7de3aa549957dd2b2011 | ||
SIZE (gopher_3.0.6.tar.gz) = 677753 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- object/GSgopherobj.c.intermediate 2016-08-18 16:53:36 UTC | ||
+++ object/GSgopherobj.c | ||
@@ -357,7 +357,9 @@ | ||
|
||
#include "String.h" | ||
#include "STRstring.h" | ||
+#ifndef __DragonFly__ | ||
#include "Regex.h" | ||
+#endif | ||
#include <stdio.h> | ||
#include "compatible.h" | ||
#include <errno.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- gopher/form.c.orig Sun Aug 22 15:55:22 2004 | ||
+++ gopher/form.c Sun Aug 22 15:55:36 2004 | ||
@@ -288,7 +288,8 @@ | ||
case ITEM_UNINIT: /* Unhandled cases... */ | ||
case ITEM_LABEL: | ||
case ITEM_FILENAME: | ||
- } | ||
+ break; | ||
+ } | ||
} | ||
responses[respnum++] = NULL; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- object/BLblock.c.orig Sun Aug 22 15:52:31 2004 | ||
+++ object/BLblock.c Sun Aug 22 15:53:33 2004 | ||
@@ -118,7 +118,7 @@ | ||
STAinit(bl->data.text); | ||
break; | ||
case BDATA_NONE: | ||
- } | ||
+ break;} | ||
} | ||
|
||
/* | ||
@@ -141,7 +141,8 @@ | ||
GSdestroy(bl->data.gs); | ||
break; | ||
case BDATA_NONE: | ||
- } | ||
+ break; | ||
+ } | ||
} | ||
|
||
/* | ||
@@ -174,7 +175,8 @@ | ||
BLsetText(dest, orig->data.text); | ||
break; | ||
case BDATA_NONE: | ||
- } | ||
+ break; | ||
+ } | ||
} | ||
|
||
|
||
@@ -209,7 +211,8 @@ | ||
case BDATA_NONE: | ||
case BDATA_FILE: | ||
case BDATA_GREF: | ||
- } | ||
+ break; | ||
+ } | ||
return(NULL); | ||
} | ||
|
||
@@ -343,7 +346,8 @@ | ||
fclose(infile); | ||
break; | ||
case BDATA_NONE: | ||
- } | ||
+ break; | ||
+ } | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- object/GSgopherobj.c.orig Sun Aug 22 15:51:21 2004 | ||
+++ object/GSgopherobj.c Sun Aug 22 15:51:30 2004 | ||
@@ -2003,7 +2003,7 @@ | ||
case news: | ||
case unset: | ||
case unknown: | ||
- } | ||
+ break;} | ||
|
||
if (serviceType == ftp) { | ||
if (!(doneflags & G_PATH)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- object/Regex.c.orig Wed Dec 18 22:49:17 2002 | ||
+++ object/Regex.c Wed Dec 18 22:49:29 2002 | ||
@@ -51,8 +51,8 @@ | ||
|
||
#define REGEX_CODEIT /* only include sysv regex code once.. */ | ||
#include "config.h" | ||
-#include "Regex.h" | ||
#include "Malloc.h" | ||
+#include "Regex.h" | ||
|
||
/************************************************** | ||
POSIX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- object/url.c.orig Sun Aug 22 15:54:02 2004 | ||
+++ object/url.c Sun Aug 22 15:54:25 2004 | ||
@@ -362,7 +362,8 @@ | ||
case ftp: | ||
case unset: | ||
case unknown: | ||
- } | ||
+ break; | ||
+ } | ||
URLsetHost(url, cp); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The Internet Gopher is a distributed document delivery service. It | ||
allows a neophyte user to access various types of data residing on | ||
multiple hosts in a seamless fashion. This is accomplished by | ||
presenting the user a hierarchical arrangement of documents and by | ||
using a client-server communications model. The Internet Gopher | ||
Server accepts simple queries, and responds by sending the client | ||
a document. | ||
|
||
University of Minnesota |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bin/gopher | ||
bin/gophfilt | ||
etc/gopher/gopher.rc | ||
etc/gopher/gopherremote.rc | ||
etc/gopher/gopher.hlp | ||
man/man1/gopher.1.gz | ||
man/man1/gophfilt.1.gz | ||
man/man5/gopherrc.5.gz |