/[imapfilter]/imapfilter/config
ViewVC logotype

Diff of /imapfilter/config

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by lefcha, Sat Jul 26 19:40:18 2003 UTC revision 1.20 by lefcha, Sun Jul 27 10:05:08 2003 UTC
# Line 9  mandir="$destdir/man" Line 9  mandir="$destdir/man"
9  debug="yes"  debug="yes"
10  checkperms="yes"  checkperms="yes"
11  encpasswds="yes"  encpasswds="yes"
12  ssl="yes"  ssltls="yes"
13  cram="yes"  cram="yes"
14    
15  libs=""  libs=""
# Line 56  do Line 56  do
56        if [ $body = "yes" ]; then encpasswds="yes"        if [ $body = "yes" ]; then encpasswds="yes"
57        elif [ $body = "no" ]; then encpasswds="no"        elif [ $body = "no" ]; then encpasswds="no"
58        fi        fi
59      elif [ $head = "ssl" ]      elif [ $head = "ssltls" ]
60      then      then
61        if [ $body = "yes" ]; then ssl="yes"        if [ $body = "yes" ]; then ssltls="yes"
62        elif [ $body = "no" ]; then ssl="no"        elif [ $body = "no" ]; then ssltls="no"
63        fi        fi
64      elif [ $head = "cram" ]      elif [ $head = "cram" ]
65      then      then
# Line 88  Options: Line 88  Options:
88    debug                 Debugging information, useful during development [$debug]    debug                 Debugging information, useful during development [$debug]
89    checkperms            Configuration file's permissions checking [$checkperms]    checkperms            Configuration file's permissions checking [$checkperms]
90    encpasswds            Encrypted passwords support [$encpasswds]    encpasswds            Encrypted passwords support [$encpasswds]
91    ssl                   Secure Socket Layer and Transport Layer Security [$ssl]    ssltls                Secure Socket Layer and Transport Layer Security [$ssltls]
92    cram                  Challenge-Response Authentication Mechanism [$cram]    cram                  Challenge-Response Authentication Mechanism [$cram]
93  EOF  EOF
94      exit 1      exit 1
# Line 125  then Line 125  then
125    read tmp    read tmp
126    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi
127    
128    printf "Secure Socket Layer and Transport Layer Security [$ssl]: "    printf "Secure Socket Layer and Transport Layer Security [$ssltls]: "
129    read tmp    read tmp
130    if [ -n "$tmp" ]; then ssl="$tmp"; fi    if [ -n "$tmp" ]; then ssltls="$tmp"; fi
131    
132    printf "Challenge-Response Authentication Mechanism [$cram]: "    printf "Challenge-Response Authentication Mechanism [$cram]: "
133    read tmp    read tmp
# Line 140  Manual pages directory:                                        $mandir Line 140  Manual pages directory:                                        $mandir
140  Debugging information:                                  $debug  Debugging information:                                  $debug
141  Configuration file permissions checking:                $checkperms  Configuration file permissions checking:                $checkperms
142  Encrypted passwords support:                            $encpasswds  Encrypted passwords support:                            $encpasswds
143  Secure Socket Layer and Transport Layer Security:       $ssl  Secure Socket Layer and Transport Layer Security:       $ssltls
144  Challenge-Response Authentication Mechanism             $cram  Challenge-Response Authentication Mechanism:            $cram
145  EOF  EOF
146  fi  fi
147    
148    
149  # Libraries  # Libraries
150    
151  if [ $ssl = "yes" ]  if [ $ssltls = "yes" ]
152  then  then
153    libs="$libs $libssl $libcrypto"    libs="$libs $libssl $libcrypto"
154  elif [ $encpasswds = "yes" || $cram = "yes" ]  elif [ $encpasswds = "yes" || $cram = "yes" ]
# Line 254  fi Line 254  fi
254  echo >> config.h  echo >> config.h
255    
256  echo "/* Secure Socket Layer and Transport Layer Security support. */" >> config.h  echo "/* Secure Socket Layer and Transport Layer Security support. */" >> config.h
257  if [ $ssl = "yes" ]  if [ $ssltls = "yes" ]
258  then  then
259    echo "#define SSL_TLS" >> config.h    echo "#define SSL_TLS" >> config.h
260  else  else

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26