# mirint.cfg ## ============================================================================ # MirInt's configuration file ## ============================================================================ # The base directory where everything is kept BASEPATH="." # The trusted reference mirror, one of our own servers or a local path: # e.g. http://www.apache.org/dist/ or file://www/www.apache.org/dist/ REFERENCE_MIRROR="http://www.apache.org/dist/" # The complete list of mirrors to use (in MirMon's format) MIRRORS_LIST="$BASEPATH/../mirrors.list" # The list of files to verify on each mirror FILES_LIST="$BASEPATH/files.list" # Where to store the files downloaded from the reference mirror REFERENCE_PATH="$BASEPATH/ref" # Where to store the files downloaded from the foreign mirrors WORKING_PATH="$BASEPATH/tmp" # Where to store suscpicious files/md5sums/diffs SUSPCHK_PATH="$BASEPATH/ssp" # Where to store the logfile LOGFILE="$BASEPATH/mirint.log" # Default number of randomly choosen mirrors RM_COUNT=5 # Where to find the md5/md5sum utility (e.g. /sbin/md5) MD5=`which md5` # Where to find the diff utility (e.g. /usr/bin/diff) DIFF=`which diff` # Where to find sed (e.g. /usr/bin/sed) SED=`which sed` # Where to find AWK: we need a recent version with rand() # available (NAWK or GAWK are fine too; e.g. /usr/bin/awk) AWK=`which awk` # Where to find Curl (e.g. /usr/local/bin/curl) CURL=`which curl` # Curl default parameters (timeouts, proxies, etc.) # # connect-timeout -> Maximum allowed *connection* time # speed-limit -> Minimum download rate in bytes per second # max-time -> Maximum allowed time to complete whole operation # fail -> Don't retrieve error documents or the like CURL_DEFAULTS="--connect-timeout 10 \ --speed-limit 100 \ --max-time 1200 \ --fail"