ports/110939: Update port: net/sflowtool. New version - sflowtool 3.10

greg at velcom.com greg at velcom.com
Tue Mar 27 17:50:05 UTC 2007


>Number:         110939
>Category:       ports
>Synopsis:       Update port: net/sflowtool. New version - sflowtool 3.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 27 17:50:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gregory Edigarov
>Release:        FreeBSD 6.1-RELEASE-p10 amd64
>Organization:
bestnet.kharkov.ua
>Environment:
System: FreeBSD bestnet.kharkov.ua 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #3: Tue Oct 3 20:48:20 EEST 2006 root at bestnet.kharkov.ua:/usr/obj/usr/src/sys/GENERIC i386
>Description:
        New version of sflowtool port.
>How-To-Repeat:
>Fix:

--- sflowtool/Makefile  Tue Mar 27 20:03:24 2007
+++ sflowtool.new/Makefile      Tue Mar 27 20:00:15 2007
@@ -1,20 +1,21 @@
 # New ports collection makefile for:  sflowtool
 # Date created:        21 Mar 2006
-# Whom:                Gregory Edigarov <greg at velcom.com>
+# Whom:                Gregory Edigarov <greg at bestnet.kharkov.ua>
 #
 # $FreeBSD: ports/net/sflowtool/Makefile,v 1.1 2006/03/21 02:12:11 ehaupt Exp $
 #

 PORTNAME=      sflowtool
-PORTVERSION=   3.9
+PORTVERSION=   3.10
 CATEGORIES=    net
 MASTER_SITES=  http://www.inmon.com/bin/

-MAINTAINER=    greg at velcom.com
+MAINTAINER=    greg at bestnet.kharkov.ua
 COMMENT=       This is a sFlow capture and sFlow-to-NetFlow conversion tool

 GNU_CONFIGURE= yes

+USE_RC_SUBR=    sflowtool
 PLIST_FILES=   bin/sflowtool
 PORTDOCS=      README

diff -u -r -P sflowtool/files/sflowtool.in sflowtool.new/files/sflowtool.in
--- sflowtool/files/sflowtool.in        Thu Jan  1 03:00:00 1970
+++ sflowtool.new/files/sflowtool.in    Tue Mar 27 19:45:52 2007
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# PROVIDE: sflowtool
+# REQUIRE: DAEMON
+
+.  %%RC_SUBR%%
+
+name="sflowtool"
+rcvar=`set_rcvar`
+command="%%PREFIX%%/bin/sflowtool"
+
+load_rc_config $name
+# Set defaults
+: ${sflowtool_enable="NO"}
+: ${sflowtool_flags=""}
+: ${sflowtool_pidfile="/var/run/${name}.pid"}
+
+start_cmd="/usr/sbin/daemon -f -p ${sflowtool_pidfile} ${command} ${sflowtool_flags}"
+start_postcmd="echo Starting ${name}."
+
+run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list