diff --git a/ChangeLog b/ChangeLog index f22447d1..7ad83b01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,11 +4,37 @@ $Id$ v0.35.01 05-Jun-2002 + general: + Added structures for netmail routing file. + Expanded nodes structures for FTP and Directory transfers. + Splitted nodes session/mail password in mail and session + password. + Added more external program checks to get the right paths of + archivers, virus scanners etc for default settings in the + setup. + mbtask: Removed some debug logging and corrected some spelling. The ping test now also works if operations are suspended. Rewrote the ping state machine. + mbcico: + Now uses the new session password field for session handshake. + + mbfile: + Added -v commandline switch to supress virus checking for the + adopt and import commands. Use with great care. + + mbsetup: + Upgrades the nodes records, the new session password is copied + from the old combined mail/session password. + In nodes submenu 14 the session and mail passwords can now be + edited seperatly. This will change again! + Archivers, file transfer protocols and virus scanners found + during first configure of this program are automatic installed + in the setup and enabled. Others are shown there with default + paths but are disabled, they can be used as examples. + v0.33.21 04-Jun-2002 diff --git a/Makefile b/Makefile index 438c0d63..0808e4ff 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ OTHER = AUTHORS ChangeLog COPYING DEBUG CRON.sh FILE_ID.DIZ.in \ INSTALL.in Makefile Makefile.global.in NEWS \ ChangeLog_1998 ChangeLog_1999 ChangeLog_2000 ChangeLog_2001 \ README SETUP.sh TODO UPGRADE aclocal.m4 \ - checkbasic config.h.in configure configure.in + checkbasic config.h.in configure configure.in paths.h.in TARFILE = ${PACKAGE}-${VERSION}.tar.gz ############################################################################### diff --git a/configure b/configure index ad10168d..17bba439 100755 --- a/configure +++ b/configure @@ -7026,6 +7026,669 @@ fi done test -n "$GZIP" || GZIP="no-gzip-found-during-configure" +# Extract the first word of "arc", so it can be a program name with args. +set dummy arc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_ARC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ARC in + [\\/]* | ?:[\\/]*) + ac_cv_path_ARC="$ARC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ARC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +ARC=$ac_cv_path_ARC + +if test -n "$ARC"; then + echo "$as_me:$LINENO: result: $ARC" >&5 +echo "${ECHO_T}$ARC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "arj", so it can be a program name with args. +set dummy arj; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_ARJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ARJ in + [\\/]* | ?:[\\/]*) + ac_cv_path_ARJ="$ARJ" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ARJ="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +ARJ=$ac_cv_path_ARJ + +if test -n "$ARJ"; then + echo "$as_me:$LINENO: result: $ARJ" >&5 +echo "${ECHO_T}$ARJ" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "unarj", so it can be a program name with args. +set dummy unarj; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_UNARJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UNARJ in + [\\/]* | ?:[\\/]*) + ac_cv_path_UNARJ="$UNARJ" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_UNARJ="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +UNARJ=$ac_cv_path_UNARJ + +if test -n "$UNARJ"; then + echo "$as_me:$LINENO: result: $UNARJ" >&5 +echo "${ECHO_T}$UNARJ" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "lha", so it can be a program name with args. +set dummy lha; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_LHA+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $LHA in + [\\/]* | ?:[\\/]*) + ac_cv_path_LHA="$LHA" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_LHA="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +LHA=$ac_cv_path_LHA + +if test -n "$LHA"; then + echo "$as_me:$LINENO: result: $LHA" >&5 +echo "${ECHO_T}$LHA" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "rar", so it can be a program name with args. +set dummy rar; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_RAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_RAR="$RAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_RAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +RAR=$ac_cv_path_RAR + +if test -n "$RAR"; then + echo "$as_me:$LINENO: result: $RAR" >&5 +echo "${ECHO_T}$RAR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "unrar", so it can be a program name with args. +set dummy unrar; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_UNRAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UNRAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_UNRAR="$UNRAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_UNRAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +UNRAR=$ac_cv_path_UNRAR + +if test -n "$UNRAR"; then + echo "$as_me:$LINENO: result: $UNRAR" >&5 +echo "${ECHO_T}$UNRAR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "tar", so it can be a program name with args. +set dummy tar; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_TAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_TAR="$TAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +TAR=$ac_cv_path_TAR + +if test -n "$TAR"; then + echo "$as_me:$LINENO: result: $TAR" >&5 +echo "${ECHO_T}$TAR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "zip", so it can be a program name with args. +set dummy zip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_ZIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +ZIP=$ac_cv_path_ZIP + +if test -n "$ZIP"; then + echo "$as_me:$LINENO: result: $ZIP" >&5 +echo "${ECHO_T}$ZIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "unzip", so it can be a program name with args. +set dummy unzip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_UNZIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UNZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +UNZIP=$ac_cv_path_UNZIP + +if test -n "$UNZIP"; then + echo "$as_me:$LINENO: result: $UNZIP" >&5 +echo "${ECHO_T}$UNZIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "zoo", so it can be a program name with args. +set dummy zoo; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_ZOO+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ZOO in + [\\/]* | ?:[\\/]*) + ac_cv_path_ZOO="$ZOO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ZOO="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +ZOO=$ac_cv_path_ZOO + +if test -n "$ZOO"; then + echo "$as_me:$LINENO: result: $ZOO" >&5 +echo "${ECHO_T}$ZOO" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "antivir", so it can be a program name with args. +set dummy antivir; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_ANTIVIR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ANTIVIR in + [\\/]* | ?:[\\/]*) + ac_cv_path_ANTIVIR="$ANTIVIR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ANTIVIR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +ANTIVIR=$ac_cv_path_ANTIVIR + +if test -n "$ANTIVIR"; then + echo "$as_me:$LINENO: result: $ANTIVIR" >&5 +echo "${ECHO_T}$ANTIVIR" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "f-prot", so it can be a program name with args. +set dummy f-prot; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_FPROT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $FPROT in + [\\/]* | ?:[\\/]*) + ac_cv_path_FPROT="$FPROT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_FPROT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +FPROT=$ac_cv_path_FPROT + +if test -n "$FPROT"; then + echo "$as_me:$LINENO: result: $FPROT" >&5 +echo "${ECHO_T}$FPROT" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "uvscan", so it can be a program name with args. +set dummy uvscan; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_UVSCAN+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UVSCAN in + [\\/]* | ?:[\\/]*) + ac_cv_path_UVSCAN="$UVSCAN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_UVSCAN="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +UVSCAN=$ac_cv_path_UVSCAN + +if test -n "$UVSCAN"; then + echo "$as_me:$LINENO: result: $UVSCAN" >&5 +echo "${ECHO_T}$UVSCAN" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "rb", so it can be a program name with args. +set dummy rb; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_RB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RB in + [\\/]* | ?:[\\/]*) + ac_cv_path_RB="$RB" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_RB="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +RB=$ac_cv_path_RB + +if test -n "$RB"; then + echo "$as_me:$LINENO: result: $RB" >&5 +echo "${ECHO_T}$RB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "sb", so it can be a program name with args. +set dummy sb; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_SB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SB in + [\\/]* | ?:[\\/]*) + ac_cv_path_SB="$SB" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_SB="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +SB=$ac_cv_path_SB + +if test -n "$SB"; then + echo "$as_me:$LINENO: result: $SB" >&5 +echo "${ECHO_T}$SB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "rz", so it can be a program name with args. +set dummy rz; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_RZ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RZ in + [\\/]* | ?:[\\/]*) + ac_cv_path_RZ="$RZ" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_RZ="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +RZ=$ac_cv_path_RZ + +if test -n "$RZ"; then + echo "$as_me:$LINENO: result: $RZ" >&5 +echo "${ECHO_T}$RZ" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +# Extract the first word of "sz", so it can be a program name with args. +set dummy sz; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_SZ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SZ in + [\\/]* | ?:[\\/]*) + ac_cv_path_SZ="$SZ" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_SZ="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + ;; +esac +fi +SZ=$ac_cv_path_SZ + +if test -n "$SZ"; then + echo "$as_me:$LINENO: result: $SZ" >&5 +echo "${ECHO_T}$SZ" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + # Check whether --with-log-compress or --without-log-compress was given. if test "${with_log_compress+set}" = set; then @@ -7101,7 +7764,7 @@ echo "${ECHO_T}$vpop" >&6 done -ac_config_files="$ac_config_files Makefile.global mbfido/paths.h unix/login.defs INSTALL FILE_ID.DIZ" +ac_config_files="$ac_config_files Makefile.global paths.h unix/login.defs INSTALL FILE_ID.DIZ" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -7583,7 +8246,7 @@ do case "$ac_config_target" in # Handling of arguments. "Makefile.global" ) CONFIG_FILES="$CONFIG_FILES Makefile.global" ;; - "mbfido/paths.h" ) CONFIG_FILES="$CONFIG_FILES mbfido/paths.h" ;; + "paths.h" ) CONFIG_FILES="$CONFIG_FILES paths.h" ;; "unix/login.defs" ) CONFIG_FILES="$CONFIG_FILES unix/login.defs" ;; "INSTALL" ) CONFIG_FILES="$CONFIG_FILES INSTALL" ;; "FILE_ID.DIZ" ) CONFIG_FILES="$CONFIG_FILES FILE_ID.DIZ" ;; @@ -7697,6 +8360,21 @@ s,@CPP@,$CPP,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@COMPRESS@,$COMPRESS,;t t s,@GZIP@,$GZIP,;t t +s,@ARC@,$ARC,;t t +s,@ARJ@,$ARJ,;t t +s,@UNARJ@,$UNARJ,;t t +s,@LHA@,$LHA,;t t +s,@RAR@,$RAR,;t t +s,@UNRAR@,$UNRAR,;t t +s,@UNZIP@,$UNZIP,;t t +s,@ZOO@,$ZOO,;t t +s,@ANTIVIR@,$ANTIVIR,;t t +s,@FPROT@,$FPROT,;t t +s,@UVSCAN@,$UVSCAN,;t t +s,@RB@,$RB,;t t +s,@SB@,$SB,;t t +s,@RZ@,$RZ,;t t +s,@SZ@,$SZ,;t t s,@LOG_COMPRESS@,$LOG_COMPRESS,;t t s,@LOG_COMPRESSEXT@,$LOG_COMPRESSEXT,;t t CEOF diff --git a/configure.in b/configure.in index 0c7e2f23..4615a066 100644 --- a/configure.in +++ b/configure.in @@ -158,6 +158,23 @@ AC_CHECK_FUNCS(getspnam getutent initgroups updwtmp updwtmpx) dnl Check for external programs AC_PATH_PROG(COMPRESS,compress,no-compress-found-during-configure) AC_PATH_PROGS(GZIP,gzip,no-gzip-found-during-configure) +AC_PATH_PROG(ARC,arc) +AC_PATH_PROG(ARJ,arj) +AC_PATH_PROG(UNARJ,unarj) +AC_PATH_PROG(LHA,lha) +AC_PATH_PROG(RAR,rar) +AC_PATH_PROG(UNRAR,unrar) +AC_PATH_PROG(TAR,tar) +AC_PATH_PROG(ZIP,zip) +AC_PATH_PROG(UNZIP,unzip) +AC_PATH_PROG(ZOO,zoo) +AC_PATH_PROG(ANTIVIR,antivir) +AC_PATH_PROG(FPROT,f-prot) +AC_PATH_PROG(UVSCAN,uvscan) +AC_PATH_PROG(RB,rb) +AC_PATH_PROG(SB,sb) +AC_PATH_PROG(RZ,rz) +AC_PATH_PROG(SZ,sz) dnl AC_ARG_WITH(log-compress,[ --with-log-compress=METHOD Log compression method (default gzip)], LOG_COMPRESS=$with_log_compress, LOG_COMPRESS=gzip) case "$LOG_COMPRESS" in @@ -210,7 +227,7 @@ done AC_OUTPUT( Makefile.global - mbfido/paths.h + paths.h unix/login.defs INSTALL FILE_ID.DIZ diff --git a/html/setup/archiver.html b/html/setup/archiver.html index 02a074ff..769cc00e 100644 --- a/html/setup/archiver.html +++ b/html/setup/archiver.html @@ -12,7 +12,7 @@
-
Last update 29-Jan-2001
+
Last update 15-Jun-2002

 

MBSE BBS Setup - archiver programs

@@ -36,6 +36,11 @@ your bbs. To make life a little more easy, during the first bbs setup the most common archivers already configured. You only need to make sure that they are really present on your system.

+When you configured the sources and build mbse, the configure script searched +for excisting archivers. When mbsetup was run the first time, when mbtask was +started, the archivers found on your system are already configured with the +right paths and enabled. +

BackBack to index  HomeBack to main index diff --git a/html/setup/nodes.html b/html/setup/nodes.html index f4d62fab..1c77e283 100644 --- a/html/setup/nodes.html +++ b/html/setup/nodes.html @@ -12,7 +12,7 @@

-
Last update 11-Jun-2002
+
Last update 15-Jun-2002

 

MBSE BBS Setup - Fidonet nodes.

@@ -73,7 +73,8 @@ you can setup the aka's, mail, files and session handshake.

Mail setup

-Session pwd      The mailer session password.
+Session pwd      The mailer session handshake password.
+PKT password     The password to insert in .pkt files.
 Check PKT pwd    Check password in received .pkt files. If not,
                  errors or missing passwords are only logged.
                  If set, errors or missing password are refused
diff --git a/html/setup/protocol.html b/html/setup/protocol.html
index e085ca3f..5e193577 100644
--- a/html/setup/protocol.html
+++ b/html/setup/protocol.html
@@ -12,7 +12,7 @@
 
 
 
-
Last update 29-Jan-2001
+
Last update 15-Jun-2002

 

MBSE BBS Setup - BBS Setup - Transfer Protocols.

@@ -26,6 +26,11 @@ already had internal protocols and the precessor of the bbs package had external protocols. Because my priority was make the bbs working it still is that way. When time comes I will build some of the protocols internal, adding external protocols will allways be possible. +

+When you configured the sources and build mbse, the configure script searched +for excisting transfer protocols. When mbsetup was run the first time, when mbtask was +started, the protocols found on your system are already configured with the +right paths and enabled.

 

Transfer Protocols Setup.

diff --git a/html/setup/virscan.html b/html/setup/virscan.html index c66c726d..e0c30aef 100644 --- a/html/setup/virscan.html +++ b/html/setup/virscan.html @@ -12,7 +12,7 @@
-
Last update 25-Oct-2001
+
Last update 15-Jun-2002

 

MBSE BBS Setup - virus scanners

@@ -28,8 +28,13 @@ There are several scanners for Linux available. Default only two of them are setup. You may consult http://www.openantivirus.org for more scanners mentioned in a mini-FAQ maintained by Rainer Link. +

+When you configured the sources and build mbse, the configure script searched +for excisting scanners. When mbsetup was run the first time, when mbtask was +started, the scanners found on your system are already configured with the +right paths and enabled.

-The following scanners are default installed in the setup but disabled for use: +The following scanners are default installed in the setup:

    @@ -46,7 +51,7 @@ HREF="http://www.frisk.is">http://www.frisk.is. For now the BETA releases ar for personal use.

-As soon as you have made a scanner available in the setup and you receive files +As soon as you have made one scanner available in the setup and you receive files in tic areas where the scan flag is set, then these files will be checked. As soon as one of the scanners detects a virus the received file will not be imported. Uploads from users will be checked with the installed virus scanners as well. diff --git a/paths.h.in b/paths.h.in new file mode 100644 index 00000000..6f4eef97 --- /dev/null +++ b/paths.h.in @@ -0,0 +1,42 @@ +/* + * $Id$ + * + * Autogenerated by configure + */ + +/* + * Paths to archivers + */ +#define _PATH_COMPRESS "@COMPRESS@" +#define _PATH_GZIP "@GZIP@" +#define _PATH_ARC "@ARC@" +#define _PATH_ARJ "@ARJ@" +#define _PATH_UNARJ "@UNARJ@" +#define _PATH_LHA "@LHA@" +#define _PATH_RAR "@RAR@" +#define _PATH_UNRAR "@UNRAR@" +#define _PATH_TAR "@TAR@" +#define _PATH_ZIP "@ZIP@" +#define _PATH_UNZIP "@UNZIP@" +#define _PATH_ZOO "@ZOO@" + + + +/* + * Paths to some virus scanners + */ +#define _PATH_ANTIVIR "@ANTIVIR@" +#define _PATH_FPROT "@FPROT@" +#define _PATH_UVSCAN "@UVSCAN@" + + + +/* + * File transfer protocols + */ +#define _PATH_RB "@RB@" +#define _PATH_SB "@SB@" +#define _PATH_RZ "@RZ@" +#define _PATH_SZ "@SZ@" + +