openssl: Update from 1.0.2n to 1.0.2p
PATCH 1/1 openssl: Update from 1.0.2n to 1.0.2p
Refresh parallel.patch.
Remove duplicate LIC_FILES_CHKSUM assignment.
License-Update: Updated copyright years
---
meta/recipes-connectivity/openssl/openssl.inc | 2 +-
.../openssl/openssl/parallel.patch | 40 +++++++++----------
.../{openssl_1.0.2n.bb => openssl_1.0.2p.bb} | 6 +--
3 files changed, 22 insertions(+), 26 deletions(-)
rename meta/recipes-connectivity/openssl/{openssl_1.0.2n.bb => openssl_1.0.2p.bb} (91%)meta/recipes-connectivity/openssl/openssl.inc +1 -1
@@ -6,7 +6,7 @@ SECTION = "libs/network" # "openssl | SSLeay" dual license LICENSE = "openssl" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f475368924827d06d4b416111c8bdb77" DEPENDS = "makedepend-native hostperl-runtime-native" DEPENDS_append_class-target = " openssl-native"
meta/recipes-connectivity/openssl/openssl/parallel.patch +19 -21
@@ -13,24 +13,18 @@ Refreshed for 1.0.2i Signed-off-by: Patrick Ohly <[email protected]> --- - Makefile.org | 14 +- - Makefile.org.orig | 10 +- - Makefile.shared | 2 + - Makefile.shared.orig | 655 ++++++++++++++++++++++++++++++++++++++++++++++++++ - crypto/Makefile | 10 +- - engines/Makefile | 6 +- - engines/Makefile.orig | 338 ++++++++++++++++++++++++++ - test/Makefile | 92 +++---- - test/Makefile.orig | 88 ++++--- - 9 files changed, 1108 insertions(+), 107 deletions(-) - create mode 100644 Makefile.shared.orig - create mode 100644 engines/Makefile.orig + Makefile.org | 14 ++-- + Makefile.shared | 2 + + crypto/Makefile | 10 +-- + engines/Makefile | 6 +- + test/Makefile | 94 +++++++++++----------- + 5 files changed, 64 insertions(+), 62 deletions(-) diff --git a/Makefile.org b/Makefile.org -index 8e7936c..ed98d2a 100644 +index efcfafb..82eab91 100644 --- a/Makefile.org +++ b/Makefile.org -@@ -283,17 +283,17 @@ build_libcrypto: build_crypto build_engines libcrypto.pc +@@ -282,17 +282,17 @@ build_libcrypto: build_crypto build_engines libcrypto.pc build_libssl: build_ssl libssl.pc build_crypto:
@@ -54,7 +48,7 @@ index 8e7936c..ed98d2a 100644 all_testapps: build_libs build_testapps build_testapps: -@@ -565,7 +565,7 @@ install_sw: +@@ -564,7 +564,7 @@ install_sw: (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done;
@@ -64,7 +58,7 @@ index 8e7936c..ed98d2a 100644 do \ if [ -f "$$i" ]; then \ diff --git a/Makefile.shared b/Makefile.shared -index f6f92e7..8164186 100644 +index bbefb2b..18013a9 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -105,6 +105,7 @@ LINK_SO= \
@@ -84,7 +78,7 @@ index f6f92e7..8164186 100644 ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \ fi; \ diff --git a/crypto/Makefile b/crypto/Makefile -index 17a87f8..29c2dcf 100644 +index 875ea1a..c22b683 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -85,11 +85,11 @@ testapps:
@@ -160,7 +154,7 @@ index fe8e9ca..a43d21b 100644 tags: ctags $(SRC) diff --git a/test/Makefile b/test/Makefile -index 40abd60..78d3788 100644 +index 36506cf..c69af8b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -145,7 +145,7 @@ install:
@@ -172,7 +166,7 @@ index 40abd60..78d3788 100644 apps: @(cd ..; $(MAKE) DIRS=apps all) -@@ -444,139 +444,139 @@ BUILD_CMD_STATIC=shlib_target=; \ +@@ -448,142 +448,142 @@ BUILD_CMD_STATIC=shlib_target=; \ link_app.$${shlib_target} $(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
@@ -345,7 +339,11 @@ index 40abd60..78d3788 100644 $(FATALERRTEST)$(EXE_EXT): $(FATALERRTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) @target=$(FATALERRTEST); exobj=ssltestlib.o; $(BUILD_CMD) - + + $(X509TIMETEST)$(EXE_EXT): $(X509TIMETEST).o +- @target=$(X509TIMETEST) $(BUILD_CMD) ++ +@target=$(X509TIMETEST) $(BUILD_CMD) + $(SSLV2CONFTEST)$(EXE_EXT): $(SSLV2CONFTEST).o - @target=$(SSLV2CONFTEST) $(BUILD_CMD) + +@target=$(SSLV2CONFTEST) $(BUILD_CMD)
@@ -356,7 +354,7 @@ index 40abd60..78d3788 100644 #$(AESTEST).o: $(AESTEST).c # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c -@@ -589,7 +589,7 @@ $(DTLSTEST)$(EXE_EXT): $(DTLSTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) +@@ -596,7 +596,7 @@ $(DTLSTEST)$(EXE_EXT): $(DTLSTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) # fi dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
meta/recipes-connectivity/openssl/openssl_1.0.2p.bb renamed from meta/recipes-connectivity/openssl/openssl_1.0.2n.bb +2 -4
@@ -7,8 +7,6 @@ DEPENDS += "cryptodev-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" CFLAG_append_class-native = " -fPIC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=057d9218c6180e1d9ee407572b2dd225" - export DIRS = "crypto ssl apps engines" export OE_LDFLAGS="${LDFLAGS}"
@@ -43,8 +41,8 @@ SRC_URI += "file://find.pl;subdir=${BP}/util/ \ file://Use-SHA256-not-MD5-as-default-digest.patch \ file://0001-Fix-build-with-clang-using-external-assembler.patch \ " -SRC_URI[md5sum] = "13bdc1b1d1ff39b6fd42a255e74676a4" -SRC_URI[sha256sum] = "370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe" +SRC_URI[md5sum] = "ac5eb30bf5798aa14b1ae6d0e7da58df" +SRC_URI[sha256sum] = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00" PACKAGES =+ "${PN}-engines" FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines"
Signature · 1 line
2.18.1
Quoted 6 lines · Robert Joslyn
Refresh parallel.patch.
Remove duplicate
LIC_FILES_CHKSUMassignment.License-Update: Updated copyright years
Normally a backport to pyro would be merged to sumo and rocko first, so this would be done in steps:
1) Backport the existing patches to update 1.0.2n -> 1.0.2o from rocko to pyro
2) Update rocko from 1.0.2o -> 1.0.2p, ideally by backporting patches already in sumo. Note however that the update to 1.0.2p in sumo comes with a lot of non-critical cleanups and it's questionable how far back we want to port those, so a new patch which just updates the version might be preferred?
3) Backport whatever 1.0.2o -> 1.0.2p patches are merged to rocko into pyro.
Quoted 160 lines
Signed-off-by Robert Joslyn <[email protected]>--- meta/recipes-connectivity/openssl/openssl.inc | 2 +- .../openssl/openssl/parallel.patch | 40 +++++++++---------- .../{openssl_1.0.2n.bb => openssl_1.0.2p.bb} | 6 +-- 3 files changed, 22 insertions(+), 26 deletions(-) rename meta/recipes-connectivity/openssl/{openssl_1.0.2n.bb => openssl_1.0.2p.bb} (91%)meta/recipes-connectivity/openssl/openssl.inc +1
-1@@ -6,7 +6,7 @@ SECTION = "libs/network" # "openssl | SSLeay" dual license LICENSE = "openssl" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f475368924827d06d4b416111c8bdb77" DEPENDS = "makedepend-native hostperl-runtime-native" DEPENDS_append_class-target = " openssl-native"meta/recipes-connectivity/openssl/openssl/parallel.patch +19
-21@@ -13,24 +13,18 @@ Refreshed for 1.0.2i Signed-off-by: Patrick Ohly <[email protected]> --- - Makefile.org | 14 +- - Makefile.org.orig | 10 +- - Makefile.shared | 2 + - Makefile.shared.orig | 655 ++++++++++++++++++++++++++++++++++++++++++++++++++ - crypto/Makefile | 10 +- - engines/Makefile | 6 +- - engines/Makefile.orig | 338 ++++++++++++++++++++++++++ - test/Makefile | 92 +++---- - test/Makefile.orig | 88 ++++--- - 9 files changed, 1108 insertions(+), 107 deletions(-) - create mode 100644 Makefile.shared.orig - create mode 100644 engines/Makefile.orig + Makefile.org | 14 ++-- + Makefile.shared | 2 + + crypto/Makefile | 10 +-- + engines/Makefile | 6 +- + test/Makefile | 94 +++++++++++----------- + 5 files changed, 64 insertions(+), 62 deletions(-) diff --git a/Makefile.org b/Makefile.org -index 8e7936c..ed98d2a 100644 +index efcfafb..82eab91 100644 --- a/Makefile.org +++ b/Makefile.org -@@ -283,17 +283,17 @@ build_libcrypto: build_crypto build_engines libcrypto.pc +@@ -282,17 +282,17 @@ build_libcrypto: build_crypto build_engines libcrypto.pc build_libssl: build_ssl libssl.pc build_crypto:@@ -54,7 +48,7 @@ index 8e7936c..ed98d2a 100644 all_testapps: build_libs build_testapps build_testapps: -@@ -565,7 +565,7 @@ install_sw: +@@ -564,7 +564,7 @@ install_sw: (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done;@@ -64,7 +58,7 @@ index 8e7936c..ed98d2a 100644 do \ if [ -f "$$i" ]; then \ diff --git a/Makefile.shared b/Makefile.shared -index f6f92e7..8164186 100644 +index bbefb2b..18013a9 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -105,6 +105,7 @@ LINK_SO= \@@ -84,7 +78,7 @@ index f6f92e7..8164186 100644 ln -s $$prev $$SHLIB$$SHLIB_SUFFIX ); \ fi; \ diff --git a/crypto/Makefile b/crypto/Makefile -index 17a87f8..29c2dcf 100644 +index 875ea1a..c22b683 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -85,11 +85,11 @@ testapps:@@ -160,7 +154,7 @@ index fe8e9ca..a43d21b 100644 tags: ctags $(SRC) diff --git a/test/Makefile b/test/Makefile -index 40abd60..78d3788 100644 +index 36506cf..c69af8b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -145,7 +145,7 @@ install:@@ -172,7 +166,7 @@ index 40abd60..78d3788 100644 apps: @(cd ..; $(MAKE) DIRS=apps all) -@@ -444,139 +444,139 @@ BUILD_CMD_STATIC=shlib_target=; \ +@@ -448,142 +448,142 @@ BUILD_CMD_STATIC=shlib_target=; \ link_app.$${shlib_target} $(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)@@ -345,7 +339,11 @@ index 40abd60..78d3788 100644 $(FATALERRTEST)$(EXE_EXT): $(FATALERRTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) @target=$(FATALERRTEST); exobj=ssltestlib.o; $(BUILD_CMD) - + + $(X509TIMETEST)$(EXE_EXT): $(X509TIMETEST).o +- @target=$(X509TIMETEST) $(BUILD_CMD) ++ +@target=$(X509TIMETEST) $(BUILD_CMD) + $(SSLV2CONFTEST)$(EXE_EXT): $(SSLV2CONFTEST).o - @target=$(SSLV2CONFTEST) $(BUILD_CMD) + +@target=$(SSLV2CONFTEST) $(BUILD_CMD)@@ -356,7 +354,7 @@ index 40abd60..78d3788 100644 #$(AESTEST).o: $(AESTEST).c # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c -@@ -589,7 +589,7 @@ $(DTLSTEST)$(EXE_EXT): $(DTLSTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) +@@ -596,7 +596,7 @@ $(DTLSTEST)$(EXE_EXT): $(DTLSTEST).o ssltestlib.o $(DLIBSSL) $(DLIBCRYPTO) # fi dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)meta/recipes-connectivity/openssl/openssl_1.0.2p.bb renamed from meta/recipes-connectivity/openssl/openssl_1.0.2n.bb +2
-5@@ -7,8 +7,6 @@ DEPENDS += "cryptodev-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" CFLAG_append_class-native = " -fPIC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=057d9218c6180e1d9ee407572b2dd225" - export DIRS = "crypto ssl apps engines" export OE_LDFLAGS="${LDFLAGS}"@@ -43,8 +41,8 @@ SRC_URI += "file://find.pl;subdir=${BP}/util/ \ file://Use-SHA256-not-MD5-as-default-digest.patch \ file://0001-Fix-build-with-clang-using-external-assembler.patch \ " -SRC_URI[md5sum] = "13bdc1b1d1ff39b6fd42a255e74676a4" -SRC_URI[sha256sum] = "370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe" +SRC_URI[md5sum] = "ac5eb30bf5798aa14b1ae6d0e7da58df" +SRC_URI[sha256sum] = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00" PACKAGES =+ "${PN}-engines" FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" --2.18.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 22 lines · Andre McCurdy
Quoted 6 lines · Robert Joslyn
Refresh parallel.patch.
Remove duplicate
LIC_FILES_CHKSUMassignment.License-Update: Updated copyright years
Normally a backport to pyro would be merged to sumo and rocko first, so this would be done in steps:
1) Backport the existing patches to update 1.0.2n -> 1.0.2o from rocko to pyro
2) Update rocko from 1.0.2o -> 1.0.2p, ideally by backporting patches already in sumo. Note however that the update to 1.0.2p in sumo comes with a lot of non-critical cleanups and it's questionable how far back
we want to port those, so a new patch which just updates the version might be preferred?
Quoted 2 lines
3) Backport whatever 1.0.2o -> 1.0.2p patches are merged to rocko into pyro.
I debated how much to backport from sumo, and thought I would try to minimize the changes to the rocko and pyro branches. The two patches I sent are pretty much the minimum required to get 1.0.2p working with rocko and pyro.
It's probably easiest to take what's on sumo directly back to rocko and then pyro. I'll test that tomorrow and resend the patches if there's no objection to taking the other small fixes. I have a feeling trying to pull out small cleanups is more trouble than it's worth (for my purposes at least), but I'll do so if that's preferred.
Thanks,
Robert
Quoted 31 lines · Robert Joslyn
Quoted 22 lines · Andre McCurdy
Quoted 6 lines · Robert Joslyn
Refresh parallel.patch.
Remove duplicate
LIC_FILES_CHKSUMassignment.License-Update: Updated copyright years
Normally a backport to pyro would be merged to sumo and rocko first, so this would be done in steps:
1) Backport the existing patches to update 1.0.2n -> 1.0.2o from rocko to pyro
2) Update rocko from 1.0.2o -> 1.0.2p, ideally by backporting patches already in sumo. Note however that the update to 1.0.2p in sumo comes with a lot of non-critical cleanups and it's questionable how far back
we want to port those, so a new patch which just updates the version might be preferred?Quoted 2 lines
3) Backport whatever 1.0.2o -> 1.0.2p patches are merged to rocko into pyro.
I debated how much to backport from sumo, and thought I would try to minimize the changes to the rocko and pyro branches. The two patches I sent are pretty much the minimum required to get 1.0.2p working with rocko and pyro.
Quoted 5 lines
It's probably easiest to take what's on sumo directly back to rocko and then pyro. I'll test that tomorrow and resend the patches if there's no objection to taking the other small fixes. I have a feeling trying to pull out small cleanups is more trouble than it's worth (for my purposes at least), but I'll do so if that's preferred.
As the author of many of the cleanups I would tend to favour including them in any backport... but I'm not the maintainer of the stable branches.