From f62f48166524cb60c7b092b486a102b6bf10691f Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:52:38 +0800 Subject: [PATCH 1/4] Update build.sh --- tur-pypi-39/python3.9-grpcio/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tur-pypi-39/python3.9-grpcio/build.sh b/tur-pypi-39/python3.9-grpcio/build.sh index ece2f9b..a23560f 100644 --- a/tur-pypi-39/python3.9-grpcio/build.sh +++ b/tur-pypi-39/python3.9-grpcio/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework tha TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux-user-repository" TERMUX_PKG_SRCURL=git+https://github.com/grpc/grpc -TERMUX_PKG_VERSION="1.71.0" +TERMUX_PKG_VERSION="1.72.0" TERMUX_PKG_DEPENDS="ca-certificates, libc++, openssl, python3.9, zlib" TERMUX_PKG_BUILD_DEPENDS="python3.9-cross" TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, setuptools, 'Cython>=3.0.0'" From e044e5857c7a4576b2f5f7ac5e8cb0e0929601d1 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:54:02 +0800 Subject: [PATCH 2/4] Update and rename src-core-lib-security-security_connector-load_system_roots_supported.cc.patch to src-core-credentials-transport-tls-load_system_roots_supported.cc.patch --- ...ntials-transport-tls-load_system_roots_supported.cc.patch} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tur-pypi-39/python3.9-grpcio/{src-core-lib-security-security_connector-load_system_roots_supported.cc.patch => src-core-credentials-transport-tls-load_system_roots_supported.cc.patch} (87%) diff --git a/tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-load_system_roots_supported.cc.patch b/tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-load_system_roots_supported.cc.patch similarity index 87% rename from tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-load_system_roots_supported.cc.patch rename to tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-load_system_roots_supported.cc.patch index 7320569..2174989 100644 --- a/tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-load_system_roots_supported.cc.patch +++ b/tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-load_system_roots_supported.cc.patch @@ -1,5 +1,5 @@ ---- a/src/core/lib/security/security_connector/load_system_roots_supported.cc -+++ b/src/core/lib/security/security_connector/load_system_roots_supported.cc +--- a/src/core/credentials/transport/tls/load_system_roots_supported.cc ++++ b/src/core/credentials/transport/tls/load_system_roots_supported.cc @@ -52,12 +52,12 @@ #if defined(GPR_LINUX) || defined(GPR_ANDROID) From 07de1911bc58f8378a8a1d7770bdb05a5a951f1e Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:54:36 +0800 Subject: [PATCH 3/4] Update and rename src-core-lib-security-security_connector-ssl_utils.cc.patch to src-core-credentials-transport-tls-ssl_utils.cc.patch --- ... => src-core-credentials-transport-tls-ssl_utils.cc.patch} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tur-pypi-39/python3.9-grpcio/{src-core-lib-security-security_connector-ssl_utils.cc.patch => src-core-credentials-transport-tls-ssl_utils.cc.patch} (79%) diff --git a/tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-ssl_utils.cc.patch b/tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-ssl_utils.cc.patch similarity index 79% rename from tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-ssl_utils.cc.patch rename to tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-ssl_utils.cc.patch index 9791307..0eca3e5 100644 --- a/tur-pypi-39/python3.9-grpcio/src-core-lib-security-security_connector-ssl_utils.cc.patch +++ b/tur-pypi-39/python3.9-grpcio/src-core-credentials-transport-tls-ssl_utils.cc.patch @@ -1,5 +1,5 @@ ---- a/src/core/lib/security/security_connector/ssl_utils.cc -+++ b/src/core/lib/security/security_connector/ssl_utils.cc +--- a/src/core/credentials/transport/tls/ssl_utils.cc ++++ b/src/core/credentials/transport/tls/ssl_utils.cc @@ -45,9 +45,9 @@ static const char* installed_roots_path = GRPC_ROOT_PEM_PATH; #elif defined(INSTALL_PREFIX) From 03d924dc7ae21803f5182e80702d4f19ba1c15a2 Mon Sep 17 00:00:00 2001 From: Chongyun Lee <45286352+licy183@users.noreply.github.com> Date: Fri, 25 Apr 2025 14:10:03 +0800 Subject: [PATCH 4/4] Update protobuf-disable-android-log.patch --- .../protobuf-disable-android-log.patch | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/tur-pypi-39/python3.9-grpcio/protobuf-disable-android-log.patch b/tur-pypi-39/python3.9-grpcio/protobuf-disable-android-log.patch index e588df5..dfc3cc1 100644 --- a/tur-pypi-39/python3.9-grpcio/protobuf-disable-android-log.patch +++ b/tur-pypi-39/python3.9-grpcio/protobuf-disable-android-log.patch @@ -9,32 +9,3 @@ inline void DefaultLogHandler(LogLevel level, const char* filename, int line, const string& message) { if (level < GOOGLE_PROTOBUF_MIN_LOG_LEVEL) { ---- a/third_party/protobuf/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc -+++ b/third_party/protobuf/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc -@@ -19,7 +19,7 @@ - #include - #endif - --#ifdef __ANDROID__ -+#if defined(__ANDROID__) && !defined(__TERMUX__) - #include - #endif - -@@ -116,7 +116,7 @@ - } - }; - --#if defined(__ANDROID__) -+#if defined(__ANDROID__) && !defined(__TERMUX__) - class AndroidLogSink final : public LogSink { - public: - ~AndroidLogSink() override = default; -@@ -172,7 +172,7 @@ - static absl::NoDestructor stderr_log_sink; - AddLogSink(stderr_log_sink.get()); - #endif --#ifdef __ANDROID__ -+#if defined(__ANDROID__) && !defined(__TERMUX__) - static absl::NoDestructor android_log_sink; - AddLogSink(android_log_sink.get()); - #endif