Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 507972

Summary: vim.eclass - add selinux support
Product: Gentoo Linux Reporter: Petre Rodan <pr.gentoo-acct>
Component: EclassesAssignee: Vim Maintainers <vim>
Status: RESOLVED OBSOLETE    
Severity: normal CC: selinux
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: use use_enable for selinux

Description Petre Rodan 2014-04-18 09:23:27 UTC
Created attachment 375178 [details, diff]
use use_enable for selinux

please be so kind and use the attached patch on vim.eclass.

it adds selinux as a use flag and sends --enable-selinux to configure if that use flag is set.

by doing this file contexts are restored by vim after a file is saved.

thanks,
peter
Comment 1 Tim Harder gentoo-dev 2014-04-18 18:47:23 UTC
The eclasses are deprecated and aren't used with the latest ebuilds in the tree which also include selinux support since 7.4.94.