Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package assimp for openSUSE:Factory checked in at 2023-10-05 20:04:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/assimp (Old) and /work/SRC/openSUSE:Factory/.assimp.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "assimp" Thu Oct 5 20:04:00 2023 rev:22 rq:1115678 version:5.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/assimp/assimp.changes 2023-10-03 20:17:14.318772843 +0200 +++ /work/SRC/openSUSE:Factory/.assimp.new.28202/assimp.changes 2023-10-05 20:05:02.346801113 +0200 @@ -1,0 +2,8 @@ +Wed Oct 4 14:14:08 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Disable the collada importer/exporter due to a long standing + security issue (boo#1207377, CVE-2022-45748, gh#assimp/assimp#4286) +- Add patch: + * 0001-Don-t-build-the-collada-importer-exporter-tests.patch + +------------------------------------------------------------------- New: ---- 0001-Don-t-build-the-collada-importer-exporter-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ assimp.spec ++++++ --- /var/tmp/diff_new_pack.HYp1Q6/_old 2023-10-05 20:05:03.710850392 +0200 +++ /var/tmp/diff_new_pack.HYp1Q6/_new 2023-10-05 20:05:03.710850392 +0200 @@ -25,6 +25,8 @@ Group: Development/Libraries/C and C++ URL: https://www.assimp.org/ Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE +Patch0: 0001-Don-t-build-the-collada-importer-exporter-tests.patch BuildRequires: cmake BuildRequires: dos2unix BuildRequires: gcc-c++ @@ -71,23 +73,29 @@ %build %cmake \ + -DASSIMP_IGNORE_GIT_HASH=ON \ -DASSIMP_BUILD_ZLIB=OFF \ -DASSIMP_WARNINGS_AS_ERRORS=OFF \ - -DASSIMP_BUILD_ASSIMP_TOOLS=ON + -DASSIMP_BUILD_ASSIMP_TOOLS=ON \ + -DASSIMP_BUILD_COLLADA_IMPORTER=OFF \ + -DASSIMP_BUILD_COLLADA_EXPORTER=OFF %cmake_build %install %cmake_install + find %{buildroot} -type f -name "*.la" -delete -print %check -pushd build/test -LD_LIBRARY_PATH=%{buildroot}%{_libdir} ctest --output-on-failure --force-new-ctest-process +pushd build +# utIssues.OpacityBugWhenExporting_727 test fails +# utVersion.aiGetVersionRevisionTest passes with git builds only +# the models-nonbsd are not in the tarball, tests depending on it are also excluded +./bin/unit --gtest_filter="-utIssues.OpacityBugWhenExporting_727:utVersion.aiGetVersionRevisionTest:ut3DImportExport*:ut3DSImportExport*:utMD2Importer*:utMD5Importer*:utBlenderImporter*:utQ3BSPImportExport*:utXImporter.importDwarf:utDXFImporterExporter.importRifle:utPMXImporter.importTest" popd -%post -n lib%{name}%{sover} -p /sbin/ldconfig -%postun -n lib%{name}%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name}%{sover} %files -n lib%{name}%{sover} %license LICENSE ++++++ 0001-Don-t-build-the-collada-importer-exporter-tests.patch ++++++ >From a0628aa4b175b6764ac6ea481a5e65f91cd118fa Mon Sep 17 00:00:00 2001 From: Christophe Marin <christo...@krop.fr> Date: Wed, 4 Oct 2023 16:23:17 +0200 Subject: [PATCH] Don't build the collada importer/exporter tests --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index afe487411..d8f044501 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -141,8 +141,8 @@ SET( IMPORTERS unit/utBlendImportMaterials.cpp unit/utBlenderWork.cpp unit/utBVHImportExport.cpp - unit/utColladaExport.cpp - unit/utColladaImportExport.cpp + # unit/utColladaExport.cpp + # unit/utColladaImportExport.cpp unit/utCSMImportExport.cpp unit/utB3DImportExport.cpp #unit/utM3DImportExport.cpp -- 2.42.0