wok rev 4105

Up: Apache* (2.2.13) + init script in slitaz style
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 19 18:45:09 2009 +0000 (2009-09-19)
parents 6d83f231517e
children 41efe35c6d3b
files apache-dev/receipt apache-doc/receipt apache/receipt
line diff
     1.1 --- a/apache-dev/receipt	Sat Sep 19 17:18:37 2009 +0200
     1.2 +++ b/apache-dev/receipt	Sat Sep 19 18:45:09 2009 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="apache-dev"
     1.7 -VERSION="2.2.11"
     1.8 +VERSION="2.2.13"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="HTTP server development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/apache-doc/receipt	Sat Sep 19 17:18:37 2009 +0200
     2.2 +++ b/apache-doc/receipt	Sat Sep 19 18:45:09 2009 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="apache-doc"
     2.7 -VERSION="2.2.11"
     2.8 +VERSION="2.2.13"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="HTTP server documentation files."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
     3.1 --- a/apache/receipt	Sat Sep 19 17:18:37 2009 +0200
     3.2 +++ b/apache/receipt	Sat Sep 19 18:45:09 2009 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="apache"
     3.7 -VERSION="2.2.11"
     3.8 +VERSION="2.2.13"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Secure, efficient and extensible HTTP server."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -39,15 +39,17 @@
    3.13  	cp -a $_pkg/etc $fs
    3.14  	rm -rf $fs/etc/apache/original
    3.15  	cp -a $_pkg/var $fs
    3.16 -	cat > $fs/etc/init.d/apache <<EOT
    3.17 +	
    3.18 +	cp -a stuff/apache $fs/etc/init.d
    3.19 +#	cat > $fs/etc/init.d/apache <<EOT
    3.20  #!/bin/sh
    3.21 - 
    3.22 -. /etc/init.d/rc.functions
    3.23 -active_pidfile /var/run/apache/httpd.pid httpd
    3.24 - 
    3.25 -exec /usr/bin/apachectl "\$@"
    3.26 -EOT
    3.27 -	chmod +x $fs/etc/init.d/apache
    3.28 +# 
    3.29 +#. /etc/init.d/rc.functions
    3.30 +#active_pidfile /var/run/apache/httpd.pid httpd
    3.31 +# 
    3.32 +#exec /usr/bin/apachectl "\$@"
    3.33 +#EOT
    3.34 +#	chmod +x $fs/etc/init.d/apache
    3.35  	sed -i  -e 's|User daemon|User www|' -e 's|Group daemon|Group www|' \
    3.36  		-e 's|ServerAdmin you@example.com|ServerAdmin root@localhost|' \
    3.37  		-e 's|#Include /etc/apache/extra/httpd-ssl.conf|Include /etc/apache/extra/httpd-ssl.conf|' \