From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1484144-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A5FC15800F for <garchives@archives.gentoo.org>; Sun, 5 Feb 2023 09:13:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B43DAE0827; Sun, 5 Feb 2023 09:13:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CDC9E0828 for <gentoo-commits@lists.gentoo.org>; Sun, 5 Feb 2023 09:13:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1592340D54 for <gentoo-commits@lists.gentoo.org>; Sun, 5 Feb 2023 09:13:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14B588A3 for <gentoo-commits@lists.gentoo.org>; Sun, 5 Feb 2023 09:13:00 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1675588372.abea5e37fe1b382f5809945fef52c18306cea76c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/assimp/files/, media-libs/assimp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/assimp/assimp-5.2.5-r1.ebuild media-libs/assimp/assimp-5.2.5.ebuild media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch X-VCS-Directories: media-libs/assimp/files/ media-libs/assimp/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: abea5e37fe1b382f5809945fef52c18306cea76c X-VCS-Branch: master Date: Sun, 5 Feb 2023 09:13:00 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3a47f12-5ff4-4eb5-ac9a-0ffa77cf1bc5 X-Archives-Hash: b1700bd488953af4f6e15a6adab8d325 commit: abea5e37fe1b382f5809945fef52c18306cea76c Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> AuthorDate: Mon Jan 23 18:15:48 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sun Feb 5 09:12:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abea5e37 media-libs/assimp: don't build COLLADA module Avoid a security issue when processing COLLADA files. Don't build the module until fixed upstream. Need to drop additional collada related tests as well. Bug: https://github.com/assimp/assimp/issues/4286 Bug: https://bugs.gentoo.org/891787 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> Closes: https://github.com/gentoo/gentoo/pull/29231 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> ...{assimp-5.2.5.ebuild => assimp-5.2.5-r1.ebuild} | 4 ++++ .../files/assimp-5.2.5-disable-collada-tests.patch | 28 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/media-libs/assimp/assimp-5.2.5.ebuild b/media-libs/assimp/assimp-5.2.5-r1.ebuild similarity index 88% rename from media-libs/assimp/assimp-5.2.5.ebuild rename to media-libs/assimp/assimp-5.2.5-r1.ebuild index d002d8d91eaf..83391bc9adf2 100644 --- a/media-libs/assimp/assimp-5.2.5.ebuild +++ b/media-libs/assimp/assimp-5.2.5-r1.ebuild @@ -30,6 +30,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-5.2.5-fix-version.patch "${FILESDIR}"/${PN}-5.2.5-disable-failing-tests.patch + "${FILESDIR}"/${PN}-5.2.5-disable-collada-tests.patch ) DOCS=( CodeConventions.md Readme.md ) @@ -55,6 +56,9 @@ src_configure() { -DASSIMP_IGNORE_GIT_HASH=ON -DASSIMP_UBSAN=OFF -DASSIMP_WARNINGS_AS_ERRORS=OFF + # bug #891787, intentionally not in alphabetic ordering + -DASSIMP_BUILD_COLLADA_IMPORTER=OFF + -DASSIMP_BUILD_COLLADA_EXPORTER=OFF ) if use samples; then diff --git a/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch b/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch new file mode 100644 index 000000000000..971578f0016f --- /dev/null +++ b/media-libs/assimp/files/assimp-5.2.5-disable-collada-tests.patch @@ -0,0 +1,28 @@ +From 3bd65679f7db2ec95abb22fef7a30a15dcc1c297 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Mon, 23 Jan 2023 19:54:23 +0100 +Subject: [PATCH] disable collada tests + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -63,7 +63,6 @@ SET( COMMON + unit/utSimd.cpp + unit/utIOSystem.cpp + unit/utIOStreamBuffer.cpp +- unit/utIssues.cpp + unit/utAnim.cpp + unit/AssimpAPITest.cpp + unit/AssimpAPITest_aiMatrix3x3.cpp +@@ -137,8 +136,6 @@ SET( IMPORTERS + unit/utBlendImportMaterials.cpp + unit/utBlenderWork.cpp + unit/utBVHImportExport.cpp +- unit/utColladaExport.cpp +- unit/utColladaImportExport.cpp + unit/utCSMImportExport.cpp + unit/utB3DImportExport.cpp + #unit/utM3DImportExport.cpp +-- +2.39.1 +