summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-20 22:10:34 +0100
committerSam James <sam@gentoo.org>2021-09-20 22:11:10 +0100
commit987fa4cca49b3a230588fb785b606a6b0bb99ab6 (patch)
treea678eb9018ca5c7269038d8c9cae983edfa89414 /app-portage/recover-broken-vdb
parentsys-cluster/kube-scheduler: stabilize 1.22.1 on amd64 (diff)
downloadgentoo-987fa4cca49b3a230588fb785b606a6b0bb99ab6.tar.gz
gentoo-987fa4cca49b3a230588fb785b606a6b0bb99ab6.tar.bz2
gentoo-987fa4cca49b3a230588fb785b606a6b0bb99ab6.zip
app-portage/recover-broken-vdb: initial import
Bug: https://bugs.gentoo.org/811462 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-portage/recover-broken-vdb')
-rw-r--r--app-portage/recover-broken-vdb/metadata.xml17
-rw-r--r--app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild27
2 files changed, 44 insertions, 0 deletions
diff --git a/app-portage/recover-broken-vdb/metadata.xml b/app-portage/recover-broken-vdb/metadata.xml
new file mode 100644
index 000000000000..47dae2470f47
--- /dev/null
+++ b/app-portage/recover-broken-vdb/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <maintainer status="active">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <bugs-to>https://github.com/thesamesam/recover-broken-vdb/issues/</bugs-to>
+ <remote-id type="github">thesamesam/recover-broken-vdb</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..6c342b04ec7e
--- /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}]')"