Files
macports-ports/net/oinkmaster/files/patch-oinkmaster.pl.diff

30 lines
959 B
Diff

--- oinkmaster.pl.orig 2006-02-18 06:35:21.000000000 -0600
+++ oinkmaster.pl 2015-10-09 10:15:09.000000000 -0500
@@ -2,7 +2,7 @@
# $Id: oinkmaster.pl,v 1.406 2006/02/10 13:02:44 andreas_o Exp $ #
-# Copyright (c) 2001-2006 Andreas Östling <andreaso@it.su.se>
+# Copyright (c) 2001-2006 Andreas Östling <andreaso@it.su.se>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
@@ -83,7 +83,7 @@
my $VERSION = 'Oinkmaster v2.0, Copyright (C) 2001-2006 '.
- 'Andreas Östling <andreaso@it.su.se>';
+ 'Andreas Östling <andreaso@it.su.se>';
my $OUTFILE = 'snortrules.tar.gz';
my $RULES_DIR = 'rules';
@@ -133,7 +133,7 @@
# Default locations for configuration file.
my @DEFAULT_CONFIG_FILES = qw(
/etc/oinkmaster.conf
- /usr/local/etc/oinkmaster.conf
+ @PREFIX@/etc/oinkmaster.conf
);
my @DEFAULT_DIST_VAR_FILES = qw(