Bug 177950

Summary: [PATCH] sysutils/munin-node: fix startup script
Product: Ports & Packages Reporter: geoffroy desvernay <dgeo>
Component: Individual Port(s)Assignee: Florian Smeets <flo>
Status: Closed FIXED    
Severity: Affects Only Me CC: flo
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
munin-node-2.0.11.1.patch none

Description geoffroy desvernay 2013-04-18 10:30:00 UTC
"service munin-sched (start|stop|restat|...)" fails with a syntax error
because $munin_node_config is not defined... (but $munin_sched_config is)

Port maintainer (flo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: SVN)

Fix: attached
How-To-Repeat: try to use munin-sched...
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-18 10:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-04-18 22:47:50 UTC
Author: flo
Date: Thu Apr 18 21:47:37 2013
New Revision: 316077
URL: http://svnweb.freebsd.org/changeset/ports/316077

Log:
  Fix munin-sched rc script
  
  PR:		ports/177950
  Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>
  Feature safe:	yes

Modified:
  head/sysutils/munin-node/Makefile
  head/sysutils/munin-node/files/munin-sched.in

Modified: head/sysutils/munin-node/Makefile
==============================================================================
--- head/sysutils/munin-node/Makefile	Thu Apr 18 21:46:02 2013	(r316076)
+++ head/sysutils/munin-node/Makefile	Thu Apr 18 21:47:37 2013	(r316077)
@@ -3,6 +3,7 @@
 
 PORTNAME=	munin
 PORTVERSION=	${MUNIN_VERSION}
+PORTREVISION=	1
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	${MUNIN_SITES}
 PKGNAMESUFFIX=	-node

Modified: head/sysutils/munin-node/files/munin-sched.in
==============================================================================
--- head/sysutils/munin-node/files/munin-sched.in	Thu Apr 18 21:46:02 2013	(r316076)
+++ head/sysutils/munin-node/files/munin-sched.in	Thu Apr 18 21:47:37 2013	(r316077)
@@ -31,7 +31,7 @@ stop_precmd=find_pidfile
 find_pidfile()
 {
 	if type get_pidfile_from_conf >/dev/null 2>&1 &&
-		get_pidfile_from_conf pid_file $munin_node_config; then
+		get_pidfile_from_conf pid_file $munin_sched_config; then
 	    pidfile="${_pidfile_from_conf%node*}sched"
 	    pidfile="${pidfile}${_pidfile_from_conf#*node}"
 	else
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2013-04-18 22:48:02 UTC
State Changed
From-To: open->closed

Committed. Thanks!