6 prefix=/usr/local/apache
10 modssl=mod_ssl-2.8.10-1.3.26
14 export CFLAGS="-ggdb3"
16 #-----------------------------------------------------------------------------
19 trap 'if $do_failed;then echo "FAILED FAILED FAILED!";fi' EXIT
23 echo "$pkgs"|sed -n 's/=/ /p'|while read -r pkg pkgb;do
24 if test -f $arch/$pkgb.tar.gz ;then pkgarchext=.tar.gz ;z=z
25 elif test -f $arch/$pkgb.tgz ;then pkgarchext=.tgz ;z=z
26 elif test -f $arch/$pkgb.tar.bz2;then pkgarchext=.tar.bz2;z=j
27 else echo "Missing archive \"$pkgb*\"!";exit 1;fi
29 tar x${z}f $arch/$pkgb$pkgarchext;echo -n .
36 ./configure --prefix=$prefix
40 rm -rf /usr/local/ssl*
47 ./configure --with-apache=../$httpd --with-ssl=../$openssl \
49 --with-crt=/etc/httpd/conf/ssl.crt/server.crt \
50 --with-key=/etc/httpd/conf/ssl.key/server.key
54 ./configure --with-apache=../$httpd \
55 --with-mysql`d=/usr/local/mysql && test -d $d && echo =$d` \
57 --enable-memory-limit=yes \
64 perl Makefile.PL APACHE_SRC=../$httpd DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 \
67 # make test # requires running httpd!
72 OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" ./configure --prefix=$prefix \
74 --activate-module=src/modules/php4/libphp4.a \
75 --activate-module=src/modules/perl/libperl.a \
76 --disable-rule=EXPAT \
78 --enable-module=headers \
79 --enable-module=rewrite \
80 --enable-module=auth_anon