aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2016-06-10 07:59:53 +0800
committerbofh <bofh@FreeBSD.org>2016-06-10 07:59:53 +0800
commitc3f6845ace0caa9d1ea1686694035459df5f4357 (patch)
tree9bf36afcf3ee5c0f526afc88d2dadd3051df16a1 /net-mgmt
parenteade938f43a942e220ec0bd849702c51db672db3 (diff)
downloadfreebsd-ports-gnome-c3f6845ace0caa9d1ea1686694035459df5f4357.tar.gz
freebsd-ports-gnome-c3f6845ace0caa9d1ea1686694035459df5f4357.tar.zst
freebsd-ports-gnome-c3f6845ace0caa9d1ea1686694035459df5f4357.zip
net-mgmt/argus3: Update version 3.0.8.1=>3.0.8.2
- Fix rc.d script [1] PR: 203597 [1] Submitted by: peter.thoenen@yahoo.com [1]
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/argus3/Makefile2
-rw-r--r--net-mgmt/argus3/distinfo5
-rw-r--r--net-mgmt/argus3/files/argus.in13
3 files changed, 17 insertions, 3 deletions
diff --git a/net-mgmt/argus3/Makefile b/net-mgmt/argus3/Makefile
index 339919b6aee3..904a7f445dcf 100644
--- a/net-mgmt/argus3/Makefile
+++ b/net-mgmt/argus3/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= argus
-PORTVERSION= 3.0.8.1
+PORTVERSION= 3.0.8.2
CATEGORIES= net-mgmt security
MASTER_SITES= http://qosient.com/argus/src/ \
ftp://qosient.com/pub/argus/src/
diff --git a/net-mgmt/argus3/distinfo b/net-mgmt/argus3/distinfo
index 5137533206fd..80d2a370d660 100644
--- a/net-mgmt/argus3/distinfo
+++ b/net-mgmt/argus3/distinfo
@@ -1,2 +1,3 @@
-SHA256 (argus-3.0.8.1.tar.gz) = 1fb921104c8bd843fb9f5a1c32b57b20bfe8cd8a103b3f1d9bb686b9e6c490a4
-SIZE (argus-3.0.8.1.tar.gz) = 523375
+TIMESTAMP = 1465512231
+SHA256 (argus-3.0.8.2.tar.gz) = ca4e3bd5b9d4a8ff7c01cc96d1bffd46dbd6321237ec94c52f8badd51032eeff
+SIZE (argus-3.0.8.2.tar.gz) = 524749
diff --git a/net-mgmt/argus3/files/argus.in b/net-mgmt/argus3/files/argus.in
index 8582909e2816..342a53ee4a3f 100644
--- a/net-mgmt/argus3/files/argus.in
+++ b/net-mgmt/argus3/files/argus.in
@@ -15,8 +15,21 @@ load_rc_config $name
: ${argus_procname="%%PREFIX%%/sbin/argus"}
: ${argus_flags="-F %%PREFIX%%/etc/argus.conf"}
+pidfile=${argus_pidfile:-'/var/run/argus.pid'}
required_files="${argus_config}"
command=$argus_procname
command_args="${argus_flags}"
+start_cmd="argus_start"
+
+argus_start()
+{
+ if [ -z "$rc_fast" -a -n "$rc_pid" ]; then
+ echo 1>&2 "${name} already running? (pid=$rc_pid)."
+ return 1
+ fi
+ echo "Starting ${name}."
+ /usr/sbin/daemon -p $pidfile ${command} -d ${argus_flags}
+ _run_rc_postcmd
+}
run_rc_command "$1"