aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2009-10-29 01:27:53 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2009-10-29 01:27:53 +0000
commit2728a73425d0ee42930352d4642af736369cbae7 (patch)
treee32a24f8dd5753a672ae974d10d8302812aa6e56 /security
parente81ba101d7c6dc846cc514c26caf83b0de93fea8 (diff)
Notes
Diffstat (limited to 'security')
-rw-r--r--security/snort/Makefile1
-rw-r--r--security/snort/files/snort.sh.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 3517810a5aac..aeb1e3b6ce1b 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snort
PORTVERSION= 2.8.5.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/ \
http://dl.snort.org/snort-current/
diff --git a/security/snort/files/snort.sh.in b/security/snort/files/snort.sh.in
index ac28ce84315c..59ea342156c2 100644
--- a/security/snort/files/snort.sh.in
+++ b/security/snort/files/snort.sh.in
@@ -10,7 +10,7 @@
# snort_enable (bool): Set to YES to enable snort
# Default: NO
# snort_flags (str): Extra flags passed to snort
-# Default: -Dq
+# Default: -D -q
# snort_interface (str): Network interface to sniff
# Default: ""
# snort_conf (str): Snort configuration file
@@ -34,7 +34,7 @@ load_rc_config $name
[ -z "$snort_enable" ] && snort_enable="NO"
[ -z "$snort_conf" ] && snort_conf="%%PREFIX%%/etc/snort/snort.conf"
-[ -z "$snort_flags" ] && snort_flags="-Dq"
+[ -z "$snort_flags" ] && snort_flags="-D -q"
[ -n "$snort_interface" ] && snort_flags="$snort_flags -i $snort_interface" \
&& pidfile="/var/run/snort_${snort_interface}.pid"