Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2007 17:28:18 GMT
From:      kevin brintnall <kbrint@rufus.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116401: port/apache20 startup script broken with profiles
Message-ID:  <200709161728.l8GHSIwp089922@www.freebsd.org>
Resent-Message-ID: <200709161730.l8GHU11P079234@freefall.freebsd.org>

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

>Number:         116401
>Category:       ports
>Synopsis:       port/apache20 startup script broken with profiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 17:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     kevin brintnall
>Release:        6.2-RELEASE-p7
>Organization:
>Environment:
FreeBSD hamachi.rufus.net 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #5: Tue May 22 22:22:21 CDT 2007     root@hamachi.rufus.net:/usr/obj/usr/src/sys/RUFUS  i386

>Description:
Apache startup with profiles fails with:

# /usr/local/etc/rc.d/apache2 start
===> apache2 profile: rufus
/usr/local/etc/rc.d/apache2: /usr/local/etc/rc.d/apache2%%RC_SUBR_SUFFIX%%: not found
===> apache2 profile: svn
/usr/local/etc/rc.d/apache2: /usr/local/etc/rc.d/apache2%%RC_SUBR_SUFFIX%%: not found

>How-To-Repeat:
# grep apache2 /etc/rc.conf
apache2_enable=YES
apache2_profiles="rufus svn"
apache2_rufus_configfile="/usr/local/etc/apache2/httpd.conf"
apache2ssl_rufus_enable=YES
apache2_svn_configfile="/home/svn/conf/httpd.conf"
apache2ssl_svn_enable=YES

# /usr/local/etc/rc.d/apache2 start
>Fix:
It looks like only part of this PR was incorporated when the script was taken from ports/apache22:

    http://www.freebsd.org/cgi/query-pr.cgi?pr=109536

Add the following line to ports/www/apache20/Makefile:

SUB_LIST+=              RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}

This is part of the fix from PR 109536.

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



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