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 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. 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
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer
clement 2007-09-18 19:18:09 UTC FreeBSD ports repository Modified files: www/apache20 Makefile www/apache20/files apache2.sh.in Log: - Fix profiles support in startup script [1] - move envvars support to the beginning of apache2_checkconfig() to be sure we're using envvars during configtest [2] PR: ports/116401 [1], ports/116329 [2] Submitted by: kevin brintnall <kbrint@rufus.net> [1], Ruud Althuizen <ruud@il.fontys.nl> Revision Changes Path 1.249 +1 -0 ports/www/apache20/Makefile 1.3 +6 -7 ports/www/apache20/files/apache2.sh.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks! Sorry for the annoyance