diff options
author | 2007-10-07 16:57:24 +0000 | |
---|---|---|
committer | 2007-10-07 16:57:24 +0000 | |
commit | a0a3a03f4c543e232f2cf63b69fc31f1658c421e (patch) | |
tree | f93bca8db2e329666ea7a753671acde9a81def86 /dev-libs/openssl | |
parent | ppc stable, bug #194606 (diff) | |
download | historical-a0a3a03f4c543e232f2cf63b69fc31f1658c421e.tar.gz historical-a0a3a03f4c543e232f2cf63b69fc31f1658c421e.tar.bz2 historical-a0a3a03f4c543e232f2cf63b69fc31f1658c421e.zip |
old
Diffstat (limited to 'dev-libs/openssl')
22 files changed, 0 insertions, 1572 deletions
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7l b/dev-libs/openssl/files/digest-openssl-0.9.7l deleted file mode 100644 index 97b9602bab2d..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.7l +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b21d6e10817ddeccf5fbe1379987333e openssl-0.9.7l.tar.gz 3294357 -RMD160 11cc0299cef6bcc4adb9e9a39214f7d9f8abf77d openssl-0.9.7l.tar.gz 3294357 -SHA256 7ed19859c92e1c13e9f8ed5c3de35c3d48e45bff1b52ffc43845cc0c856fa3d1 openssl-0.9.7l.tar.gz 3294357 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7m b/dev-libs/openssl/files/digest-openssl-0.9.7m deleted file mode 100644 index 44b947de12ce..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.7m +++ /dev/null @@ -1,3 +0,0 @@ -MD5 74a4d1b87e1e6e1ec95dbe58cb4c5b9a openssl-0.9.7m.tar.gz 3303943 -RMD160 fed13325d90ae4749d7ee858931d6925c3955614 openssl-0.9.7m.tar.gz 3303943 -SHA256 c98b9703887e2dda6217b91405d0d94883f7c67e205fc4d7a81bb690d2e10572 openssl-0.9.7m.tar.gz 3303943 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8d b/dev-libs/openssl/files/digest-openssl-0.9.8d deleted file mode 100644 index dd27374af6a2..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8d +++ /dev/null @@ -1,3 +0,0 @@ -MD5 8ed1853538e1d05a1f5ada61ebf8bffa openssl-0.9.8d.tar.gz 3315566 -RMD160 f2eb6c266009bbbdbdc7f01b6238c55b3fe12073 openssl-0.9.8d.tar.gz 3315566 -SHA256 022194944cc20dad917c86c916db8a4e0050df2de91b9b6740ddd4fb2daf175d openssl-0.9.8d.tar.gz 3315566 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8e b/dev-libs/openssl/files/digest-openssl-0.9.8e deleted file mode 100644 index 1ecd5456a79a..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8e +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3a7ff24f6ea5cd711984722ad654b927 openssl-0.9.8e.tar.gz 3341665 -RMD160 c1a498606dc0fc7219376b950fab6b53687466db openssl-0.9.8e.tar.gz 3341665 -SHA256 414e8428b95fbc51707965fda31390497d058290356426bfe084b49464a60340 openssl-0.9.8e.tar.gz 3341665 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8e-r1 b/dev-libs/openssl/files/digest-openssl-0.9.8e-r1 deleted file mode 100644 index 1ecd5456a79a..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8e-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3a7ff24f6ea5cd711984722ad654b927 openssl-0.9.8e.tar.gz 3341665 -RMD160 c1a498606dc0fc7219376b950fab6b53687466db openssl-0.9.8e.tar.gz 3341665 -SHA256 414e8428b95fbc51707965fda31390497d058290356426bfe084b49464a60340 openssl-0.9.8e.tar.gz 3341665 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8e-r2 b/dev-libs/openssl/files/digest-openssl-0.9.8e-r2 deleted file mode 100644 index 1ecd5456a79a..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8e-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3a7ff24f6ea5cd711984722ad654b927 openssl-0.9.8e.tar.gz 3341665 -RMD160 c1a498606dc0fc7219376b950fab6b53687466db openssl-0.9.8e.tar.gz 3341665 -SHA256 414e8428b95fbc51707965fda31390497d058290356426bfe084b49464a60340 openssl-0.9.8e.tar.gz 3341665 diff --git a/dev-libs/openssl/files/gentoo.config-0.9.7g b/dev-libs/openssl/files/gentoo.config-0.9.7g deleted file mode 100755 index f31960484137..000000000000 --- a/dev-libs/openssl/files/gentoo.config-0.9.7g +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/bash -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.7g,v 1.12 2005/12/27 06:19:58 vapier Exp $ -# -# Openssl doesn't play along nicely with cross-compiling -# like autotools based projects, so let's teach it new tricks. -# -# Review the bundled 'config' script to see why kind of targets -# we can pass to the 'Configure' script. - - -# Testing routines -if [[ $1 == "test" ]] ; then - for c in \ - "arm-gentoo-linux-uclibc |linux-elf-arm -DL_ENDIAN" \ - "armv5b-linux-gnu |linux-elf-arm -DB_ENDIAN" \ - "x86_64-pc-linux-gnu |linux-x86_64" \ - "alphaev56-unknown-linux-gnu |linux-alpha+bwx-gcc" \ - "whatever-gentoo-freebsdX.Y |FreeBSD-elf" \ - "sparc64-alpha-freebsdX.Y |FreeBSD-sparc64" \ - "ia64-gentoo-freebsd5.99234 |FreeBSD-ia64" \ - "x86_64-gentoo-freebsdX.Y |FreeBSD-amd64" \ - "hppa64-aldsF-linux-gnu5.3 |linux-parisc" \ - "powerpc-gentOO-linux-uclibc |linux-ppc" \ - "powerpc64-unk-linux-gnu |linux-ppc64" \ - ;do - CHOST=${c/|*} - ret_want=${c/*|} - ret_got=$(CHOST=${CHOST} "$0") - - if [[ ${ret_want} == "${ret_got}" ]] ; then - echo "PASS: ${CHOST}" - else - echo "FAIL: ${CHOST}" - echo -e "\twanted: ${ret_want}" - echo -e "\twe got: ${ret_got}" - fi - done - exit 0 -fi -[[ -z ${CHOST} && -n $1 ]] && CHOST=$1 - - -# Detect the operating system -case ${CHOST} in - *-linux*) system="linux";; - *-freebsd*) system="FreeBSD";; - *) exit 0;; -esac - - -# Compiler munging -compiler="gcc" -if [[ ${CC} == "ccc" ]] ; then - compiler=${CC} -fi - - -# Detect target arch -machine="" -chost_machine=${CHOST%%-*} -case ${system} in -linux) - case ${chost_machine} in - alphaev56*) machine=alpha+bwx-${compiler};; - alphaev[67]*) machine=alpha+bwx-${compiler};; - alpha*) - # this pretty hack is because we have to make sure we - # maintain ABI on the system or things like ssh break - currmachine="" - if [[ ${ROOT} == "/" ]] && [[ -e /usr/lib/libcrypto.so ]] ; then - currmachine=$(strings /usr/lib/libcrypto.so | grep ^linux-alpha | sed -e s:linux-::) - fi - machine=${currmachine:-alpha-${compiler}} - - # NOTE: drop this crap next time SSL changes ABI #'s - [[ ${PV:0:5} != "0.9.7" ]] && machine="plzupdatemekthxbye" - ;; - - arm*b*) machine="elf-arm -DB_ENDIAN";; - arm*) machine="elf-arm -DL_ENDIAN";; - # hppa64*) machine=parisc64;; - hppa*) machine=parisc;; - i[0-5]86*) machine=elf;; - i[6-9]86*) machine=pentium;; - ia64*) machine=ia64;; - m68*) machine=m68k;; - mips*el*) machine=mipsel;; - mips*) machine=mips;; - powerpc64*) machine=ppc64;; - powerpc*) machine=ppc;; - # sh64*) machine=elf;; - sh*b*) machine="elf-sh -DB_ENDIAN";; - sh*) machine="elf-sh -DL_ENDIAN";; - sparc*v7*) machine=sparcv7;; - sparc64*) machine=sparcv9;; - sparc*) machine=sparcv8;; - s390x*) machine=s390x;; - s390*) machine=s390;; - x86_64*) machine=x86_64;; - esac - ;; -FreeBSD) - case ${chost_machine} in - sparc64*) machine=sparc64;; - ia64*) machine=ia64;; - alpha*) machine=alpha;; - x86_64*) machine=amd64;; - *) machine=elf;; - esac - ;; -esac - - -# If we have something, show it -[[ -n ${machine} ]] && echo ${system}-${machine} diff --git a/dev-libs/openssl/files/openssl-0.9.7-hppa-fix-detection.patch b/dev-libs/openssl/files/openssl-0.9.7-hppa-fix-detection.patch deleted file mode 100644 index f52a8b8ea5c8..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7-hppa-fix-detection.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur openssl-0.9.7d.orig/Configure openssl-0.9.7d/Configure ---- openssl-0.9.7d.orig/Configure 2004-12-11 19:01:11.078248352 -0500 -+++ openssl-0.9.7d/Configure 2004-12-11 19:06:46.998180760 -0500 -@@ -315,7 +315,7 @@ - "MPE/iX-gcc", "gcc:-D_ENDIAN -DBN_DIV2W -O3 -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB::(unknown):MPE:-L/SYSLOG/PUB -lsyslog -lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::", - - #### PARISC Linux setups --"linux-parisc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT:::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::", -+"linux-parisc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - - # Dec Alpha, OSF/1 - the alpha164-cc is historical, for the conversion - # from the older DEC C Compiler to the newer compiler. It's now the -diff -ur openssl-0.9.7d.orig/config openssl-0.9.7d/config ---- openssl-0.9.7d.orig/config 2004-12-11 19:01:11.077248504 -0500 -+++ openssl-0.9.7d/config 2004-12-11 19:06:55.621869760 -0500 -@@ -564,9 +564,9 @@ - sun4d) OUT="linux-sparcv8" ;; - *) OUT="linux-sparcv7" ;; - esac ;; -- parisc-*-linux2) -+ parisc*-*-linux2) -- CPUARCH=`awk '/cpu family/{print substr($5,1,3)}' /proc/cpuinfo` -- CPUSCHEDULE=`awk '/^cpu.[ ]: PA/{print substr($3,3)}' /proc/cpuinfo` -+ CPUARCH=`awk '/cpu family/{print substr($5,1,3)}' /proc/cpuinfo | head -n 1` -+ CPUSCHEDULE=`awk '/^cpu[[:space:]]*: PA/{print substr($3,3)}' /proc/cpuinfo | head -n 1` - - # ??TODO ?? Model transformations - # 0. CPU Architecture for the 1.1 processor has letter suffixes. We strip that off diff --git a/dev-libs/openssl/files/openssl-0.9.7g-amd64-fbsd.patch b/dev-libs/openssl/files/openssl-0.9.7g-amd64-fbsd.patch deleted file mode 100644 index a073e00326ac..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7g-amd64-fbsd.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur -x '*~' openssl-0.9.7g/Configure openssl-0.9.7g-gfbsd-amd64/Configure ---- openssl-0.9.7g/Configure 2005-04-07 18:06:01.000000000 +0200 -+++ openssl-0.9.7g-gfbsd-amd64/Configure 2005-08-11 16:23:42.000000000 +0200 -@@ -419,6 +419,7 @@ - "FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::-pthread -D_REENTRANT -D_THREAD_SAFE -D_THREADSAFE:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - "FreeBSD-sparc64","gcc:-DB_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer::-pthread -D_REENTRANT -D_THREAD_SAFE -D_THREADSAFE:::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2 BF_PTR::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - "FreeBSD-ia64","gcc:-DL_ENDIAN -DTERMIOS -O -fomit-frame-pointer::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64-cpp.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"FreeBSD-amd64","gcc:-DL_ENDIAN -DTERMIOS -O -fomit-frame-pointer::-pthread -D_REENTRANT -D_THREAD_SAFE -D_THREADSAFE:::SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - "FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", - "bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown):::RSA_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_bsdi_asm}", - "bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", diff --git a/dev-libs/openssl/files/openssl-0.9.7g-mem-clr-ptr-cast.patch b/dev-libs/openssl/files/openssl-0.9.7g-mem-clr-ptr-cast.patch deleted file mode 100644 index 854b32cd3309..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7g-mem-clr-ptr-cast.patch +++ /dev/null @@ -1,19 +0,0 @@ -Make sure when we cast as a pointer we don't truncate. - -Index: crypto/mem_clr.c -=================================================================== -RCS file: /usr/local/src/openssl/cvs-tree/openssl/crypto/mem_clr.c,v -retrieving revision 1.2 -retrieving revision 1.3 -diff -u -r1.2 -r1.3 ---- crypto/mem_clr.c 3 Dec 2002 16:06:40 -0000 1.2 -+++ crypto/mem_clr.c 29 Apr 2005 14:26:59 -0000 1.3 -@@ -68,7 +68,7 @@ - while(loop--) - { - *(p++) = cleanse_ctr; -- cleanse_ctr += (17 + (unsigned char)((int)p & 0xF)); -+ cleanse_ctr += (17 + (unsigned char)((unsigned long)p & 0xF)); - } - if(memchr(ptr, cleanse_ctr, len)) - cleanse_ctr += 63; diff --git a/dev-libs/openssl/files/openssl-0.9.7g-ppc64.patch b/dev-libs/openssl/files/openssl-0.9.7g-ppc64.patch deleted file mode 100644 index 9ea804aed00b..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7g-ppc64.patch +++ /dev/null @@ -1,11 +0,0 @@ -Remove silly compiler flags which aren't needed. - -http://bugs.gentoo.org/92074 - ---- openssl-0.9.7g/Configure -+++ openssl-0.9.7g/Configure -@@ -407,3 +407,3 @@ - # -bpowerpc64-linux is transient option, -m64 should be the one to use... --"linux-ppc64", "gcc:-bpowerpc64-linux -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:asm/linux_ppc64.o:::::::::dlfcn:linux-shared:-fPIC:-bpowerpc64-linux:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-ppc64", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:asm/linux_ppc64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - "linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::", diff --git a/dev-libs/openssl/files/openssl-0.9.7g-superh.patch b/dev-libs/openssl/files/openssl-0.9.7g-superh.patch deleted file mode 100644 index cc599fe0328b..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7g-superh.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naur openssl-0.9.7g.orig/Configure openssl-0.9.7g/Configure ---- openssl-0.9.7g.orig/Configure 2005-04-08 01:06:01.000000000 +0900 -+++ openssl-0.9.7g/Configure 2005-08-06 20:21:25.000000000 +0900 -@@ -438,6 +438,7 @@ - # ARM comes in both little- and big-endian flavors. The following line is - # endian neutral, but ./config is free to throw in -D[BL]_ENDIAN... - "linux-elf-arm","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-elf-sh","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - - # SCO/Caldera targets. - # -diff -Naur openssl-0.9.7g.orig/config openssl-0.9.7g/config ---- openssl-0.9.7g.orig/config 2005-04-08 05:26:10.000000000 +0900 -+++ openssl-0.9.7g/config 2005-08-06 20:23:09.000000000 +0900 -@@ -604,6 +604,8 @@ - arm*b-*-linux2) OUT="linux-elf-arm"; options="$options -DB_ENDIAN" ;; - arm*l-*-linux2) OUT="linux-elf-arm"; options="$options -DL_ENDIAN" ;; - arm*-*-linux2) OUT="linux-elf-arm" ;; -+ sh*b-*-linux2) OUT="linux-elf-sh"; options="$options -DB_ENDIAN" ;; -+ sh*-*-linux2) OUT="linux-elf-sh"; options="$options -DL_ENDIAN" ;; - s390-*-linux2) OUT="linux-s390" ;; - s390x-*-linux?) OUT="linux-s390x" ;; - x86_64-*-linux?) OUT="linux-x86_64" ;; diff --git a/dev-libs/openssl/files/openssl-0.9.7h-ABI-compat.patch b/dev-libs/openssl/files/openssl-0.9.7h-ABI-compat.patch deleted file mode 100644 index 878ec6060ec0..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7h-ABI-compat.patch +++ /dev/null @@ -1,11 +0,0 @@ -Fix from RedHat: -* Thu Mar 31 2005 Tomas Mraz <tmraz@redhat.com> 0.9.7f-2 -- disable broken bignum assembly on x86_64 - ---- Configure -+++ Configure -@@ -413,3 +413,3 @@ - "linux-ia64-ecc", "ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o::::asm/sha1-ia64.o::asm/rc4-ia64.o:::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", --"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o::::::asm/rc4-x86_64.o:::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -+"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o:::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", - "NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", diff --git a/dev-libs/openssl/files/openssl-0.9.7i-m68k.patch b/dev-libs/openssl/files/openssl-0.9.7i-m68k.patch deleted file mode 100644 index 61be83635da6..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7i-m68k.patch +++ /dev/null @@ -1,11 +0,0 @@ -enable shared libs on m68k - -patch by Kolbjørn Barmen - -http://bugs.gentoo.org/113807 - ---- Configure -+++ Configure -@@ -407,1 +407,1 @@ --"linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::", -+"linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", diff --git a/dev-libs/openssl/files/openssl-0.9.7j-doc-updates.patch b/dev-libs/openssl/files/openssl-0.9.7j-doc-updates.patch deleted file mode 100644 index 6ac1ddc124a4..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7j-doc-updates.patch +++ /dev/null @@ -1,257 +0,0 @@ ---- doc/crypto/ASN1_OBJECT_new.pod -+++ doc/crypto/ASN1_OBJECT_new.pod -@@ -6,6 +6,8 @@ ASN1_OBJECT_new, ASN1_OBJECT_free, - obj - - =head1 SYNOPSIS - -+ #include <openssl/asn1.h> -+ - ASN1_OBJECT *ASN1_OBJECT_new(void); - void ASN1_OBJECT_free(ASN1_OBJECT *a); - ---- doc/crypto/ASN1_STRING_length.pod -+++ doc/crypto/ASN1_STRING_length.pod -@@ -8,6 +8,8 @@ ASN1_STRING utility functions - - =head1 SYNOPSIS - -+ #include <openssl/asn1.h> -+ - int ASN1_STRING_length(ASN1_STRING *x); - unsigned char * ASN1_STRING_data(ASN1_STRING *x); - ---- doc/crypto/ASN1_STRING_new.pod -+++ doc/crypto/ASN1_STRING_new.pod -@@ -7,6 +7,8 @@ ASN1_STRING allocation functions - - =head1 SYNOPSIS - -+ #include <openssl/asn1.h> -+ - ASN1_STRING * ASN1_STRING_new(void); - ASN1_STRING * ASN1_STRING_type_new(int type); - void ASN1_STRING_free(ASN1_STRING *a); ---- doc/crypto/bn_internal.pod -+++ doc/crypto/bn_internal.pod -@@ -13,6 +13,8 @@ library internal functions - - =head1 SYNOPSIS - -+ #include <openssl/bn.h> -+ - BN_ULONG bn_mul_words(BN_ULONG *rp, BN_ULONG *ap, int num, BN_ULONG w); - BN_ULONG bn_mul_add_words(BN_ULONG *rp, BN_ULONG *ap, int num, - BN_ULONG w); ---- doc/crypto/CRYPTO_set_ex_data.pod -+++ doc/crypto/CRYPTO_set_ex_data.pod -@@ -6,6 +6,8 @@ CRYPTO_set_ex_data, CRYPTO_get_ex_data - - - =head1 SYNOPSIS - -+ #include <openssl/crypto.h> -+ - int CRYPTO_set_ex_data(CRYPTO_EX_DATA *r, int idx, void *arg); - - void *CRYPTO_get_ex_data(CRYPTO_EX_DATA *r, int idx); ---- doc/crypto/OBJ_nid2obj.pod -+++ doc/crypto/OBJ_nid2obj.pod -@@ -8,6 +8,8 @@ functions - - =head1 SYNOPSIS - -+ #include <openssl/objects.h> -+ - ASN1_OBJECT * OBJ_nid2obj(int n); - const char * OBJ_nid2ln(int n); - const char * OBJ_nid2sn(int n); ---- doc/crypto/PKCS7_decrypt.pod -+++ doc/crypto/PKCS7_decrypt.pod -@@ -6,7 +6,9 @@ PKCS7_decrypt - decrypt content from a P - - =head1 SYNOPSIS - --int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); -+ #include <openssl/pkcs7.h> -+ -+ int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); - - =head1 DESCRIPTION - ---- doc/crypto/PKCS7_encrypt.pod -+++ doc/crypto/PKCS7_encrypt.pod -@@ -6,7 +6,9 @@ PKCS7_encrypt - create a PKCS#7 envelope - - =head1 SYNOPSIS - --PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, int flags); -+ #include <openssl/pkcs7.h> -+ -+ PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, int flags); - - =head1 DESCRIPTION - ---- doc/crypto/PKCS7_sign.pod -+++ doc/crypto/PKCS7_sign.pod -@@ -6,7 +6,9 @@ PKCS7_sign - create a PKCS#7 signedData - - =head1 SYNOPSIS - --PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, int flags); -+ #include <openssl/pkcs7.h> -+ -+ PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, int flags); - - =head1 DESCRIPTION - ---- doc/crypto/PKCS7_verify.pod -+++ doc/crypto/PKCS7_verify.pod -@@ -6,9 +6,11 @@ PKCS7_verify - verify a PKCS#7 signedDat - - =head1 SYNOPSIS - --int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, BIO *indata, BIO *out, int flags); -+ #include <openssl/pkcs7.h> - --STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags); -+ int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, BIO *indata, BIO *out, int flags); -+ -+ STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags); - - =head1 DESCRIPTION - ---- doc/crypto/SMIME_read_PKCS7.pod -+++ doc/crypto/SMIME_read_PKCS7.pod -@@ -6,7 +6,9 @@ SMIME_read_PKCS7 - parse S/MIME message. - - =head1 SYNOPSIS - --PKCS7 *SMIME_read_PKCS7(BIO *in, BIO **bcont); -+ #include <openssl/pkcs7.h> -+ -+ PKCS7 *SMIME_read_PKCS7(BIO *in, BIO **bcont); - - =head1 DESCRIPTION - ---- doc/crypto/SMIME_write_PKCS7.pod -+++ doc/crypto/SMIME_write_PKCS7.pod -@@ -6,7 +6,9 @@ SMIME_write_PKCS7 - convert PKCS#7 struc - - =head1 SYNOPSIS - --int SMIME_write_PKCS7(BIO *out, PKCS7 *p7, BIO *data, int flags); -+ #include <openssl/pkcs7.h> -+ -+ int SMIME_write_PKCS7(BIO *out, PKCS7 *p7, BIO *data, int flags); - - =head1 DESCRIPTION - ---- doc/crypto/ui_compat.pod -+++ doc/crypto/ui_compat.pod -@@ -7,6 +7,8 @@ Compatibility user interface functions - - =head1 SYNOPSIS - -+ #include <openssl/des_old.h> -+ - int des_read_password(DES_cblock *key,const char *prompt,int verify); - int des_read_2passwords(DES_cblock *key1,DES_cblock *key2, - const char *prompt,int verify); ---- doc/crypto/X509_NAME_add_entry_by_txt.pod -+++ doc/crypto/X509_NAME_add_entry_by_txt.pod -@@ -7,15 +7,17 @@ X509_NAME_add_entry, X509_NAME_delete_en - - =head1 SYNOPSIS - --int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set); -+ #include <openssl/x509.h> - --int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set); -+ int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set); - --int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set); -+ int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set); - --int X509_NAME_add_entry(X509_NAME *name,X509_NAME_ENTRY *ne, int loc, int set); -+ int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set); - --X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); -+ int X509_NAME_add_entry(X509_NAME *name,X509_NAME_ENTRY *ne, int loc, int set); -+ -+ X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); - - =head1 DESCRIPTION - ---- doc/crypto/X509_NAME_ENTRY_get_object.pod -+++ doc/crypto/X509_NAME_ENTRY_get_object.pod -@@ -9,15 +9,17 @@ X509_NAME_ENTRY_create_by_OBJ - X509_NAM - - =head1 SYNOPSIS - --ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); --ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); -+ #include <openssl/x509.h> - --int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, ASN1_OBJECT *obj); --int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len); -+ ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); -+ ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); - --X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len); --X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type,unsigned char *bytes, int len); --X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); -+ int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, ASN1_OBJECT *obj); -+ int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len); -+ -+ X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field, int type, const unsigned char *bytes, int len); -+ X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type,unsigned char *bytes, int len); -+ X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); - - =head1 DESCRIPTION - ---- doc/crypto/X509_NAME_get_index_by_NID.pod -+++ doc/crypto/X509_NAME_get_index_by_NID.pod -@@ -8,14 +8,16 @@ X509_NAME lookup and enumeration functio - - =head1 SYNOPSIS - --int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); --int X509_NAME_get_index_by_OBJ(X509_NAME *name,ASN1_OBJECT *obj, int lastpos); -+ #include <openssl/x509.h> - --int X509_NAME_entry_count(X509_NAME *name); --X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc); -+ int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); -+ int X509_NAME_get_index_by_OBJ(X509_NAME *name,ASN1_OBJECT *obj, int lastpos); - --int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf,int len); --int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf,int len); -+ int X509_NAME_entry_count(X509_NAME *name); -+ X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc); -+ -+ int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf,int len); -+ int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf,int len); - - =head1 DESCRIPTION - ---- doc/crypto/X509_new.pod -+++ doc/crypto/X509_new.pod -@@ -6,6 +6,8 @@ X509_new, X509_free - X509 certificate A - - =head1 SYNOPSIS - -+ #include <openssl/x509.h> -+ - X509 *X509_new(void); - void X509_free(X509 *a); - ---- Makefile.org -+++ Makefile.org -@@ -218,7 +218,7 @@ - MANDIR=$(OPENSSLDIR)/man - MAN1=1 - MAN3=3 --MANSUFFIX= -+MANSUFFIX=ssl - SHELL=/bin/sh - - TOP= . diff --git a/dev-libs/openssl/files/openssl-0.9.8-hppa-fix-detection.patch b/dev-libs/openssl/files/openssl-0.9.8-hppa-fix-detection.patch deleted file mode 100644 index 5ec141f945d3..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.8-hppa-fix-detection.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- config.orig 2005-10-12 01:05:03.000000000 -0400 -+++ config 2005-10-12 01:05:16.000000000 -0400 -@@ -564,8 +564,8 @@ - parisc*-*-linux2) - # 64-bit builds under parisc64 linux are not supported and - # compiler is expected to generate 32-bit objects... -- CPUARCH=`awk '/cpu family/{print substr($5,1,3); exit(0);}' /proc/cpuinfo` -- CPUSCHEDULE=`awk '/^cpu.[ ]*: PA/{print substr($3,3); exit(0);}' /proc/cpuinfo` -+ CPUARCH=`awk '/cpu family/{print substr($5,1,3); exit(0);}' /proc/cpuinfo | head -n 1` -+ CPUSCHEDULE=`awk '/^cpu.[ ]*: PA/{print substr($3,3); exit(0);}' /proc/cpuinfo | head -n 1` - - # ??TODO ?? Model transformations - # 0. CPU Architecture for the 1.1 processor has letter suffixes. We strip that off diff --git a/dev-libs/openssl/openssl-0.9.7l.ebuild b/dev-libs/openssl/openssl-0.9.7l.ebuild deleted file mode 100644 index 3724d1354835..000000000000 --- a/dev-libs/openssl/openssl-0.9.7l.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7l.ebuild,v 1.18 2007/04/13 01:56:06 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="emacs test bindist zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.7g-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.7-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-mem-clr-ptr-cast.patch - epatch "${FILESDIR}"/${PN}-0.9.7h-ABI-compat.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-superh.patch - epatch "${FILESDIR}"/${PN}-0.9.7i-m68k.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-amd64-fbsd.patch - epatch "${FILESDIR}"/${PN}-0.9.7j-doc-updates.patch - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.7g gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES && sed -i '/^install:/s:install_docs::' Makefile.org - - case $(gcc-version) in - 3.2) - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loop - ;; - 3.4 | 3.3 ) - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ ${ARCH} == "ppc" || ${ARCH} == "ppc64" ]] && append-flags -fno-strict-aliasing - ;; - esac - append-flags -Wa,--noexecstack - - # replace CFLAGS - OLDIFS=$IFS - IFS=$'\n' - for a in $( grep -n -e "^\"linux-" Configure ); do - LINE=$( echo $a | awk -F: '{print $1}' ) - CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' ) - NEW_CFLAGS=$(echo $CUR_CFLAGS | LC_ALL=C sed -r -e "s|-O[23]||" -e \ - "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" \ - -e "s:-mv8::") - # ppc64's current toolchain sucks at optimization and will break this package - [[ $(tc-arch) != "ppc64" ]] && NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}" - - sed -i "${LINE}s:$CUR_CFLAGS:$NEW_CFLAGS:" Configure || die "sed failed" - done - IFS=$OLDIFS - - if [ "$(get_libdir)" != "lib" ] ; then - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org \ - || die "sed failed" - ./config --test-sanity || die "sanity failed" - fi -} - -src_compile() { - # Clean out patent-or-otherwise-encumbered code. - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - use bindist && confopts="no-idea no-rc5 no-ec" - - use zlib && confopts="${confopts} zlib-dynamic" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout}" - - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - emake \ - CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \ - AR="$(tc-getAR) r" \ - RANLIB="$(tc-getRANLIB)" \ - all || die "make all failed" -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake \ - CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \ - AR="$(tc-getAR) r" \ - RANLIB="$(tc-getRANLIB)" \ - INSTALL_PREFIX="${D}" MANDIR=/usr/share/man install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory. Previous openssl builds - # would need to create /usr/lib/ssl/certs but this looks - # to be the more FHS compliant setup... -raker - insinto /etc/ssl/certs - doins certs/*.pem - LD_LIBRARY_PATH="${D}"/usr/$(get_libdir)/ \ - OPENSSL="${D}"/usr/bin/openssl /usr/bin/perl tools/c_rehash "${D}"/etc/ssl/certs - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private - - fperms a+x /usr/$(get_libdir)/pkgconfig #34088 -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.6 -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.6 -} diff --git a/dev-libs/openssl/openssl-0.9.7m.ebuild b/dev-libs/openssl/openssl-0.9.7m.ebuild deleted file mode 100644 index ff46fd207d18..000000000000 --- a/dev-libs/openssl/openssl-0.9.7m.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7m.ebuild,v 1.3 2007/04/13 01:56:06 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="emacs test bindist zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.7g-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.7-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-mem-clr-ptr-cast.patch - epatch "${FILESDIR}"/${PN}-0.9.7h-ABI-compat.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-superh.patch - epatch "${FILESDIR}"/${PN}-0.9.7i-m68k.patch - epatch "${FILESDIR}"/${PN}-0.9.7g-amd64-fbsd.patch - epatch "${FILESDIR}"/${PN}-0.9.7j-doc-updates.patch - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.7g gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES && sed -i '/^install:/s:install_docs::' Makefile.org - - case $(gcc-version) in - 3.2) - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loop - ;; - 3.4 | 3.3 ) - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ ${ARCH} == "ppc" || ${ARCH} == "ppc64" ]] && append-flags -fno-strict-aliasing - ;; - esac - append-flags -Wa,--noexecstack - - # replace CFLAGS - OLDIFS=$IFS - IFS=$'\n' - for a in $( grep -n -e "^\"linux-" Configure ); do - LINE=$( echo $a | awk -F: '{print $1}' ) - CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' ) - NEW_CFLAGS=$(echo $CUR_CFLAGS | LC_ALL=C sed -r -e "s|-O[23]||" -e \ - "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" \ - -e "s:-mv8::") - # ppc64's current toolchain sucks at optimization and will break this package - [[ $(tc-arch) != "ppc64" ]] && NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}" - - sed -i "${LINE}s:$CUR_CFLAGS:$NEW_CFLAGS:" Configure || die "sed failed" - done - IFS=$OLDIFS - - if [ "$(get_libdir)" != "lib" ] ; then - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org \ - || die "sed failed" - ./config --test-sanity || die "sanity failed" - fi -} - -src_compile() { - # Clean out patent-or-otherwise-encumbered code. - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - use bindist && confopts="no-idea no-rc5 no-ec" - - use zlib && confopts="${confopts} zlib-dynamic" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout}" - - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - emake \ - CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \ - AR="$(tc-getAR) r" \ - RANLIB="$(tc-getRANLIB)" \ - all || die "make all failed" -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake \ - CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \ - AR="$(tc-getAR) r" \ - RANLIB="$(tc-getRANLIB)" \ - INSTALL_PREFIX="${D}" MANDIR=/usr/share/man install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory. Previous openssl builds - # would need to create /usr/lib/ssl/certs but this looks - # to be the more FHS compliant setup... -raker - insinto /etc/ssl/certs - doins certs/*.pem - LD_LIBRARY_PATH="${D}"/usr/$(get_libdir)/ \ - OPENSSL="${D}"/usr/bin/openssl /usr/bin/perl tools/c_rehash "${D}"/etc/ssl/certs - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private - - fperms a+x /usr/$(get_libdir)/pkgconfig #34088 -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.6 -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.6 -} diff --git a/dev-libs/openssl/openssl-0.9.8d.ebuild b/dev-libs/openssl/openssl-0.9.8d.ebuild deleted file mode 100644 index c09dd59978ff..000000000000 --- a/dev-libs/openssl/openssl-0.9.8d.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8d.ebuild,v 1.23 2007/04/22 22:41:31 kloeri Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="bindist emacs sse2 test zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - epatch "${FILESDIR}"/${PN}-0.9.8-makedepend.patch #149583 - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users and work around broken ass toolchains - if [[ $(gcc-major-version) == "3" ]] ; then - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == "ppc64" ]] && replace-flags -O? -O - fi - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - use sse2 || confopts="${confopts} no-sse2" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i \ - -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" \ - -e "/^SHARED_LDFLAGS=/s:$: ${LDFLAGS}:" \ - Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake -j1 INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory - dodir /etc/ssl/certs - cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs" - rm -r "${D}"/etc/ssl/certs/{demo,expired} - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} - - if [[ ${CHOST} == i686* ]] ; then - ewarn "Due to the way openssl is architected, you cannot" - ewarn "switch between optimized versions without breaking" - ewarn "ABI. The default i686 0.9.8 ABI was an unoptimized" - ewarn "version with horrible performance. This version uses" - ewarn "the optimized ABI. If you experience segfaults when" - ewarn "using ssl apps (like openssh), just re-emerge the" - ewarn "offending package." - fi -} diff --git a/dev-libs/openssl/openssl-0.9.8e-r1.ebuild b/dev-libs/openssl/openssl-0.9.8e-r1.ebuild deleted file mode 100644 index f6d85cc76468..000000000000 --- a/dev-libs/openssl/openssl-0.9.8e-r1.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8e-r1.ebuild,v 1.1 2007/06/22 02:38:35 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="bindist emacs sse2 test zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - epatch "${FILESDIR}"/${PN}-0.9.8-makedepend.patch #149583 - epatch "${FILESDIR}"/${PN}-0.9.8-evp-key-len.patch #168750 - [[ $(gcc-version) == "4.2" ]] && epatch "${FILESDIR}"/${PN}-0.9.8-gcc42.patch #158324 - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users and work around broken ass toolchains - if [[ $(gcc-major-version) == "3" ]] ; then - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == "ppc64" ]] && replace-flags -O? -O - fi - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - use sse2 || confopts="${confopts} no-sse2" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i \ - -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" \ - -e "/^SHARED_LDFLAGS=/s:$: ${LDFLAGS}:" \ - Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake -j1 INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory - dodir /etc/ssl/certs - cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs" - rm -r "${D}"/etc/ssl/certs/{demo,expired} - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} - - if [[ ${CHOST} == i686* ]] ; then - ewarn "Due to the way openssl is architected, you cannot" - ewarn "switch between optimized versions without breaking" - ewarn "ABI. The default i686 0.9.8 ABI was an unoptimized" - ewarn "version with horrible performance. This version uses" - ewarn "the optimized ABI. If you experience segfaults when" - ewarn "using ssl apps (like openssh), just re-emerge the" - ewarn "offending package." - fi -} diff --git a/dev-libs/openssl/openssl-0.9.8e-r2.ebuild b/dev-libs/openssl/openssl-0.9.8e-r2.ebuild deleted file mode 100644 index 8b7b6f5dcb63..000000000000 --- a/dev-libs/openssl/openssl-0.9.8e-r2.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8e-r2.ebuild,v 1.8 2007/08/29 10:14:17 corsair Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="bindist emacs sse2 test zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - epatch "${FILESDIR}"/${PN}-0.9.8-makedepend.patch #149583 - epatch "${FILESDIR}"/${PN}-0.9.8-evp-key-len.patch #168750 - epatch "${FILESDIR}"/${PN}-0.9.8e-CVE-2007-3108.patch #188799 - [[ $(gcc-version) == "4.2" ]] && epatch "${FILESDIR}"/${PN}-0.9.8-gcc42.patch #158324 - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users and work around broken ass toolchains - if [[ $(gcc-major-version) == "3" ]] ; then - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == "ppc64" ]] && replace-flags -O? -O - fi - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - use sse2 || confopts="${confopts} no-sse2" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i \ - -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" \ - -e "/^SHARED_LDFLAGS=/s:$: ${LDFLAGS}:" \ - Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake -j1 INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory - dodir /etc/ssl/certs - cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs" - rm -r "${D}"/etc/ssl/certs/{demo,expired} - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} - - if [[ ${CHOST} == i686* ]] ; then - ewarn "Due to the way openssl is architected, you cannot" - ewarn "switch between optimized versions without breaking" - ewarn "ABI. The default i686 0.9.8 ABI was an unoptimized" - ewarn "version with horrible performance. This version uses" - ewarn "the optimized ABI. If you experience segfaults when" - ewarn "using ssl apps (like openssh), just re-emerge the" - ewarn "offending package." - fi -} diff --git a/dev-libs/openssl/openssl-0.9.8e.ebuild b/dev-libs/openssl/openssl-0.9.8e.ebuild deleted file mode 100644 index 21397d5a8553..000000000000 --- a/dev-libs/openssl/openssl-0.9.8e.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8e.ebuild,v 1.3 2007/04/13 01:56:06 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="bindist emacs sse2 test zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - epatch "${FILESDIR}"/${PN}-0.9.8-makedepend.patch #149583 - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users and work around broken ass toolchains - if [[ $(gcc-major-version) == "3" ]] ; then - filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == "ppc64" ]] && replace-flags -O? -O - fi - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - use sse2 || confopts="${confopts} no-sse2" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i \ - -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" \ - -e "/^SHARED_LDFLAGS=/s:$: ${LDFLAGS}:" \ - Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - emake -j1 INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # create the certs directory - dodir /etc/ssl/certs - cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs" - rm -r "${D}"/etc/ssl/certs/{demo,expired} - - # Namespace openssl programs to prevent conflicts with other man pages - cd "${D}"/usr/share/man - local m d s - for m in $(find . -type f | xargs grep -L '#include') ; do - d=${m%/*} ; d=${d#./} ; m=${m##*/} - [[ ${m} == openssl.1* ]] && continue - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} - - if [[ ${CHOST} == i686* ]] ; then - ewarn "Due to the way openssl is architected, you cannot" - ewarn "switch between optimized versions without breaking" - ewarn "ABI. The default i686 0.9.8 ABI was an unoptimized" - ewarn "version with horrible performance. This version uses" - ewarn "the optimized ABI. If you experience segfaults when" - ewarn "using ssl apps (like openssh), just re-emerge the" - ewarn "offending package." - fi -} |