net-misc/strongswan: Add selinux rdep
authorJason Zaman <perfinion@gentoo.org>
Sun, 3 Jan 2016 08:35:38 +0000 (12:35 +0400)
committerJason Zaman <perfinion@gentoo.org>
Sun, 3 Jan 2016 08:35:38 +0000 (12:35 +0400)
Package-Manager: portage-2.2.26

net-misc/strongswan/strongswan-5.3.4-r1.ebuild
net-misc/strongswan/strongswan-5.3.4.ebuild

index f5d7dde9a248d3bad3303c2bba0d8b3042da9a05..b7a623a1c2e51657487ba2dfb7de943b478f1921 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://download.strongswan.org/${P}.tar.bz2"
 LICENSE="GPL-2 RSA DES"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl sqlite pam pkcs11"
+IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl selinux sqlite pam pkcs11"
 
 STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
 STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand unbound whitelist"
@@ -42,7 +42,8 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
        virtual/logger
        sys-apps/iproute2
-       !net-misc/libreswan"
+       !net-misc/libreswan
+       selinux? ( sec-policy/selinux-ipsec )"
 
 UGID="ipsec"
 
index 2b252778680524908f75a31dcfa373796c9253b2..923765d34c166cc94a898fd727b4a86c452f17a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://download.strongswan.org/${P}.tar.bz2"
 LICENSE="GPL-2 RSA DES"
 SLOT="0"
 KEYWORDS="amd64 arm ppc ~ppc64 x86"
-IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl sqlite pam pkcs11"
+IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl selinux sqlite pam pkcs11"
 
 STRONGSWAN_PLUGINS_STD="led lookip systime-fix unity vici"
 STRONGSWAN_PLUGINS_OPT="blowfish ccm ctr gcm ha ipseckey ntru padlock rdrand unbound whitelist"
@@ -42,7 +42,8 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
        virtual/logger
        sys-apps/iproute2
-       !net-misc/libreswan"
+       !net-misc/libreswan
+       selinux? ( sec-policy/selinux-ipsec )"
 
 UGID="ipsec"