8 |
|
|
9 |
debug="yes" |
debug="yes" |
10 |
checkperms="yes" |
checkperms="yes" |
|
memlock="yes" |
|
11 |
encpasswds="yes" |
encpasswds="yes" |
12 |
ssl="yes" |
ssl="yes" |
13 |
|
|
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" |
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 |
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 |
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 |
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 |