Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2006 11:22:57 +0100 (CET)
From:      <spam@anthologeek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104927: Typos in xbms startup script port
Message-ID:  <200610301022.k9UAMvmE053974@core.PourIX.COM>
Resent-Message-ID: <200610301030.k9UAUL5T081470@freefall.freebsd.org>

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

>Number:         104927
>Category:       ports
>Synopsis:       Typos in xbms startup script port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 30 10:30:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sameh Ghane
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Anthologeek
>Environment:
System: FreeBSD core.PourIX.COM 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun May 15 20:02:23 CEST 2005 sameh@core.PourIX.NET:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	The XBMS port (net/xbms) is shipped with a shell startup script, which looks for xbms
	in the wrong place:
	command=%%PREFIX%%/sbin/${name}  whereas xbms is in bin/ (see pkg-plist).
	Also, there is a typo here: required_files=%%PREFIX%%/etc/$[name}.conf instead of {name}.

>How-To-Repeat:
	Build and install xbms port. Run it.
>Fix:

	For the xbms binary path, one should probably change the pkg-plist instead of startup script.
	For the typo:
--- xbms.in     Sun Mar 12 22:51:52 2006
+++ xbms.in.new Mon Oct 30 11:26:28 2006
@@ -17,7 +17,7 @@
 
 command=%%PREFIX%%/sbin/${name}
 pidfile=/var/run/${name}.pid
-required_files=%%PREFIX%%/etc/$[name}.conf
+required_files=%%PREFIX%%/etc/${name}.conf
 
 load_rc_config $name
 



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



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