Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  4 Dec 2002 21:42:30 +0100 (CET)
From:      Lars Thegler <lars@thegler.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Lars Thegler <lars@thegler.dk>
Subject:   ports/45996: [MAINTAINER UPDATE] net/smokeping restart fix
Message-ID:  <20021204204230.664F47D9E@marvin.thegler.dk>

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

>Number:         45996
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] net/smokeping restart fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 04 12:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD marvin.thegler.dk 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Oct 23 20:47:27 CEST 2002 root@marvin.thegler.dk:/usr/obj/usr/src/sys/MarvinKernel i386

>Description:
The 'restart' option of 'smokeping.sh' doesn't work properly,
as reported by Kent Kuriyama <kuriyakk@cpf.navy.mil>.
Bumped PORTREVISION.

>How-To-Repeat:
>Fix:
Apply this diff:

--cut--
diff -Naur /usr/ports/net/smokeping/Makefile smokeping/Makefile
--- /usr/ports/net/smokeping/Makefile   Sat Oct 19 11:09:06 2002
+++ smokeping/Makefile  Wed Dec  4 21:35:03 2002
@@ -7,7 +7,7 @@
 
 PORTNAME=      smokeping
 PORTVERSION=   1.16
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    net www
 MASTER_SITES=  http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/
 
diff -Naur /usr/ports/net/smokeping/files/smokeping.sh smokeping/files/smokeping.sh
--- /usr/ports/net/smokeping/files/smokeping.sh Tue Apr  2 03:10:04 2002
+++ smokeping/files/smokeping.sh        Wed Dec  4 21:14:27 2002
@@ -13,7 +13,7 @@
         ;;
 restart)
         [ -r ${PREFIX}/etc/smokeping/config ] && \
-           su -f -m smokeping -c ${PREFIX}/bin/smokeping --restart > /dev/null && \
+           su -f -m smokeping -c "${PREFIX}/bin/smokeping --restart" > /dev/null && \
            echo -n ' smokeping'
         ;;
 stop)
--cut--

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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