--- parser3/buildall 2019/11/27 23:23:49 1.26 +++ parser3/buildall 2020/02/25 10:06:49 1.31 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildall,v 1.26 2019/11/27 23:23:49 moko Exp $ +# $Id: buildall,v 1.31 2020/02/25 10:06:49 moko Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -36,6 +36,10 @@ for PARAM in "$@"; do options="$options --with-mailreceive=$project_dir/gnome" build_gmime="yes" ;; + "--with-system-mailreceive") + printf ", with mail receiving" + options="$options --with-mailreceive" + ;; "--strip") printf ", without debug information" build_stripped="yes" @@ -46,7 +50,7 @@ for PARAM in "$@"; do ;; "--help") echo - echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" + echo "Usage: buildall [--without-xml] [--with-apache] [--with-mailreceive] [--with-system-mailreceive] [--strip] [--direct-download] [--disable-safe-mode] [other configure options ...]" exit 1 ;; *) @@ -110,7 +114,7 @@ prepare_xz () { cleanup () { cd .. -# rm -rf $lib + rm -rf $lib } #################################### Building #################################### @@ -152,7 +156,7 @@ if test ! -f "$project_dir/pcre/lib/libp fi if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxml2.a"; then - lib="libxml2-2.9.4" + lib="libxml2-2.9.9" prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxml2/ #sax1, output, tree, xinclude[in libxslt], html[in libxslt, mode=html?], xptr[xinclude], pattern -- needed! echo "Configuring $lib..." @@ -184,7 +188,7 @@ if test "$build_xml" = "yes" -a ! -f "$p fi if test "$build_xml" = "yes" -a ! -f "$project_dir/gnome/lib/libxslt.a"; then - lib="libxslt-1.1.29" + lib="libxslt-1.1.34" prepare_gz $lib.tar.gz ftp://xmlsoft.org/libxslt/ echo "Configuring $lib..." CFLAGS="$CFLAGS -D__stub_clock_gettime -Dclock_gettime=choke_me" \ @@ -253,7 +257,7 @@ fi cd $parser3_dir if test ! -f "Makefile"; then echo "Configuring parser3..." - ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options --silent $cflags $gmime_cflags + ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options $cflags $gmime_cflags fi echo "Building parser3..."