httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r793190 - in /httpd/httpd/branches/2.2.x: NWGNUmakefile build/NWGNUscripts.inc
Date Sat, 11 Jul 2009 16:01:32 GMT
Author: fuankg
Date: Sat Jul 11 16:01:32 2009
New Revision: 793190

URL: http://svn.apache.org/viewvc?rev=793190&view=rev
Log:
added start/stop scripts to installation (backport r791533).

Added:
    httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc
Modified:
    httpd/httpd/branches/2.2.x/NWGNUmakefile

Modified: httpd/httpd/branches/2.2.x/NWGNUmakefile
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/NWGNUmakefile?rev=793190&r1=793189&r2=793190&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/NWGNUmakefile (original)
+++ httpd/httpd/branches/2.2.x/NWGNUmakefile Sat Jul 11 16:01:32 2009
@@ -41,7 +41,6 @@
 			$(AP_WORK)/server/mpm/NetWare \
 			$(AP_WORK)/srclib/pcre \
 			$(NWOS) \
-			$(AP_WORK)/modules/ssl \
 			$(EOLIST)
 
 #
@@ -321,7 +320,7 @@
 # Updated this target to create necessary directories and copy files to the
 # correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
 #
-install :: nlms FORCE
+install :: nlms instscripts FORCE
 	-copy $(OBJDIR)\Apache2.nlm     $(INSTALL)\$(BASEDIR)\*.*
 	-copy ABOUT_APACHE              $(INSTALL)\$(BASEDIR)\*.*
 	-copy README                    $(INSTALL)\$(BASEDIR)\*.*
@@ -386,4 +385,6 @@
 
 include $(AP_WORK)\build\NWGNUtail.inc
 
+include $(AP_WORK)\build\NWGNUscripts.inc
+
 

Added: httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc?rev=793190&view=auto
==============================================================================
--- httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc (added)
+++ httpd/httpd/branches/2.2.x/build/NWGNUscripts.inc Sat Jul 11 16:01:32 2009
@@ -0,0 +1,35 @@
+# Include for creating start/stop/restart NCF scripts.
+
+instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf
$(INSTALL)/$(BASEDIR)/ap2stop.ncf $(INSTALL)/$(BASEDIR)/ap2prod.ncf
+
+$(INSTALL)/$(BASEDIR)/ap2start.ncf:
+	@echo # NCF to start Apache 2.x in own address space > $@
+	@echo # Make sure that httpstk isn't listening on 80 >> $@
+	@echo # httpcloseport 80 /silent >> $@
+	@echo # search add SYS:/$(BASEDIR) >> $@
+	@echo load address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2 >> $@
+	@echo # If you have problems with 3rd-party modules try to load in OS space. >> $@
+	@echo # load $(BASEDIR)/apache2 >> $@
+	@echo. >> $@
+
+$(INSTALL)/$(BASEDIR)/ap2rest.ncf:
+	@echo # NCF to restart Apache 2.x in own address space > $@
+	@echo apache2 restart -p $(BASEDIR) >> $@
+	@echo # If you have loaded Apache2.x in OS space use the line below. >> $@
+	@echo # apache2 restart >> $@
+	@echo. >> $@
+
+$(INSTALL)/$(BASEDIR)/ap2stop.ncf:
+	@echo # NCF to stop Apache 2.x in own address space > $@
+	@echo apache2 shutdown -p $(BASEDIR) >> $@
+	@echo # If you have loaded Apache2.x in OS space use the line below. >> $@
+	@echo # apache2 shutdown >> $@
+	@echo. >> $@
+
+$(INSTALL)/$(BASEDIR)/ap2prod.ncf:
+	@echo # NCF to create a product record for Apache 2.x in product database > $@
+	@echo PRODSYNC DEL APACHE$(VERSION_MAJMIN) >> $@
+	@echo PRODSYNC ADD APACHE$(VERSION_MAJMIN) ProductRecord "$(VERSION_STR)" "Apache $(VERSION_STR)
Webserver" >> $@
+	@echo. >> $@
+
+



Mime
View raw message