Bug 120078

Summary: "bad substitution" in www/geronimo start script
Product: Ports & Packages Reporter: Massimo Fusaro <mfusaro>
Component: Individual Port(s)Assignee: Nemo Liu <nemoliu>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Massimo Fusaro 2008-01-28 10:50:12 UTC
In the latest version of the "www/geronimo" port Makefile, PORTVERSION is 2.0.2, but other variables
such as MAJOR_VER refer the previous version: 2.0.M5.

The result is a broken start script (version number is not removed, so the shell variables contain some dot).
For example
	geronimo2_enable
becomes
	geronimo2.0.2_enable
which is not a correct name for a shell variable.

Fix: Patch attached with submission follows:
How-To-Repeat: /usr/local/etc/rc.d/geronimo2 start
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-01-28 10:50:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemoliu

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Nemo Liu freebsd_committer freebsd_triage 2008-02-13 09:58:22 UTC
State Changed
From-To: open->closed

commited.thanks!