Bug 109536

Summary: fix ports/www/apache22 rc.d script for multiple profiles
Product: Ports & Packages Reporter: Eygene Ryabinkin <rea-fbsd>
Component: Individual Port(s)Assignee: Clement Laforet <clement>
Status: Closed FIXED    
Severity: Affects Only Me CC: clement
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Eygene Ryabinkin 2007-02-25 20:30:04 UTC
The port www/apache22 installs its rc.d script without the '.sh'
extension since 5.x or 6.x. But the script references itself
as the apache22.sh. This breaks the multiple Apache profiles
case, since script is trying to invoke itself but ises the wrong name.

Fix: The following patch will cure the things on 6.x and 7.x, but I
do not have 4.x at hand to test if it will work on it.
How-To-Repeat: Look into the files/apache22.sh.in, line 91: you will see that
the script tries to call /usr/local/etc/rc.d/apache22.sh.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-25 20:30:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer
Comment 2 Eygene Ryabinkin 2007-02-26 06:53:48 UTC
Tried the patch for the www/apache22 at the FreeBSD 4.11: it works.
-- 
Eygene
Comment 3 Clement Laforet freebsd_committer freebsd_triage 2007-03-17 16:03:34 UTC
State Changed
From-To: open->closed

Committed, thanks!