| 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.7 2002/07/29 12:35:00 weaselp Exp $ |
# $Id: Install,v 1.8 2002/08/09 18:00:06 rabbi Exp $ |
| 10 |
|
|
| 11 |
#whereis program default-path |
#whereis program default-path |
| 12 |
whereis() |
whereis() |
| 405 |
fi |
fi |
| 406 |
fi |
fi |
| 407 |
|
|
| 408 |
opensslinfo="Please get OpenSSL 0.9.4 or greater from http://www.openssl.org/" |
opensslinfo="Please get OpenSSL 0.9.6f or greater from http://www.openssl.org/" |
| 409 |
|
opensslwarning="WARNING: This version of OpenSSL contains known vulnerabilities. Please upgrade to OpenSSL 0.9.6f or greater!" |
| 410 |
LIBDIR=/usr/local/ssl/lib |
LIBDIR=/usr/local/ssl/lib |
| 411 |
INCDIR="/usr/include /usr/include/ssl /usr/lib/ssl/include /usr/local/ssl/include" |
INCDIR="/usr/include /usr/include/ssl /usr/lib/ssl/include /usr/local/ssl/include" |
| 412 |
SRCDIR="openssl*" |
SRCDIR="openssl*" |
| 465 |
elif [ "16#$version" = "16#90581f" ] |
elif [ "16#$version" = "16#90581f" ] |
| 466 |
then |
then |
| 467 |
echo "Compiling with OpenSSL 0.9.5a." |
echo "Compiling with OpenSSL 0.9.5a." |
| 468 |
|
echo $opensslwarning |
| 469 |
elif [ "16#$version" = "16#90601f" ] |
elif [ "16#$version" = "16#90601f" ] |
| 470 |
then |
then |
| 471 |
echo "Compiling with OpenSSL 0.9.6a." |
echo "Compiling with OpenSSL 0.9.6a." |
| 472 |
|
echo $opensslwarning |
| 473 |
elif [ "16#$version" = "16#90602f" ] |
elif [ "16#$version" = "16#90602f" ] |
| 474 |
then |
then |
| 475 |
echo "Compiling with OpenSSL 0.9.6b." |
echo "Compiling with OpenSSL 0.9.6b." |
| 476 |
|
echo $opensslwarning |
| 477 |
elif [ "16#$version" = "16#90603f" ] |
elif [ "16#$version" = "16#90603f" ] |
| 478 |
then |
then |
| 479 |
echo "Compiling with OpenSSL 0.9.6c." |
echo "Compiling with OpenSSL 0.9.6c." |
| 480 |
|
echo $opensslwarning |
| 481 |
elif [ "16#$version" = "16#90604f" ] |
elif [ "16#$version" = "16#90604f" ] |
| 482 |
then |
then |
| 483 |
echo "Compiling with OpenSSL 0.9.6d." |
echo "Compiling with OpenSSL 0.9.6d." |
| 484 |
|
echo $opensslwarning |
| 485 |
|
elif [ "16#$version" = "16#90605f" ] |
| 486 |
|
then |
| 487 |
|
echo "Compiling with OpenSSL 0.9.6e." |
| 488 |
|
echo $opensslwarning |
| 489 |
|
elif [ "16#$version" = "16#90606f" ] |
| 490 |
|
then |
| 491 |
|
echo "Compiling with OpenSSL 0.9.6f." |
| 492 |
|
elif [ "16#$version" = "16#90607f" ] |
| 493 |
|
then |
| 494 |
|
echo "Compiling with OpenSSL 0.9.6g." |
| 495 |
elif [ "$version" -lt "920" ] |
elif [ "$version" -lt "920" ] |
| 496 |
then |
then |
| 497 |
echo "This version: ${version} of SSLeay is not supported." |
echo "This version: ${version} of SSLeay is not supported." |