Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 21:38:03 -0500
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169251: [PATCH] net-mgmt/smokeping: fix broken stop/restart rc script features
Message-ID:  <E1ShAnz-000Lkn-9y@feld.me>
Resent-Message-ID: <201206200240.q5K2e8Gg019995@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169251
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/smokeping: fix broken stop/restart rc script features
>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:   Wed Jun 20 02:40:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.0-STABLE FreeBSD 9.0-STABLE #3 r234963: Thu May  3 13:12:01
>Description:
Both stop and restart are broken in the current rc script. After experimentation and testing
I found the following changes fix the issue. This is also documented in PR 114593 which apparently
was never committed. (??) Claims to have been "Fixed by other means" ?

Looks like new maintainer in May 2012. Rodrigo, please test and reply. Thanks!!

Port maintainer (rodrigo@bebik.net) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- smokeping-2.6.7_3.patch begins here ---
diff -ruN --exclude=CVS ../smokeping.orig/Makefile ./Makefile
--- ../smokeping.orig/Makefile	2012-06-01 00:23:17.000000000 -0500
+++ ./Makefile	2012-06-19 21:30:20.000000000 -0500
@@ -7,7 +7,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://oss.oetiker.ch/smokeping/pub/ \
 		http://smokeping.cs.pu.edu.tw/pub/
diff -ruN --exclude=CVS ../smokeping.orig/files/smokeping.in ./files/smokeping.in
--- ../smokeping.orig/files/smokeping.in	2012-01-14 02:56:41.000000000 -0600
+++ ./files/smokeping.in	2012-06-19 21:29:38.000000000 -0500
@@ -23,7 +23,8 @@
 . /etc/rc.subr
 
 name="smokeping"
-rcvar=smokeping_enable
+rcvar=`set_rcvar`
+command_interpreter="%%PERL%%"
 load_rc_config $name
 command="/usr/local/bin/smokeping"
 command_args="--logfile=${smokeping_logfile}"
--- smokeping-2.6.7_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ShAnz-000Lkn-9y>