/[pkg-mixmaster]/trunk/Mix/Install
ViewVC logotype

Diff of /trunk/Mix/Install

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

revision 93 by rabbi, Thu Jul 11 02:39:33 2002 UTC revision 125 by rabbi, Fri Aug 9 18:00:06 2002 UTC
# Line 6  Line 6 
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.4 2002/07/11 02:39:33 rabbi 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()
# Line 353  then Line 353  then
353     echo "Please build libidea.a or install OpenSSL with IDEA now."     echo "Please build libidea.a or install OpenSSL with IDEA now."
354     exit 1     exit 1
355    else    else
356       DEF="$DEF -DUSE_IDEA"
357     IDEALIB="$MAKELIB"     IDEALIB="$MAKELIB"
358     LIBS="$LIBS $LIB"     LIBS="$LIBS $LIB"
359     LDFLAGS="$LDFLAGS $LDFLAG"     LDFLAGS="$LDFLAGS $LDFLAG"
# Line 361  then Line 362  then
362      INC="$INC -I$INCDIR"      INC="$INC -I$INCDIR"
363     fi     fi
364    fi    fi
365     else
366      DEF="$DEF -DUSE_IDEA"
367   fi   fi
368    
369   LIBDIR=   LIBDIR=
# Line 372  then Line 375  then
375    readln "Continue anyway?" n    readln "Continue anyway?" n
376    if [ "$ans" = "n" ]    if [ "$ans" = "n" ]
377    then    then
378     echo "Please install zlib now."     echo "Please install zlib 1.1.4 or greater now."
379     exit 1     exit 1
380    fi    fi
381   else   else
# Line 402  then Line 405  then
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*"
# Line 460  then Line 464  then
464    fi    fi
465   elif [ "16#$version" = "16#90581f" ]   elif [ "16#$version" = "16#90581f" ]
466   then   then
467      echo "Compiling with OpenSSL 0.9.5a."
468      echo $opensslwarning
469     elif [ "16#$version" = "16#90601f" ]
470     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."
# Line 983  then Line 1005  then
1005   then   then
1006    readln "Overwrite now?" n    readln "Overwrite now?" n
1007   else   else
1008    readln "Do that now?" y    readln "Do that now?" n
1009   fi   fi
1010   if [ "$ans" = "y" ]   if [ "$ans" = "y" ]
1011   then   then

Legend:
Removed from v.93  
changed lines
  Added in v.125

  ViewVC Help
Powered by ViewVC 1.1.5