1 |
commit: 9922424d24e74a94290fddeca93a861bae8ebedf |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 10 01:06:03 2017 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 10 01:48:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9922424d |
7 |
|
8 |
sys-process/audit: add USE=gssapi support #424653 |
9 |
|
10 |
sys-process/audit/audit-2.6.4.ebuild | 18 ++++++++++-------- |
11 |
sys-process/audit/metadata.xml | 3 +++ |
12 |
2 files changed, 13 insertions(+), 8 deletions(-) |
13 |
|
14 |
diff --git a/sys-process/audit/audit-2.6.4.ebuild b/sys-process/audit/audit-2.6.4.ebuild |
15 |
index 0f4ddd8ceb..a7d63c107d 100644 |
16 |
--- a/sys-process/audit/audit-2.6.4.ebuild |
17 |
+++ b/sys-process/audit/audit-2.6.4.ebuild |
18 |
@@ -15,18 +15,19 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz" |
19 |
LICENSE="GPL-2" |
20 |
SLOT="0" |
21 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" |
22 |
-IUSE="ldap python" |
23 |
+IUSE="gssapi ldap python" |
24 |
# Testcases are pretty useless as they are built for RedHat users/groups and kernels. |
25 |
RESTRICT="test" |
26 |
|
27 |
-RDEPEND="ldap? ( net-nds/openldap ) |
28 |
- sys-libs/libcap-ng" |
29 |
+RDEPEND="gssapi? ( virtual/krb5 ) |
30 |
+ ldap? ( net-nds/openldap ) |
31 |
+ sys-libs/libcap-ng" |
32 |
DEPEND="${RDEPEND} |
33 |
- >=sys-kernel/linux-headers-2.6.34 |
34 |
- python? ( |
35 |
- ${PYTHON_DEPS} |
36 |
- dev-lang/swig:0 |
37 |
- )" |
38 |
+ >=sys-kernel/linux-headers-2.6.34 |
39 |
+ python? ( |
40 |
+ ${PYTHON_DEPS} |
41 |
+ dev-lang/swig:0 |
42 |
+ )" |
43 |
# Do not use os-headers as this is linux specific |
44 |
|
45 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
46 |
@@ -77,6 +78,7 @@ multilib_src_configure() { |
47 |
local ECONF_SOURCE=${S} |
48 |
econf \ |
49 |
--sbindir="${EPREFIX}/sbin" \ |
50 |
+ $(use_enable gssapi gssapi-krb5) \ |
51 |
--enable-systemd \ |
52 |
--without-python \ |
53 |
--without-python3 |
54 |
|
55 |
diff --git a/sys-process/audit/metadata.xml b/sys-process/audit/metadata.xml |
56 |
index ee74e58c03..856de3a787 100644 |
57 |
--- a/sys-process/audit/metadata.xml |
58 |
+++ b/sys-process/audit/metadata.xml |
59 |
@@ -4,4 +4,7 @@ |
60 |
<maintainer type="person"> |
61 |
<email>robbat2@g.o</email> |
62 |
</maintainer> |
63 |
+<use> |
64 |
+ <flag name="gssapi">Enable GSSAPI support</flag> |
65 |
+</use> |
66 |
</pkgmetadata> |