thrift: upgrade 0.24.0 -> 0.25.0
PATCH 1/1 thrift: upgrade 0.24.0 -> 0.25.0
From: Peter Marko <[email protected]>
This upgrade includes fix for 61 CVEs.
Refreshed/removed patches via devtool.
Release announcement: [1]
Release notes: [2]
[1] https://lists.apache.org/thread/prryfzdozvt6t02c9k5jf46or3m7ctzy
[2] https://github.com/apache/thrift/blob/v0.25.0/CHANGES.md
License-Update: Added notice for MIT license of a Makefile
Signed-off-by Peter Marko <[email protected]>
---
...onPaths.cmake-Define-libdir-in-terms.patch | 37 +++---
...SSLSocket-fix-build-with-OpenSSL-4.0.patch | 113 ------------------
.../{thrift_0.24.0.bb => thrift_0.25.0.bb} | 5 +-
3 files changed, 23 insertions(+), 132 deletions(-)
delete mode 100644 meta-oe/recipes-connectivity/thrift/thrift/0001-TSSLSocket-fix-build-with-OpenSSL-4.0.patch
rename meta-oe/recipes-connectivity/thrift/{thrift_0.24.0.bb => thrift_0.25.0.bb} (91%)meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch +21 -16
@@ -7,12 +7,30 @@ Subject: [PATCH] DefineInstallationPaths.cmake: Define libdir in terms of Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> --- - build/cmake/DefineInstallationPaths.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + build/cmake/DefineCMakeDefaults.cmake | 4 ++-- + build/cmake/DefineInstallationPaths.cmake | 6 +++--- + 2 files changed, 5 insertions(+), 5 deletions(-) +diff --git a/build/cmake/DefineCMakeDefaults.cmake b/build/cmake/DefineCMakeDefaults.cmake +index 2b0cdbb..6f5022f 100644 +--- a/build/cmake/DefineCMakeDefaults.cmake ++++ b/build/cmake/DefineCMakeDefaults.cmake +@@ -44,8 +44,8 @@ include(BuildType) + # top of the build tree rather than in hard-to-find leaf + # directories. This simplifies manual testing and the use of the build + # tree rather than installed thrift libraries. +-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +-set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) ++set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}) ++set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + + # +diff --git a/build/cmake/DefineInstallationPaths.cmake b/build/cmake/DefineInstallationPaths.cmake +index 0c3dd09..9e9b77c 100644 --- a/build/cmake/DefineInstallationPaths.cmake +++ b/build/cmake/DefineInstallationPaths.cmake -@@ -26,11 +26,11 @@ else() +@@ -28,11 +28,11 @@ else() set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The library install dir (default: lib${LIB_SUFFIX})") endif() set(INCLUDE_INSTALL_DIR "include" CACHE PATH "The library install dir (default: include)")
@@ -27,16 +45,3 @@ Signed-off-by: Khem Raj <[email protected]> +set(libdir "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") set(includedir "${CMAKE_INSTALL_PREFIX}/include") set(cmakedir "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DIR}") ---- a/build/cmake/DefineCMakeDefaults.cmake -+++ b/build/cmake/DefineCMakeDefaults.cmake -@@ -44,8 +44,8 @@ include(BuildType) - # top of the build tree rather than in hard-to-find leaf - # directories. This simplifies manual testing and the use of the build - # tree rather than installed thrift libraries. --set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) --set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) -+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}) -+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}) - set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) - - #
meta-oe/recipes-connectivity/thrift/thrift/0001-TSSLSocket-fix-build-with-OpenSSL-4.0.patch deleted +0 -113
113 lines not on this page · raw message
meta-oe/recipes-connectivity/thrift/thrift_0.25.0.bb renamed from meta-oe/recipes-connectivity/thrift/thrift_0.24.0.bb +2 -3
@@ -3,16 +3,15 @@ DESCRIPTION = "A software framework, for scalable cross-language services devel HOMEPAGE = "https://thrift.apache.org/" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bdfca4cb0874071cc3e42d2ae3b05a77 \ +LIC_FILES_CHKSUM = "file://LICENSE;md5=62cd1eea65d163fffe0873a5c410a7ec \ file://NOTICE;md5=2659b43daca219f99a2f2626ea128f73" DEPENDS = "thrift-native boost flex-native bison-native openssl zlib" SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \ file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \ - file://0001-TSSLSocket-fix-build-with-OpenSSL-4.0.patch \ " -SRC_URI[sha256sum] = "e0fa5839a4c5c1d631b0931cf2c554ebbfa4e2fee3a9fb3ffd4f82ce4396c6e4" +SRC_URI[sha256sum] = "66da4707214c54c94bac082103dc67adaf9e08925662700f269170a7b534b214" BBCLASSEXTEND = "native nativesdk"