/[imapfilter]/imapfilter/config
ViewVC logotype

Diff of /imapfilter/config

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

revision 1.3 by lefcha, Sat Dec 8 14:36:53 2001 UTC revision 1.4 by lefcha, Mon Jan 14 18:12:38 2002 UTC
# Line 8  mandir="$destdir/man" Line 8  mandir="$destdir/man"
8    
9  debug="yes"  debug="yes"
10  checkperms="yes"  checkperms="yes"
11    encpasswds="yes"
12  ssl="yes"  ssl="yes"
13    
14  libs=""  libs=""
15    libenc="-lcrypto"
16  libssl="-lssl -lcrypto"  libssl="-lssl -lcrypto"
17    
18  interactive="no"  interactive="no"
# Line 54  Description: Line 56  Description:
56  Options:  Options:
57    debug                 Debugging information, useful during development [yes]    debug                 Debugging information, useful during development [yes]
58    checkperms            Configuration file's permissions checking [yes]    checkperms            Configuration file's permissions checking [yes]
59      encpasswds            Encrypted passwords support [yes]
60    ssl                   Secure Socket Layer and Transport Layer Security [yes]    ssl                   Secure Socket Layer and Transport Layer Security [yes]
61  EOF  EOF
62      exit 1      exit 1
# Line 86  then Line 89  then
89    read tmp    read tmp
90    if [ -n "$tmp" ]; then checkperms="$tmp"; fi    if [ -n "$tmp" ]; then checkperms="$tmp"; fi
91        
92      echo -n "Encrypted passwords support: "
93      read tmp
94      if [ -n "$tmp" ]; then encpasswds="$tmp"; fi
95    
96    echo -n "Secure Socket Layer and Transport Layer Security [$ssl]: "    echo -n "Secure Socket Layer and Transport Layer Security [$ssl]: "
97    read tmp    read tmp
98    if [ -n "$tmp" ]; then ssl="$tmp"; fi    if [ -n "$tmp" ]; then ssl="$tmp"; fi
# Line 96  Binaries directory:                                    $bindir Line 103  Binaries directory:                                    $bindir
103  Manual pages directory:                                 $mandir  Manual pages directory:                                 $mandir
104  Debugging information:                                  $debug  Debugging information:                                  $debug
105  Configuration file permissions checking:                $checkperms  Configuration file permissions checking:                $checkperms
106    Encrypted passwords support:                            $encpasswds
107  Secure Socket Layer and Transport Layer Security:       $ssl  Secure Socket Layer and Transport Layer Security:       $ssl
108  EOF  EOF
109  fi  fi
# Line 106  fi Line 114  fi
114  if [ $ssl = "yes" ]  if [ $ssl = "yes" ]
115  then  then
116    libs="$libs $libssl"    libs="$libs $libssl"
117    elif [ $encpasswds = "yes" ]
118    then
119      libs="$libs $libenc"
120  fi  fi
121    
122    
123    
124  # Backup of original Makefile and config.h  # Backup of original Makefile and config.h
125    
126  if [ ! -f .Makefile ]; then cp Makefile .Makefile; fi  if [ ! -f .Makefile ]; then cp Makefile .Makefile; fi
# Line 192  else Line 204  else
204  fi  fi
205  echo >> config.h  echo >> config.h
206    
207    echo "/* Encrypted passwords support. */" >> config.h
208    if [ $encpasswds = "yes" ]
209    then
210      echo "#define ENCRYPTED_PASSWORDS" >> config.h
211    else
212      echo "#undef ENCRYPTED_PASSWORDS" >> config.h
213    fi
214    echo >> config.h
215    
216  echo "/* Secure Socket Layer and Transport Layer Security support. */" >> config.h  echo "/* Secure Socket Layer and Transport Layer Security support. */" >> config.h
217  if [ $ssl = "yes" ]  if [ $ssl = "yes" ]
218  then  then

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26