Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829726 - sys-apps/usbguard-1.0.0-r4: add selinux use flag
Summary: sys-apps/usbguard-1.0.0-r4: add selinux use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 21:04 UTC by Bogdan
Modified: 2021-12-21 00:18 UTC (History)
1 user (show)

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 Bogdan 2021-12-20 21:04:18 UTC
gentoo overlay has sys-apps/usbguard and sec-policy/selinux-usbguard packages.
I have 'selinux' use flag in make.conf.
I expect, that selinux-usbguard package must be installed with usbguard. But it did not.

Reproducible: Always

Actual Results:  
sec-policy/selinux-usbguard package was not installed with sys-apps/usbguard

Expected Results:  
sec-policy/selinux-usbguard package must be installed with sys-apps/usbguard[+selinux]

Please, update ebuild:
> IUSE="selinux"
> RDEPEND="selinux? ( sec-policy/selinux-usbguard )"
Comment 1 Larry the Git Cow gentoo-dev 2021-12-21 00:18:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e386c2dc36e798b96db231bce56bc8903a465d3

commit 1e386c2dc36e798b96db231bce56bc8903a465d3
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2021-12-21 00:16:55 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2021-12-21 00:16:55 +0000

    sys-apps/usbguard: Add USE=selinux
    
    Closes: https://bugs.gentoo.org/829726
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-3.0.30, Repoman-3.0.3

 sys-apps/usbguard/usbguard-1.0.0-r5.ebuild | 103 +++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)