sysadmin
@
extreme.indiana.edu


Home
Machines
CSG
    Support
    Packages
Lab
    User's Guide
    Sysadmin's Guide
    Packages
Projects
    Portal
    LEAD
    Grid Info

Sample Installation - SSLeay

SSLeay is an implementation of the secure sockets layer. It is solely an API install (see Overview) and is architecture specific. The following details the installation procedure for SSLeay.

  1. Download SSLeay distribution from

    ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL

    and store it in

    /nfs/rainier/home/user3/download/noarch

  2. We'll first start with the linux install on linbox1. Unpack tar ball into linux build directory.
    
    linbox1:/nfs/rainier/home/user3/download/noarch> tar zxvf SSLeay-0.9.0b.tar.gz
    SSLeay-0.9.0b/
    SSLeay-0.9.0b/COPYRIGHT
    ...
    SSLeay-0.9.0b/out/
    SSLeay-0.9.0b/tmp/
    linbox1:/nfs/rainier/home/user3/download/noarch> mkdir ../../build/linux/SSLeay
    linbox1:/nfs/rainier/home/user3/download/noarch> mv SSLeay-0.9.0b ../../build/li
    nux/SSLeay/0.9.0b
    linbox1:/nfs/rainier/home/user3/download/noarch> cd ../../build/linux/SSLeay/0.9
    .0b
    
  3. Configure package to install into the linux package directory
    
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) ./Configure linux-elf
    
    CC            =gcc
    CFLAG         =-DL_ENDIAN -DTERMIO -DBN_ASM -O3 -fomit-frame-pointer -m486 -Wall
     -Wuninitialized -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
    EX_LIBS       =
    BN_MULW       =asm/bn86-elf.o
    DES_ENC       =asm/dx86-elf.o asm/yx86-elf.o
    BF_ENC        =asm/bx86-elf.o
    CAST_ENC      =asm/cx86-elf.o
    RC4_ENC       =asm/rx86-elf.o
    RC5_ENC       =asm/r586-elf.o
    MD5_OBJ_ASM   =asm/mx86-elf.o
    SHA1_OBJ_ASM  =asm/sx86-elf.o
    RMD160_OBJ_ASM=asm/rm86-elf.o
    THIRTY_TWO_BIT mode
    DES_PTR used
    DES_RISC1 used
    DES_UNROLL used
    BN_LLONG mode
    RC4_INDEX mode
    BF_PTR2 used
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) perl util/ssldir.pl
     /l/local/packages/SSLeay/0.9.0b
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) mkdir -p  /l/local/pa
    ckages/SSLeay/0.9.0b
    
  4. Build and install package
    
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) make clean
    /bin/rm -f shlib/*.o *.o core a.out fluff *.map
    cleaning crypto...
    ...
    /bin/rm -f *.a *.o speed.* *.map *.so .pure core
    /bin/rm -f SSLeay-0.9.0a.tar
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) make depend
    making dependancies crypto...
    make[1]: Entering directory `/.automount/rainier/root/home/user3/build.NOBACKUP/
    ...
    making depend in md5...
    make[2]: Entering directory `/.automount/rainier/root/home/user3/build.NOBACKUP/
    linux/SSLeay/0.9.0b/crypto/md5'
    /
    make[1]: Nothing to be done for `depend'.
    make[1]: Leaving directory `/.automount/rainier/root/home/user3/build.NOBACKUP/l
    inux/SSLeay/0.9.0b/tools'
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) make
    making crypto...
    make[1]: Entering directory `/.automount/rainier/root/home/user3/build.NOBACKUP/
    linux/SSLeay/0.9.0b/crypto'
    ...
    ...skipping
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/.automount/rainier/root/home/user3/build.NOBACKUP/l
    inux/SSLeay/0.9.0b/tools'
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) make install
    making crypto...
    make[1]: Entering directory `/.automount/rainier/root/home/user3/build.NOBACKUP/
    linux/SSLeay/0.9.0b/crypto'
    making all in md2...
    installing libcrypto.a
    installing libssl.a
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) make test
    (cd test; echo "testing $i..."; \
    make -f Makefile.ssl CC='gcc' CFLAG='-DL_ENDIAN -DTERMIO -DBN_ASM -O3 -fomit-fra
    ...
    C flags:gcc -DL_ENDIAN -DTERMIO -DBN_ASM -O3 -fomit-frame-pointer -m486 -Wall -W
    uninitialized -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b) 
    
  5. Make sure everybody can access it
    
    linbox1:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b)  chmod -R og+rX /l/local/packages/SSLeay
    
  6. Now we'll do the solaris install from babel. Unpack tar ball into solaris build directory.
    
    babel:/nfs/rainier/home/user3/download/noarch> tar zxvf SSLeay-0.9.0b.tar.gz
    SSLeay-0.9.0b/
    SSLeay-0.9.0b/COPYRIGHT
    ...
    SSLeay-0.9.0b/out/
    SSLeay-0.9.0b/tmp/
    babel:/nfs/rainier/home/user3/download/noarch> mkdir ../../build/solaris/SSLeay
    babel:/nfs/rainier/home/user3/download/noarch> mv SSLeay-0.9.0b ../../build/
    solaris/SSLeay/0.9.0b
    babel:/nfs/rainier/home/user3/download/noarch> cd ../../build/solaris/SSLeay/0.9
    .0b
    
  7. Configure package to install into the solaris package directory
    
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) ./Configure solaris-s
    parc-cc
    CC            =cc
    CFLAG         =-fast -O -Xa -DB_ENDIAN
    EX_LIBS       =-lsocket -lnsl
    BN_MULW       =asm/sparc.o
    DES_ENC       =des_enc.o fcrypt_b.o
    BF_ENC        =bf_enc.o
    CAST_ENC      =c_enc.o
    RC4_ENC       =rc4_enc.o
    RC5_ENC       =rc5_enc.o
    MD5_OBJ_ASM   =
    SHA1_OBJ_ASM  =
    RMD160_OBJ_ASM=
    THIRTY_TWO_BIT mode
    DES_PTR used
    DES_UNROLL used
    BN_LLONG mode
    RC4 uses uchar
    BF_PTR used
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) mkdir /l/local/packages/SSLeay
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) mkdir /l/local/packages/SSLeay/0.9.0b
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) perl util/ssldir.pl /l/local/packages/SSLeay/0.9.0b
    
  8. Build and install package
    
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make clean
    /bin/rm -f shlib/*.o *.o core a.out fluff *.map
    cleaning crypto...
    ...
    /bin/rm -f *.a *.o speed.* *.map *.so .pure core
    /bin/rm -f SSLeay-0.9.0a.tar
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make depend
    making dependancies crypto...
    make[1]: Entering directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLe
    ay/0.9.0b/crypto'
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make
    making crypto...
    make[1]: Entering directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLe
    ay/0.9.0b/crypto'
    ...
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLea
    y/0.9.0b/tools'
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make install
    making crypto...
    make[1]: Entering directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLe
    ay/0.9.0b/crypto'
    installing libcrypto.a
    installing libssl.a
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make test
    (cd test; echo "testing $i..."; \
    make -f Makefile.ssl CC='cc' CFLAG='-fast -O -Xa -DB_ENDIAN' INSTALLTOP='/l/loca
    l/packages/SSLeay/0.9.0b' PEX_LIBS='-L. -L.. -L../.. -L../../..' EX_LIBS='-lsock
    et -lnsl' BN_MULW='asm/sparc.o' DES_ENC='des_enc.o fcrypt_b.o' BF_ENC='bf_enc.o'
     CAST_ENC='c_enc.o' RC4_ENC='rc4_enc.o' RC5_ENC='rc5_enc.o' SDIRS='md2 md5 sha m
     dc2 hmac ripemd des rc2 rc4 rc5 idea bf cast bn rsa dsa dh buffer bio stack lhas
     h rand err objects evp pem asn1 x509 conf txt_db pkcs7' SHA1_ASM_OBJ='' MD5_ASM_
     OBJ='' RMD160_ASM_OBJ='' AR='ar r' tests );
    ...
    make[1]: Leaving directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLea
    y/0.9.0b/test'
    SSLeay 0.9.0b 29-Jun-1998
    built on Sun Dec  9 05:44:21 EST 2001
    options:bn(64,32) md2(int) rc4(ptr,char) des(ptr,cisc,16,long) idea(int) blowfis
    h(ptr) 
    C flags:cc -fast -O -Xa -DB_ENDIAN
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) make install
    making crypto...
    make[1]: Entering directory `/nfs/rainier/home/user3/build.NOBACKUP/solaris/SSLe
    ay/0.9.0b/crypto'
    making all in md2...
    ...installing libcrypto.a
    installing libssl.a
    babel:/nfs/rainier/home/user3/build/solaris/SSLeay/0.9.0b) 
    
  9. Make sure everybody can access it
    
    babel:/nfs/rainier/home/user3/build/linux/SSLeay/0.9.0b)  chmod -R og+rX /l/local/packages/SSLeay
    

Last updated 31 Mar 2006 by machrist@cs.indiana.edu