- Fixed some errors introduced during the upgrade from version 0.6.1 to 0.7.0.
- Bump PORTREVISION. Reported by: pointyhat via erwin, pav Submitted by: Paul Schmehl <pauls@utdallas.edu> (maintainer)
This commit is contained in:
parent
c83b0f98e8
commit
1c5cddb1cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213417
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= sguil-sensor
|
||||
PORTVERSION= 0.7.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR= sguil
|
||||
|
34
security/sguil-sensor/files/example_agent.sh.in
Normal file
34
security/sguil-sensor/files/example_agent.sh.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: example_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable example_agent:
|
||||
# example_agent_enable (bool): Set to YES to enable example_agent
|
||||
# Default: NO
|
||||
# example_agent_conf (str): Example_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/example_agent.conf
|
||||
# example_agent_flags (str): Default: -D
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
load_rc_config example_agent
|
||||
|
||||
#set defaults
|
||||
example_agent_enable=${example_agent_enable:-"NO"}
|
||||
example_agent_conf=${example_agent_conf:-"%%PREFIX%%/etc/%%SGUILDIR%%/example_agent.conf"}
|
||||
example_agent_flags=${example_agent_flags:-"-D"}
|
||||
|
||||
name="example_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/example_agent.tcl"
|
||||
command_args="-c ${example_agent_conf} ${example_agent_flags}"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
run_rc_command "$1"
|
34
security/sguil-sensor/files/pads_agent.sh.in
Normal file
34
security/sguil-sensor/files/pads_agent.sh.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: pads_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable pads_agent:
|
||||
# pads_agent_enable (bool): Set to YES to enable pads_agent
|
||||
# Default: NO
|
||||
# pads_agent_conf (str): Pads_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/pads_agent.conf
|
||||
# pads_agent_flags (str): Default: -D
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
load_rc_config pads_agent
|
||||
|
||||
#set defaults
|
||||
pads_agent_enable=${pads_agent_enable:-"NO"}
|
||||
pads_agent_conf=${pads_agent_conf:-"%%PREFIX%%/etc/%%SGUILDIR%%/pads_agent.conf"}
|
||||
pads_agent_flags=${pads_agent_flags:-"-D"}
|
||||
|
||||
name="pads_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/pads_agent.tcl"
|
||||
command_args="-c ${pads_agent_conf} ${pads_agent_flags}"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
run_rc_command "$1"
|
34
security/sguil-sensor/files/pcap_agent.sh.in
Normal file
34
security/sguil-sensor/files/pcap_agent.sh.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: pcap_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable pcap_agent:
|
||||
# pcap_agent_enable (bool): Set to YES to enable pcap_agent
|
||||
# Default: NO
|
||||
# pcap_agent_conf (str): Pcap_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/pcap_agent.conf
|
||||
# pcap_agent_flags (str): Default: -D
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
load_rc_config pcap_agent
|
||||
|
||||
#set defaults
|
||||
pcap_agent_enable=${pcap_agent_enable:-"NO"}
|
||||
pcap_agent_conf=${pcap_agent_conf:-"%%PREFIX%%/etc/%%SGUILDIR%%/pcap_agent.conf"}
|
||||
pcap_agent_flags=${pcap_agent_flags:-"-D"}
|
||||
|
||||
name="pcap_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/pcap_agent.tcl"
|
||||
command_args="-c ${pcap_agent_conf} ${pcap_agent_flags}"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
run_rc_command "$1"
|
34
security/sguil-sensor/files/sancp_agent.sh.in
Normal file
34
security/sguil-sensor/files/sancp_agent.sh.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: sancp_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable sancp_agent:
|
||||
# sancp_agent_enable (bool): Set to YES to enable sancp_agent
|
||||
# Default: NO
|
||||
# sancp_agent_conf (str): Sancp_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/sancp_agent.conf
|
||||
# sancp_agent_flags (str): Default: -D
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
load_rc_config sancp_agent
|
||||
|
||||
#set defaults
|
||||
sancp_agent_enable=${sancp_agent_enable:-"NO"}
|
||||
sancp_agent_conf=${sancp_agent_conf:-"%%PREFIX%%/etc/%%SGUILDIR%%/sancp_agent.conf"}
|
||||
sancp_agent_flags=${sancp_agent_flags:-"-D"}
|
||||
|
||||
name="sancp_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/sancp_agent.tcl"
|
||||
command_args="-c ${sancp_agent_conf} ${sancp_agent_flags}"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
run_rc_command "$1"
|
@ -1,34 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: sensor_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable sensor_agent:
|
||||
# sensor_agent_enable (bool): Set to YES to enable sensor_agent
|
||||
# Default: NO
|
||||
# sensor_agent_flags (str): Extra flags passed to sensor_agent
|
||||
# Default: -D
|
||||
# sensor_agent_conf (str): Sensor_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/sensor_agent.conf
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="sensor_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/sensor_agent.tcl"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
[ -z "$sensor_agent_enable" ] && sensor_agent_enable="NO"
|
||||
[ -z "$sensor_agent_conf" ] && sensor_agent_conf="%%PREFIX%%/etc/sensor_agent.conf"
|
||||
[ -z "$sensor_agent_flags" ] && sensor_agent_flags="-D"
|
||||
|
||||
[ -n "$sensor_agent_conf" ] && sensor_agent_flags="$sensor_agent_flags -c $sensor_agent_conf"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
34
security/sguil-sensor/files/snort_agent.sh.in
Normal file
34
security/sguil-sensor/files/snort_agent.sh.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: snort_agent
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable snort_agent:
|
||||
# snort_agent_enable (bool): Set to YES to enable snort_agent
|
||||
# Default: NO
|
||||
# snort_agent_conf (str): Snort_agent configuration file
|
||||
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/snort_agent.conf
|
||||
# snort_agent_flags (str): Default: -D
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
load_rc_config snort_agent
|
||||
|
||||
#set defaults
|
||||
snort_agent_enable=${snort_agent_enable:-"NO"}
|
||||
snort_agent_conf=${snort_agent_conf:-"%%PREFIX%%/etc/%%SGUILDIR%%/snort_agent.conf"}
|
||||
snort_agent_flags=${snort_agent_flags:-"-D"}
|
||||
|
||||
name="snort_agent"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/%%SGUILDIR%%/snort_agent.tcl"
|
||||
command_args="-c ${snort_agent_conf} ${snort_agent_flags}"
|
||||
procname="%%PREFIX%%/bin/tclsh8.4"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
check_pidfile="${pidfile} ${procname} /bin/sh"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user