[csw-devel] SF.net SVN: gar:[19377] csw/mgar/pkg/apache2/branches/apache24

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Oct 4 17:14:12 CEST 2012


Revision: 19377
          http://gar.svn.sourceforge.net/gar/?rev=19377&view=rev
Author:   bdwalton
Date:     2012-10-04 15:14:12 +0000 (Thu, 04 Oct 2012)
Log Message:
-----------
apache2/branches/apache24: update the init script for new version

Modified Paths:
--------------
    csw/mgar/pkg/apache2/branches/apache24/Makefile

Added Paths:
-----------
    csw/mgar/pkg/apache2/branches/apache24/files/cswapache24

Removed Paths:
-------------
    csw/mgar/pkg/apache2/branches/apache24/files/cswapache2

Modified: csw/mgar/pkg/apache2/branches/apache24/Makefile
===================================================================
--- csw/mgar/pkg/apache2/branches/apache24/Makefile	2012-10-04 14:36:54 UTC (rev 19376)
+++ csw/mgar/pkg/apache2/branches/apache24/Makefile	2012-10-04 15:14:12 UTC (rev 19377)
@@ -36,8 +36,7 @@
 SPKG_SOURCEURL = http://httpd.apache.org/
 
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
-# Standard package bits
-DISTFILES += cswapache2
+DISTFILES += cswapache24
 
 PACKAGES = CSWapache24
 SPKG_DESC_CSWapache24 = $(DESCRIPTION)

Deleted: csw/mgar/pkg/apache2/branches/apache24/files/cswapache2
===================================================================
--- csw/mgar/pkg/apache2/branches/apache24/files/cswapache2	2012-10-04 14:36:54 UTC (rev 19376)
+++ csw/mgar/pkg/apache2/branches/apache24/files/cswapache2	2012-10-04 15:14:12 UTC (rev 19377)
@@ -1,44 +0,0 @@
-#!/sbin/sh
-#
-# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-# ident    "@(#)http-apache2    1.2    04/11/11 SMI"
-#
-
-#RC_KNUM 16
-#RC_SNUM 80
-#RC_KLEV 0,1,2,S
-#RC_SLEV 3
-#FMRI network
-
-APACHE_HOME=/opt/csw/apache2
-CONF_FILE=$APACHE_HOME/etc/httpd.conf
-APACHECTL=$APACHE_HOME/sbin/apachectl
-
-[ ! -f "$CONF_FILE" ] && exit 0
-[ ! -x "$APACHECTL" ] && exit 0
-
-case "$1" in
-start)
-    cmd=$1
-    if [ -f "$APACHE_HOME/etc/server.crt" ]; then
-        cmd="$cmd -DSSL"
-    fi
-    ;;
-restart)
-    cmd="restart"
-    ;;
-graceful)
-    cmd="graceful"
-    ;;
-stop)
-    cmd="stop"
-    ;;
-*)
-    echo "Usage: $0 {start|stop|restart|graceful}"
-    exit 1
-    ;;
-esac
-
-exec $APACHECTL -f $CONF_FILE -k $cmd 2>&1

Added: csw/mgar/pkg/apache2/branches/apache24/files/cswapache24
===================================================================
--- csw/mgar/pkg/apache2/branches/apache24/files/cswapache24	                        (rev 0)
+++ csw/mgar/pkg/apache2/branches/apache24/files/cswapache24	2012-10-04 15:14:12 UTC (rev 19377)
@@ -0,0 +1,44 @@
+#!/sbin/sh
+#
+# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+# ident    "@(#)http-apache2    1.2    04/11/11 SMI"
+#
+
+#RC_KNUM 16
+#RC_SNUM 80
+#RC_KLEV 0,1,2,S
+#RC_SLEV 3
+#FMRI network
+
+APACHE_HOME=/opt/csw/
+CONF_FILE=/etc/opt/csw/apache24/httpd.conf
+APACHECTL=$APACHE_HOME/sbin/apachectl
+
+[ ! -f "$CONF_FILE" ] && exit 0
+[ ! -x "$APACHECTL" ] && exit 0
+
+case "$1" in
+start)
+    cmd=$1
+    if [ -f "$APACHE_HOME/etc/server.crt" ]; then
+        cmd="$cmd -DSSL"
+    fi
+    ;;
+restart)
+    cmd="restart"
+    ;;
+graceful)
+    cmd="graceful"
+    ;;
+stop)
+    cmd="stop"
+    ;;
+*)
+    echo "Usage: $0 {start|stop|restart|graceful}"
+    exit 1
+    ;;
+esac
+
+exec $APACHECTL -f $CONF_FILE -k $cmd 2>&1


Property changes on: csw/mgar/pkg/apache2/branches/apache24/files/cswapache24
___________________________________________________________________
Added: svn:executable
   + *

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