/[imapfilter]/imapfilter/config
ViewVC logotype

Diff of /imapfilter/config

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

revision 1.17 by lefcha, Sat Feb 22 16:05:15 2003 UTC revision 1.18 by lefcha, Tue May 20 12:17:52 2003 UTC
# Line 8  mandir="$destdir/man" Line 8  mandir="$destdir/man"
8    
9  debug="yes"  debug="yes"
10  checkperms="yes"  checkperms="yes"
 memlock="yes"  
11  encpasswds="yes"  encpasswds="yes"
12  ssl="yes"  ssl="yes"
13    
# Line 51  do Line 50  do
50        if [ $body = "yes" ]; then checkperms="yes"        if [ $body = "yes" ]; then checkperms="yes"
51        elif [ $body = "no" ]; then checkperms="no"        elif [ $body = "no" ]; then checkperms="no"
52        fi        fi
     elif [ $head = "memlock" ]  
     then  
       if [ $body = "yes" ]; then memlock="yes"  
       elif [ $body = "no" ]; then memlock="no"  
       fi  
53      elif [ $head = "encpasswds" ]      elif [ $head = "encpasswds" ]
54      then      then
55        if [ $body = "yes" ]; then encpasswds="yes"        if [ $body = "yes" ]; then encpasswds="yes"
# Line 87  Description: Line 81  Description:
81  Options:  Options:
82    debug                 Debugging information, useful during development [$debug]    debug                 Debugging information, useful during development [$debug]
83    checkperms            Configuration file's permissions checking [$checkperms]    checkperms            Configuration file's permissions checking [$checkperms]
   memlock               Try to lock memory pages to avoid swapping [$memlock]  
84    encpasswds            Encrypted passwords support [$encpasswds]    encpasswds            Encrypted passwords support [$encpasswds]
85    ssl                   Secure Socket Layer and Transport Layer Security [$ssl]    ssl                   Secure Socket Layer and Transport Layer Security [$ssl]
86  EOF  EOF
# Line 121  then Line 114  then
114    read tmp    read tmp
115    if [ -n "$tmp" ]; then checkperms="$tmp"; fi    if [ -n "$tmp" ]; then checkperms="$tmp"; fi
116        
   printf "Try to lock memory pages to avoid swapping [$memlock]: "  
   read tmp  
   if [ -n "$tmp" ]; then memlock="$tmp"; fi  
     
117    printf "Encrypted passwords support [$encpasswds]: "    printf "Encrypted passwords support [$encpasswds]: "
118    read tmp    read tmp
119    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi
# Line 139  Binaries directory:                                    $bindir Line 128  Binaries directory:                                    $bindir
128  Manual pages directory:                                 $mandir  Manual pages directory:                                 $mandir
129  Debugging information:                                  $debug  Debugging information:                                  $debug
130  Configuration file permissions checking:                $checkperms  Configuration file permissions checking:                $checkperms
 Try to lock memory pages to avoid swapping:             $memlock  
131  Encrypted passwords support:                            $encpasswds  Encrypted passwords support:                            $encpasswds
132  Secure Socket Layer and Transport Layer Security:       $ssl  Secure Socket Layer and Transport Layer Security:       $ssl
133  EOF  EOF
# Line 244  else Line 232  else
232  fi  fi
233  echo >> config.h  echo >> config.h
234    
 echo "/* Try to lock memory pages to avoid swapping. */" >> config.h  
 if [ $memlock = "yes" ]  
 then  
   echo "#define MEMORY_LOCK" >> config.h  
 else  
   echo "#undef MEMORY_LOCK" >> config.h  
 fi  
 echo >> config.h  
   
235  echo "/* Encrypted passwords support. */" >> config.h  echo "/* Encrypted passwords support. */" >> config.h
236  if [ $encpasswds = "yes" ]  if [ $encpasswds = "yes" ]
237  then  then

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26