/[imapfilter]/imapfilter/config
ViewVC logotype

Diff of /imapfilter/config

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

revision 1.24 by lefcha, Sun Aug 3 16:03:19 2003 UTC revision 1.25 by lefcha, Sat Feb 7 23:54:16 2004 UTC
# Line 7  bindir="$destdir/bin" Line 7  bindir="$destdir/bin"
7  mandir="$destdir/man"  mandir="$destdir/man"
8    
9  debug="yes"  debug="yes"
 checkperms="yes"  
10  encpasswds="yes"  encpasswds="yes"
11  ssltls="yes"  ssltls="yes"
12  cram="yes"  cram="yes"
# Line 46  do Line 45  do
45        if [ $body = "yes" ]; then debug="yes"        if [ $body = "yes" ]; then debug="yes"
46        elif [ $body = "no" ]; then debug="no"        elif [ $body = "no" ]; then debug="no"
47        fi        fi
     elif [ $head = "checkperms" ]  
     then  
       if [ $body = "yes" ]; then checkperms="yes"  
       elif [ $body = "no" ]; then checkperms="no"  
       fi  
48      elif [ $head = "encpasswds" ]      elif [ $head = "encpasswds" ]
49      then      then
50        if [ $body = "yes" ]; then encpasswds="yes"        if [ $body = "yes" ]; then encpasswds="yes"
# Line 86  Description: Line 80  Description:
80    
81  Options:  Options:
82    debug                 Debugging information, useful during development [$debug]    debug                 Debugging information, useful during development [$debug]
   checkperms            Configuration file's permissions checking [$checkperms]  
83    encpasswds            Encrypted passwords support [$encpasswds]    encpasswds            Encrypted passwords support [$encpasswds]
84    ssltls                Secure Socket Layer and Transport Layer Security [$ssltls]    ssltls                Secure Socket Layer and Transport Layer Security [$ssltls]
85    cram                  Challenge-Response Authentication Mechanism [$cram]    cram                  Challenge-Response Authentication Mechanism [$cram]
# Line 117  then Line 110  then
110    read tmp    read tmp
111    if [ -n "$tmp" ]; then debug="$tmp"; fi    if [ -n "$tmp" ]; then debug="$tmp"; fi
112        
   printf "Configuration file permissions checking [$checkperms]: "  
   read tmp  
   if [ -n "$tmp" ]; then checkperms="$tmp"; fi  
     
113    printf "Encrypted passwords support [$encpasswds]: "    printf "Encrypted passwords support [$encpasswds]: "
114    read tmp    read tmp
115    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi
# Line 138  Destination directory:                                 $destdir Line 127  Destination directory:                                 $destdir
127  Binaries directory:                                     $bindir  Binaries directory:                                     $bindir
128  Manual pages directory:                                 $mandir  Manual pages directory:                                 $mandir
129  Debugging information:                                  $debug  Debugging information:                                  $debug
 Configuration file permissions checking:                $checkperms  
130  Encrypted passwords support:                            $encpasswds  Encrypted passwords support:                            $encpasswds
131  Secure Socket Layer and Transport Layer Security:       $ssltls  Secure Socket Layer and Transport Layer Security:       $ssltls
132  Challenge-Response Authentication Mechanism:            $cram  Challenge-Response Authentication Mechanism:            $cram
# Line 250  else Line 238  else
238  fi  fi
239  echo >> config.h  echo >> config.h
240    
 echo "/* Configuration file's permissions checking. */" >> config.h  
 if [ $checkperms = "yes" ]  
 then  
   echo "#define CHECK_PERMISSIONS" >> config.h  
 else  
   echo "#undef CHECK_PERMISSIONS" >> config.h  
 fi  
 echo >> config.h  
   
241  echo "/* Encrypted passwords support. */" >> config.h  echo "/* Encrypted passwords support. */" >> config.h
242  if [ $encpasswds = "yes" ]  if [ $encpasswds = "yes" ]
243  then  then

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26