SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- conf.h.orig Wed Jul 20 11:28:52 2005
+++ conf.h Wed Dec 13 12:42:51 2006
@@ -144,7 +144,7 @@
* Set CLIENT2_PORT to 0 if you only want one root machine
*/
-#define CLIENT1_HOST "gopherproject.org"
+#define CLIENT1_HOST "quux.org"
#define CLIENT1_PATH "/Software/Gopher"
#define CLIENT1_PORT 70

View file

@ -0,0 +1,16 @@
--- 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
+!!PREFIX!!/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,20 @@
--- 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,11 @@
--- gopher/Makefile.in.orig Wed Jul 20 17:28:52 2005
+++ gopher/Makefile.in Fri Nov 29 18:31:23 2013
@@ -132,7 +132,7 @@ OBJS = manager.o gopher.o globals.o ourutils.o cso.o \
CCFLAGS = $(OPT) $(DEBUGGING) -I.. -I$(top_srcdir) -I$(top_srcdir)/object \
$(INTLOPTS) $(CLIENTOPTS) -DGOPHERLIB=\"$(CLIENTLIB)\" \
- -DGOPHERHELP=\"$(CLIENTLIB)/gopher.hlp\" \
+ -DGOPHERHELP=\"${PREFIX}/share/gopher/gopher.hlp\" \
-DGLOBALRC=\"$(CLIENTLIB)/gopher.rc\" \
-DREMOTERC=\"$(CLIENTLIB)/gopherremote.rc\"

View file

@ -0,0 +1,14 @@
--- object/GSgopherobj.c.orig Wed Jul 20 17:28:53 2005
+++ object/GSgopherobj.c Fri Nov 29 18:18:13 2013
@@ -1870,9 +1870,9 @@ GSfromLink(
}
/** Check for domain using regexps **/
- if (re_comp(host))
+ if (gopher_re_comp(host))
break;
- if (re_exec(peer) == 1)
+ if (gopher_re_exec(peer) == 1)
BadDomain = TestResult;
else
BadDomain = !TestResult;

View file

@ -0,0 +1,19 @@
--- object/Regex.h.orig Wed Jul 20 17:28:53 2005
+++ object/Regex.h Fri Nov 29 19:13:00 2013
@@ -177,10 +177,14 @@ 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))
+#define gopher_re_comp(a) (posix_re_comp(a))
+#define gopher_re_exec(a) (posix_re_exec(a))
+
#else
+#define gopher_re_comp(a) (re_comp(a))
+#define gopher_re_exec(a) (re_comp(a))
+
/* ********** Try to figure out what else they have. */
#ifdef HAVE_RE_COMP