Date: Mon, 16 Mar 2026 23:56:13 +0000 From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c941e5b33dea - main - security/wazuh-manager: Fix build with new version of python 3.11.15 Message-ID: <69b8989d.23bb9.1023b5e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c941e5b33dea22c240b2b0bb53dd191bb1e8da4a commit c941e5b33dea22c240b2b0bb53dd191bb1e8da4a Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2026-03-16 23:52:42 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2026-03-16 23:52:42 +0000 security/wazuh-manager: Fix build with new version of python 3.11.15 - Update bundle python version to 3.11.15 - Fix issue when MySQL option is selected [1] - Bump PORTREVISION PR: 293256 Reported by: Mykola K. <nikolaytihonov2022 at gmail.com> [1] --- security/wazuh-manager/Makefile | 3 ++- security/wazuh-manager/distinfo | 4 ++-- .../patch-src_external_jemalloc_src_background__thread.c | 12 ++++++++++++ security/wazuh-manager/pkg-plist | 4 ++-- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/security/wazuh-manager/Makefile b/security/wazuh-manager/Makefile index 7d812ea8558a..241c9c2db6a8 100644 --- a/security/wazuh-manager/Makefile +++ b/security/wazuh-manager/Makefile @@ -1,6 +1,7 @@ PORTNAME= wazuh DISTVERSIONPREFIX= v DISTVERSION= 4.14.3 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://packages.wazuh.com/deps/49/libraries/sources/:wazuh_sources \ LOCAL/acm/${PORTNAME}/:wazuh_cache @@ -55,7 +56,7 @@ EXTERNAL_DISTFILES= audit-userspace.tar.gz:wazuh_sources \ bzip2.tar.gz:wazuh_sources \ cJSON.tar.gz:wazuh_sources \ cpp-httplib.tar.gz:wazuh_sources \ - cpython-3.11.14.tar.gz:wazuh_cache \ + cpython-3.11.15.tar.gz:wazuh_cache \ curl.tar.gz:wazuh_sources \ flatbuffers.tar.gz:wazuh_sources \ googletest.tar.gz:wazuh_sources \ diff --git a/security/wazuh-manager/distinfo b/security/wazuh-manager/distinfo index 4302feed7b01..c960704b1ced 100644 --- a/security/wazuh-manager/distinfo +++ b/security/wazuh-manager/distinfo @@ -9,8 +9,8 @@ SHA256 (wazuh-4.14.3/cJSON.tar.gz) = da809f70b7d03ac529ae6223d4390bfa26cd29f8c32 SIZE (wazuh-4.14.3/cJSON.tar.gz) = 27920 SHA256 (wazuh-4.14.3/cpp-httplib.tar.gz) = 6517573263611686b9219ba796c35f54a306eb27dc3c72e1807f2a0a34cac1e8 SIZE (wazuh-4.14.3/cpp-httplib.tar.gz) = 57890 -SHA256 (wazuh-4.14.3/cpython-3.11.14.tar.gz) = 8b9ad205ab2915617e4446e04550e8c18b74130c94f466e80147b196a385bad6 -SIZE (wazuh-4.14.3/cpython-3.11.14.tar.gz) = 27165956 +SHA256 (wazuh-4.14.3/cpython-3.11.15.tar.gz) = cf0b2f4c18ac1c44fc5519696edffa0174d5bee3b6fb93925534ea8da80502cb +SIZE (wazuh-4.14.3/cpython-3.11.15.tar.gz) = 27167192 SHA256 (wazuh-4.14.3/curl.tar.gz) = 30cf7142e4282718ceb237e17b5cbf75afcd7c9f3880a039c5efea62db094709 SIZE (wazuh-4.14.3/curl.tar.gz) = 4537356 SHA256 (wazuh-4.14.3/flatbuffers.tar.gz) = ca563ebb561ae9088c7bec9ce101d2182b43ced0ba67a097d0ee0c145108f55a diff --git a/security/wazuh-manager/files/patch-src_external_jemalloc_src_background__thread.c b/security/wazuh-manager/files/patch-src_external_jemalloc_src_background__thread.c new file mode 100644 index 000000000000..0692a46ba0e5 --- /dev/null +++ b/security/wazuh-manager/files/patch-src_external_jemalloc_src_background__thread.c @@ -0,0 +1,12 @@ +--- src/external/jemalloc/src/background_thread.c 2026-02-27 14:30:22.683015000 -0800 ++++ src/external/jemalloc/src/background_thread.c 2026-02-27 14:30:57.134631000 -0800 +@@ -841,6 +841,9 @@ + */ + #ifdef JEMALLOC_HAVE_DLSYM + pthread_create_fptr = dlsym(RTLD_NEXT, "pthread_create"); ++ if (pthread_create_fptr == NULL) { ++ pthread_create_fptr = dlsym(RTLD_DEFAULT, "pthread_create"); ++ } + #else + pthread_create_fptr = NULL; + #endif diff --git a/security/wazuh-manager/pkg-plist b/security/wazuh-manager/pkg-plist index ef5cce708df6..c5a3ff543c65 100644 --- a/security/wazuh-manager/pkg-plist +++ b/security/wazuh-manager/pkg-plist @@ -3156,9 +3156,9 @@ /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib-dynload/xxlimited_35%%PYTHON_TAG%%.so /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib-dynload/zlib%%PYTHON_TAG%%.so /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/Grammar.txt -/var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/Grammar%%PYTHON_VER%%.14.final.0.pickle +/var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/Grammar%%PYTHON_VER%%.15.final.0.pickle /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/PatternGrammar.txt -/var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/PatternGrammar%%PYTHON_VER%%.14.final.0.pickle +/var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/PatternGrammar%%PYTHON_VER%%.15.final.0.pickle /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/__init__.py /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/__main__.py /var/ossec/framework/python/%%PYTHON_LIBDIR%%/lib2to3/__pycache__/__init__%%PYTHON_TAG%%.opt-1.pychome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b8989d.23bb9.1023b5e>
