ports/104927: Typos in xbms startup script port

spam at anthologeek.net spam at anthologeek.net
Mon Oct 30 10:30:22 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list