sys-process/audit: add USE=gssapi support #424653
authorMike Frysinger <vapier@gentoo.org>
Fri, 10 Feb 2017 01:06:03 +0000 (20:06 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 10 Feb 2017 01:48:44 +0000 (20:48 -0500)
sys-process/audit/audit-2.6.4.ebuild
sys-process/audit/metadata.xml

index 0f4ddd8ceb544a66c7a46f880cd40fdb8ce840f0..a7d63c107d8f9c010244490d059362b7cb017c03 100644 (file)
@@ -15,18 +15,19 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="ldap python"
+IUSE="gssapi ldap python"
 # Testcases are pretty useless as they are built for RedHat users/groups and kernels.
 RESTRICT="test"
 
-RDEPEND="ldap? ( net-nds/openldap )
-               sys-libs/libcap-ng"
+RDEPEND="gssapi? ( virtual/krb5 )
+       ldap? ( net-nds/openldap )
+       sys-libs/libcap-ng"
 DEPEND="${RDEPEND}
-               >=sys-kernel/linux-headers-2.6.34
-               python? (
-                       ${PYTHON_DEPS}
-                       dev-lang/swig:0
-               )"
+       >=sys-kernel/linux-headers-2.6.34
+       python? (
+               ${PYTHON_DEPS}
+               dev-lang/swig:0
+       )"
 # Do not use os-headers as this is linux specific
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -77,6 +78,7 @@ multilib_src_configure() {
        local ECONF_SOURCE=${S}
        econf \
                --sbindir="${EPREFIX}/sbin" \
+               $(use_enable gssapi gssapi-krb5) \
                --enable-systemd \
                --without-python \
                --without-python3
index ee74e58c03759b8047a38dcbb907f72246b8f3b6..856de3a78717017f8b9229f6474061b2c859c09f 100644 (file)
@@ -4,4 +4,7 @@
   <maintainer type="person">
     <email>robbat2@gentoo.org</email>
   </maintainer>
+<use>
+       <flag name="gssapi">Enable GSSAPI support</flag>
+</use>
 </pkgmetadata>