- fix default flags setting
- bump PORTREVISION Submitted by: Andrea Venturoli <ml_AT_netfence dot it>
This commit is contained in:
parent
e81ba101d7
commit
2728a73425
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243438
@ -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/
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user