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