From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88EB3138350 for ; Tue, 31 Mar 2020 17:58:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0E1EE0980; Tue, 31 Mar 2020 17:58:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88930E0980 for ; Tue, 31 Mar 2020 17:58:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 403CE34F33D for ; Tue, 31 Mar 2020 17:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80AAC150 for ; Tue, 31 Mar 2020 17:58:00 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1585677470.8fe3f2e1ea52b4d887f707ff3b0564862c5d7b86.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openjpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/openjpeg/openjpeg-2.3.1.ebuild X-VCS-Directories: media-libs/openjpeg/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 8fe3f2e1ea52b4d887f707ff3b0564862c5d7b86 X-VCS-Branch: master Date: Tue, 31 Mar 2020 17:58:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 459ab78c-860d-41c0-900d-ab6d193a2ce8 X-Archives-Hash: c37bb3ae4f1368c5cd13b75d0f63f97d commit: 8fe3f2e1ea52b4d887f707ff3b0564862c5d7b86 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Mar 31 17:57:39 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Mar 31 17:57:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe3f2e1 media-libs/openjpeg: security cleanup (#707926) Bug: https://bugs.gentoo.org/707926 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> media-libs/openjpeg/openjpeg-2.3.1.ebuild | 133 ------------------------------ 1 file changed, 133 deletions(-) diff --git a/media-libs/openjpeg/openjpeg-2.3.1.ebuild b/media-libs/openjpeg/openjpeg-2.3.1.ebuild deleted file mode 100644 index 9cfc8e401cd..00000000000 --- a/media-libs/openjpeg/openjpeg-2.3.1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_ECLASS=cmake -inherit cmake-multilib - -# Make sure that test data are not newer than release; -# otherwise we will see "Found-But-No-Test" test failures! -MY_TESTDATA_COMMIT="25632d6deca2e567d30ef476b4abe63916c36f6e" - -DESCRIPTION="Open-source JPEG 2000 library" -HOMEPAGE="https://www.openjpeg.org" -SRC_URI="https://github.com/uclouvain/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/uclouvain/openjpeg-data/archive/${MY_TESTDATA_COMMIT}.tar.gz -> ${PN}-data_20180620.tar.gz )" - -LICENSE="BSD-2" -SLOT="2/7" # based on SONAME -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - media-libs/lcms:2 - media-libs/libpng:0= - media-libs/tiff:0 - sys-libs/zlib:=" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-doc/doxygen )" - -DOCS=( AUTHORS.md CHANGELOG.md NEWS.md README.md THANKS.md ) - -PATCHES=( - "${FILESDIR}/${PN}-2.3.1-gnuinstalldirs.patch" # bug 667150 -) - -src_prepare() { - if use test; then - mv "${WORKDIR}"/openjpeg-data-${MY_TESTDATA_COMMIT} "${WORKDIR}"/data || - die "Failed to rename test data" - fi - - cmake_src_prepare -} - -multilib_src_configure() { - local mycmakeargs=( - -DBUILD_PKGCONFIG_FILES=ON # always build pkgconfig files, bug #539834 - -DBUILD_TESTING="$(multilib_native_usex test)" - -DBUILD_DOC=$(multilib_native_usex doc ON OFF) - -DBUILD_CODEC=$(multilib_is_native_abi && echo ON || echo OFF) - -DBUILD_STATIC_LIBS=$(usex static-libs) - ) - - cmake_src_configure -} - -multilib_src_test() { - if ! multilib_is_native_abi ; then - elog "Cannot run tests for non-multilib abi." - return 0 - fi - - local myctestargs= - - pushd "${BUILD_DIR}" > /dev/null || die - [[ -e CTestTestfile.cmake ]] || die "Test suite not available! Check source!" - - [[ -n ${TEST_VERBOSE} ]] && myctestargs+=( --extra-verbose --output-on-failure ) - - echo ctest "${myctestargs[@]}" "$@" - if ctest "${myctestargs[@]}" "$@" ; then - einfo "Tests succeeded." - popd > /dev/null || die - return 0 - else - local FAILEDTEST_LOG="${BUILD_DIR}/Testing/Temporary/LastTestsFailed.log" - - if [[ ! -f "${FAILEDTEST_LOG}" ]] ; then - # Should never happen - die "Cannot analyze test failures: LastTestsFailed.log is missing!" - fi - - echo "" - einfo "Note: Upstream is maintaining a list of known test failures." - einfo "We will now compare our test results against this list and sort out any known failure." - - local KNOWN_FAILURES_LIST="${T}/known_failures_compiled.txt" - cat "${S}/tools/travis-ci/knownfailures-all.txt" > "${KNOWN_FAILURES_LIST}" || die - - local ARCH_SPECIFIC_FAILURES= - if use amd64 ; then - ARCH_SPECIFIC_FAILURES="$(find "${S}/tools/travis-ci/" -name 'knownfailures-*x86_64*.txt' -print0 | sort -z | tail -z -n 1 | tr -d '\0')" - elif use x86 || use arm || use arm64; then - ARCH_SPECIFIC_FAILURES="$(find "${S}/tools/travis-ci/" -name 'knownfailures-*i386*.txt' -print0 | sort -z | tail -z -n 1 | tr -d '\0')" - fi - - if [[ -f "${ARCH_SPECIFIC_FAILURES}" ]] ; then - einfo "Adding architecture specific failures (${ARCH_SPECIFIC_FAILURES}) to known failures list ..." - cat "${ARCH_SPECIFIC_FAILURES}" >> "${KNOWN_FAILURES_LIST}" || die - fi - - # Logic copied from $S/tools/travis-ci/run.sh - local FAILEDTEST= - local FAILURES_LOG="${BUILD_DIR}/Testing/Temporary/failures.txt" - local HAS_UNKNOWN_TEST_FAILURES=0 - - echo "" - - awk -F: '{ print $2 }' "${FAILEDTEST_LOG}" > "${FAILURES_LOG}" - while read FAILEDTEST; do - # is this failure known? - if grep -x "${FAILEDTEST}" "${KNOWN_FAILURES_LIST}" > /dev/null; then - ewarn "Test '${FAILEDTEST}' is known to fail, ignoring ..." - continue - fi - - eerror "New/unknown test failure found: '${FAILEDTEST}'" - HAS_UNKNOWN_TEST_FAILURES=1 - done < "${FAILURES_LOG}" - - if [[ ${HAS_UNKNOWN_TEST_FAILURES} -ne 0 ]]; then - die "Test suite failed. New/unknown test failure(s) found!" - else - echo "" - einfo "Test suite passed. No new/unknown test failure(s) found!" - fi - - return 0 - fi -}