openbsd-ports/security/hatchet/patches/patch-sbin_hatchart
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
505 B
Plaintext

$OpenBSD: patch-sbin_hatchart,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
--- sbin/hatchart.orig Thu Jun 26 17:21:31 2008
+++ sbin/hatchart Thu Jun 26 17:22:09 2008
@@ -12,7 +12,7 @@ use DBD::Chart;
use Time::Local qw( timelocal );
our ($db_file, $ipv6, $max_wedges, $width, $height, $graphs_dir);
-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;
my $date = get_date();