389083ef74
This port replaces security/sguil-client, security/sguild-server and security/sguil-sensor which are at version 0.8.0. They will be removed shortly as a result. PR: 191347 Submitted by: Muhammad Rahman Sguil (pronounced sgweel) is built by network security analysts for network security analysts. Sguil's main component is an intuitive GUI that provides access to realtime events, session data, and raw packet captures. Sguil facilitates the practice of Network Security Monitoring and event driven analysis. The Sguil client is written in tcl/tk and can be run on any operating system that supports tcl/tk (including Linux, *BSD, Solaris, MacOS, and Win32).
35 lines
1,003 B
Bash
35 lines
1,003 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD: head/security/sguil-server/files/sguild.in 312467 2013-02-18 01:01:11Z miwi $
|
|
|
|
# PROVIDE: sguild
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following lines to /etc/rc.conf to enable sguild:
|
|
# sguild_enable (bool): Set to YES to enable sguild
|
|
# Default: NO
|
|
# sguild_flags (str): Extra flags passed to sguild
|
|
# Default: -D -P ${pid}
|
|
# sguild_conf (str): Sguild configuration file
|
|
# Default: %%PREFIX%%/etc/%%SGUILDIR%%/sguild.conf
|
|
# sguild_user (str): Default: sguil
|
|
# Note: this value MUST be set in /etc/rc.conf if you do not accept the default
|
|
# user created by the pkg-install script
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="sguild"
|
|
rcvar=sguild_enable
|
|
load_rc_config sguild
|
|
# set some defaults
|
|
: ${sguild_enable:="NO"}
|
|
: ${sguild_conf:="%%PREFIX%%/etc/%%SGUILDIR%%/sguild.conf"}
|
|
: ${pid:="/var/run/%%SGUILDIR%%/sguild.pid"}
|
|
: ${sguild_flags:="-D -P ${pid}"}
|
|
: ${sguild_user:="sguil"}
|
|
|
|
command="%%PREFIX%%/bin/${name}"
|
|
procname="%%PREFIX%%/bin/%%TCLSH%%"
|
|
|
|
run_rc_command "$1"
|