diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-04-09 10:06:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-09 13:16:53 +0100 |
commit | f720f8f3d24fe914aaa2e7f6db190118769abf63 (patch) | |
tree | 1145f63be04aafa0b6532c184a47df46ab3f9dfe | |
parent | fb37dd6822578fced05fa4ab66b56341a46b3bbc (diff) | |
download | poky-f720f8f3d24fe914aaa2e7f6db190118769abf63.tar.gz |
openssl: Upgrade to v1.0.1e
Dropped obolete patches and pulled updates for debian patches.
Addresses CVEs:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-2686
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0166
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-0169
[YOCTO #3965]
(From OE-Core rev: 0470edd01c0aebaa78db137e365a7e22bfb199e9)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/debian-targets.patch | 54 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/pic.patch | 242 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/configure-targets.patch) | 20 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/c_rehash-compat.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/c_rehash-compat.patch) | 14 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/ca.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/ca.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/debian-targets.patch | 66 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/make-targets.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/make-targets.patch) | 12 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-dir.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-dir.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-section.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-section.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-rpath.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-rpath.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-symbolic.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-symbolic.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/pic.patch | 177 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/version-script.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/version-script.patch) | 207 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/engines-install-in-libdir-ssl.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/engines-install-in-libdir-ssl.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/find.pl (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/find.pl) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/oe-ldflags.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/oe-ldflags.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl-fix-link.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl-fix-link.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl_fix_for_x32.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl_fix_for_x32.patch) | 38 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl-1.0.1e/shared-libs.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.0j/shared-libs.patch) | 33 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.0.1e.bb (renamed from meta/recipes-connectivity/openssl/openssl_1.0.0j.bb) | 6 |
20 files changed, 482 insertions, 387 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/debian-targets.patch b/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/debian-targets.patch deleted file mode 100644 index 9feae38b15..0000000000 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/debian-targets.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | Upstream-Status: Backport [debian] | ||
2 | |||
3 | Index: openssl-1.0.0c/Configure | ||
4 | =================================================================== | ||
5 | --- openssl-1.0.0c.orig/Configure 2010-12-12 17:27:02.000000000 +0100 | ||
6 | +++ openssl-1.0.0c/Configure 2010-12-12 17:34:47.000000000 +0100 | ||
7 | @@ -331,6 +331,47 @@ | ||
8 | "osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared:::.so", | ||
9 | "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared::-msym:.so", | ||
10 | |||
11 | +# Debian GNU/* (various architectures) | ||
12 | +"debian-alpha","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
13 | +"debian-alpha-ev4","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev4 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
14 | +"debian-alpha-ev5","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev5 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
15 | +"debian-armeb","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
16 | +"debian-armel","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
17 | +"debian-armhf","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
18 | +"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::", | ||
19 | +"debian-avr32", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -fomit-frame-pointer -g -Wall::-D_REENTRANT::-ldl:BN_LLONG_BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
20 | +"debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
21 | +"debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
22 | +"debian-hppa","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
23 | +"debian-hurd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -mtune=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
24 | +"debian-ia64","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
25 | +"debian-i386","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
26 | +"debian-i386-i486","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i486 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
27 | +"debian-i386-i586","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i586 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
28 | +"debian-i386-i686/cmov","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i686 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
29 | +"debian-m68k","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
30 | +"debian-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
31 | +"debian-mipsel", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
32 | +"debian-netbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
33 | +"debian-netbsd-m68k", "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
34 | +"debian-netbsd-sparc", "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -mv8 -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
35 | +"debian-openbsd-alpha","gcc:-DTERMIOS -O3 -Wa,--noexecstack -g::(unknown):::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
36 | +"debian-openbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:a.out:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
37 | +"debian-openbsd-mips","gcc:-O2 -Wa,--noexecstack -g -DL_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
38 | +"debian-powerpc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
39 | +"debian-powerpcspe","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
40 | +"debian-ppc64","gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc64_asm}:linux64:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
41 | +"debian-s390","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
42 | +"debian-sh3", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
43 | +"debian-sh4", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
44 | +"debian-sh3eb", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
45 | +"debian-sh4eb", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
46 | +"debian-m32r","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
47 | +"debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
48 | +"debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -mcpu=v8 -g -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${sparcv8_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
49 | +"debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v9 -Wa,--noexecstack -Wa,-Av8plus -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
50 | +"debian-sparc64","gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
51 | + | ||
52 | #### | ||
53 | #### Variety of LINUX:-) | ||
54 | #### | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/pic.patch b/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/pic.patch deleted file mode 100644 index e368241095..0000000000 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/pic.patch +++ /dev/null | |||
@@ -1,242 +0,0 @@ | |||
1 | Upstream-Status: Backport [debian] | ||
2 | |||
3 | Index: openssl-1.0.0c/crypto/Makefile | ||
4 | =================================================================== | ||
5 | --- openssl-1.0.0c.orig/crypto/Makefile 2010-07-27 00:09:59.000000000 +0200 | ||
6 | +++ openssl-1.0.0c/crypto/Makefile 2010-12-12 18:05:36.000000000 +0100 | ||
7 | @@ -58,7 +58,7 @@ | ||
8 | echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \ | ||
9 | echo '#endif' ) >buildinf.h | ||
10 | |||
11 | -x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl | ||
12 | +x86cpuid.S: x86cpuid.pl perlasm/x86asm.pl | ||
13 | $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ | ||
14 | |||
15 | applink.o: $(TOP)/ms/applink.c | ||
16 | @@ -70,7 +70,7 @@ | ||
17 | uplink-cof.s: $(TOP)/ms/uplink.pl | ||
18 | $(PERL) $(TOP)/ms/uplink.pl coff > $@ | ||
19 | |||
20 | -x86_64cpuid.s: x86_64cpuid.pl | ||
21 | +x86_64cpuid.S: x86_64cpuid.pl | ||
22 | $(PERL) x86_64cpuid.pl $(PERLASM_SCHEME) > $@ | ||
23 | ia64cpuid.s: ia64cpuid.S | ||
24 | $(CC) $(CFLAGS) -E ia64cpuid.S > $@ | ||
25 | Index: openssl-1.0.0c/crypto/x86_64cpuid.pl | ||
26 | =================================================================== | ||
27 | --- openssl-1.0.0c.orig/crypto/x86_64cpuid.pl 2010-04-14 21:25:09.000000000 +0200 | ||
28 | +++ openssl-1.0.0c/crypto/x86_64cpuid.pl 2010-12-12 18:05:36.000000000 +0100 | ||
29 | @@ -14,7 +14,11 @@ | ||
30 | print<<___; | ||
31 | .extern OPENSSL_cpuid_setup | ||
32 | .section .init | ||
33 | +#ifdef OPENSSL_PIC | ||
34 | + call OPENSSL_cpuid_setup\@PLT | ||
35 | +#else | ||
36 | call OPENSSL_cpuid_setup | ||
37 | +#endif | ||
38 | |||
39 | .text | ||
40 | |||
41 | Index: openssl-1.0.0c/crypto/des/asm/desboth.pl | ||
42 | =================================================================== | ||
43 | --- openssl-1.0.0c.orig/crypto/des/asm/desboth.pl 2001-10-24 23:20:56.000000000 +0200 | ||
44 | +++ openssl-1.0.0c/crypto/des/asm/desboth.pl 2010-12-12 18:05:36.000000000 +0100 | ||
45 | @@ -16,6 +16,11 @@ | ||
46 | |||
47 | &push("edi"); | ||
48 | |||
49 | + &call (&label("pic_point0")); | ||
50 | + &set_label("pic_point0"); | ||
51 | + &blindpop("ebp"); | ||
52 | + &add ("ebp", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point0") . "]"); | ||
53 | + | ||
54 | &comment(""); | ||
55 | &comment("Load the data words"); | ||
56 | &mov($L,&DWP(0,"ebx","",0)); | ||
57 | @@ -47,15 +52,21 @@ | ||
58 | &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); | ||
59 | &mov(&swtmp(1), "eax"); | ||
60 | &mov(&swtmp(0), "ebx"); | ||
61 | - &call("DES_encrypt2"); | ||
62 | + &exch("ebx", "ebp"); | ||
63 | + &call("DES_encrypt2\@PLT"); | ||
64 | + &exch("ebx", "ebp"); | ||
65 | &mov(&swtmp(2), (DWC(($enc)?"0":"1"))); | ||
66 | &mov(&swtmp(1), "edi"); | ||
67 | &mov(&swtmp(0), "ebx"); | ||
68 | - &call("DES_encrypt2"); | ||
69 | + &exch("ebx", "ebp"); | ||
70 | + &call("DES_encrypt2\@PLT"); | ||
71 | + &exch("ebx", "ebp"); | ||
72 | &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); | ||
73 | &mov(&swtmp(1), "esi"); | ||
74 | &mov(&swtmp(0), "ebx"); | ||
75 | - &call("DES_encrypt2"); | ||
76 | + &exch("ebx", "ebp"); | ||
77 | + &call("DES_encrypt2\@PLT"); | ||
78 | + &exch("ebx", "ebp"); | ||
79 | |||
80 | &stack_pop(3); | ||
81 | &mov($L,&DWP(0,"ebx","",0)); | ||
82 | Index: openssl-1.0.0c/crypto/rc4/Makefile | ||
83 | =================================================================== | ||
84 | --- openssl-1.0.0c.orig/crypto/rc4/Makefile 2009-02-11 11:01:36.000000000 +0100 | ||
85 | +++ openssl-1.0.0c/crypto/rc4/Makefile 2010-12-12 18:05:36.000000000 +0100 | ||
86 | @@ -44,7 +44,7 @@ | ||
87 | rc4-586.s: asm/rc4-586.pl ../perlasm/x86asm.pl | ||
88 | $(PERL) asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ | ||
89 | |||
90 | -rc4-x86_64.s: asm/rc4-x86_64.pl | ||
91 | +rc4-x86_64.S: asm/rc4-x86_64.pl | ||
92 | $(PERL) asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@ | ||
93 | |||
94 | rc4-ia64.S: asm/rc4-ia64.pl | ||
95 | Index: openssl-1.0.0c/crypto/rc4/asm/rc4-x86_64.pl | ||
96 | =================================================================== | ||
97 | --- openssl-1.0.0c.orig/crypto/rc4/asm/rc4-x86_64.pl 2009-04-27 21:31:04.000000000 +0200 | ||
98 | +++ openssl-1.0.0c/crypto/rc4/asm/rc4-x86_64.pl 2010-12-12 18:05:36.000000000 +0100 | ||
99 | @@ -279,7 +279,11 @@ | ||
100 | xor %r10,%r10 | ||
101 | xor %r11,%r11 | ||
102 | |||
103 | +#ifdef OPENSSL_PIC | ||
104 | + mov OPENSSL_ia32cap_P\@GOTPCREL(%rip),$idx#d | ||
105 | +#else | ||
106 | mov OPENSSL_ia32cap_P(%rip),$idx#d | ||
107 | +#endif | ||
108 | bt \$20,$idx#d | ||
109 | jnc .Lw1stloop | ||
110 | bt \$30,$idx#d | ||
111 | @@ -346,7 +350,11 @@ | ||
112 | .align 16 | ||
113 | RC4_options: | ||
114 | lea .Lopts(%rip),%rax | ||
115 | +#ifdef OPENSSL_PIC | ||
116 | + mov OPENSSL_ia32cap_P\@GOTPCREL(%rip),%edx | ||
117 | +#else | ||
118 | mov OPENSSL_ia32cap_P(%rip),%edx | ||
119 | +#endif | ||
120 | bt \$20,%edx | ||
121 | jnc .Ldone | ||
122 | add \$12,%rax | ||
123 | Index: openssl-1.0.0c/crypto/perlasm/cbc.pl | ||
124 | =================================================================== | ||
125 | --- openssl-1.0.0c.orig/crypto/perlasm/cbc.pl 2005-05-09 23:48:00.000000000 +0200 | ||
126 | +++ openssl-1.0.0c/crypto/perlasm/cbc.pl 2010-12-12 18:05:36.000000000 +0100 | ||
127 | @@ -122,7 +122,11 @@ | ||
128 | &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call | ||
129 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
130 | |||
131 | - &call($enc_func); | ||
132 | + &call (&label("pic_point0")); | ||
133 | + &set_label("pic_point0"); | ||
134 | + &blindpop("ebx"); | ||
135 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point0") . "]"); | ||
136 | + &call("$enc_func\@PLT"); | ||
137 | |||
138 | &mov("eax", &DWP($data_off,"esp","",0)); | ||
139 | &mov("ebx", &DWP($data_off+4,"esp","",0)); | ||
140 | @@ -187,7 +191,11 @@ | ||
141 | &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call | ||
142 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
143 | |||
144 | - &call($enc_func); | ||
145 | + &call (&label("pic_point1")); | ||
146 | + &set_label("pic_point1"); | ||
147 | + &blindpop("ebx"); | ||
148 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point1") . "]"); | ||
149 | + &call("$enc_func\@PLT"); | ||
150 | |||
151 | &mov("eax", &DWP($data_off,"esp","",0)); | ||
152 | &mov("ebx", &DWP($data_off+4,"esp","",0)); | ||
153 | @@ -220,7 +228,11 @@ | ||
154 | &mov(&DWP($data_off,"esp","",0), "eax"); # put back | ||
155 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
156 | |||
157 | - &call($dec_func); | ||
158 | + &call (&label("pic_point2")); | ||
159 | + &set_label("pic_point2"); | ||
160 | + &blindpop("ebx"); | ||
161 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point2") . "]"); | ||
162 | + &call("$dec_func\@PLT"); | ||
163 | |||
164 | &mov("eax", &DWP($data_off,"esp","",0)); # get return | ||
165 | &mov("ebx", &DWP($data_off+4,"esp","",0)); # | ||
166 | @@ -263,7 +275,11 @@ | ||
167 | &mov(&DWP($data_off,"esp","",0), "eax"); # put back | ||
168 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
169 | |||
170 | - &call($dec_func); | ||
171 | + &call (&label("pic_point3")); | ||
172 | + &set_label("pic_point3"); | ||
173 | + &blindpop("ebx"); | ||
174 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point3") . "]"); | ||
175 | + &call("$dec_func\@PLT"); | ||
176 | |||
177 | &mov("eax", &DWP($data_off,"esp","",0)); # get return | ||
178 | &mov("ebx", &DWP($data_off+4,"esp","",0)); # | ||
179 | Index: openssl-1.0.0c/crypto/perlasm/x86_64-xlate.pl | ||
180 | =================================================================== | ||
181 | --- openssl-1.0.0c.orig/crypto/perlasm/x86_64-xlate.pl 2010-12-12 18:05:36.000000000 +0100 | ||
182 | +++ openssl-1.0.0c/crypto/perlasm/x86_64-xlate.pl 2010-12-12 18:05:36.000000000 +0100 | ||
183 | @@ -638,7 +638,7 @@ | ||
184 | |||
185 | chomp($line); | ||
186 | |||
187 | - $line =~ s|[#!].*$||; # get rid of asm-style comments... | ||
188 | +# $line =~ s|[#!].*$||; # get rid of asm-style comments... | ||
189 | $line =~ s|/\*.*\*/||; # ... and C-style comments... | ||
190 | $line =~ s|^\s+||; # ... and skip white spaces in beginning | ||
191 | |||
192 | Index: openssl-1.0.0c/crypto/perlasm/x86gas.pl | ||
193 | =================================================================== | ||
194 | --- openssl-1.0.0c.orig/crypto/perlasm/x86gas.pl 2008-12-17 20:56:47.000000000 +0100 | ||
195 | +++ openssl-1.0.0c/crypto/perlasm/x86gas.pl 2010-12-12 18:05:36.000000000 +0100 | ||
196 | @@ -209,7 +209,17 @@ | ||
197 | if ($::elf) | ||
198 | { $initseg.=<<___; | ||
199 | .section .init | ||
200 | +#ifdef OPENSSL_PIC | ||
201 | + pushl %ebx | ||
202 | + call .pic_point0 | ||
203 | +.pic_point0: | ||
204 | + popl %ebx | ||
205 | + addl \$_GLOBAL_OFFSET_TABLE_+[.-.pic_point0],%ebx | ||
206 | + call $f\@PLT | ||
207 | + popl %ebx | ||
208 | +#else | ||
209 | call $f | ||
210 | +#endif | ||
211 | jmp .Linitalign | ||
212 | .align $align | ||
213 | .Linitalign: | ||
214 | Index: openssl-1.0.0c/crypto/aes/asm/aes-x86_64.pl | ||
215 | =================================================================== | ||
216 | --- openssl-1.0.0c.orig/crypto/aes/asm/aes-x86_64.pl 2008-12-27 14:32:21.000000000 +0100 | ||
217 | +++ openssl-1.0.0c/crypto/aes/asm/aes-x86_64.pl 2010-12-12 18:05:36.000000000 +0100 | ||
218 | @@ -1669,7 +1669,11 @@ | ||
219 | lea .LAES_Td(%rip),$sbox | ||
220 | .Lcbc_picked_te: | ||
221 | |||
222 | +#ifdef OPENSSL_PIC | ||
223 | + mov OPENSSL_ia32cap_P\@GOTPCREL(%rip),%r10d | ||
224 | +#else | ||
225 | mov OPENSSL_ia32cap_P(%rip),%r10d | ||
226 | +#endif | ||
227 | cmp \$$speed_limit,%rdx | ||
228 | jb .Lcbc_slow_prologue | ||
229 | test \$15,%rdx | ||
230 | Index: openssl-1.0.0c/crypto/aes/Makefile | ||
231 | =================================================================== | ||
232 | --- openssl-1.0.0c.orig/crypto/aes/Makefile 2010-12-12 18:15:06.000000000 +0100 | ||
233 | +++ openssl-1.0.0c/crypto/aes/Makefile 2010-12-12 18:15:30.000000000 +0100 | ||
234 | @@ -51,7 +51,7 @@ | ||
235 | aes-586.s: asm/aes-586.pl ../perlasm/x86asm.pl | ||
236 | $(PERL) asm/aes-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ | ||
237 | |||
238 | -aes-x86_64.s: asm/aes-x86_64.pl | ||
239 | +aes-x86_64.S: asm/aes-x86_64.pl | ||
240 | $(PERL) asm/aes-x86_64.pl $(PERLASM_SCHEME) > $@ | ||
241 | |||
242 | aes-sparcv9.s: asm/aes-sparcv9.pl | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/configure-targets.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch index e273ab4958..8c638b4795 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/configure-targets.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch | |||
@@ -7,11 +7,11 @@ The number of colons are important :) | |||
7 | Configure | 17 +++++++++++++++++ | 7 | Configure | 17 +++++++++++++++++ |
8 | 1 file changed, 17 insertions(+) | 8 | 1 file changed, 17 insertions(+) |
9 | 9 | ||
10 | --- openssl-1.0.0j.orig/Configure | 10 | Index: openssl-1.0.1e/Configure |
11 | +++ openssl-1.0.0j/Configure | 11 | =================================================================== |
12 | @@ -378,10 +378,27 @@ my %table=( | 12 | --- openssl-1.0.1e.orig/Configure |
13 | "linux-alpha-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 13 | +++ openssl-1.0.1e/Configure |
14 | "linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 14 | @@ -403,6 +403,23 @@ my %table=( |
15 | "linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", | 15 | "linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", |
16 | "linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", | 16 | "linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", |
17 | 17 | ||
@@ -22,7 +22,7 @@ The number of colons are important :) | |||
22 | +"linux-gnueabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 22 | +"linux-gnueabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
23 | +"linux-uclibceabi-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 23 | +"linux-uclibceabi-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
24 | +"linux-uclibceabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 24 | +"linux-uclibceabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
25 | +"linux-aarch64","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O2 -pipe -g -feliminate-unused-debug-types -Wall -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 25 | +"linux-aarch64","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O2 -pipe -g -feliminate-unused-debug-types -Wall -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
26 | + | 26 | + |
27 | +"linux-avr32","$ENV{'CC'}:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).", | 27 | +"linux-avr32","$ENV{'CC'}:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).", |
28 | + | 28 | + |
@@ -32,8 +32,6 @@ The number of colons are important :) | |||
32 | +"linux-mips64el","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 32 | +"linux-mips64el","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -mabi=64 -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
33 | +"linux-mipsel","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 33 | +"linux-mipsel","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
34 | + | 34 | + |
35 | #### *BSD [do see comment about ${BSDthreads} above!] | 35 | # Android: linux-* but without -DTERMIO and pointers to headers and libs. |
36 | "BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 36 | "android","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
37 | "BSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:a.out:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 37 | "android-x86","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:".eval{my $asm=${x86_elf_asm};$asm=~s/:elf/:android/;$asm}.":dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
38 | "BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
39 | "debug-BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall -g::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/c_rehash-compat.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/c_rehash-compat.patch index 8f9a034a0f..ac1b19b943 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/c_rehash-compat.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/c_rehash-compat.patch | |||
@@ -9,19 +9,19 @@ Subject: [PATCH] also create old hash for compatibility | |||
9 | tools/c_rehash.in | 8 +++++++- | 9 | tools/c_rehash.in | 8 +++++++- |
10 | 1 files changed, 7 insertions(+), 1 deletions(-) | 10 | 1 files changed, 7 insertions(+), 1 deletions(-) |
11 | 11 | ||
12 | Index: openssl-1.0.0c/tools/c_rehash.in | 12 | Index: openssl-1.0.0d/tools/c_rehash.in |
13 | =================================================================== | 13 | =================================================================== |
14 | --- openssl-1.0.0c.orig/tools/c_rehash.in 2010-04-14 16:07:28.000000000 -0700 | 14 | --- openssl-1.0.0d.orig/tools/c_rehash.in 2011-04-13 20:41:28.000000000 +0000 |
15 | +++ openssl-1.0.0c/tools/c_rehash.in 2011-08-12 23:06:41.976664773 -0700 | 15 | +++ openssl-1.0.0d/tools/c_rehash.in 2011-04-13 20:41:28.000000000 +0000 |
16 | @@ -83,6 +83,7 @@ | 16 | @@ -86,6 +86,7 @@ |
17 | next; | 17 | } |
18 | } | 18 | } |
19 | link_hash_cert($fname) if($cert); | 19 | link_hash_cert($fname) if($cert); |
20 | + link_hash_cert_old($fname) if($cert); | 20 | + link_hash_cert_old($fname) if($cert); |
21 | link_hash_crl($fname) if($crl); | 21 | link_hash_crl($fname) if($crl); |
22 | } | 22 | } |
23 | } | 23 | } |
24 | @@ -116,8 +117,9 @@ | 24 | @@ -119,8 +120,9 @@ |
25 | 25 | ||
26 | sub link_hash_cert { | 26 | sub link_hash_cert { |
27 | my $fname = $_[0]; | 27 | my $fname = $_[0]; |
@@ -32,7 +32,7 @@ Index: openssl-1.0.0c/tools/c_rehash.in | |||
32 | chomp $hash; | 32 | chomp $hash; |
33 | chomp $fprint; | 33 | chomp $fprint; |
34 | $fprint =~ s/^.*=//; | 34 | $fprint =~ s/^.*=//; |
35 | @@ -147,6 +149,10 @@ | 35 | @@ -150,6 +152,10 @@ |
36 | $hashlist{$hash} = $fprint; | 36 | $hashlist{$hash} = $fprint; |
37 | } | 37 | } |
38 | 38 | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/ca.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/ca.patch index aba4d42983..aba4d42983 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/ca.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/ca.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/debian-targets.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/debian-targets.patch new file mode 100644 index 0000000000..8101edf0b0 --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/debian-targets.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | Upstream-Status: Backport [debian] | ||
2 | |||
3 | Index: openssl-1.0.1/Configure | ||
4 | =================================================================== | ||
5 | --- openssl-1.0.1.orig/Configure 2012-03-17 15:37:54.000000000 +0000 | ||
6 | +++ openssl-1.0.1/Configure 2012-03-17 16:13:49.000000000 +0000 | ||
7 | @@ -105,6 +105,10 @@ | ||
8 | |||
9 | my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED"; | ||
10 | |||
11 | +# There are no separate CFLAGS/CPPFLAGS/LDFLAGS, set everything in CFLAGS | ||
12 | +my $debian_cflags = `dpkg-buildflags --get CFLAGS` . `dpkg-buildflags --get CPPFLAGS` . `dpkg-buildflags --get LDFLAGS` . "-Wa,--noexecstack -Wall"; | ||
13 | +$debian_cflags =~ s/\n/ /g; | ||
14 | + | ||
15 | my $strict_warnings = 0; | ||
16 | |||
17 | my $x86_gcc_des="DES_PTR DES_RISC1 DES_UNROLL"; | ||
18 | @@ -338,6 +342,48 @@ | ||
19 | "osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared:::.so", | ||
20 | "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared::-msym:.so", | ||
21 | |||
22 | +# Debian GNU/* (various architectures) | ||
23 | +"debian-alpha","gcc:-DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
24 | +"debian-alpha-ev4","gcc:-DTERMIO ${debian_cflags} -mcpu=ev4::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
25 | +"debian-alpha-ev5","gcc:-DTERMIO ${debian_cflags} -mcpu=ev5::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
26 | +"debian-armeb","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
27 | +"debian-armel","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
28 | +"debian-armhf","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
29 | +"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO ${debian_cflags} -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::", | ||
30 | +"debian-avr32", "gcc:-DB_ENDIAN -DTERMIO ${debian_cflags} -fomit-frame-pointer::-D_REENTRANT::-ldl:BN_LLONG_BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
31 | +"debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS ${debian_cflags} -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
32 | +"debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS ${debian_cflags} -march=i486::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
33 | +"debian-hppa","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
34 | +"debian-hurd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -mtune=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
35 | +"debian-ia64","gcc:-DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
36 | +"debian-i386","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
37 | +"debian-i386-i486","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags} -march=i486::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
38 | +"debian-i386-i586","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags} -march=i586::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
39 | +"debian-i386-i686/cmov","gcc:-DL_ENDIAN -DTERMIO ${debian_cflags} -march=i686::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
40 | +"debian-m68k","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
41 | +"debian-mips", "gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
42 | +"debian-mipsel", "gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
43 | +"debian-netbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS ${debian_cflags} -m486::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
44 | +"debian-netbsd-m68k", "gcc:-DB_ENDIAN -DTERMIOS ${debian_cflags}::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
45 | +"debian-netbsd-sparc", "gcc:-DB_ENDIAN -DTERMIOS ${debian_cflags} -mv8::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
46 | +"debian-openbsd-alpha","gcc:-DTERMIOS ${debian_cflags}::(unknown):::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
47 | +"debian-openbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS ${debian_cflags} -m486::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:a.out:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
48 | +"debian-openbsd-mips","gcc:-DL_ENDIAN ${debian_cflags}::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
49 | +"debian-powerpc","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
50 | +"debian-powerpcspe","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
51 | +"debian-ppc64","gcc:-m64 -DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc64_asm}:linux64:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
52 | +"debian-s390","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
53 | +"debian-s390x","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
54 | +"debian-sh3", "gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
55 | +"debian-sh4", "gcc:-DL_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
56 | +"debian-sh3eb", "gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
57 | +"debian-sh4eb", "gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
58 | +"debian-m32r","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
59 | +"debian-sparc","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags}::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
60 | +"debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags} -mcpu=v8 -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${sparcv8_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
61 | +"debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO ${debian_cflags} -mcpu=v9 -Wa,-Av8plus -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
62 | +"debian-sparc64","gcc:-m64 -DB_ENDIAN -DTERMIO ${debian_cflags} -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
63 | + | ||
64 | #### | ||
65 | #### Variety of LINUX:-) | ||
66 | #### | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/make-targets.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/make-targets.patch index f7a6dfdc20..ee0a62c3c7 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/make-targets.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/make-targets.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | Upstream-Status: Backport [debian] | 1 | Upstream-Status: Backport [debian] |
2 | 2 | ||
3 | Index: openssl-1.0.0c/Makefile.org | 3 | Index: openssl-1.0.1/Makefile.org |
4 | =================================================================== | 4 | =================================================================== |
5 | --- openssl-1.0.0c.orig/Makefile.org 2010-12-12 16:10:12.000000000 +0100 | 5 | --- openssl-1.0.1.orig/Makefile.org 2012-03-17 09:41:07.000000000 +0000 |
6 | +++ openssl-1.0.0c/Makefile.org 2010-12-12 16:11:27.000000000 +0100 | 6 | +++ openssl-1.0.1/Makefile.org 2012-03-17 09:41:21.000000000 +0000 |
7 | @@ -109,7 +109,7 @@ | 7 | @@ -135,7 +135,7 @@ |
8 | ZLIB_INCLUDE= | 8 | |
9 | LIBZLIB= | 9 | BASEADDR= |
10 | 10 | ||
11 | -DIRS= crypto ssl engines apps test tools | 11 | -DIRS= crypto ssl engines apps test tools |
12 | +DIRS= crypto ssl engines apps tools | 12 | +DIRS= crypto ssl engines apps tools |
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-dir.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-dir.patch index 4085e3b1d7..4085e3b1d7 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-dir.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-dir.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-section.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-section.patch index e8b92681d5..e8b92681d5 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/man-section.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/man-section.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-rpath.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-rpath.patch index 1ccb3b86ee..1ccb3b86ee 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-rpath.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-rpath.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-symbolic.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-symbolic.patch index cc4408ab7d..cc4408ab7d 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/no-symbolic.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/no-symbolic.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/pic.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/pic.patch new file mode 100644 index 0000000000..bfda3888bf --- /dev/null +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/pic.patch | |||
@@ -0,0 +1,177 @@ | |||
1 | Upstream-Status: Backport [debian] | ||
2 | |||
3 | Index: openssl-1.0.1c/crypto/des/asm/desboth.pl | ||
4 | =================================================================== | ||
5 | --- openssl-1.0.1c.orig/crypto/des/asm/desboth.pl 2001-10-24 23:20:56.000000000 +0200 | ||
6 | +++ openssl-1.0.1c/crypto/des/asm/desboth.pl 2012-07-29 14:15:26.000000000 +0200 | ||
7 | @@ -16,6 +16,11 @@ | ||
8 | |||
9 | &push("edi"); | ||
10 | |||
11 | + &call (&label("pic_point0")); | ||
12 | + &set_label("pic_point0"); | ||
13 | + &blindpop("ebp"); | ||
14 | + &add ("ebp", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point0") . "]"); | ||
15 | + | ||
16 | &comment(""); | ||
17 | &comment("Load the data words"); | ||
18 | &mov($L,&DWP(0,"ebx","",0)); | ||
19 | @@ -47,15 +52,21 @@ | ||
20 | &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); | ||
21 | &mov(&swtmp(1), "eax"); | ||
22 | &mov(&swtmp(0), "ebx"); | ||
23 | - &call("DES_encrypt2"); | ||
24 | + &exch("ebx", "ebp"); | ||
25 | + &call("DES_encrypt2\@PLT"); | ||
26 | + &exch("ebx", "ebp"); | ||
27 | &mov(&swtmp(2), (DWC(($enc)?"0":"1"))); | ||
28 | &mov(&swtmp(1), "edi"); | ||
29 | &mov(&swtmp(0), "ebx"); | ||
30 | - &call("DES_encrypt2"); | ||
31 | + &exch("ebx", "ebp"); | ||
32 | + &call("DES_encrypt2\@PLT"); | ||
33 | + &exch("ebx", "ebp"); | ||
34 | &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); | ||
35 | &mov(&swtmp(1), "esi"); | ||
36 | &mov(&swtmp(0), "ebx"); | ||
37 | - &call("DES_encrypt2"); | ||
38 | + &exch("ebx", "ebp"); | ||
39 | + &call("DES_encrypt2\@PLT"); | ||
40 | + &exch("ebx", "ebp"); | ||
41 | |||
42 | &stack_pop(3); | ||
43 | &mov($L,&DWP(0,"ebx","",0)); | ||
44 | Index: openssl-1.0.1c/crypto/perlasm/cbc.pl | ||
45 | =================================================================== | ||
46 | --- openssl-1.0.1c.orig/crypto/perlasm/cbc.pl 2011-07-13 08:22:46.000000000 +0200 | ||
47 | +++ openssl-1.0.1c/crypto/perlasm/cbc.pl 2012-07-29 14:15:26.000000000 +0200 | ||
48 | @@ -122,7 +122,11 @@ | ||
49 | &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call | ||
50 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
51 | |||
52 | - &call($enc_func); | ||
53 | + &call (&label("pic_point0")); | ||
54 | + &set_label("pic_point0"); | ||
55 | + &blindpop("ebx"); | ||
56 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point0") . "]"); | ||
57 | + &call("$enc_func\@PLT"); | ||
58 | |||
59 | &mov("eax", &DWP($data_off,"esp","",0)); | ||
60 | &mov("ebx", &DWP($data_off+4,"esp","",0)); | ||
61 | @@ -185,7 +189,11 @@ | ||
62 | &mov(&DWP($data_off,"esp","",0), "eax"); # put in array for call | ||
63 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
64 | |||
65 | - &call($enc_func); | ||
66 | + &call (&label("pic_point1")); | ||
67 | + &set_label("pic_point1"); | ||
68 | + &blindpop("ebx"); | ||
69 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point1") . "]"); | ||
70 | + &call("$enc_func\@PLT"); | ||
71 | |||
72 | &mov("eax", &DWP($data_off,"esp","",0)); | ||
73 | &mov("ebx", &DWP($data_off+4,"esp","",0)); | ||
74 | @@ -218,7 +226,11 @@ | ||
75 | &mov(&DWP($data_off,"esp","",0), "eax"); # put back | ||
76 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
77 | |||
78 | - &call($dec_func); | ||
79 | + &call (&label("pic_point2")); | ||
80 | + &set_label("pic_point2"); | ||
81 | + &blindpop("ebx"); | ||
82 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point2") . "]"); | ||
83 | + &call("$dec_func\@PLT"); | ||
84 | |||
85 | &mov("eax", &DWP($data_off,"esp","",0)); # get return | ||
86 | &mov("ebx", &DWP($data_off+4,"esp","",0)); # | ||
87 | @@ -261,7 +273,11 @@ | ||
88 | &mov(&DWP($data_off,"esp","",0), "eax"); # put back | ||
89 | &mov(&DWP($data_off+4,"esp","",0), "ebx"); # | ||
90 | |||
91 | - &call($dec_func); | ||
92 | + &call (&label("pic_point3")); | ||
93 | + &set_label("pic_point3"); | ||
94 | + &blindpop("ebx"); | ||
95 | + &add ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &label("pic_point3") . "]"); | ||
96 | + &call("$dec_func\@PLT"); | ||
97 | |||
98 | &mov("eax", &DWP($data_off,"esp","",0)); # get return | ||
99 | &mov("ebx", &DWP($data_off+4,"esp","",0)); # | ||
100 | Index: openssl-1.0.1c/crypto/perlasm/x86gas.pl | ||
101 | =================================================================== | ||
102 | --- openssl-1.0.1c.orig/crypto/perlasm/x86gas.pl 2011-12-09 20:16:35.000000000 +0100 | ||
103 | +++ openssl-1.0.1c/crypto/perlasm/x86gas.pl 2012-07-29 14:15:26.000000000 +0200 | ||
104 | @@ -161,6 +161,7 @@ | ||
105 | if ($::macosx) { push (@out,"$tmp,2\n"); } | ||
106 | elsif ($::elf) { push (@out,"$tmp,4\n"); } | ||
107 | else { push (@out,"$tmp\n"); } | ||
108 | + if ($::elf) { push (@out,".hidden\tOPENSSL_ia32cap_P\n"); } | ||
109 | } | ||
110 | push(@out,$initseg) if ($initseg); | ||
111 | } | ||
112 | @@ -218,8 +219,23 @@ | ||
113 | elsif ($::elf) | ||
114 | { $initseg.=<<___; | ||
115 | .section .init | ||
116 | +___ | ||
117 | + if ($::pic) | ||
118 | + { $initseg.=<<___; | ||
119 | + pushl %ebx | ||
120 | + call .pic_point0 | ||
121 | +.pic_point0: | ||
122 | + popl %ebx | ||
123 | + addl \$_GLOBAL_OFFSET_TABLE_+[.-.pic_point0],%ebx | ||
124 | + call $f\@PLT | ||
125 | + popl %ebx | ||
126 | +___ | ||
127 | + } | ||
128 | + else | ||
129 | + { $initseg.=<<___; | ||
130 | call $f | ||
131 | ___ | ||
132 | + } | ||
133 | } | ||
134 | elsif ($::coff) | ||
135 | { $initseg.=<<___; # applies to both Cygwin and Mingw | ||
136 | Index: openssl-1.0.1c/crypto/x86cpuid.pl | ||
137 | =================================================================== | ||
138 | --- openssl-1.0.1c.orig/crypto/x86cpuid.pl 2012-02-28 15:20:34.000000000 +0100 | ||
139 | +++ openssl-1.0.1c/crypto/x86cpuid.pl 2012-07-29 14:15:26.000000000 +0200 | ||
140 | @@ -8,6 +8,8 @@ | ||
141 | |||
142 | for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | ||
143 | |||
144 | +push(@out, ".hidden OPENSSL_ia32cap_P\n"); | ||
145 | + | ||
146 | &function_begin("OPENSSL_ia32_cpuid"); | ||
147 | &xor ("edx","edx"); | ||
148 | &pushf (); | ||
149 | @@ -139,9 +141,7 @@ | ||
150 | &set_label("nocpuid"); | ||
151 | &function_end("OPENSSL_ia32_cpuid"); | ||
152 | |||
153 | -&external_label("OPENSSL_ia32cap_P"); | ||
154 | - | ||
155 | -&function_begin_B("OPENSSL_rdtsc","EXTRN\t_OPENSSL_ia32cap_P:DWORD"); | ||
156 | +&function_begin_B("OPENSSL_rdtsc"); | ||
157 | &xor ("eax","eax"); | ||
158 | &xor ("edx","edx"); | ||
159 | &picmeup("ecx","OPENSSL_ia32cap_P"); | ||
160 | @@ -155,7 +155,7 @@ | ||
161 | # This works in Ring 0 only [read DJGPP+MS-DOS+privileged DPMI host], | ||
162 | # but it's safe to call it on any [supported] 32-bit platform... | ||
163 | # Just check for [non-]zero return value... | ||
164 | -&function_begin_B("OPENSSL_instrument_halt","EXTRN\t_OPENSSL_ia32cap_P:DWORD"); | ||
165 | +&function_begin_B("OPENSSL_instrument_halt"); | ||
166 | &picmeup("ecx","OPENSSL_ia32cap_P"); | ||
167 | &bt (&DWP(0,"ecx"),4); | ||
168 | &jnc (&label("nohalt")); # no TSC | ||
169 | @@ -222,7 +222,7 @@ | ||
170 | &ret (); | ||
171 | &function_end_B("OPENSSL_far_spin"); | ||
172 | |||
173 | -&function_begin_B("OPENSSL_wipe_cpu","EXTRN\t_OPENSSL_ia32cap_P:DWORD"); | ||
174 | +&function_begin_B("OPENSSL_wipe_cpu"); | ||
175 | &xor ("eax","eax"); | ||
176 | &xor ("edx","edx"); | ||
177 | &picmeup("ecx","OPENSSL_ia32cap_P"); | ||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/version-script.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/version-script.patch index a79c082ef2..ece8b9b46c 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/debian/version-script.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/debian/version-script.patch | |||
@@ -1,10 +1,10 @@ | |||
1 | Upstream-Status: Backport [debian] | 1 | Upstream-Status: Backport [debian] |
2 | 2 | ||
3 | Index: openssl-1.0.0e/Configure | 3 | Index: openssl-1.0.1d/Configure |
4 | =================================================================== | 4 | =================================================================== |
5 | --- openssl-1.0.0e.orig/Configure 2011-10-04 22:49:47.599379260 -0700 | 5 | --- openssl-1.0.1d.orig/Configure 2013-02-06 19:41:43.000000000 +0100 |
6 | +++ openssl-1.0.0e/Configure 2011-10-04 22:49:53.263407376 -0700 | 6 | +++ openssl-1.0.1d/Configure 2013-02-06 19:41:43.000000000 +0100 |
7 | @@ -1486,6 +1486,8 @@ | 7 | @@ -1621,6 +1621,8 @@ |
8 | } | 8 | } |
9 | } | 9 | } |
10 | 10 | ||
@@ -13,11 +13,11 @@ Index: openssl-1.0.0e/Configure | |||
13 | open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; | 13 | open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; |
14 | unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; | 14 | unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; |
15 | open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; | 15 | open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; |
16 | Index: openssl-1.0.0e/openssl.ld | 16 | Index: openssl-1.0.1d/openssl.ld |
17 | =================================================================== | 17 | =================================================================== |
18 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 18 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
19 | +++ openssl-1.0.0e/openssl.ld 2011-10-04 22:49:53.295407572 -0700 | 19 | +++ openssl-1.0.1d/openssl.ld 2013-02-06 19:44:25.000000000 +0100 |
20 | @@ -0,0 +1,4461 @@ | 20 | @@ -0,0 +1,4620 @@ |
21 | +OPENSSL_1.0.0 { | 21 | +OPENSSL_1.0.0 { |
22 | + global: | 22 | + global: |
23 | + BIO_f_ssl; | 23 | + BIO_f_ssl; |
@@ -3127,19 +3127,7 @@ Index: openssl-1.0.0e/openssl.ld | |||
3127 | + FIPS_selftest_failed; | 3127 | + FIPS_selftest_failed; |
3128 | + sk_is_sorted; | 3128 | + sk_is_sorted; |
3129 | + X509_check_ca; | 3129 | + X509_check_ca; |
3130 | + private_idea_set_encrypt_key; | ||
3131 | + HMAC_CTX_set_flags; | 3130 | + HMAC_CTX_set_flags; |
3132 | + private_SHA_Init; | ||
3133 | + private_CAST_set_key; | ||
3134 | + private_RIPEMD160_Init; | ||
3135 | + private_RC5_32_set_key; | ||
3136 | + private_MD5_Init; | ||
3137 | + private_RC4_set_key; | ||
3138 | + private_MDC2_Init; | ||
3139 | + private_RC2_set_key; | ||
3140 | + private_MD4_Init; | ||
3141 | + private_BF_set_key; | ||
3142 | + private_MD2_Init; | ||
3143 | + d2i_PROXY_CERT_INFO_EXTENSION; | 3131 | + d2i_PROXY_CERT_INFO_EXTENSION; |
3144 | + PROXY_POLICY_it; | 3132 | + PROXY_POLICY_it; |
3145 | + PROXY_POLICY_it; | 3133 | + PROXY_POLICY_it; |
@@ -3987,7 +3975,6 @@ Index: openssl-1.0.0e/openssl.ld | |||
3987 | + FIPS_dsa_sig_encode; | 3975 | + FIPS_dsa_sig_encode; |
3988 | + CRYPTO_dbg_remove_all_info; | 3976 | + CRYPTO_dbg_remove_all_info; |
3989 | + OPENSSL_init; | 3977 | + OPENSSL_init; |
3990 | + private_Camellia_set_key; | ||
3991 | + CRYPTO_strdup; | 3978 | + CRYPTO_strdup; |
3992 | + JPAKE_STEP3A_process; | 3979 | + JPAKE_STEP3A_process; |
3993 | + JPAKE_STEP1_release; | 3980 | + JPAKE_STEP1_release; |
@@ -4479,10 +4466,182 @@ Index: openssl-1.0.0e/openssl.ld | |||
4479 | + *; | 4466 | + *; |
4480 | +}; | 4467 | +}; |
4481 | + | 4468 | + |
4482 | Index: openssl-1.0.0e/engines/openssl.ld | 4469 | + |
4470 | +OPENSSL_1.0.1 { | ||
4471 | + global: | ||
4472 | + SSL_renegotiate_abbreviated; | ||
4473 | + TLSv1_1_method; | ||
4474 | + TLSv1_1_client_method; | ||
4475 | + TLSv1_1_server_method; | ||
4476 | + SSL_CTX_set_srp_client_pwd_callback; | ||
4477 | + SSL_CTX_set_srp_client_pwd_cb; | ||
4478 | + SSL_get_srp_g; | ||
4479 | + SSL_CTX_set_srp_username_callback; | ||
4480 | + SSL_CTX_set_srp_un_cb; | ||
4481 | + SSL_get_srp_userinfo; | ||
4482 | + SSL_set_srp_server_param; | ||
4483 | + SSL_set_srp_server_param_pw; | ||
4484 | + SSL_get_srp_N; | ||
4485 | + SSL_get_srp_username; | ||
4486 | + SSL_CTX_set_srp_password; | ||
4487 | + SSL_CTX_set_srp_strength; | ||
4488 | + SSL_CTX_set_srp_verify_param_callback; | ||
4489 | + SSL_CTX_set_srp_vfy_param_cb; | ||
4490 | + SSL_CTX_set_srp_cb_arg; | ||
4491 | + SSL_CTX_set_srp_username; | ||
4492 | + SSL_CTX_SRP_CTX_init; | ||
4493 | + SSL_SRP_CTX_init; | ||
4494 | + SRP_Calc_A_param; | ||
4495 | + SRP_generate_server_master_secret; | ||
4496 | + SRP_gen_server_master_secret; | ||
4497 | + SSL_CTX_SRP_CTX_free; | ||
4498 | + SRP_generate_client_master_secret; | ||
4499 | + SRP_gen_client_master_secret; | ||
4500 | + SSL_srp_server_param_with_username; | ||
4501 | + SSL_srp_server_param_with_un; | ||
4502 | + SSL_SRP_CTX_free; | ||
4503 | + SSL_set_debug; | ||
4504 | + SSL_SESSION_get0_peer; | ||
4505 | + TLSv1_2_client_method; | ||
4506 | + SSL_SESSION_set1_id_context; | ||
4507 | + TLSv1_2_server_method; | ||
4508 | + SSL_cache_hit; | ||
4509 | + SSL_get0_kssl_ctx; | ||
4510 | + SSL_set0_kssl_ctx; | ||
4511 | + SSL_set_state; | ||
4512 | + SSL_CIPHER_get_id; | ||
4513 | + TLSv1_2_method; | ||
4514 | + kssl_ctx_get0_client_princ; | ||
4515 | + SSL_export_keying_material; | ||
4516 | + SSL_set_tlsext_use_srtp; | ||
4517 | + SSL_CTX_set_next_protos_advertised_cb; | ||
4518 | + SSL_CTX_set_next_protos_adv_cb; | ||
4519 | + SSL_get0_next_proto_negotiated; | ||
4520 | + SSL_get_selected_srtp_profile; | ||
4521 | + SSL_CTX_set_tlsext_use_srtp; | ||
4522 | + SSL_select_next_proto; | ||
4523 | + SSL_get_srtp_profiles; | ||
4524 | + SSL_CTX_set_next_proto_select_cb; | ||
4525 | + SSL_CTX_set_next_proto_sel_cb; | ||
4526 | + SSL_SESSION_get_compress_id; | ||
4527 | + | ||
4528 | + SRP_VBASE_get_by_user; | ||
4529 | + SRP_Calc_server_key; | ||
4530 | + SRP_create_verifier; | ||
4531 | + SRP_create_verifier_BN; | ||
4532 | + SRP_Calc_u; | ||
4533 | + SRP_VBASE_free; | ||
4534 | + SRP_Calc_client_key; | ||
4535 | + SRP_get_default_gN; | ||
4536 | + SRP_Calc_x; | ||
4537 | + SRP_Calc_B; | ||
4538 | + SRP_VBASE_new; | ||
4539 | + SRP_check_known_gN_param; | ||
4540 | + SRP_Calc_A; | ||
4541 | + SRP_Verify_A_mod_N; | ||
4542 | + SRP_VBASE_init; | ||
4543 | + SRP_Verify_B_mod_N; | ||
4544 | + EC_KEY_set_public_key_affine_coordinates; | ||
4545 | + EC_KEY_set_pub_key_aff_coords; | ||
4546 | + EVP_aes_192_ctr; | ||
4547 | + EVP_PKEY_meth_get0_info; | ||
4548 | + EVP_PKEY_meth_copy; | ||
4549 | + ERR_add_error_vdata; | ||
4550 | + EVP_aes_128_ctr; | ||
4551 | + EVP_aes_256_ctr; | ||
4552 | + EC_GFp_nistp224_method; | ||
4553 | + EC_KEY_get_flags; | ||
4554 | + RSA_padding_add_PKCS1_PSS_mgf1; | ||
4555 | + EVP_aes_128_xts; | ||
4556 | + EVP_aes_256_xts; | ||
4557 | + EVP_aes_128_gcm; | ||
4558 | + EC_KEY_clear_flags; | ||
4559 | + EC_KEY_set_flags; | ||
4560 | + EVP_aes_256_ccm; | ||
4561 | + RSA_verify_PKCS1_PSS_mgf1; | ||
4562 | + EVP_aes_128_ccm; | ||
4563 | + EVP_aes_192_gcm; | ||
4564 | + X509_ALGOR_set_md; | ||
4565 | + RAND_init_fips; | ||
4566 | + EVP_aes_256_gcm; | ||
4567 | + EVP_aes_192_ccm; | ||
4568 | + CMAC_CTX_copy; | ||
4569 | + CMAC_CTX_free; | ||
4570 | + CMAC_CTX_get0_cipher_ctx; | ||
4571 | + CMAC_CTX_cleanup; | ||
4572 | + CMAC_Init; | ||
4573 | + CMAC_Update; | ||
4574 | + CMAC_resume; | ||
4575 | + CMAC_CTX_new; | ||
4576 | + CMAC_Final; | ||
4577 | + CRYPTO_ctr128_encrypt_ctr32; | ||
4578 | + CRYPTO_gcm128_release; | ||
4579 | + CRYPTO_ccm128_decrypt_ccm64; | ||
4580 | + CRYPTO_ccm128_encrypt; | ||
4581 | + CRYPTO_gcm128_encrypt; | ||
4582 | + CRYPTO_xts128_encrypt; | ||
4583 | + EVP_rc4_hmac_md5; | ||
4584 | + CRYPTO_nistcts128_decrypt_block; | ||
4585 | + CRYPTO_gcm128_setiv; | ||
4586 | + CRYPTO_nistcts128_encrypt; | ||
4587 | + EVP_aes_128_cbc_hmac_sha1; | ||
4588 | + CRYPTO_gcm128_tag; | ||
4589 | + CRYPTO_ccm128_encrypt_ccm64; | ||
4590 | + ENGINE_load_rdrand; | ||
4591 | + CRYPTO_ccm128_setiv; | ||
4592 | + CRYPTO_nistcts128_encrypt_block; | ||
4593 | + CRYPTO_gcm128_aad; | ||
4594 | + CRYPTO_ccm128_init; | ||
4595 | + CRYPTO_nistcts128_decrypt; | ||
4596 | + CRYPTO_gcm128_new; | ||
4597 | + CRYPTO_ccm128_tag; | ||
4598 | + CRYPTO_ccm128_decrypt; | ||
4599 | + CRYPTO_ccm128_aad; | ||
4600 | + CRYPTO_gcm128_init; | ||
4601 | + CRYPTO_gcm128_decrypt; | ||
4602 | + ENGINE_load_rsax; | ||
4603 | + CRYPTO_gcm128_decrypt_ctr32; | ||
4604 | + CRYPTO_gcm128_encrypt_ctr32; | ||
4605 | + CRYPTO_gcm128_finish; | ||
4606 | + EVP_aes_256_cbc_hmac_sha1; | ||
4607 | + PKCS5_pbkdf2_set; | ||
4608 | + CMS_add0_recipient_password; | ||
4609 | + CMS_decrypt_set1_password; | ||
4610 | + CMS_RecipientInfo_set0_password; | ||
4611 | + RAND_set_fips_drbg_type; | ||
4612 | + X509_REQ_sign_ctx; | ||
4613 | + RSA_PSS_PARAMS_new; | ||
4614 | + X509_CRL_sign_ctx; | ||
4615 | + X509_signature_dump; | ||
4616 | + d2i_RSA_PSS_PARAMS; | ||
4617 | + RSA_PSS_PARAMS_it; | ||
4618 | + RSA_PSS_PARAMS_it; | ||
4619 | + RSA_PSS_PARAMS_free; | ||
4620 | + X509_sign_ctx; | ||
4621 | + i2d_RSA_PSS_PARAMS; | ||
4622 | + ASN1_item_sign_ctx; | ||
4623 | + EC_GFp_nistp521_method; | ||
4624 | + EC_GFp_nistp256_method; | ||
4625 | + OPENSSL_stderr; | ||
4626 | + OPENSSL_cpuid_setup; | ||
4627 | + OPENSSL_showfatal; | ||
4628 | + BIO_new_dgram_sctp; | ||
4629 | + BIO_dgram_sctp_msg_waiting; | ||
4630 | + BIO_dgram_sctp_wait_for_dry; | ||
4631 | + BIO_s_datagram_sctp; | ||
4632 | + BIO_dgram_is_sctp; | ||
4633 | + BIO_dgram_sctp_notification_cb; | ||
4634 | +} OPENSSL_1.0.0; | ||
4635 | + | ||
4636 | +OPENSSL_1.0.1d { | ||
4637 | + global: | ||
4638 | + CRYPTO_memcmp; | ||
4639 | +} OPENSSL_1.0.1; | ||
4640 | + | ||
4641 | Index: openssl-1.0.1d/engines/openssl.ld | ||
4483 | =================================================================== | 4642 | =================================================================== |
4484 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 4643 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
4485 | +++ openssl-1.0.0e/engines/openssl.ld 2011-10-04 22:49:53.295407572 -0700 | 4644 | +++ openssl-1.0.1d/engines/openssl.ld 2013-02-06 19:41:43.000000000 +0100 |
4486 | @@ -0,0 +1,10 @@ | 4645 | @@ -0,0 +1,10 @@ |
4487 | +OPENSSL_1.0.0 { | 4646 | +OPENSSL_1.0.0 { |
4488 | + global: | 4647 | + global: |
@@ -4494,10 +4653,10 @@ Index: openssl-1.0.0e/engines/openssl.ld | |||
4494 | + *; | 4653 | + *; |
4495 | +}; | 4654 | +}; |
4496 | + | 4655 | + |
4497 | Index: openssl-1.0.0e/engines/ccgost/openssl.ld | 4656 | Index: openssl-1.0.1d/engines/ccgost/openssl.ld |
4498 | =================================================================== | 4657 | =================================================================== |
4499 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 4658 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
4500 | +++ openssl-1.0.0e/engines/ccgost/openssl.ld 2011-10-04 22:49:53.339407745 -0700 | 4659 | +++ openssl-1.0.1d/engines/ccgost/openssl.ld 2013-02-06 19:41:43.000000000 +0100 |
4501 | @@ -0,0 +1,10 @@ | 4660 | @@ -0,0 +1,10 @@ |
4502 | +OPENSSL_1.0.0 { | 4661 | +OPENSSL_1.0.0 { |
4503 | + global: | 4662 | + global: |
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/engines-install-in-libdir-ssl.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/engines-install-in-libdir-ssl.patch index d8a6f1a23c..d8a6f1a23c 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/engines-install-in-libdir-ssl.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/engines-install-in-libdir-ssl.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/find.pl b/meta/recipes-connectivity/openssl/openssl-1.0.1e/find.pl index 8e1b42c88a..8e1b42c88a 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/find.pl +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/find.pl | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/oe-ldflags.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/oe-ldflags.patch index 292e13dc5f..292e13dc5f 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/oe-ldflags.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/oe-ldflags.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl-fix-link.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl-fix-link.patch index 154106cbcd..154106cbcd 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl-fix-link.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl-fix-link.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl_fix_for_x32.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl_fix_for_x32.patch index 3191ce9632..93ce0343cc 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/openssl_fix_for_x32.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl_fix_for_x32.patch | |||
@@ -6,22 +6,22 @@ Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/07/13 | |||
6 | 6 | ||
7 | ported the patch to the 1.0.0e version | 7 | ported the patch to the 1.0.0e version |
8 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/01 | 8 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/01 |
9 | Index: openssl-1.0.0e/Configure | 9 | Index: openssl-1.0.1e/Configure |
10 | =================================================================== | 10 | =================================================================== |
11 | --- openssl-1.0.0e.orig/Configure | 11 | --- openssl-1.0.1e.orig/Configure |
12 | +++ openssl-1.0.0e/Configure | 12 | +++ openssl-1.0.1e/Configure |
13 | @@ -393,6 +393,7 @@ my %table=( | 13 | @@ -402,6 +402,7 @@ my %table=( |
14 | "linux-ia64-ecc","ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 14 | "linux-ia64-ecc","ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
15 | "linux-ia64-icc","icc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 15 | "linux-ia64-icc","icc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
16 | "linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", | 16 | "linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", |
17 | +"linux-x32", "gcc:-mx32 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-mx32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::x32", | 17 | +"linux-x32", "gcc:-mx32 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-mx32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::x32", |
18 | "linux-s390x", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${s390x_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", | 18 | "linux64-s390x", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${s390x_asm}:64:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", |
19 | #### SPARC Linux setups | 19 | #### So called "highgprs" target for z/Architecture CPUs |
20 | # Ray Miller <ray.miller@computing-services.oxford.ac.uk> has patiently | 20 | # "Highgprs" is kernel feature first implemented in Linux 2.6.32, see |
21 | Index: openssl-1.0.0e/crypto/bn/asm/x86_64-gcc.c | 21 | Index: openssl-1.0.1e/crypto/bn/asm/x86_64-gcc.c |
22 | =================================================================== | 22 | =================================================================== |
23 | --- openssl-1.0.0e.orig/crypto/bn/asm/x86_64-gcc.c | 23 | --- openssl-1.0.1e.orig/crypto/bn/asm/x86_64-gcc.c |
24 | +++ openssl-1.0.0e/crypto/bn/asm/x86_64-gcc.c | 24 | +++ openssl-1.0.1e/crypto/bn/asm/x86_64-gcc.c |
25 | @@ -55,7 +55,7 @@ | 25 | @@ -55,7 +55,7 @@ |
26 | * machine. | 26 | * machine. |
27 | */ | 27 | */ |
@@ -57,10 +57,10 @@ Index: openssl-1.0.0e/crypto/bn/asm/x86_64-gcc.c | |||
57 | " leaq 1(%2),%2 \n" | 57 | " leaq 1(%2),%2 \n" |
58 | " loop 1b \n" | 58 | " loop 1b \n" |
59 | " sbbq %0,%0 \n" | 59 | " sbbq %0,%0 \n" |
60 | Index: openssl-1.0.0e/crypto/bn/bn.h | 60 | Index: openssl-1.0.1e/crypto/bn/bn.h |
61 | =================================================================== | 61 | =================================================================== |
62 | --- openssl-1.0.0e.orig/crypto/bn/bn.h | 62 | --- openssl-1.0.1e.orig/crypto/bn/bn.h |
63 | +++ openssl-1.0.0e/crypto/bn/bn.h | 63 | +++ openssl-1.0.1e/crypto/bn/bn.h |
64 | @@ -172,6 +172,13 @@ extern "C" { | 64 | @@ -172,6 +172,13 @@ extern "C" { |
65 | # endif | 65 | # endif |
66 | #endif | 66 | #endif |
@@ -75,15 +75,15 @@ Index: openssl-1.0.0e/crypto/bn/bn.h | |||
75 | /* assuming long is 64bit - this is the DEC Alpha | 75 | /* assuming long is 64bit - this is the DEC Alpha |
76 | * unsigned long long is only 64 bits :-(, don't define | 76 | * unsigned long long is only 64 bits :-(, don't define |
77 | * BN_LLONG for the DEC Alpha */ | 77 | * BN_LLONG for the DEC Alpha */ |
78 | Index: openssl-1.0.0e/crypto/bn/bn_exp.c | 78 | Index: openssl-1.0.1e/crypto/bn/bn_exp.c |
79 | =================================================================== | 79 | =================================================================== |
80 | --- openssl-1.0.0e.orig/crypto/bn/bn_exp.c | 80 | --- openssl-1.0.1e.orig/crypto/bn/bn_exp.c |
81 | +++ openssl-1.0.0e/crypto/bn/bn_exp.c | 81 | +++ openssl-1.0.1e/crypto/bn/bn_exp.c |
82 | @@ -561,7 +561,7 @@ static int MOD_EXP_CTIME_COPY_FROM_PREBU | 82 | @@ -567,7 +567,7 @@ static int MOD_EXP_CTIME_COPY_FROM_PREBU |
83 | 83 | ||
84 | /* Given a pointer value, compute the next address that is a cache line multiple. */ | 84 | /* Given a pointer value, compute the next address that is a cache line multiple. */ |
85 | #define MOD_EXP_CTIME_ALIGN(x_) \ | 85 | #define MOD_EXP_CTIME_ALIGN(x_) \ |
86 | - ((unsigned char*)(x_) + (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - (((BN_ULONG)(x_)) & (MOD_EXP_CTIME_MIN_CACHE_LINE_MASK)))) | 86 | - ((unsigned char*)(x_) + (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - (((size_t)(x_)) & (MOD_EXP_CTIME_MIN_CACHE_LINE_MASK)))) |
87 | + ((unsigned char*)(x_) + (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - (((BN_ADDR)(x_)) & (MOD_EXP_CTIME_MIN_CACHE_LINE_MASK)))) | 87 | + ((unsigned char*)(x_) + (MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH - (((BN_ADDR)(x_)) & (MOD_EXP_CTIME_MIN_CACHE_LINE_MASK)))) |
88 | 88 | ||
89 | /* This variant of BN_mod_exp_mont() uses fixed windows and the special | 89 | /* This variant of BN_mod_exp_mont() uses fixed windows and the special |
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.0j/shared-libs.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/shared-libs.patch index 09986731a8..a7ca0a3078 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.0j/shared-libs.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/shared-libs.patch | |||
@@ -1,10 +1,10 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | 1 | Upstream-Status: Inappropriate [configuration] |
2 | 2 | ||
3 | Index: openssl-1.0.0/crypto/Makefile | 3 | Index: openssl-1.0.1e/crypto/Makefile |
4 | =================================================================== | 4 | =================================================================== |
5 | --- openssl-1.0.0.orig/crypto/Makefile | 5 | --- openssl-1.0.1e.orig/crypto/Makefile |
6 | +++ openssl-1.0.0/crypto/Makefile | 6 | +++ openssl-1.0.1e/crypto/Makefile |
7 | @@ -104,7 +104,7 @@ | 7 | @@ -108,7 +108,7 @@ $(LIB): $(LIBOBJ) |
8 | 8 | ||
9 | shared: buildinf.h lib subdirs | 9 | shared: buildinf.h lib subdirs |
10 | if [ -n "$(SHARED_LIBS)" ]; then \ | 10 | if [ -n "$(SHARED_LIBS)" ]; then \ |
@@ -13,20 +13,11 @@ Index: openssl-1.0.0/crypto/Makefile | |||
13 | fi | 13 | fi |
14 | 14 | ||
15 | libs: | 15 | libs: |
16 | Index: openssl-1.0.0/Makefile.org | 16 | Index: openssl-1.0.1e/Makefile.org |
17 | =================================================================== | 17 | =================================================================== |
18 | --- openssl-1.0.0.orig/Makefile.org | 18 | --- openssl-1.0.1e.orig/Makefile.org |
19 | +++ openssl-1.0.0/Makefile.org | 19 | +++ openssl-1.0.1e/Makefile.org |
20 | @@ -260,7 +260,7 @@ | 20 | @@ -310,7 +310,7 @@ libcrypto$(SHLIB_EXT): libcrypto.a fips_ |
21 | |||
22 | libcrypto$(SHLIB_EXT): libcrypto.a | ||
23 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | ||
24 | - $(MAKE) SHLIBDIRS=crypto build-shared; \ | ||
25 | + $(MAKE) -e SHLIBDIRS=crypto build-shared; \ | ||
26 | else \ | ||
27 | echo "There's no support for shared libraries on this platform" >&2; \ | ||
28 | exit 1; \ | ||
29 | @@ -268,7 +268,7 @@ | ||
30 | 21 | ||
31 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a | 22 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a |
32 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | 23 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ |
@@ -35,11 +26,11 @@ Index: openssl-1.0.0/Makefile.org | |||
35 | else \ | 26 | else \ |
36 | echo "There's no support for shared libraries on this platform" >&2; \ | 27 | echo "There's no support for shared libraries on this platform" >&2; \ |
37 | exit 1; \ | 28 | exit 1; \ |
38 | Index: openssl-1.0.0/ssl/Makefile | 29 | Index: openssl-1.0.1e/ssl/Makefile |
39 | =================================================================== | 30 | =================================================================== |
40 | --- openssl-1.0.0.orig/ssl/Makefile | 31 | --- openssl-1.0.1e.orig/ssl/Makefile |
41 | +++ openssl-1.0.0/ssl/Makefile | 32 | +++ openssl-1.0.1e/ssl/Makefile |
42 | @@ -62,7 +62,7 @@ | 33 | @@ -62,7 +62,7 @@ lib: $(LIBOBJ) |
43 | 34 | ||
44 | shared: lib | 35 | shared: lib |
45 | if [ -n "$(SHARED_LIBS)" ]; then \ | 36 | if [ -n "$(SHARED_LIBS)" ]; then \ |
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.0j.bb b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb index 8c0166a5e1..47c13a433c 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.0j.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | |||
@@ -6,7 +6,7 @@ DEPENDS += "ocf-linux" | |||
6 | 6 | ||
7 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" | 7 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" |
8 | 8 | ||
9 | PR = "${INC_PR}.4" | 9 | PR = "${INC_PR}.0" |
10 | 10 | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" | 11 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" |
12 | 12 | ||
@@ -32,8 +32,8 @@ SRC_URI += "file://configure-targets.patch \ | |||
32 | file://find.pl \ | 32 | file://find.pl \ |
33 | " | 33 | " |
34 | 34 | ||
35 | SRC_URI[md5sum] = "cbe4ac0d8f598680f68a951e04b0996b" | 35 | SRC_URI[md5sum] = "66bf6f10f060d561929de96f9dfe5b8c" |
36 | SRC_URI[sha256sum] = "626fb8fcb3eb7e966edbe71553ff993d137f6e8a87b05051a3695e621098b8af" | 36 | SRC_URI[sha256sum] = "f74f15e8c8ff11aa3d5bb5f276d202ec18d7246e95f961db76054199c69c1ae3" |
37 | 37 | ||
38 | PACKAGES =+ " \ | 38 | PACKAGES =+ " \ |
39 | ${PN}-engines \ | 39 | ${PN}-engines \ |