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 5B5D8158011 for ; Mon, 20 Sep 2021 21:11:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A478FE091F; Mon, 20 Sep 2021 21:11:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CB18E091F for ; Mon, 20 Sep 2021 21:11:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A62CF342C84 for ; Mon, 20 Sep 2021 21:11:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48055A7 for ; Mon, 20 Sep 2021 21:11:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1632172270.987fa4cca49b3a230588fb785b606a6b0bb99ab6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/recover-broken-vdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/recover-broken-vdb/metadata.xml app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild X-VCS-Directories: app-portage/recover-broken-vdb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 987fa4cca49b3a230588fb785b606a6b0bb99ab6 X-VCS-Branch: master Date: Mon, 20 Sep 2021 21:11:26 +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: eaf30526-edff-4f67-9d40-523e6e821fae X-Archives-Hash: acda1902eeaf5e11fc1fe33d14052fc2 commit: 987fa4cca49b3a230588fb785b606a6b0bb99ab6 Author: Sam James gentoo org> AuthorDate: Mon Sep 20 21:10:34 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 20 21:11:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987fa4cc app-portage/recover-broken-vdb: initial import Bug: https://bugs.gentoo.org/811462 Signed-off-by: Sam James gentoo.org> app-portage/recover-broken-vdb/metadata.xml | 17 ++++++++++++++ .../recover-broken-vdb-9999.ebuild | 27 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/app-portage/recover-broken-vdb/metadata.xml b/app-portage/recover-broken-vdb/metadata.xml new file mode 100644 index 00000000000..47dae2470f4 --- /dev/null +++ b/app-portage/recover-broken-vdb/metadata.xml @@ -0,0 +1,17 @@ + + + + + sam@gentoo.org + Sam James + + + + + sam@gentoo.org + Sam James + + https://github.com/thesamesam/recover-broken-vdb/issues/ + thesamesam/recover-broken-vdb + + diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild new file mode 100644 index 00000000000..6c342b04ec7 --- /dev/null +++ b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Check Portage's VDB for internal inconsistency on ELF metadata" +HOMEPAGE="https://github.com/thesamesam/recover-broken-vdb" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/thesamesam/${PN}.git" +else + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +# Require latest version of pax-utils to avoid users breaking their systems again +# The tool itself works fine with older versions +RDEPEND=">=app-misc/pax-utils-1.3.3 + $(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')"