aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/htdig/files
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-02-04 15:22:00 +0800
committerdougb <dougb@FreeBSD.org>2002-02-04 15:22:00 +0800
commitfe24f8d131a11a8ec8dda32008d4e91dd22714fc (patch)
tree9891c7e5f8477f50cd11cf5ca8f2da6546ba1494 /textproc/htdig/files
parentee8ebca71ee19f5a09090e28490d790d9e853f10 (diff)
downloadfreebsd-ports-graphics-fe24f8d131a11a8ec8dda32008d4e91dd22714fc.tar.gz
freebsd-ports-graphics-fe24f8d131a11a8ec8dda32008d4e91dd22714fc.tar.zst
freebsd-ports-graphics-fe24f8d131a11a8ec8dda32008d4e91dd22714fc.zip
* Upgrade to version 3.1.6, which fixes numerous bugs, and one possible
security problem that was present in the unpatched 3.1.5. * Update the master sites list. * Configure more precisely several important directories, partly to compensate for some of the new defaults, and partly to avoid potential future security problems regarding remote users being able to read files specified as config files. This vulnerability was patched already, and the fix is included in this version. However, a little paranoia never hurt anyone. * Remove the patches, as they have either been made obsolete by the new version, or as in the pthreads issue, I'm doing them differently in the Makefile. * Make the patching in the Makefile smarter. * Put my name in the pkg-descr.... overlooked previously. * Adjust the pkg-plist, and sort it since the bloat is the same either way. Thanks to Palle Girgensohn <girgen@partitur.se> for the suggestion in the PR to place the conf file in its own directory. PR: ports/26058
Diffstat (limited to 'textproc/htdig/files')
-rw-r--r--textproc/htdig/files/patch-DB2_db.cc.new10
-rw-r--r--textproc/htdig/files/patch-ab22
-rw-r--r--textproc/htdig/files/patch-htsearch_cc24
3 files changed, 0 insertions, 56 deletions
diff --git a/textproc/htdig/files/patch-DB2_db.cc.new b/textproc/htdig/files/patch-DB2_db.cc.new
deleted file mode 100644
index b9751d79f8c..00000000000
--- a/textproc/htdig/files/patch-DB2_db.cc.new
+++ /dev/null
@@ -1,10 +0,0 @@
---- htlib/DB2_db.cc Thu Feb 24 18:29:11 2000
-+++ htlib/DB2_db.cc.new Tue Dec 11 00:16:27 2001
-@@ -44,7 +44,6 @@
- #include <errno.h>
- #include <stdlib.h>
- #include <fstream.h>
--#include <malloc.h>
- #include <unistd.h>
-
- // Where do I need this for? I don't know.
diff --git a/textproc/htdig/files/patch-ab b/textproc/htdig/files/patch-ab
deleted file mode 100644
index 8cac20bc895..00000000000
--- a/textproc/htdig/files/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
---- db/dist/configure.orig Thu Feb 24 18:29:00 2000
-+++ db/dist/configure Sat Feb 26 13:25:13 2000
-@@ -3056,7 +3056,7 @@
-
- case "$host_os" in
- freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS"
-- LIBS="-lc_r";;
-+ LIBS="-pthread";;
- irix*) CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";;
- osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
- solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS"
---- db/dist/configure.in.orig Thu Feb 24 18:29:00 2000
-+++ db/dist/configure.in Sat Feb 26 13:25:13 2000
-@@ -405,7 +405,7 @@
- dnl libraries for threaded applications
- case "$host_os" in
- freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS"
-- LIBS="-lc_r";;
-+ LIBS="-pthread";;
- irix*) CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";;
- osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
- solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS"
diff --git a/textproc/htdig/files/patch-htsearch_cc b/textproc/htdig/files/patch-htsearch_cc
deleted file mode 100644
index 5a92dba5745..00000000000
--- a/textproc/htdig/files/patch-htsearch_cc
+++ /dev/null
@@ -1,24 +0,0 @@
---- htsearch/htsearch.cc.Dist Thu Feb 24 18:29:11 2000
-+++ htsearch/htsearch.cc Mon Sep 24 23:57:28 2001
-@@ -77,9 +77,18 @@
- switch (c)
- {
- case 'c':
-- configFile = optarg;
-- override_config=1;
-- break;
-+ // The default is obviously to do this securely
-+ // but if people want to shoot themselves in the foot...
-+#ifndef ALLOW_INSECURE_CGI_CONFIG
-+ if (!getenv("REQUEST_METHOD"))
-+ {
-+#endif
-+ configFile = optarg;
-+ override_config=1;
-+#ifndef ALLOW_INSECURE_CGI_CONFIG
-+ }
-+#endif
-+ break;
- case 'v':
- debug++;
- break;