Index: head/net-mgmt/softflowd/Makefile =================================================================== --- head/net-mgmt/softflowd/Makefile (revision 521607) +++ head/net-mgmt/softflowd/Makefile (revision 521608) @@ -1,34 +1,34 @@ # Created by: Janos Mohacsi # $FreeBSD$ PORTNAME= softflowd -PORTVERSION= 0.9.9 -PORTREVISION= 1 +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= softflowd- CATEGORIES= net-mgmt MAINTAINER= jmohacsi@bsd.hu COMMENT= Flow-based network traffic analyzer and exporter LICENSE= BSD2CLAUSE +USES= gmake autoreconf + USE_GITHUB= yes GH_ACCOUNT= irino GH_PROJECT= softflowd -GH_TAGNAME= 3aa2af5 -USES= gmake autoreconf GNU_CONFIGURE= yes USE_RC_SUBR= ${PORTNAME} -PLIST_FILES= sbin/softflowd sbin/softflowctl \ +PLIST_FILES= bin/softflowd bin/softflowctl \ man/man8/softflowd.8.gz \ man/man8/softflowctl.8.gz PORTDOCS= README OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net-mgmt/softflowd/distinfo =================================================================== --- head/net-mgmt/softflowd/distinfo (revision 521607) +++ head/net-mgmt/softflowd/distinfo (revision 521608) @@ -1,3 +1,3 @@ -TIMESTAMP = 1494777006 -SHA256 (irino-softflowd-0.9.9-3aa2af5_GH0.tar.gz) = be6b742b5b62d27742ca79db5f9aacf88e58626f3952742449a41b92b8a92231 -SIZE (irino-softflowd-0.9.9-3aa2af5_GH0.tar.gz) = 57901 +TIMESTAMP = 1577565880 +SHA256 (irino-softflowd-softflowd-1.0.0_GH0.tar.gz) = 98aa66026d730211b45fe89670cd6ce50959846d536880b82f5afbca6281e108 +SIZE (irino-softflowd-softflowd-1.0.0_GH0.tar.gz) = 168379 Index: head/net-mgmt/softflowd/files/softflowd.in =================================================================== --- head/net-mgmt/softflowd/files/softflowd.in (revision 521607) +++ head/net-mgmt/softflowd/files/softflowd.in (revision 521608) @@ -1,82 +1,82 @@ #!/bin/sh # $FreeBSD$ # (c) 2010 Tom Judge # PROVIDE: softflowd # REQUIRE: LOGIN # KEYWORD: shutdown # softflowd_enable="YES" # softflowd_interfaces="em0 em1" # softflowd_em0_collector="collector:1234" # softflowd_em1_collector="collector:1235" # softflowd_em0_timeouts="-t maxlife=300" # softflowd_em1_timeouts="-t maxlife=600" # softflowd_em0_max_states="16000" # softflowd_em1_max_states="17000" # softflowd_em0_extra_args # softflowd_em1_extra_args . /etc/rc.subr name=softflowd rcvar=softflowd_enable start_precmd="softflowd_precommand $@" stop_precmd="softflowd_precommand $@" status_precmd="softflowd_precommand $@" poll_precmd="softflowd_precommand $@" rcvar_precmd="softflowd_precommand $@" stop_cmd="softflowd_stop" -command="%%PREFIX%%/sbin/softflowd" +command="%%PREFIX%%/bin/softflowd" _pidprefix="/var/run/softflowd" if [ -n $2 ]; then pidfile="${_pidprefix}.${2}.pid" fi load_rc_config $name softflowd_enable=${softflowd_enable:-"NO"} softflowd_timeouts="-t maxlife=300" softflowd_max_states="16000" softflowd_precommand () { if [ -n "$2" ]; then profile="$2" ctlfile="${_pidprefix}.${profile}.ctl" eval apache22_flags="\${apache22_${profile}_flags:-${apache22_flags}}" eval softflowd_collector="\${softflowd_${profile}_collector}" if [ "x${softflowd_collector}" = "x" ]; then echo "ERROR: You must specify a collector to send data to." exit 1 fi eval softflowd_timeouts="\${softflowd_${profile}_timeouts:-${softflowd_timeouts}}" eval softflowd_max_states="\${softflowd_${profile}_max_states:-${softflowd_max_states}}" eval softflowd_extra_args="\${softflowd_${profile}_extra_args:-${softflowd_extra_args}}" command_args="-i ${profile} -n ${softflowd_collector} -m ${softflowd_max_states} -p ${pidfile} -c ${ctlfile} ${softflowd_timeouts} ${softflowd_extra_args}" else if [ "x${softflowd_interfaces}" != "x" ]; then for profile in ${softflowd_interfaces}; do echo "===> softflowd profile: ${profile}" %%PREFIX%%/etc/rc.d/softflowd $1 ${profile} retcode="$?" if [ "0${retcode}" -ne 0 ]; then failed="${profile} (${retcode}) ${failed:-}" else success="${profile} ${success:-}" fi done fi exit 0 fi } softflowd_stop() { - %%PREFIX%%/sbin/softflowctl -c ${ctlfile} shutdown + %%PREFIX%%/bin/softflowctl -c ${ctlfile} shutdown } run_rc_command "$1"