Difference between revisions of "OpenSSL"

From CBLFS
Jump to navigationJump to search
m (Openssl moved to OpenSSL: A Large Number of pages are linked to OpenSSL not Openssl)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.openssl.org/source/openssl-0.9.8c.tar.gz
+
| http://www.openssl.org/source/openssl-0.9.8d.tar.gz
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.openssl.org/source/openssl-0.9.8c.tar.gz
+
| ftp://ftp.openssl.org/source/openssl-0.9.8d.tar.gz
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8c-fix_manpages-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-fix_manpages-1.patch
 
|-
 
|-
 
!Required Patch (Multilib):
 
!Required Patch (Multilib):
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8c-allow_lib64-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-allow_lib64-1.patch
 
|-
 
|-
 
!Required Patch (x86_64 Multilib):
 
!Required Patch (x86_64 Multilib):
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8c-32bit_x86_64-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-32bit_x86_64-1.patch
 
|-
 
|-
 
!Required Patch (MIPS):
 
!Required Patch (MIPS):
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8c-mips_support-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-mips_support-1.patch
 
|}
 
|}
  
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../openssl-0.9.8c-fix_manpages-1.patch &&
+
  patch -Np1 -i ../openssl-0.9.8d-fix_manpages-1.patch &&
 
  ./config --openssldir=/etc/ssl --prefix=/usr shared &&
 
  ./config --openssldir=/etc/ssl --prefix=/usr shared &&
 
  make MANDIR=/usr/share/man
 
  make MANDIR=/usr/share/man
Line 39: Line 39:
 
  make MANDIR=/usr/share/man install &&
 
  make MANDIR=/usr/share/man install &&
 
  cp -v -r certs /etc/ssl &&
 
  cp -v -r certs /etc/ssl &&
  install -v -d -m755 /usr/share/doc/openssl-0.9.8c &&
+
  install -v -d -m755 /usr/share/doc/openssl-0.9.8d &&
 
  cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} \
 
  cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} \
     /usr/share/doc/openssl-0.9.8c
+
     /usr/share/doc/openssl-0.9.8d
  
 
== Multilib ==
 
== Multilib ==
Line 51: Line 51:
 
==== x86_64 ====
 
==== x86_64 ====
  
  patch -Np1 -i ../openssl-0.9.8c-32bit_x86_64-1.patch &&
+
  patch -Np1 -i ../openssl-0.9.8d-32bit_x86_64-1.patch &&
 
  ./Configure linux-x86_64-32 --openssldir=/etc/ssl --prefix=/usr shared
 
  ./Configure linux-x86_64-32 --openssldir=/etc/ssl --prefix=/usr shared
  
Line 78: Line 78:
 
This patch allows OpenSSL to be installed a dir other then lib.
 
This patch allows OpenSSL to be installed a dir other then lib.
  
  patch -Np1 -i ../openssl-0.9.8c-allow_lib64-1.patch
+
  patch -Np1 -i ../openssl-0.9.8d-allow_lib64-1.patch
  
 
Configure the Package (Use the appropriate command):
 
Configure the Package (Use the appropriate command):
Line 102: Line 102:
 
This patch allows OpenSSL to be installed into a dir other then lib:
 
This patch allows OpenSSL to be installed into a dir other then lib:
  
  patch -Np1 -i ../openssl-0.9.8c-allow_lib64-1.patch
+
  patch -Np1 -i ../openssl-0.9.8d-allow_lib64-1.patch
  
 
Configure the Package (Use the appropriate command):
 
Configure the Package (Use the appropriate command):

Revision as of 11:37, 29 September 2006

Download Source: http://www.openssl.org/source/openssl-0.9.8d.tar.gz
Download Source: ftp://ftp.openssl.org/source/openssl-0.9.8d.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-fix_manpages-1.patch
Required Patch (Multilib): http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-allow_lib64-1.patch
Required Patch (x86_64 Multilib): http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-32bit_x86_64-1.patch
Required Patch (MIPS): http://svn.cross-lfs.org/svn/repos/patches/openssl/openssl-0.9.8d-mips_support-1.patch

Dependencies

Optional

  • bc (used by the testsuite)

Non-Multilib

Compile the package:

patch -Np1 -i ../openssl-0.9.8d-fix_manpages-1.patch &&
./config --openssldir=/etc/ssl --prefix=/usr shared &&
make MANDIR=/usr/share/man

Install the package

make MANDIR=/usr/share/man install &&
cp -v -r certs /etc/ssl &&
install -v -d -m755 /usr/share/doc/openssl-0.9.8d &&
cp -v -r doc/{HOWTO,README,*.{txt,html,gif}} \
    /usr/share/doc/openssl-0.9.8d

Multilib

32Bit

Configure the Package (Use the appropriate command):

x86_64

patch -Np1 -i ../openssl-0.9.8d-32bit_x86_64-1.patch &&
./Configure linux-x86_64-32 --openssldir=/etc/ssl --prefix=/usr shared

Sparc

./Configure linux-sparcv9 --openssldir=/etc/ssl --prefix=/usr shared

Mips (Little-Endian)

./Configure linux-mipsel --openssldir=/etc/ssl --prefix=/usr shared

Mips (Big-Endian)

./Configure linux-mips --openssldir=/etc/ssl --prefix=/usr shared

Compile the package:

make CC="gcc ${BUILD32}" PERL=/usr/bin/perl

Install the package:

make PERL=/usr/bin/perl MANDIR=/usr/share/man install

N32

This patch allows OpenSSL to be installed a dir other then lib.

patch -Np1 -i ../openssl-0.9.8d-allow_lib64-1.patch

Configure the Package (Use the appropriate command):

Mips (Little-Endian)

./Configure linux-mipsel-n32 --openssldir=/etc/ssl --prefix=/usr shared

Mips (Big-Endian)

./Configure linux-mips-n32 --openssldir=/etc/ssl --prefix=/usr shared

Compile the package:

make CC="gcc ${BUILDN32}" PERL=/usr/bin/perl LIBDIR=lib32

Install the package:

make PERL=/usr/bin/perl MANDIR=/usr/share/man LIBDIR=lib32 install

64Bit

This patch allows OpenSSL to be installed into a dir other then lib:

patch -Np1 -i ../openssl-0.9.8d-allow_lib64-1.patch

Configure the Package (Use the appropriate command):

x86_64

./Configure linux-x86_64 --openssldir=/etc/ssl --prefix=/usr shared

Sparc

./Configure linux64-sparcv9 --openssldir=/etc/ssl --prefix=/usr shared

Mips (Little-Endian)

./Configure linux-mips64el --openssldir=/etc/ssl --prefix=/usr shared

Mips (Big-Endian)

./Configure linux-mips64 --openssldir=/etc/ssl --prefix=/usr shared

Compile the package:

make CC="gcc ${BUILD64}" PERL=/usr/bin/perl LIBDIR=lib64

Install the package:

make PERL=/usr/bin/perl MANDIR=/usr/share/man LIBDIR=lib64 install
Retrieved from "?title=OpenSSL&oldid=2211"