aboutsummaryrefslogtreecommitdiff
path: root/www/hydra/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-02 14:18:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-04-02 14:18:06 +0000
commit18393e44806090ba2ebdbc7cab2edfc3ff54f671 (patch)
tree3e404c55c7cecd677dc266f639860fa0902dcbdb /www/hydra/files
parent61e06345600212e418fcba159e1088775a22103e (diff)
downloadports-18393e44806090ba2ebdbc7cab2edfc3ff54f671.tar.gz
ports-18393e44806090ba2ebdbc7cab2edfc3ff54f671.zip
Notes
Diffstat (limited to 'www/hydra/files')
-rw-r--r--www/hydra/files/patch-defines.h11
-rw-r--r--www/hydra/files/patch-hydra.conf20
2 files changed, 31 insertions, 0 deletions
diff --git a/www/hydra/files/patch-defines.h b/www/hydra/files/patch-defines.h
new file mode 100644
index 000000000000..71598c2bd715
--- /dev/null
+++ b/www/hydra/files/patch-defines.h
@@ -0,0 +1,11 @@
+--- src/defines.h.orig Wed Apr 2 22:01:06 2003
++++ src/defines.h Wed Apr 2 22:02:48 2003
+@@ -27,7 +27,7 @@
+ /***** Change this, or use -c on the command line to specify it *****/
+
+ #ifndef SERVER_ROOT
+-#define SERVER_ROOT "/etc/hydra"
++#define SERVER_ROOT "%%PREFIX%%/etc/hydra"
+ #endif
+
+ /***** Change this via the CGIPath configuration value in hydra.conf *****/
diff --git a/www/hydra/files/patch-hydra.conf b/www/hydra/files/patch-hydra.conf
new file mode 100644
index 000000000000..8f9706b5662b
--- /dev/null
+++ b/www/hydra/files/patch-hydra.conf
@@ -0,0 +1,20 @@
+--- examples/hydra.conf.orig Wed Apr 2 22:05:45 2003
++++ examples/hydra.conf Wed Apr 2 22:08:18 2003
+@@ -163,7 +163,7 @@
+ # DirectoryIndex are commented out, accessing a directory will give
+ # an error (though accessing files in the directory are still ok).
+
+-DirectoryMaker /usr/lib/hydra/boa_indexer
++DirectoryMaker %%PREFIX%%/bin/boa_indexer
+
+ # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
+ # has been commented out, the the on-the-fly indexing of Hydra can be used
+@@ -199,7 +199,7 @@
+ # Set to /dev/null if you do not want to load a mime types file.
+ # Do *not* comment out (better use AddType!)
+
+-MimeTypes /etc/mime.types
++MimeTypes %%PREFIX%%/etc/hydra/mime.types
+
+ # DefaultType: MIME type used if the file extension is unknown, or there
+ # is no file extension.