net-p2p/syncthing: add USE=selinux support
authorMarek Szuba <marecki@gentoo.org>
Fri, 28 Apr 2017 09:59:04 +0000 (11:59 +0200)
committerMarek Szuba <marecki@gentoo.org>
Fri, 28 Apr 2017 09:59:04 +0000 (11:59 +0200)
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

index 6a552aa9568f857a873b8efa47f25a333d976c14..7236d9629f497b8d1ad6bb56897f06e095889200 100644 (file)
@@ -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 )