From 59510d7b201c909ec4cef3508bf80ba461f4967e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 10 Oct 2026 04:31:42 +0000 Subject: automatic import of poco --- poco.spec | 58 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) (limited to 'poco.spec') diff --git a/poco.spec b/poco.spec index f2eda98..9ca3021 100644 --- a/poco.spec +++ b/poco.spec @@ -17,13 +17,9 @@ %bcond_without mongodb %endif -%ifarch aarch64 ppc64le s390x x86_64 -%global poco_lib_suffix 64 -%endif - Name: poco Version: 1.12.5p2 -Release: 3 +Release: 4 Summary: C++ class libraries for network-centric applications License: BSL-1.0 @@ -37,10 +33,12 @@ Patch: 0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patc Patch: 0002-Disable-tests-that-fail-in-koji.patch # Backport upstream b33e02d2: use 96-bit IV in testEncryptDecryptGCM so it passes under OpenSSL 3 Patch: 0003-Test-Use-12-byte-IV-for-aes-256-gcm.patch -# Backport upstream 6f2f859: move the assertion out of the MultipartStreamBuf ctor (CVE-2025-6375) -Patch: 0004-Fix-SEGV-in-MultipartReader.patch +# Deal with upcoming LIB_SUFFIX removal +Patch: poco-deal-with-libsuffix.patch #add by uos Patch100: 100-poco-uos-add-sw_64-support.patch +Patch101: backport-CVE-2025-6375.patch + #end BuildRequires: make @@ -141,28 +139,33 @@ rm -v XML/src/xmltok_ns.c %if %{without mongodb} %global poco_mongodb -DENABLE_MONGODB=OFF %endif -%cmake -DPOCO_UNBUNDLED=ON %{?poco_tests} %{?poco_mongodb} -DENABLE_REDIS=OFF -DODBC_INCLUDE_DIR=%{_includedir}/libiodbc -DLIB_SUFFIX=%{?poco_lib_suffix} -B %{cmake_build_dir} -cmake --build %{cmake_build_dir} --parallel %{_smp_build_ncpus} -%cmake -DPOCO_UNBUNDLED=ON %{?poco_tests} %{?poco_mongodb} -DENABLE_REDIS=OFF -DODBC_INCLUDE_DIR=%{_includedir}/libiodbc -DLIB_SUFFIX=%{?poco_lib_suffix} -DCMAKE_BUILD_TYPE=Debug -B %{cmake_debug_dir} -cmake --build %{cmake_debug_dir} --parallel %{_smp_build_ncpus} +%define _vpath_builddir %{cmake_build_dir} +%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} -DPOCO_UNBUNDLED=ON %{?poco_tests} %{?poco_mongodb} -DENABLE_REDIS=OFF -DODBC_INCLUDE_DIR=%{_includedir}/libiodbc +%cmake_build + +%define _vpath_builddir %{cmake_debug_dir} +%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} -DPOCO_UNBUNDLED=ON %{?poco_tests} %{?poco_mongodb} -DENABLE_REDIS=OFF -DODBC_INCLUDE_DIR=%{_includedir}/libiodbc -DCMAKE_BUILD_TYPE=Debug +%cmake_build %install -DESTDIR=%{buildroot} cmake --install %{cmake_debug_dir} -DESTDIR=%{buildroot} cmake --install %{cmake_build_dir} +%define _vpath_builddir %{cmake_build_dir} +%cmake_install + +%define _vpath_builddir %{cmake_debug_dir} +%cmake_install # conflict with arc rm -v %{buildroot}%{_bindir}/arc %check %if %{with tests} export POCO_BASE="$(pwd)" -pushd %{cmake_build_dir} +%define _vpath_builddir %{cmake_build_dir} %ifarch s390x # NetSSL test timed out on s390x -ctest -V %{?_smp_mflags} -E "MongoDB|Redis|DataMySQL|DataODBC|NetSSL" +%ctest -V %{?_smp_mflags} -E "MongoDB|Redis|DataMySQL|DataODBC|NetSSL" %else -ctest -V %{?_smp_mflags} -E "MongoDB|Redis|DataMySQL|DataODBC" +%ctest -V %{?_smp_mflags} -E "MongoDB|Redis|DataMySQL|DataODBC" %endif -popd %endif # ----------------------------------------------------------------------------- @@ -478,22 +481,21 @@ HTML format. %doc README NEWS LICENSE CONTRIBUTORS CHANGELOG doc/* %changelog -* Fri Oct 09 2026 kuyan_kubuds - 1.12.5p2-3 -- Fix CVE-2025-6375: backport upstream commit 6f2f85913c191ab9ddfb8fae781f5d66afccf3bf, - which moves an assertion out of the MultipartStreamBuf constructor to avoid - a null pointer dereference in Net/src/MultipartReader.cpp +* Fri Oct 09 2026 kuyan_kubuds - 1.12.5p2-4 +- Fix CVE-2025-6375 -* Fri Sep 11 2026 yanzhicong - 1.12.5p2-2 -- Fix CVE-2023-52389 by upgrading to 1.12.5p2 -- Use generator-independent CMake build and install commands -- Install libraries in the architecture-specific libdir +* Thu Aug 27 2026 kuyan_kubuds - 1.12.5p2-3 +- Upgrade to 1.12.5p2 to fix the version regression of openEuler-26.09 compared with openEuler-24.03-LTS-SP4 -* Mon Apr 27 2026 shiptux - 1.12.5p2-2 +* Thu Aug 13 2026 kuyan_kubuds - 1.12.4-5 - Backport upstream b33e02d2 (issue #4347): use 96-bit IV in testEncryptDecryptGCM so it passes under OpenSSL 3 -* Tue Feb 3 2026 wangkun - 1.12.5p2-1 -- upgrade to 1.12.5p2 +* Sun Oct 12 2025 Funda Wang - 1.12.4-4 +- fix build with ningja + +* Sat Aug 23 2025 Funda Wang - 1.12.4-3 +- deal with upcoming LIB_SUFFIX removal * Thu Feb 27 2025 zhangshaoning - 1.12.4-2 - Add sw_64 support -- cgit v1.2.3