sys-apps/policycoreutils: Properly depend on audit[python] and fix selocal attribute...
authorSven Vermeulen <swift@gentoo.org>
Mon, 30 Jan 2017 19:29:47 +0000 (20:29 +0100)
committerSven Vermeulen <swift@gentoo.org>
Mon, 30 Jan 2017 19:30:11 +0000 (20:30 +0100)
commite5dd3905dd034a68bd4519432b09a28a81d541f1
tree7587ca84d024fc17ca8e005e4af463db10a2dec9
parenta3c45e2a1fd97d4a0c073c063b296b2a4101d2e6
sys-apps/policycoreutils: Properly depend on audit[python] and fix selocal attribute resolving

The first bug this release fixes is bug 597978. Previous policycoreutils versions
provided a selocal application which can't deal with the new setools. The previous
setools had seinfo return a non-zero return code if an attribute (or role, or ...
depending on what was asked) was not found. The newer setools gives this in the
output, but keeps the zero return code. selocal depended on the return code
previously.

The second bug this release fixes is bug 605692. Well, partially, because the bug
has two issues mentioned. The first one is the (wrong) dependency on audit. If the
policycoreutils package is build with USE="audit" then it should depend on audit[python]
rather than just audit. This is the issue that is fixed in this release.

The second issue (not being able to use a number of semanage commands when
USE="-audit") is not resolved yet.

Package-Manager: portage-2.3.3
sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild [new file with mode: 0644]