commit:     474c8bdee4243147cf219660b0c1515ebc81a601
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 09:59:04 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 09:59:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=474c8bde

net-p2p/syncthing: add USE=selinux support

This ought to automatically pull in the relevant SELinux policies.

Gentoo-Bug: 615648

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-p2p/syncthing/syncthing-0.14.27.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-p2p/syncthing/syncthing-0.14.27.ebuild 
b/net-p2p/syncthing/syncthing-0.14.27.ebuild
index 6a552aa9568..7236d9629f4 100644
--- a/net-p2p/syncthing/syncthing-0.14.27.ebuild
+++ b/net-p2p/syncthing/syncthing-0.14.27.ebuild
@@ -14,7 +14,9 @@ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~arm"
-IUSE="tools"
+IUSE="selinux tools"
+
+RDEPEND="selinux? ( sec-policy/selinux-syncthing )"
 
 DOCS=( README.md AUTHORS CONTRIBUTING.md )
 

Reply via email to