summaryrefslogtreecommitdiff
path: root/www/marc-search/files/patch-aa
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>1998-12-01 02:15:41 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>1998-12-01 02:15:41 +0000
commitced1aaaae3cee1ad1236d20bbe1751425bea4f89 (patch)
tree74fe5c6e66c7a1e8fc42049c3a8dfa523991d904 /www/marc-search/files/patch-aa
parentChange categories to "audio kde". It was (believe me or not) "x11". (diff)
Import of a port for `marc-search' which offers a web based search
interface for the MHonArc mail archiver. Reviewed by: jkoshy Submitted by: Sheldon Hearn <axl@iafrica.com> (maintainer)
Notes
Notes: svn path=/head/; revision=14970
Diffstat (limited to 'www/marc-search/files/patch-aa')
-rw-r--r--www/marc-search/files/patch-aa40
1 files changed, 40 insertions, 0 deletions
diff --git a/www/marc-search/files/patch-aa b/www/marc-search/files/patch-aa
new file mode 100644
index 000000000000..31cae9b91d11
--- /dev/null
+++ b/www/marc-search/files/patch-aa
@@ -0,0 +1,40 @@
+--- marc-search.cgi.orig Fri Apr 4 22:06:42 1997
++++ marc-search.cgi Sat Nov 28 17:59:27 1998
+@@ -1,3 +1,3 @@
+-#!/dcs/bin/perl5 -w
++#!/usr/local/bin/perl
+ ##------------------------------------------------------------------------##
+ ## File:
+@@ -15,14 +15,13 @@
+ ## Configurable options - described in great detail in the POD - READ IT!
+
+-my $server = 'http://eee.uci.edu';
+-my $help = $server . '/toolbox/marc-search.html';
+-my $doc_root = '/Web/doc';
+-my $script = $server . '/cgi-bin/marc-search.edf.cgi';
+-my $usersubdir = 'public_html'; # Tells which subdirectory of
+- # a user's home directory
+- # (file system) corresponds to
+- # http://server/~user/ . (Only
+- # needed if marc-search
+- # supports URLs with tildes.)
++require AppCfg;
++
++my ($server, $help, $doc_root, $script, $usersubdir);
++my $my_config = new AppCfg "/usr/local/etc/marc-search.conf";
++$server = $my_config->get_scalar("server");
++$help = $my_config->get_scalar("help");
++$doc_root = $my_config->get_scalar("doc_root");
++$script = $my_config->get_scalar("script");
++$usersubdir = $my_config->get_scalar("usersubdir");
+
+ ##------------------------------------------------------------------------##
+@@ -30,6 +29,6 @@
+
+ # This next line tells perl where the CGI_Lite module was installed.
+-use lib '/users/asc/friedman/www/cgi-bin';
+-use lib '/Web/httpd/cgi-bin';
++use lib '/usr/local/lib/perl5/site_perl/5.005';
++use lib '/usr/local/lib/perl5/site_perl/5.005/Marc';
+ use CGI_Lite; # Substitute other CGI libraries if need be (see next section)
+ use strict;