X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fvellumweb-build;h=dbc0c0ac17a6d8e79611ec4aa6f0388c189fd173;hp=4ff31b603190ecc632aa120d359125b7b472b199;hb=f1fd1da97405a124a824d3808d6bc59df1b16b9b;hpb=68006df546d8dada7a38d2e7a7e4f5e43d6105de diff --git a/bin/vellumweb-build b/bin/vellumweb-build index 4ff31b6..dbc0c0a 100755 --- a/bin/vellumweb-build +++ b/bin/vellumweb-build @@ -2,14 +2,13 @@ # # $Id$ -arch=$HOME/arch +arch=${arch:-$HOME/arch} prefix=/usr/local/apache pkgs=" - httpd=apache_1.3.26 - openssl=openssl-0.9.6g - modssl=mod_ssl-2.8.10-1.3.26 - php=php-4.2.2 - modperl=mod_perl-1.27 + httpd=apache_1.3.33 + openssl=openssl-0.9.7e + modssl=mod_ssl-2.8.22-1.3.33 + php=php-4.3.10 " export CFLAGS="-ggdb3" @@ -51,33 +50,28 @@ pushd $modssl popd pushd $php - ./configure --with-apache=../$httpd \ + ./configure --prefix=$prefix --with-apache=../$httpd \ --with-mysql`d=/usr/local/mysql && test -d $d && echo =$d` \ --enable-track-vars \ --enable-memory-limit=yes \ - --enable-debug=no + --enable-debug=no \ + --with-gd \ + --with-zlib-dir=/usr/lib \ + --with-jpeg-dir=/usr/lib \ + --with-iconv make make install popd -pushd $modperl - perl Makefile.PL APACHE_SRC=../$httpd DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1 \ - PERL_DEBUG=1 - make -# make test # requires running httpd! - make install UNINST=1 -popd - pushd $httpd OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" ./configure --prefix=$prefix \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ - --activate-module=src/modules/perl/libperl.a \ - --disable-rule=EXPAT \ --enable-module=so \ --enable-module=headers \ --enable-module=rewrite \ - --enable-module=auth_anon + --enable-module=auth_anon \ + --enable-module=proxy make make install popd