summaryrefslogtreecommitdiff
path: root/www/webglimpse
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-11-03 07:11:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-11-03 07:11:28 +0000
commit9fa132f8013dc5b96bf03ffdb051b0953f87186c (patch)
treefda1bc8952e222467135486c82690119829b33cc /www/webglimpse
parenthad no offical maintainer and I'm starting to use bzip2 more and more. (diff)
minor tweaks
Notes
Notes: svn path=/head/; revision=14326
Diffstat (limited to 'www/webglimpse')
-rw-r--r--www/webglimpse/files/patch-ak28
-rw-r--r--www/webglimpse/files/patch-ao5
2 files changed, 18 insertions, 15 deletions
diff --git a/www/webglimpse/files/patch-ak b/www/webglimpse/files/patch-ak
index 50f315de115a..f6424bcd6ac3 100644
--- a/www/webglimpse/files/patch-ak
+++ b/www/webglimpse/files/patch-ak
@@ -1,5 +1,5 @@
--- cgi-bin/webglimpse.orig Mon Jul 27 22:59:49 1998
-+++ cgi-bin/webglimpse Mon Nov 2 15:06:45 1998
++++ cgi-bin/webglimpse Tue Nov 3 09:20:24 1998
@@ -39,6 +39,9 @@
# **** **** **** **** CONFIGURABLE VARIABLES **** **** **** ****
# We need some of these to find our libraries, so wrap them in a BEGIN block
@@ -10,7 +10,7 @@
BEGIN{
$WEBGLIMPSE_HOME = "/usr/local/webglimpse";
-@@ -117,14 +120,21 @@
+@@ -117,16 +120,21 @@
# Added optional module to support result caching
$QS_cache = '';
@@ -30,11 +30,13 @@
# might as well start the message now
-print "Content-type: text/html\n\n";
+-
+-print "<!-- TESTING -->\n";
+print "Content-type: text/html$charset\n\n";
- print "<!-- TESTING -->\n";
+ }
-@@ -216,10 +226,20 @@
+@@ -216,10 +224,20 @@
$nhhops = 0;
$traverse_type = 0;
$urlpath = '';
@@ -56,7 +58,7 @@
# Ensure that Glimpse is available on this machine
-x $GLIMPSE_LOC || &err_noglimpse($GLIMPSE_LOC) ;
-@@ -667,7 +687,7 @@
+@@ -667,7 +685,7 @@
sub err_noneighborhood {
local($_) = @_;
@@ -65,7 +67,7 @@
# neighborhood does not exist
print <<EOM;
<hr>
-@@ -683,6 +703,7 @@
+@@ -683,6 +701,7 @@
##########################################################################
sub err_noquery {
@@ -73,7 +75,7 @@
# The script was called without a query.
# Provide an ISINDEX type response for browsers
# without form support.
-@@ -732,6 +753,7 @@
+@@ -732,6 +751,7 @@
##########################################################################
sub err_noglimpse {
local($_) = @_;
@@ -81,7 +83,7 @@
#
# Glimpse was not found
# Report a useful message
-@@ -756,6 +778,7 @@
+@@ -756,6 +776,7 @@
##########################################################################
sub err_badglimpse {
my(@glines) = @_;
@@ -89,7 +91,7 @@
#
# Glimpse had an error
# Report a useful message
-@@ -786,6 +809,7 @@
+@@ -786,6 +807,7 @@
##########################################################################
sub err_noindex {
local ($indexdir) = @_;
@@ -97,7 +99,7 @@
# Glimpse index was not found
# Give recommendations for indexing
print "<TITLE>Glimpse Index not found</TITLE>\n";
-@@ -801,6 +825,7 @@
+@@ -801,6 +823,7 @@
}
##########################################################################
sub err_insecurepath {
@@ -105,7 +107,7 @@
# Path user requested contains ".." characters
print "<TITLE>Path not accepted</TITLE>\n";
print "</HEAD>\n";
-@@ -814,6 +839,7 @@
+@@ -814,6 +837,7 @@
##########################################################################
sub err_conf {
@@ -113,7 +115,7 @@
# Glimpse archive Configuration File was not found
print "<TITLE>Glimpse Archive Configuration File not found</TITLE>\n";
print "</HEAD>\n";
-@@ -827,6 +853,7 @@
+@@ -827,6 +851,7 @@
##########################################################################
sub err_badquery {
@@ -121,7 +123,7 @@
print "<TITLE>Query is too broad</TITLE>\n";
print "</HEAD>\n";
print "<BODY>\n";
-@@ -840,6 +867,7 @@
+@@ -840,6 +865,7 @@
##########################################################################
sub err_locked {
diff --git a/www/webglimpse/files/patch-ao b/www/webglimpse/files/patch-ao
index 470744b67433..ca62b4fa788d 100644
--- a/www/webglimpse/files/patch-ao
+++ b/www/webglimpse/files/patch-ao
@@ -1,6 +1,6 @@
--- dist/wgfilter-index.orig Tue Jun 16 02:16:17 1998
-+++ dist/wgfilter-index Mon Nov 2 22:11:17 1998
-@@ -1,26 +1,59 @@
++++ dist/wgfilter-index Tue Nov 3 09:41:31 1998
+@@ -1,26 +1,60 @@
Deny \.gif$
Deny \.jpeg$
Deny \.mpeg$
@@ -37,6 +37,7 @@
+Deny \.lha$
+Deny \.lzh$
+Deny \.doc$
++Deny \.bin$
+Deny \.eps$
Deny \.ps$
+Deny \.js$