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@gentoo.org>
This commit is contained in:
Sam James
2022-12-31 13:27:10 +00:00
parent 7f15e85f2f
commit dfb9674fe7
@@ -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"