Summary: | dev-libs/apr: should dep on sec-policy/selinux-base-policy instead of selinux-apache | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mira Ressel <aranea> |
Component: | SELinux | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | selinux |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=548264 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mira Ressel
2015-09-15 20:35:01 UTC
It is better to switch the dep to -base-policy so it will get relabeled after an upgrade. @Poly-C: Can you apply something like this next time there is a bump on apr? diff --git a/dev-libs/apr/apr-1.5.2.ebuild b/dev-libs/apr/apr-1.5.2.ebuild index 270e6c0..bb01864 100644 --- a/dev-libs/apr/apr-1.5.2.ebuild +++ b/dev-libs/apr/apr-1.5.2.ebuild @@ -18,7 +18,7 @@ IUSE="doc elibc_FreeBSD older-kernels-compatibility selinux static-libs +urandom CDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 ) elibc_mintlib? ( >=sys-apps/util-linux-2.18 )" RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-apache )" + selinux? ( sec-policy/selinux-base-policy )" DEPEND="${CDEPEND} >=sys-devel/libtool-2.4.2 doc? ( app-doc/doxygen )" Really? Is waiting for a new apr release sufficient? (In reply to Lars Wendler (Polynomial-C) from comment #2) > Really? Is waiting for a new apr release sufficient? Yep thats fine, just next time you do a revbump or version bump to the package. No need to revbump for just this change alone. selinux-apache will always pull in selinux-base-policy so no rush at all for fixing this so better off save the needless rebuild till next version. @Poly-C: You'd apparently forgotten this two year old bug when you bumped apr to 1.62 last week. :) Could you please apply Jason's patch in a revbump? Ping. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9aaa3a61b209b36cb7457a98bcd9477ce0cb7c4 commit f9aaa3a61b209b36cb7457a98bcd9477ce0cb7c4 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-04-29 07:58:32 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-04-29 07:58:32 +0000 dev-libs/apr: Revbumps to fix selinux dependency Closes: https://bugs.gentoo.org/560576 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-libs/apr/{apr-1.6.3-r3.ebuild => apr-1.6.3-r4.ebuild} | 2 +- dev-libs/apr/{apr-1.6.5.ebuild => apr-1.6.5-r1.ebuild} | 4 ++-- dev-libs/apr/{apr-1.7.0.ebuild => apr-1.7.0-r1.ebuild} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) |