6 prefix=/usr/local/apache
10 modssl=mod_ssl-2.8.12-1.3.27
15 export CFLAGS="-ggdb3"
17 #-----------------------------------------------------------------------------
20 trap 'if $do_failed;then echo "FAILED FAILED FAILED!";fi' EXIT
24 echo "$pkgs"|sed -n 's/=/ /p'|while read -r pkg pkgb;do
25 ! $with_perl && test $pkg = modperl && continue
26 if test -f $arch/$pkgb.tar.gz ;then pkgarchext=.tar.gz ;z=z
27 elif test -f $arch/$pkgb.tgz ;then pkgarchext=.tgz ;z=z
28 elif test -f $arch/$pkgb.tar.bz2;then pkgarchext=.tar.bz2;z=j
29 else echo "Missing archive \"$pkgb*\"!";exit 1;fi
31 tar x${z}f $arch/$pkgb$pkgarchext;echo -n .
38 ./configure --prefix=$prefix
42 rm -rf /usr/local/ssl*
49 ./configure --with-apache=../$httpd --with-ssl=../$openssl \
51 --with-crt=/etc/httpd/conf/ssl.crt/server.crt \
52 --with-key=/etc/httpd/conf/ssl.key/server.key
56 ./configure --with-apache=../$httpd \
57 --with-mysql`d=/usr/local/mysql && test -d $d && echo =$d` \
59 --enable-memory-limit=yes \
67 perl Makefile.PL APACHE_SRC=../$httpd DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 \
70 # make test # requires running httpd!
76 OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" ./configure --prefix=$prefix \
78 --activate-module=src/modules/php4/libphp4.a \
79 $(if $with_perl;then echo \
80 --activate-module=src/modules/perl/libperl.a \
81 --disable-rule=EXPAT \
85 --enable-module=headers \
86 --enable-module=rewrite \
87 --enable-module=auth_anon