Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 23:59:53 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416645 - in head/net-mgmt/argus3: . files
Message-ID:  <201606092359.u59Nxrm6014919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Thu Jun  9 23:59:53 2016
New Revision: 416645
URL: https://svnweb.freebsd.org/changeset/ports/416645

Log:
  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]

Modified:
  head/net-mgmt/argus3/Makefile
  head/net-mgmt/argus3/distinfo
  head/net-mgmt/argus3/files/argus.in

Modified: head/net-mgmt/argus3/Makefile
==============================================================================
--- head/net-mgmt/argus3/Makefile	Thu Jun  9 23:39:16 2016	(r416644)
+++ head/net-mgmt/argus3/Makefile	Thu Jun  9 23:59:53 2016	(r416645)
@@ -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/

Modified: head/net-mgmt/argus3/distinfo
==============================================================================
--- head/net-mgmt/argus3/distinfo	Thu Jun  9 23:39:16 2016	(r416644)
+++ head/net-mgmt/argus3/distinfo	Thu Jun  9 23:59:53 2016	(r416645)
@@ -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

Modified: head/net-mgmt/argus3/files/argus.in
==============================================================================
--- head/net-mgmt/argus3/files/argus.in	Thu Jun  9 23:39:16 2016	(r416644)
+++ head/net-mgmt/argus3/files/argus.in	Thu Jun  9 23:59:53 2016	(r416645)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606092359.u59Nxrm6014919>