Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/sandbox/
Date: Sat, 31 Dec 2022 13:28:23
Message-Id: 1672493230.dfb9674fe7d1123bf213c8ea9bdb28e96d5ee5f3.sam@gentoo
1 commit: dfb9674fe7d1123bf213c8ea9bdb28e96d5ee5f3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 13:25:54 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 31 13:27:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb9674f
7
8 sys-apps/sandbox: add blocker on older versions of sys-apps/file to 2.30-r1
9
10 My distaste for blockers-as-a-dependency limit are well known, but this
11 is still useful for a specific case where someone is partially upgrading
12 and therefore doesn't get the Portage upgrade which has a proper >= dep.
13
14 It serves as a notice that they need to upgrade file, which is good enough.
15
16 It's worth doing this because of how severe file not working can be.
17
18 Bug: https://bugs.gentoo.org/889046
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 sys-apps/sandbox/{sandbox-2.30.ebuild => sandbox-2.30-r1.ebuild} | 3 +++
22 1 file changed, 3 insertions(+)
23
24 diff --git a/sys-apps/sandbox/sandbox-2.30.ebuild b/sys-apps/sandbox/sandbox-2.30-r1.ebuild
25 similarity index 89%
26 rename from sys-apps/sandbox/sandbox-2.30.ebuild
27 rename to sys-apps/sandbox/sandbox-2.30-r1.ebuild
28 index 806b5e640d9c..7a018dc315d1 100644
29 --- a/sys-apps/sandbox/sandbox-2.30.ebuild
30 +++ b/sys-apps/sandbox/sandbox-2.30-r1.ebuild
31 @@ -16,6 +16,9 @@ IUSE="+nnp"
32
33 # pax-utils lower bound for bug #265376
34 DEPEND=">=app-misc/pax-utils-0.1.19"
35 +# Avoid folks installing with older file, bug #889046. We still need the
36 +# >= dep in Portage but this is a safety net if people do partial upgrades.
37 +RDEPEND="!<sys-apps/file-5.44-r1"
38 BDEPEND="app-arch/xz-utils"
39
40 has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS+=" sandbox_death_notice"