X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fvellumweb-build;h=dbc0c0ac17a6d8e79611ec4aa6f0388c189fd173;hp=52ff9ffeb83c14a4168283096178a96ccb5d8b50;hb=257109ce5b17e8bf1e9990564d3eef7722746c0b;hpb=75cf0c158898f8c9658158f7a51ed874dc03d062 diff --git a/bin/vellumweb-build b/bin/vellumweb-build index 52ff9ff..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.6e - 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