Bug 177950 - [PATCH] sysutils/munin-node: fix startup script
Summary: [PATCH] sysutils/munin-node: fix startup script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 10:30 UTC by geoffroy desvernay
Modified: 2013-04-18 22:50 UTC (History)
1 user (show)

See Also:


Attachments
munin-node-2.0.11.1.patch (495 bytes, patch)
2013-04-18 10:30 UTC, geoffroy desvernay
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!