mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
49 lines
2.0 KiB
Plaintext
49 lines
2.0 KiB
Plaintext
$NetBSD: patch-ae,v 1.5 2007/10/21 00:22:53 adrianp Exp $
|
|
|
|
--- etc/snort.conf.orig 2007-09-07 19:32:45.000000000 +0100
|
|
+++ etc/snort.conf
|
|
@@ -107,8 +107,8 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28.
|
|
# Path to your rules files (this can be a relative path)
|
|
# Note for Windows users: You are advised to make this an absolute path,
|
|
# such as: c:\snort\rules
|
|
-var RULE_PATH ../rules
|
|
-var PREPROC_RULE_PATH ../preproc_rules
|
|
+var RULE_PATH @PREFIX@/share/snort/rules
|
|
+var PREPROC_RULE_PATH @PREFIX@/share/snort/preproc_rules
|
|
|
|
# Configure the snort decoder
|
|
# ============================
|
|
@@ -191,27 +191,27 @@ var PREPROC_RULE_PATH ../preproc_rules
|
|
# Load all dynamic preprocessors from the install path
|
|
# (same as command line option --dynamic-preprocessor-lib-dir)
|
|
#
|
|
-dynamicpreprocessor directory /usr/local/lib/snort_dynamicpreprocessor/
|
|
+dynamicpreprocessor directory @PREFIX@/lib/snort_dynamicpreprocessor/
|
|
#
|
|
# Load a specific dynamic preprocessor library from the install path
|
|
# (same as command line option --dynamic-preprocessor-lib)
|
|
#
|
|
-# dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libdynamicexample.so
|
|
+# dynamicpreprocessor file @PREFIX@/lib/snort_dynamicpreprocessor/libdynamicexample.so
|
|
#
|
|
# Load a dynamic engine from the install path
|
|
# (same as command line option --dynamic-engine-lib)
|
|
#
|
|
-dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so
|
|
+dynamicengine @PREFIX@/lib/snort_dynamicengine/libsf_engine.so
|
|
#
|
|
# Load all dynamic rules libraries from the install path
|
|
# (same as command line option --dynamic-detection-lib-dir)
|
|
#
|
|
-# dynamicdetection directory /usr/local/lib/snort_dynamicrule/
|
|
+# dynamicdetection directory @PREFIX@/lib/snort_dynamicrule/
|
|
#
|
|
# Load a specific dynamic rule library from the install path
|
|
# (same as command line option --dynamic-detection-lib)
|
|
#
|
|
-# dynamicdetection file /usr/local/lib/snort_dynamicrule/libdynamicexamplerule.so
|
|
+# dynamicdetection file @PREFIX@/lib/snort_dynamicrule/libdynamicexamplerule.so
|
|
#
|
|
|
|
###################################################
|