[csw-devel] SF.net SVN: gar:[11018] csw/mgar/pkg/apache2/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Sep 19 23:37:17 CEST 2010
Revision: 11018
http://gar.svn.sourceforge.net/gar/?rev=11018&view=rev
Author: bdwalton
Date: 2010-09-19 21:37:17 +0000 (Sun, 19 Sep 2010)
Log Message:
-----------
apache2: add alternatives for httpd* files
Modified Paths:
--------------
csw/mgar/pkg/apache2/trunk/Makefile
Modified: csw/mgar/pkg/apache2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apache2/trunk/Makefile 2010-09-19 20:45:12 UTC (rev 11017)
+++ csw/mgar/pkg/apache2/trunk/Makefile 2010-09-19 21:37:17 UTC (rev 11018)
@@ -63,6 +63,7 @@
CHECKPKG_OVERRIDES_CSWap2suexec += surplus-dependency|CSWapache2
CHECKPKG_OVERRIDES_CSWapache2-devel += surplus-dependency|CSWapache2
CHECKPKG_OVERRIDES_CSWapache2-manual += surplus-dependency|CSWapache2
+CHECKPKG_OVERRIDES_CSWapache2 += surplus-dependency|CSWalternatives
# We need this to get bdb48/lib into the runpath
EXTRA_LIB = $(prefix)/bdb48/lib
@@ -73,6 +74,11 @@
# the Makefile.
INITSMF = /etc/opt/csw/init.d/cswapache2
+ALTERNATIVES_CSWapache2 = prefork worker event
+ALTERNATIVE_prefork = /opt/csw/apache2/sbin/httpd httpd /opt/apache2/sbin/httpd.prefork 100
+ALTERNATIVE_worker = /opt/csw/apache2/sbin/httpd httpd /opt/apache2/sbin/httpd.worker 50
+ALTERNATIVE_event = /opt/csw/apache2/sbin/httpd httpd /opt/apache2/sbin/httpd.event 40
+
pre-configure-modulated:
(cd $(WORKDIR)/$(GARNAME)-$(GARVERSION); ./buildconf)
$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list