summaryrefslogtreecommitdiff
path: root/dev-libs/thrift
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/thrift
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-libs/thrift')
-rw-r--r--dev-libs/thrift/Manifest2
-rw-r--r--dev-libs/thrift/files/patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp35
-rw-r--r--dev-libs/thrift/files/thrift-0.16.0-network-tests.patch36
-rw-r--r--dev-libs/thrift/files/thrift-0.18.1-tests.patch33
-rw-r--r--dev-libs/thrift/files/thrift-0.22.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp35
-rw-r--r--dev-libs/thrift/files/thrift-0.23.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp41
-rw-r--r--dev-libs/thrift/metadata.xml20
-rw-r--r--dev-libs/thrift/thrift-0.22.0.ebuild63
-rw-r--r--dev-libs/thrift/thrift-0.23.0.ebuild63
9 files changed, 0 insertions, 328 deletions
diff --git a/dev-libs/thrift/Manifest b/dev-libs/thrift/Manifest
deleted file mode 100644
index 0586552d4594..000000000000
--- a/dev-libs/thrift/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST thrift-0.22.0.tar.gz 4422267 BLAKE2B b91b3379dcce0222e0cc29cd783710ef183694d96e4794535d72a7a49764e994e70a6560841bc93668d4997a68f405eaa5a5f2d0c5a1c6238c6bd9b3556d9400 SHA512 beb37ee2a295fae7df12cce6449c92799076771bae515fafcc790a62ac6e76ac5584f102315d466b8f5f98e236c9dc4a244695bdcd9f1392d6e9a13d365ddadc
-DIST thrift-0.23.0.tar.gz 4608023 BLAKE2B 6780b4afa3d85e106f81458a8d11f823233baa890df1ddc17b059c9394bfb7e13ef6699697b8c3ef991e24f74611c3040490175be90fa0cd46b12d8c4f44ddc3 SHA512 a57c6fa645852f22ca10380621facc193393b19d1d760e113baa0f964365839043f2b527bd8cd3c03808380e9f09e9a8f707f8abbd931c51632e9d5181a459cf
diff --git a/dev-libs/thrift/files/patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp b/dev-libs/thrift/files/patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
deleted file mode 100644
index bda7af4f853d..000000000000
--- a/dev-libs/thrift/files/patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: lib/cpp/src/thrift/transport/TSSLSocket.cpp
---- lib/cpp/src/thrift/transport/TSSLSocket.cpp.orig
-+++ lib/cpp/src/thrift/transport/TSSLSocket.cpp
-@@ -155,15 +155,6 @@ void cleanupOpenSSL() {
- CONF_modules_unload(1);
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- ERR_free_strings();
-
- mutexes.reset();
-@@ -393,15 +384,6 @@ void TSSLSocket::close() {
- SSL_free(ssl_);
- ssl_ = nullptr;
- handshakeCompleted_ = false;
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- }
- TSocket::close();
- }
diff --git a/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch b/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch
deleted file mode 100644
index cc1f1cf2c621..000000000000
--- a/dev-libs/thrift/files/thrift-0.16.0-network-tests.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/lib/cpp/test/ToStringTest.cpp b/lib/cpp/test/ToStringTest.cpp
-index 736b33c0a..f66909873 100644
---- a/lib/cpp/test/ToStringTest.cpp
-+++ b/lib/cpp/test/ToStringTest.cpp
-@@ -41,31 +41,6 @@ BOOST_AUTO_TEST_CASE(base_types_to_string) {
- BOOST_CHECK_EQUAL(to_string("abc"), "abc");
- }
-
--// NOTE: Currently (as of 2021.08.12) the locale-based tests do not work on
--// Windows in the AppVeyor Thrift CI build correctly. Therefore disabled on
--// Windows:
--#ifndef _WIN32
--BOOST_AUTO_TEST_CASE(locale_en_US_int_to_string) {
--#ifdef _WIN32
-- std::locale::global(std::locale("en-US.UTF-8"));
--#else
-- std::locale::global(std::locale("en_US.UTF-8"));
--#endif
-- BOOST_CHECK_EQUAL(to_string(1000000), "1000000");
--}
--
--BOOST_AUTO_TEST_CASE(locale_de_DE_floating_point_to_string) {
--#ifdef _WIN32
-- std::locale::global(std::locale("de-DE.UTF-8"));
--#else
-- std::locale::global(std::locale("de_DE.UTF-8"));
--#endif
-- BOOST_CHECK_EQUAL(to_string(1.5), "1.5");
-- BOOST_CHECK_EQUAL(to_string(1.5f), "1.5");
-- BOOST_CHECK_EQUAL(to_string(1.5L), "1.5");
--}
--#endif
--
- BOOST_AUTO_TEST_CASE(empty_vector_to_string) {
- std::vector<int> l;
- BOOST_CHECK_EQUAL(to_string(l), "[]");
diff --git a/dev-libs/thrift/files/thrift-0.18.1-tests.patch b/dev-libs/thrift/files/thrift-0.18.1-tests.patch
deleted file mode 100644
index 7716e0c743c2..000000000000
--- a/dev-libs/thrift/files/thrift-0.18.1-tests.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/lib/cpp/test/CMakeLists.txt b/lib/cpp/test/CMakeLists.txt
-index 1117cd9f3..5f56aaca8 100644
---- a/lib/cpp/test/CMakeLists.txt
-+++ b/lib/cpp/test/CMakeLists.txt
-@@ -318,28 +318,6 @@ target_link_libraries(OpenSSLManualInitTest
- target_link_libraries(OpenSSLManualInitTest thrift)
- add_test(NAME OpenSSLManualInitTest COMMAND OpenSSLManualInitTest)
-
--add_executable(SecurityTest SecurityTest.cpp)
--target_link_libraries(SecurityTest
-- testgencpp
-- ${Boost_LIBRARIES}
--)
--target_link_libraries(SecurityTest thrift)
--if (NOT MSVC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT MINGW)
-- target_link_libraries(SecurityTest -lrt)
--endif ()
--add_test(NAME SecurityTest COMMAND SecurityTest -- "${CMAKE_CURRENT_SOURCE_DIR}/../../../test/keys")
--
--add_executable(SecurityFromBufferTest SecurityFromBufferTest.cpp)
--target_link_libraries(SecurityFromBufferTest
-- testgencpp
-- ${Boost_LIBRARIES}
--)
--target_link_libraries(SecurityFromBufferTest thrift)
--if (NOT MSVC AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT MINGW)
-- target_link_libraries(SecurityFromBufferTest -lrt)
--endif ()
--add_test(NAME SecurityFromBufferTest COMMAND SecurityFromBufferTest -- "${CMAKE_CURRENT_SOURCE_DIR}/../../../test/keys")
--
- endif()
-
- if(WITH_QT5)
diff --git a/dev-libs/thrift/files/thrift-0.22.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp b/dev-libs/thrift/files/thrift-0.22.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
deleted file mode 100644
index c33a17b39738..000000000000
--- a/dev-libs/thrift/files/thrift-0.22.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-diff '--color=auto' -urN thrift-0.22.0.orig/lib/cpp/src/thrift/transport/TSSLSocket.cpp thrift-0.22.0/lib/cpp/src/thrift/transport/TSSLSocket.cpp
---- thrift-0.22.0.orig/lib/cpp/src/thrift/transport/TSSLSocket.cpp 2026-02-15 14:57:19.613844362 +0100
-+++ thrift-0.22.0/lib/cpp/src/thrift/transport/TSSLSocket.cpp 2026-02-15 14:58:47.558598842 +0100
-@@ -157,15 +157,6 @@
- #endif
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
--#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(OPENSSL_IS_AWSLC)
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- ERR_free_strings();
-
- mutexes.reset();
-@@ -395,15 +386,6 @@
- SSL_free(ssl_);
- ssl_ = nullptr;
- handshakeCompleted_ = false;
--#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(OPENSSL_IS_AWSLC)
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- }
- TSocket::close();
- }
diff --git a/dev-libs/thrift/files/thrift-0.23.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp b/dev-libs/thrift/files/thrift-0.23.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
deleted file mode 100644
index 07b0ef876d04..000000000000
--- a/dev-libs/thrift/files/thrift-0.23.0-patch-lib_cpp_src_thrift_transport_TSSLSocket_cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-diff '--color=auto' -urN thrift-0.23.0.orig/lib/cpp/src/thrift/transport/TSSLSocket.cpp thrift-0.23.0/lib/cpp/src/thrift/transport/TSSLSocket.cpp
---- thrift-0.23.0.orig/lib/cpp/src/thrift/transport/TSSLSocket.cpp 2026-04-29 22:19:18.304809605 +0200
-+++ thrift-0.23.0/lib/cpp/src/thrift/transport/TSSLSocket.cpp 2026-04-29 22:20:49.370004107 +0200
-@@ -157,18 +157,6 @@
- #endif
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-- // Do nothing unless an openssl derivative is detected
--# if !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC)
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--# endif
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- ERR_free_strings();
-
- mutexes.reset();
-@@ -398,18 +386,6 @@
- SSL_free(ssl_);
- ssl_ = nullptr;
- handshakeCompleted_ = false;
--#if OPENSSL_VERSION_NUMBER >= 0x10100000
-- // Do nothing unless an openssl derivative is detected
--# if !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC)
-- // https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_thread_stop.html
-- OPENSSL_thread_stop();
--# endif
--#else
-- // ERR_remove_state() was deprecated in OpenSSL 1.0.0 and ERR_remove_thread_state()
-- // was deprecated in OpenSSL 1.1.0; these functions and should not be used.
-- // https://www.openssl.org/docs/manmaster/man3/ERR_remove_state.html
-- ERR_remove_state(0);
--#endif
- }
- TSocket::close();
- }
diff --git a/dev-libs/thrift/metadata.xml b/dev-libs/thrift/metadata.xml
deleted file mode 100644
index d80507ed1219..000000000000
--- a/dev-libs/thrift/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:apache:thrift</remote-id>
- <bugs-to>https://issues.apache.org/jira/projects/THRIFT</bugs-to>
- </upstream>
- <use>
- <flag name="libevent">Build support for <pkg>dev-libs/libevent</pkg></flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-libs/thrift/thrift-0.22.0.ebuild b/dev-libs/thrift/thrift-0.22.0.ebuild
deleted file mode 100644
index 24364fe2694b..000000000000
--- a/dev-libs/thrift/thrift-0.22.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2024-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="C++ bindings for Apache Thrift"
-HOMEPAGE="https://thrift.apache.org/lib/cpp.html"
-SRC_URI="mirror://apache/thrift/${PV}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~x86"
-IUSE="libevent lua +ssl test"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-libs/boost:=[nls(+)]
- dev-libs/openssl:=
-
- sys-libs/zlib:=
- libevent? ( dev-libs/libevent:= )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- app-alternatives/lex
- app-alternatives/yacc
-"
-
-REQUIRED_USE="
- test? ( ssl libevent )
-"
-
-PATCHES=(
- "${FILESDIR}/thrift-0.16.0-network-tests.patch"
-)
-
-src_prepare() {
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CPP=ON
- -DBUILD_C_GLIB=OFF
- -DBUILD_JAVA=OFF
- -DBUILD_JAVASCRIPT=OFF
- -DBUILD_NODEJS=OFF
- -DBUILD_PYTHON=OFF
- -DBUILD_TESTING=$(usex test 'ON' 'OFF')
- -DWITH_LIBEVENT=$(usex libevent 'ON' 'OFF')
- -DWITH_OPENSSL=$(usex ssl 'ON' 'OFF')
- -DWITH_ZLIB=ON
- -Wno-dev
- )
- cmake_src_configure
-}
-
-src_test() {
- MAKEOPTS="-j1" cmake_src_test
-}
diff --git a/dev-libs/thrift/thrift-0.23.0.ebuild b/dev-libs/thrift/thrift-0.23.0.ebuild
deleted file mode 100644
index 24364fe2694b..000000000000
--- a/dev-libs/thrift/thrift-0.23.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2024-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="C++ bindings for Apache Thrift"
-HOMEPAGE="https://thrift.apache.org/lib/cpp.html"
-SRC_URI="mirror://apache/thrift/${PV}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~s390 ~x86"
-IUSE="libevent lua +ssl test"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-libs/boost:=[nls(+)]
- dev-libs/openssl:=
-
- sys-libs/zlib:=
- libevent? ( dev-libs/libevent:= )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- app-alternatives/lex
- app-alternatives/yacc
-"
-
-REQUIRED_USE="
- test? ( ssl libevent )
-"
-
-PATCHES=(
- "${FILESDIR}/thrift-0.16.0-network-tests.patch"
-)
-
-src_prepare() {
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CPP=ON
- -DBUILD_C_GLIB=OFF
- -DBUILD_JAVA=OFF
- -DBUILD_JAVASCRIPT=OFF
- -DBUILD_NODEJS=OFF
- -DBUILD_PYTHON=OFF
- -DBUILD_TESTING=$(usex test 'ON' 'OFF')
- -DWITH_LIBEVENT=$(usex libevent 'ON' 'OFF')
- -DWITH_OPENSSL=$(usex ssl 'ON' 'OFF')
- -DWITH_ZLIB=ON
- -Wno-dev
- )
- cmake_src_configure
-}
-
-src_test() {
- MAKEOPTS="-j1" cmake_src_test
-}