/[imapfilter]/imapfilter/config
ViewVC logotype

Diff of /imapfilter/config

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

revision 1.8 by lefcha, Thu Jul 25 21:22:49 2002 UTC revision 1.9 by lefcha, Tue Sep 24 18:49:34 2002 UTC
# Line 8  mandir="$destdir/man" Line 8  mandir="$destdir/man"
8    
9  debug="yes"  debug="yes"
10  checkperms="yes"  checkperms="yes"
11    memlock="yes"
12  encpasswds="yes"  encpasswds="yes"
13  ssl="yes"  ssl="yes"
14    
# Line 47  do Line 48  do
48        if [ $body = "yes" ]; then checkperms="yes"        if [ $body = "yes" ]; then checkperms="yes"
49        elif [ $body = "no" ]; then checkperms="no"        elif [ $body = "no" ]; then checkperms="no"
50        fi        fi
51        elif [ $head = "memlock" ]
52        then
53          if [ $body = "yes" ]; then memlock="yes"
54          elif [ $body = "no" ]; then memlock="no"
55          fi
56      elif [ $head = "encpasswds" ]      elif [ $head = "encpasswds" ]
57      then      then
58        if [ $body = "yes" ]; then encpasswds="yes"        if [ $body = "yes" ]; then encpasswds="yes"
# Line 78  Description: Line 84  Description:
84  Options:  Options:
85    debug                 Debugging information, useful during development [yes]    debug                 Debugging information, useful during development [yes]
86    checkperms            Configuration file's permissions checking [yes]    checkperms            Configuration file's permissions checking [yes]
87      memlock               Try to lock memory pages to avoid swapping [yes]
88    encpasswds            Encrypted passwords support [yes]    encpasswds            Encrypted passwords support [yes]
89    ssl                   Secure Socket Layer and Transport Layer Security [yes]    ssl                   Secure Socket Layer and Transport Layer Security [yes]
90  EOF  EOF
# Line 91  done Line 98  done
98    
99  if [ $interactive = "yes" ]  if [ $interactive = "yes" ]
100  then  then
101    echo -n "Destination directory [$destdir]: "    printf "Destination directory [$destdir]: "
102    read tmp    read tmp
103    if [ -n "$tmp" ]; then destdir="$tmp"; fi    if [ -n "$tmp" ]; then destdir="$tmp"; fi
104    
105    echo -n "Binaries directory [$bindir]: "    printf "Binaries directory [$bindir]: "
106    read tmp    read tmp
107    if [ -n "$tmp" ]; then bindir="$tmp"; fi    if [ -n "$tmp" ]; then bindir="$tmp"; fi
108    
109    echo -n "Manual pages directory [$mandir]: "    printf "Manual pages directory [$mandir]: "
110    read tmp    read tmp
111    if [ -n "$tmp" ]; then mandir="$tmp"; fi    if [ -n "$tmp" ]; then mandir="$tmp"; fi
112        
113    echo -n "Debugging information [$debug]: "    printf "Debugging information [$debug]: "
114    read tmp    read tmp
115    if [ -n "$tmp" ]; then debug="$tmp"; fi    if [ -n "$tmp" ]; then debug="$tmp"; fi
116        
117    echo -n "Configuration file permissions checking [$checkperms]: "    printf "Configuration file permissions checking [$checkperms]: "
118    read tmp    read tmp
119    if [ -n "$tmp" ]; then checkperms="$tmp"; fi    if [ -n "$tmp" ]; then checkperms="$tmp"; fi
120        
121    echo -n "Encrypted passwords support: "    printf "Try to lock memory pages to avoid swapping [$memlock]: "
122      read tmp
123      if [ -n "$tmp" ]; then memlock="$tmp"; fi
124      
125      printf "Encrypted passwords support: "
126    read tmp    read tmp
127    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi    if [ -n "$tmp" ]; then encpasswds="$tmp"; fi
128    
129    echo -n "Secure Socket Layer and Transport Layer Security [$ssl]: "    printf "Secure Socket Layer and Transport Layer Security [$ssl]: "
130    read tmp    read tmp
131    if [ -n "$tmp" ]; then ssl="$tmp"; fi    if [ -n "$tmp" ]; then ssl="$tmp"; fi
132  else  else
# Line 125  Binaries directory:                                    $bindir Line 136  Binaries directory:                                    $bindir
136  Manual pages directory:                                 $mandir  Manual pages directory:                                 $mandir
137  Debugging information:                                  $debug  Debugging information:                                  $debug
138  Configuration file permissions checking:                $checkperms  Configuration file permissions checking:                $checkperms
139    Try to lock memory pages to avoid swapping:             $memlock
140  Encrypted passwords support:                            $encpasswds  Encrypted passwords support:                            $encpasswds
141  Secure Socket Layer and Transport Layer Security:       $ssl  Secure Socket Layer and Transport Layer Security:       $ssl
142  EOF  EOF
# Line 226  else Line 238  else
238  fi  fi
239  echo >> config.h  echo >> config.h
240    
241    echo "/* Try to lock memory pages to avoid swapping. */" >> config.h
242    if [ $memlock = "yes" ]
243    then
244      echo "#define MEMORY_LOCK" >> config.h
245    else
246      echo "#undef MEMORY_LOCK" >> config.h
247    fi
248    echo >> config.h
249    
250  echo "/* Encrypted passwords support. */" >> config.h  echo "/* Encrypted passwords support. */" >> config.h
251  if [ $encpasswds = "yes" ]  if [ $encpasswds = "yes" ]
252  then  then

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26