| 6 |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
| 7 |
# details. |
# details. |
| 8 |
|
|
| 9 |
# $Id: Install,v 1.27 2002/12/16 06:02:28 weaselp Exp $ |
# $Id: Install,v 1.28 2003/03/31 18:19:13 weaselp Exp $ |
| 10 |
|
|
| 11 |
#whereis program default-path |
#whereis program default-path |
| 12 |
whereis() |
whereis() |
| 552 |
elif [ "$version" = "90607f" ] |
elif [ "$version" = "90607f" ] |
| 553 |
then |
then |
| 554 |
echo "Compiling with OpenSSL 0.9.6g." |
echo "Compiling with OpenSSL 0.9.6g." |
| 555 |
elif [ "$version" = "907001" ] |
elif [ "$version" = "90700f" ] |
| 556 |
then |
then |
| 557 |
echo "Compiling with OpenSSL 0.9.7beta1." |
echo "Compiling with OpenSSL 0.9.7." |
|
opensslwarn |
|
|
elif [ "$version" = "907002" ] |
|
|
then |
|
|
echo "Compiling with OpenSSL 0.9.7beta2." |
|
|
opensslwarn |
|
|
elif [ "$version" = "907003" ] |
|
|
then |
|
|
echo "Compiling with OpenSSL 0.9.7beta3." |
|
| 558 |
elif [ "$version" -lt "920" ] |
elif [ "$version" -lt "920" ] |
| 559 |
then |
then |
| 560 |
echo "This version: ${version} of SSLeay is not supported." |
echo "This version: ${version} of SSLeay is not supported." |
| 634 |
ideawarn() |
ideawarn() |
| 635 |
{ |
{ |
| 636 |
echo " |
echo " |
| 637 |
WARNING: Building without IDEA. This means (among other things) that |
WARNING: Your version of OpenSSL has been configured without IDEA support. |
| 638 |
Mixmaster will not create an RSA OpenPGP key (to avoid mail loss)" |
If you continue, Mixmaster will be installed with reduced functionality. |
| 639 |
|
This means (among other things) that Mixmaster will not create an RSA |
| 640 |
|
OpenPGP key (to avoid mail loss in the Type I system). You may want to |
| 641 |
|
re-install OpenSSL before proceeding. |
| 642 |
|
|
| 643 |
|
This will not concern you if you only plan to run a type II remailer or |
| 644 |
|
simply want a type II client." |
| 645 |
readln "Continue anyway?" y |
readln "Continue anyway?" y |
| 646 |
if [ "$ans" = "n" ] |
if [ "$ans" = "n" ] |
| 647 |
then |
then |
| 672 |
then |
then |
| 673 |
DEF="$DEF -DUSE_IDEA" |
DEF="$DEF -DUSE_IDEA" |
| 674 |
else |
else |
| 675 |
|
echo "Checking for IDEA support..." |
| 676 |
cat <<END >tmptst.c |
cat <<END >tmptst.c |
| 677 |
#include <openssl/idea.h> |
#include <openssl/idea.h> |
| 678 |
int main() { |
int main() { |
| 681 |
exit(0); |
exit(0); |
| 682 |
} |
} |
| 683 |
END |
END |
| 684 |
if gcc $LDFLAGS $INC tmptst.c -o /dev/null $OPENSSLLIB |
if gcc $LDFLAGS $INC tmptst.c -o tmptst $OPENSSLLIB |
| 685 |
then |
then |
| 686 |
DEF="$DEF -DUSE_IDEA" |
DEF="$DEF -DUSE_IDEA" |
| 687 |
else |
else |
| 688 |
ideawarn |
ideawarn |
| 689 |
fi |
fi |
| 690 |
rm -f tmptst.c |
rm -f tmptst.c tmptst |
| 691 |
fi |
fi |
| 692 |
|
|
| 693 |
|
|