openbsd-ports/security/hatchet/patches/patch-docs_README_OpenBSD
jdixon 7040485983 Hatchet is a log parsing/presentation program written for PF firewall
logs, such as those found in OpenBSD. It offers a browser-based interface
for quickly reviewing log events and performing deeper analysis.

help from okan@ and merdely@
ok ajacoutot@
2008-06-27 15:16:01 +00:00

36 lines
1.3 KiB
Plaintext

$OpenBSD: patch-docs_README_OpenBSD,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
--- docs/README.OpenBSD.orig Mon Jun 23 21:39:58 2008
+++ docs/README.OpenBSD Mon Jun 23 21:40:19 2008
@@ -13,12 +13,12 @@ To finish installing Hatchet, the following steps must
2) 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
@@ -27,13 +27,13 @@ To finish installing Hatchet, the following steps must
3) Create the database
- $ cd /var/www/hatchet/sbin/
+ $ cd ${PREFIX}/hatchet/sbin/
$ sudo ./hatchet_mkdb
4) 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