Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527868 - [TRACKER] Add selinux? dependency to a package' RDEPEND variable
Summary: [TRACKER] Add selinux? dependency to a package' RDEPEND variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: Tracker
Depends on: 525724 527908 527916 529344 529372 530198 530628 533118 537018 538022 539688 543568 548264 550822 550824 552762 554536 554964 653092
Blocks:
  Show dependency tree
 
Reported: 2014-11-01 18:46 UTC by Sven Vermeulen (RETIRED)
Modified: 2022-08-25 03:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 18:46:59 UTC
SELinux policy packages provide the necessary definitions for a SELinux system to know how to label files. The policy package also updates the system's SELinux policy to support one or more tools and usages.

In Gentoo, if a package is identified as needing a particular SELinux policy package dependency, then it needs to be added to the RDEPEND variable of that package. Considering that this means a (potential) IUSE update as well as added dependency, this requires a revision bump to the package (except for the live ebuilds which we will update immediately if possible).

However, most Gentoo users would not need an update on this package. As such, we kindly ask the package maintainer to add the proper dependency to his/her package with the next revision bump (or new release).

The basic structure is:

  IUSE="... selinux ..."

  RDEPEND="
    ...
    selinux? ( sec-policy/selinux-somepackage )
    ...
  "

If after (roughly) two months, no revision bump was needed or new version released, we will be bumping the package with just this change to it.

Reproducible: Always
Comment 1 Jason Zaman gentoo-dev 2014-11-03 19:00:04 UTC
There are a few eclasses that set sec-policy/ packages in DEPENDS which need to be moved to RDEPENDS too. On a quick look i found:

apache-2.eclass
kde4-base.eclass
Comment 2 Jason Zaman gentoo-dev 2015-06-06 10:13:36 UTC
Not closing since there will undoubtedly be more later.
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-25 03:51:08 UTC
Dead tracker?