1 |
commit: 987fa4cca49b3a230588fb785b606a6b0bb99ab6 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 20 21:10:34 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 20 21:11:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987fa4cc |
7 |
|
8 |
app-portage/recover-broken-vdb: initial import |
9 |
|
10 |
Bug: https://bugs.gentoo.org/811462 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-portage/recover-broken-vdb/metadata.xml | 17 ++++++++++++++ |
14 |
.../recover-broken-vdb-9999.ebuild | 27 ++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/app-portage/recover-broken-vdb/metadata.xml b/app-portage/recover-broken-vdb/metadata.xml |
18 |
new file mode 100644 |
19 |
index 00000000000..47dae2470f4 |
20 |
--- /dev/null |
21 |
+++ b/app-portage/recover-broken-vdb/metadata.xml |
22 |
@@ -0,0 +1,17 @@ |
23 |
+<?xml version="1.0" encoding="UTF-8"?> |
24 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
25 |
+<pkgmetadata> |
26 |
+ <maintainer type="person"> |
27 |
+ <email>sam@g.o</email> |
28 |
+ <name>Sam James</name> |
29 |
+ </maintainer> |
30 |
+ <stabilize-allarches/> |
31 |
+ <upstream> |
32 |
+ <maintainer status="active"> |
33 |
+ <email>sam@g.o</email> |
34 |
+ <name>Sam James</name> |
35 |
+ </maintainer> |
36 |
+ <bugs-to>https://github.com/thesamesam/recover-broken-vdb/issues/</bugs-to> |
37 |
+ <remote-id type="github">thesamesam/recover-broken-vdb</remote-id> |
38 |
+ </upstream> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000000..6c342b04ec7 |
44 |
--- /dev/null |
45 |
+++ b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild |
46 |
@@ -0,0 +1,27 @@ |
47 |
+# Copyright 1999-2021 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=7 |
51 |
+ |
52 |
+DISTUTILS_SINGLE_IMPL=1 |
53 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
54 |
+PYTHON_COMPAT=( python3_{8..10} ) |
55 |
+ |
56 |
+inherit distutils-r1 |
57 |
+ |
58 |
+DESCRIPTION="Check Portage's VDB for internal inconsistency on ELF metadata" |
59 |
+HOMEPAGE="https://github.com/thesamesam/recover-broken-vdb" |
60 |
+if [[ ${PV} == *9999 ]] ; then |
61 |
+ inherit git-r3 |
62 |
+ EGIT_REPO_URI="https://github.com/thesamesam/${PN}.git" |
63 |
+else |
64 |
+ KEYWORDS="~amd64" |
65 |
+fi |
66 |
+ |
67 |
+LICENSE="GPL-2" |
68 |
+SLOT="0" |
69 |
+ |
70 |
+# Require latest version of pax-utils to avoid users breaking their systems again |
71 |
+# The tool itself works fine with older versions |
72 |
+RDEPEND=">=app-misc/pax-utils-1.3.3 |
73 |
+ $(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')" |