openbsd-ports/security/hatchet/patches/patch-sbin_hatchet_mkdb
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

13 lines
416 B
Plaintext

$OpenBSD: patch-sbin_hatchet_mkdb,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
--- sbin/hatchet_mkdb.orig Thu Jun 26 17:21:43 2008
+++ sbin/hatchet_mkdb Thu Jun 26 17:22:32 2008
@@ -10,7 +10,7 @@ use strict;
use DBI;
our $db_file;
-require "/var/www/hatchet/conf/hatchet.conf";
+require "${PREFIX}/hatchet/conf/hatchet.conf";
my $dbh = DBI->connect("DBI:SQLite:dbname=$db_file", "", "") || die $DBI::errstr;