openbsd-ports/security/hatchet/patches/patch-docs_INSTALL
2008-11-30 22:33:29 +00:00

46 lines
1.5 KiB
Plaintext

$OpenBSD: patch-docs_INSTALL,v 1.3 2008/11/30 22:33:30 jdixon Exp $
--- docs/INSTALL.orig Sun Nov 30 00:29:12 2008
+++ docs/INSTALL Sun Nov 30 00:52:21 2008
@@ -15,7 +15,7 @@
1) Install the Hatchet directory
$ tar zxvf hatchet-0.9.2.tar.gz
- $ sudo mv hatchet-0.9.2 /var/www/hatchet
+ $ sudo mv hatchet-0.9.2 ${PREFIX}/hatchet
2) Install the following Perl modules
@@ -33,12 +33,12 @@
4) Add an entry in httpd.conf and restart httpd. Example:
<VirtualHost _default_:80>
- DocumentRoot /var/www/hatchet
+ DocumentRoot ${PREFIX}/hatchet
PerlModule Apache::PerlRun
<Location /cgi/>
SetHandler perl-script
PerlHandler Apache::PerlRun
- PerlRequire /var/www/hatchet/cgi/startup.pl
+ PerlRequire ${PREFIX}/hatchet/cgi/startup.pl
Options ExecCGI
PerlSendHeader On
allow from all
@@ -47,14 +47,14 @@
5) Create the database
- $ cd /var/www/hatchet/sbin/
+ $ cd ${PREFIX}/hatchet/sbin/
$ sudo ./hatchet_mkdb
6) Add the following lines in crontab. If done as a non-root user,
make sure to use sudo.
- 14,29,44,59 * * * * sudo /var/www/hatchet/sbin/hatchet
- 19,34,49,04 * * * * sudo /var/www/hatchet/sbin/hatchart
+ 14,29,44,59 * * * * sudo ${PREFIX}/hatchet/sbin/hatchet
+ 19,34,49,04 * * * * sudo ${PREFIX}/hatchet/sbin/hatchart
7) Voila! That should be everything. If I've forgotten something,
or it's not working quite right for you, please email me at