6 prefix=/usr/local/apache
10 modssl=mod_ssl-2.8.22-1.3.33
13 export CFLAGS="-ggdb3"
15 #-----------------------------------------------------------------------------
18 trap 'if $do_failed;then echo "FAILED FAILED FAILED!";fi' EXIT
22 echo "$pkgs"|sed -n 's/=/ /p'|while read -r pkg pkgb;do
23 if test -f $arch/$pkgb.tar.gz ;then pkgarchext=.tar.gz ;z=z
24 elif test -f $arch/$pkgb.tgz ;then pkgarchext=.tgz ;z=z
25 elif test -f $arch/$pkgb.tar.bz2;then pkgarchext=.tar.bz2;z=j
26 else echo "Missing archive \"$pkgb*\"!";exit 1;fi
28 tar x${z}f $arch/$pkgb$pkgarchext;echo -n .
35 ./configure --prefix=$prefix
39 rm -rf /usr/local/ssl*
46 ./configure --with-apache=../$httpd --with-ssl=../$openssl \
48 --with-crt=/etc/httpd/conf/ssl.crt/server.crt \
49 --with-key=/etc/httpd/conf/ssl.key/server.key
53 ./configure --prefix=$prefix --with-apache=../$httpd \
54 --with-mysql`d=/usr/local/mysql && test -d $d && echo =$d` \
56 --enable-memory-limit=yes \
59 --with-zlib-dir=/usr/lib \
60 --with-jpeg-dir=/usr/lib \
67 OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" ./configure --prefix=$prefix \
69 --activate-module=src/modules/php4/libphp4.a \
71 --enable-module=headers \
72 --enable-module=rewrite \
73 --enable-module=auth_anon \