wok diff apache/receipt @ rev 4647

Up: apache* (2.2.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 26 13:46:27 2009 +0100 (2009-12-26)
parents 310ebb8092aa
children f4fd0777003f
line diff
     1.1 --- a/apache/receipt	Sat Sep 19 18:45:09 2009 +0000
     1.2 +++ b/apache/receipt	Sat Dec 26 13:46:27 2009 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="apache"
     1.7 -VERSION="2.2.13"
     1.8 +VERSION="2.2.14"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Secure, efficient and extensible HTTP server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -41,15 +41,7 @@
    1.13  	cp -a $_pkg/var $fs
    1.14  	
    1.15  	cp -a stuff/apache $fs/etc/init.d
    1.16 -#	cat > $fs/etc/init.d/apache <<EOT
    1.17 -#!/bin/sh
    1.18 -# 
    1.19 -#. /etc/init.d/rc.functions
    1.20 -#active_pidfile /var/run/apache/httpd.pid httpd
    1.21 -# 
    1.22 -#exec /usr/bin/apachectl "\$@"
    1.23 -#EOT
    1.24 -#	chmod +x $fs/etc/init.d/apache
    1.25 +
    1.26  	sed -i  -e 's|User daemon|User www|' -e 's|Group daemon|Group www|' \
    1.27  		-e 's|ServerAdmin you@example.com|ServerAdmin root@localhost|' \
    1.28  		-e 's|#Include /etc/apache/extra/httpd-ssl.conf|Include /etc/apache/extra/httpd-ssl.conf|' \