X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fvellumweb-build;h=d0da63ebc03b0941239aa67fff99a1f36ed94959;hp=8a5e43db14d146c9b11f35bec97833a66f840b5c;hb=6ae36bf2d1df55eda45e9f2e0a524c7ea1d779a3;hpb=fb4eda75c25f2d2c839aed1718c14a6210c1dc69 diff --git a/bin/vellumweb-build b/bin/vellumweb-build index 8a5e43d..d0da63e 100755 --- a/bin/vellumweb-build +++ b/bin/vellumweb-build @@ -9,8 +9,8 @@ pkgs=" httpd=apache_1.3.24 openssl=openssl-0.9.6c modssl=mod_ssl-2.8.8-1.3.24 - freetds=freetds-0.53 php=php-4.2.0 + modperl=mod_perl-1.26 csacek=csacek-2.1.9 " export CFLAGS="-ggdb3" @@ -49,6 +49,20 @@ M?0X._A+RZFOHBY^_HJ(.)B9>!\$;5X2,IUU-3CY[,/)US)N_<^0OY9R\=NUQ< end EOF +uudecode -o - <4X88Q"Z\$+)D\8B/9N-#)[4>"5:WZD#RKL*CW\`()>)SR)+WE +MB*,H]BBE_\;(NI.X;UK\$-I&DD[N43R^)+\`/C41)R#NK.!%GF@1#R5IQLB"Z@ +M3:N;:N#Z\$#Y>C#^<.T27JFGD#HX1?Z!YZ#"/WJ@](L>/\`]C:'"5,7](/^\$!\.)75G9"6LR\$.^ +M7JV6^>8I7RT+HZKX8DJVK2S*2_UIE62U4WLK=^Y%O9,V*;2IZY/>O!^5.)YG +7W\M<':X[_W[+58V"S[TO%<%CGK\`!\`\`\`\` +\` +end +EOF + set -ex ( @@ -56,12 +70,6 @@ pushd $httpd ./configure --prefix=$prefix popd -#pushd $modperl -# perl Makefile.PL APACHE_SRC=../$httpd DO_HTTPD=1 EVERYTHING=1 -# make -# make install_perl -#popd - pushd $openssl rm -rf /usr/local/ssl* ./config @@ -76,20 +84,18 @@ pushd $modssl --with-key=/etc/httpd/conf/ssl.key/server.key popd -pushd $freetds - rm -rf /usr/local/freetds* - ./configure --prefix=/usr/local/freetds \ - --with-tdsver=4.2 - make - make install -popd - pushd $php ./configure --with-mysql=/usr/local/mysql --with-apache=../$httpd \ --enable-track-vars \ --enable-memory-limit=yes \ - --enable-debug=no \ - --with-sybase=/usr/local/freetds + --enable-debug=no + 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 install popd @@ -107,6 +113,8 @@ 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 \ --activate-module=src/modules/extra/mod_csacek.c \ --enable-module=so \ --enable-module=headers \ @@ -115,6 +123,7 @@ pushd $httpd make install popd +set +x echo "success." ) 2>&1|tee errs do_failed=false