Skip to contentSkip to conversation

openssl-1.0.0d: Update to openssl-1.0.0e

PATCH New [email protected] 1 participant 1 message Oct 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl-1.0.0d: Update to openssl-1.0.0e

From: Ulf Samuelsson <[email protected]>

Backported from openembedded-core meta-openembedded/meta-oe/recipes-connectivity/openssl

---
 .../include/angstrom-2010-preferred-versions.inc   |    4 +-
 .../openssl/openssl-1.0.0e/configure-targets.patch |   31 +
 .../openssl-1.0.0e/debian/c_rehash-compat.patch    |   43 +
 recipes/openssl/openssl-1.0.0e/debian/ca.patch     |   20 +
 .../openssl-1.0.0e/debian/debian-targets.patch     |   52 +
 .../openssl-1.0.0e/debian/make-targets.patch       |   13 +
 .../openssl/openssl-1.0.0e/debian/man-dir.patch    |   13 +
 .../openssl-1.0.0e/debian/man-section.patch        |   32 +
 .../openssl/openssl-1.0.0e/debian/no-rpath.patch   |   13 +
 .../openssl-1.0.0e/debian/no-symbolic.patch        |   13 +
 recipes/openssl/openssl-1.0.0e/debian/pic.patch    |  240 ++
 .../openssl/openssl-1.0.0e/debian/pkg-config.patch |   34 +
 .../openssl-1.0.0e/debian/version-script.patch     | 4509 ++++++++++++++++++++
 .../engines-install-in-libdir-ssl.patch            |   53 +
 recipes/openssl/openssl-1.0.0e/oe-ldflags.patch    |   22 +
 .../openssl/openssl-1.0.0e/openssl-fix-link.patch  |   35 +
 .../openssl/openssl-1.0.0e/parallel-make-fix.patch |   20 +
 recipes/openssl/openssl-1.0.0e/shared-libs.patch   |   48 +
 recipes/openssl/openssl-native_1.0.0e.bb           |   39 +
 recipes/openssl/openssl.inc                        |    9 +-
 recipes/openssl/openssl_1.0.0e.bb                  |   46 +
 21 files changed, 5284 insertions(+), 5 deletions(-)
 create mode 100644 recipes/openssl/openssl-1.0.0e/configure-targets.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/c_rehash-compat.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/ca.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/debian-targets.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/make-targets.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/man-dir.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/man-section.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/no-rpath.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/no-symbolic.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/pic.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/pkg-config.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/debian/version-script.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/engines-install-in-libdir-ssl.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/oe-ldflags.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/openssl-fix-link.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/parallel-make-fix.patch
 create mode 100644 recipes/openssl/openssl-1.0.0e/shared-libs.patch
 create mode 100644 recipes/openssl/openssl-native_1.0.0e.bb
 create mode 100644 recipes/openssl/openssl_1.0.0e.bb
conf/distro/include/angstrom-2010-preferred-versions.inc +2 -2
index 8ce3ee7..cf13a9a 100644
@@ -43,8 +43,8 @@ PREFERRED_VERSION_mythplugins   = "0.23"
 PREFERRED_VERSION_myththemes    = "0.23"
 PREFERRED_VERSION_mythtv        = "0.23"
 PREFERRED_VERSION_mplayer       = "0.0+1.0rc3+svnr%"
-PREFERRED_VERSION_openssl = "1.0.0d"
-PREFERRED_VERSION_openssl-native = "1.0.0d"
+PREFERRED_VERSION_openssl = "1.0.0e"
+PREFERRED_VERSION_openssl-native = "1.0.0e"
 PREFERRED_VERSION_pango 	= "1.28.3"
 PREFERRED_VERSION_pango-native     = "1.28.3"
 PREFERRED_VERSION_perl = "5.10.1"
recipes/openssl/openssl-1.0.0e/configure-targets.patch new file +31 -0
new file mode 100644
index 0000000..22f8743
@@ -0,0 +1,31 @@
+
+The number of colons are important :)
+
+
+Index: openssl-1.0.0a/Configure
+===================================================================
+--- openssl-1.0.0a.orig/Configure
++++ openssl-1.0.0a/Configure
+@@ -380,6 +380,22 @@ my %table=(
+ "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}",
+ "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}",
+ 
++ # Linux on ARM
++"linux-elf-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)",
++"linux-elf-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)",
++"linux-gnueabi-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)",
++"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)",
++"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)",
++"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)",
++
++"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).",
++
++#### Linux on MIPS/MIPS64
++"linux-mips","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"linux-mips64","$ENV{'CC'}:-DB_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::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"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::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"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::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++
+ #### *BSD [do see comment about ${BSDthreads} above!]
+ "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)",
+ "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)",
recipes/openssl/openssl-1.0.0e/debian/c_rehash-compat.patch new file +43 -0

43 lines not on this page · raw message

recipes/openssl/openssl-1.0.0e/debian/ca.patch new file +20 -0
new file mode 100644
index 0000000..761eebe
@@ -0,0 +1,20 @@
+Index: openssl-0.9.8m/apps/CA.pl.in
+===================================================================
+--- openssl-0.9.8m.orig/apps/CA.pl.in	2006-04-28 00:28:51.000000000 +0000
++++ openssl-0.9.8m/apps/CA.pl.in	2010-02-27 00:36:51.000000000 +0000
+@@ -65,6 +65,7 @@
+ foreach (@ARGV) {
+ 	if ( /^(-\?|-h|-help)$/ ) {
+ 	    print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";
++	    print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";
+ 	    exit 0;
+ 	} elsif (/^-newcert$/) {
+ 	    # create a certificate
+@@ -165,6 +166,7 @@
+ 	} else {
+ 	    print STDERR "Unknown arg $_\n";
+ 	    print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";
++	    print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";
+ 	    exit 1;
+ 	}
+ }
recipes/openssl/openssl-1.0.0e/debian/debian-targets.patch new file +52 -0

52 lines not on this page · raw message

recipes/openssl/openssl-1.0.0e/debian/make-targets.patch new file +13 -0
new file mode 100644
index 0000000..f4ddbfa
@@ -0,0 +1,13 @@
+Index: openssl-1.0.0c/Makefile.org
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.org	2010-12-12 16:10:12.000000000 +0100
++++ openssl-1.0.0c/Makefile.org	2010-12-12 16:11:27.000000000 +0100
+@@ -109,7 +109,7 @@
+ ZLIB_INCLUDE=
+ LIBZLIB=
+ 
+-DIRS=   crypto ssl engines apps test tools
++DIRS=   crypto ssl engines apps tools
+ ENGDIRS= ccgost
+ SHLIBDIRS= crypto ssl
+ 
recipes/openssl/openssl-1.0.0e/debian/man-dir.patch new file +13 -0
new file mode 100644
index 0000000..a35b37e
@@ -0,0 +1,13 @@
+Index: openssl-1.0.0c/Makefile.org
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.org	2010-12-12 16:11:27.000000000 +0100
++++ openssl-1.0.0c/Makefile.org	2010-12-12 16:11:37.000000000 +0100
+@@ -131,7 +131,7 @@
+ 
+ MAKEFILE= Makefile
+ 
+-MANDIR=$(OPENSSLDIR)/man
++MANDIR=/usr/share/man
+ MAN1=1
+ MAN3=3
+ MANSUFFIX=
recipes/openssl/openssl-1.0.0e/debian/man-section.patch new file +32 -0
new file mode 100644
index 0000000..a8ac662
@@ -0,0 +1,32 @@
+Index: openssl-1.0.0c/Makefile.org
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.org	2010-12-12 16:11:37.000000000 +0100
++++ openssl-1.0.0c/Makefile.org	2010-12-12 16:13:28.000000000 +0100
+@@ -134,7 +134,8 @@
+ MANDIR=/usr/share/man
+ MAN1=1
+ MAN3=3
+-MANSUFFIX=
++MANSUFFIX=ssl
++MANSECTION=SSL
+ HTMLSUFFIX=html
+ HTMLDIR=$(OPENSSLDIR)/html
+ SHELL=/bin/sh
+@@ -606,7 +607,7 @@
+ 		echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
+ 		(cd `$(PERL) util/dirname.pl $$i`; \
+ 		sh -c "$$pod2man \
+-			--section=$$sec --center=OpenSSL \
++			--section=$${sec}$(MANSECTION) --center=OpenSSL \
+ 			--release=$(VERSION) `basename $$i`") \
+ 			>  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \
+ 		$(PERL) util/extract-names.pl < $$i | \
+@@ -623,7 +624,7 @@
+ 		echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
+ 		(cd `$(PERL) util/dirname.pl $$i`; \
+ 		sh -c "$$pod2man \
+-			--section=$$sec --center=OpenSSL \
++			--section=$${sec}$(MANSECTION) --center=OpenSSL \
+ 			--release=$(VERSION) `basename $$i`") \
+ 			>  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \
+ 		$(PERL) util/extract-names.pl < $$i | \
recipes/openssl/openssl-1.0.0e/debian/no-rpath.patch new file +13 -0
new file mode 100644
index 0000000..6ef0f0e
@@ -0,0 +1,13 @@
+Index: openssl-1.0.0c/Makefile.shared
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.shared	2010-08-21 13:36:49.000000000 +0200
++++ openssl-1.0.0c/Makefile.shared	2010-12-12 16:13:36.000000000 +0100
+@@ -153,7 +153,7 @@
+ 	NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
+ 	SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
+ 
+-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
++DO_GNU_APP=LDFLAGS="$(CFLAGS)"
+ 
+ #This is rather special.  It's a special target with which one can link
+ #applications without bothering with any features that have anything to
recipes/openssl/openssl-1.0.0e/debian/no-symbolic.patch new file +13 -0
new file mode 100644
index 0000000..2a30777
@@ -0,0 +1,13 @@
+Index: openssl-1.0.0c/Makefile.shared
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.shared	2010-12-12 16:13:36.000000000 +0100
++++ openssl-1.0.0c/Makefile.shared	2010-12-12 16:13:44.000000000 +0100
+@@ -151,7 +151,7 @@
+ 	SHLIB_SUFFIX=; \
+ 	ALLSYMSFLAGS='-Wl,--whole-archive'; \
+ 	NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
+-	SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
++	SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
+ 
+ DO_GNU_APP=LDFLAGS="$(CFLAGS)"
+ 
recipes/openssl/openssl-1.0.0e/debian/pic.patch new file +240 -0

240 lines not on this page · raw message

recipes/openssl/openssl-1.0.0e/debian/pkg-config.patch new file +34 -0
new file mode 100644
index 0000000..7a2a94e
@@ -0,0 +1,34 @@
+Index: openssl-1.0.0c/Makefile.org
+===================================================================
+--- openssl-1.0.0c.orig/Makefile.org	2010-12-12 16:13:28.000000000 +0100
++++ openssl-1.0.0c/Makefile.org	2010-12-12 17:01:49.000000000 +0100
+@@ -323,7 +323,8 @@
+ 	    echo 'Description: OpenSSL cryptography library'; \
+ 	    echo 'Version: '$(VERSION); \
+ 	    echo 'Requires: '; \
+-	    echo 'Libs: -L$${libdir} -lcrypto $(EX_LIBS)'; \
++	    echo 'Libs: -L$${libdir} -lcrypto'; \
++	    echo 'Libs.private: $(EX_LIBS)'; \
+ 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc
+ 
+ libssl.pc: Makefile
+@@ -336,7 +337,8 @@
+ 	    echo 'Description: Secure Sockets Layer and cryptography libraries'; \
+ 	    echo 'Version: '$(VERSION); \
+ 	    echo 'Requires: '; \
+-	    echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \
++	    echo 'Libs: -L$${libdir} -lssl'; \
++	    echo 'Libs.private: -lcrypto $(EX_LIBS)'; \
+ 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc
+ 
+ openssl.pc: Makefile
+@@ -349,7 +351,8 @@
+ 	    echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
+ 	    echo 'Version: '$(VERSION); \
+ 	    echo 'Requires: '; \
+-	    echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \
++	    echo 'Libs: -L$${libdir} -lssl -lcrypto'; \
++	    echo 'Libs.private: $(EX_LIBS)'; \
+ 	    echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc
+ 
+ Makefile: Makefile.org Configure config
recipes/openssl/openssl-1.0.0e/debian/version-script.patch new file +4509 -0

2,486 lines not on this page · raw message

recipes/openssl/openssl-1.0.0e/engines-install-in-libdir-ssl.patch new file +53 -0

53 lines not on this page · raw message

recipes/openssl/openssl-1.0.0e/oe-ldflags.patch new file +22 -0
new file mode 100644
index 0000000..3dd3bed

Lines of this file are not shown. View the raw message.

recipes/openssl/openssl-1.0.0e/openssl-fix-link.patch new file +35 -0
new file mode 100644
index 0000000..154106c

Lines of this file are not shown. View the raw message.

recipes/openssl/openssl-1.0.0e/parallel-make-fix.patch new file +20 -0
new file mode 100644
index 0000000..7ba9348

Lines of this file are not shown. View the raw message.

recipes/openssl/openssl-1.0.0e/shared-libs.patch new file +48 -0

48 lines not on this page · raw message

recipes/openssl/openssl-native_1.0.0e.bb new file +39 -0
new file mode 100644
index 0000000..8be5bcb

Lines of this file are not shown. View the raw message.

recipes/openssl/openssl.inc +6 -3
index 2460913..2aff24a 100644

Lines of this file are not shown. View the raw message.

recipes/openssl/openssl_1.0.0e.bb new file +46 -0

46 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.5.4

Part of the diff is not shown here. View the raw message.