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

Diff of /trunk/Mix/Install

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

revision 488 by weaselp, Mon Dec 16 06:02:28 2002 UTC revision 489 by weaselp, Mon Mar 31 18:19:14 2003 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.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()
# Line 552  then Line 552  then
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."
# Line 642  http://www.clark.net/pub/dickey/ncurses/ Line 634  http://www.clark.net/pub/dickey/ncurses/
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
# Line 674  http://www.clark.net/pub/dickey/ncurses/ Line 672  http://www.clark.net/pub/dickey/ncurses/
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() {
# Line 682  int main() { Line 681  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    

Legend:
Removed from v.488  
changed lines
  Added in v.489

  ViewVC Help
Powered by ViewVC 1.1.5