From 0e91a2d468ede7ac80795cc199a1879e14f4574b Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Tue, 12 Aug 2025 16:55:27 +0800 Subject: [PATCH] fix the politically sensitive words (cherry picked from commit 57b7ebfd4958c8ca268fcdcf9f4c9b7f6238e9e4) --- ...-fix-the-politically-sensitive-words.patch | 29 +++++++++++++++++++ libwebsockets.spec | 9 +++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 0005-fix-the-politically-sensitive-words.patch diff --git a/0005-fix-the-politically-sensitive-words.patch b/0005-fix-the-politically-sensitive-words.patch new file mode 100644 index 0000000..318d702 --- /dev/null +++ b/0005-fix-the-politically-sensitive-words.patch @@ -0,0 +1,29 @@ +From f7a30450491c138eb44b8d0a7cc89441a5b901a0 Mon Sep 17 00:00:00 2001 +From: xiaoyuliang +Date: Mon, 4 Aug 2025 14:43:06 +0800 +Subject: [PATCH] fix the politically sensitive words + +--- + READMEs/README.plugin-acme.md | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/READMEs/README.plugin-acme.md b/READMEs/README.plugin-acme.md +index 8d3af4c..2997b96 100644 +--- a/READMEs/README.plugin-acme.md ++++ b/READMEs/README.plugin-acme.md +@@ -45,9 +45,9 @@ After that the plugin will sort everything else out. + "cert-path": "/etc/lwsws/acme/home.warmcat.com.crt.pem", + "key-path": "/etc/lwsws/acme/home.warmcat.com.key.pem", + "directory-url": "https://acme-staging.api.letsencrypt.org/directory", +- "country": "TW", +- "state": "Taipei", +- "locality": "Xiaobitan", ++ "country": "CN", ++ "state": "Beijing", ++ "locality": "Chaoyang District", + "organization": "Crash Barrier Ltd", + "common-name": "home.warmcat.com", + "email": "andy@warmcat.com" +-- +2.25.1 + diff --git a/libwebsockets.spec b/libwebsockets.spec index dd08f9e..2a505aa 100644 --- a/libwebsockets.spec +++ b/libwebsockets.spec @@ -1,6 +1,6 @@ Name: libwebsockets Version: 4.3.0 -Release: 5 +Release: 6 Summary: A lightweight C library for Websockets License: LGPLv2 and Public Domain and BSD and MIT and zlib URL: https://libwebsockets.org @@ -10,6 +10,7 @@ Patch9001: 0001-add-secure-compile-option-in-Makefile.patch Patch9002: 0002-solve-the-BEP-problem.patch Patch9003: 0003-route-extend-lws_route_uidx_t-from-1-byte-to-2-bytes.patch Patch9004: 0004-client-hs-fix-segmentation-fault.patch +Patch9005: 0005-fix-the-politically-sensitive-words.patch BuildRequires: cmake openssl-devel zlib-devel libev-devel gcc gcc-c++ @@ -100,6 +101,12 @@ find %{buildroot} -name '*_static.pc' -exec rm -f {} ';' %doc changelog README.md READMEs/ %changelog +* Tue Aug 12 2025 dongyuzhen - 4.3.0-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix the politically sensitive words + * Tue Aug 27 2024 liuxu - 4.3.0-5 - Type:bugfix - ID:NA -- Gitee