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" |
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" |
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] |
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 |
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 |
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 |