wok-6.x rev 1786

Apache: add modules proxy & ssl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 30 13:08:33 2008 +0000 (2008-11-30)
parents e2c988692169
children d04d6857c1c5
files apache/receipt
line diff
     1.1 --- a/apache/receipt	Sun Nov 30 08:52:29 2008 +0000
     1.2 +++ b/apache/receipt	Sun Nov 30 13:08:33 2008 +0000
     1.3 @@ -9,19 +9,19 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.apache.org/"
     1.6  WGET_URL="${WEB_SITE}dist/$SOURCE/$TARBALL"
     1.7 -DEPENDS="apr-util apr"
     1.8 -BUILD_DEPENDS="apr-util-dev apr-dev"
     1.9 +DEPENDS="apr-util apr openssl"
    1.10 +BUILD_DEPENDS="apr-util-dev apr-dev openssl-dev"
    1.11  CONFIG_FILES="/etc/apache /var/www"
    1.12  PROVIDE="lighttpd"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 -	ln -s $SOURCE-$VERSION $PACKAGE-$VERSION
    1.18  	cd $src
    1.19  	grep -q Slitaz config.layout || \
    1.20  		cat ../stuff/slitaz.layout >> config.layout
    1.21  	./configure --mandir=/usr/share/man --enable-mods-shared=all \
    1.22 +		--enable-proxy --enable-ssl \
    1.23  		--enable-layout=Slitaz $CONFIGURE_ARGS &&
    1.24  	make && make DESTDIR=$PWD/_pkg install
    1.25  }
    1.26 @@ -36,6 +36,7 @@
    1.27  	cp -a $_pkg/usr/bin $fs/usr
    1.28  	rm -r $fs/usr/bin/apxs
    1.29  	cp -a $_pkg/etc $fs
    1.30 +	rm -rf $fs/etc/apache/original
    1.31  	cp -a $_pkg/var $fs
    1.32  	ln -s /usr/bin/apachectl $fs/etc/init.d/apache
    1.33  	sed -i  -e 's|User daemon|User www|' -e 's|Group daemon|Group www|' \