commit:     e7693d34d59e51dc7fb767c9d06a2cbe75680586
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 01:48:29 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 01:48:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7693d34

net-misc/openssh: add USE=audit support #607408

 net-misc/openssh/openssh-7.4_p1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-misc/openssh/openssh-7.4_p1.ebuild 
b/net-misc/openssh/openssh-7.4_p1.ebuild
index a21ea916d4..279169754d 100644
--- a/net-misc/openssh/openssh-7.4_p1.ebuild
+++ b/net-misc/openssh/openssh-7.4_p1.ebuild
@@ -27,7 +27,7 @@ LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 # Probably want to drop ssl defaulting to on in a future version.
-IUSE="abi_mips_n32 bindist debug ${HPN_PATCH:++}hpn kerberos kernel_linux ldap 
ldns libedit libressl livecd pam +pie sctp selinux skey ssh1 +ssl static test X 
X509"
+IUSE="abi_mips_n32 audit bindist debug ${HPN_PATCH:++}hpn kerberos 
kernel_linux ldap ldns libedit libressl livecd pam +pie sctp selinux skey ssh1 
+ssl static test X X509"
 REQUIRED_USE="ldns? ( ssl )
        pie? ( !static )
        ssh1? ( ssl )
@@ -36,6 +36,7 @@ REQUIRED_USE="ldns? ( ssl )
        test? ( ssl )"
 
 LIB_DEPEND="
+       audit? ( sys-process/audit[static-libs(+)] )
        ldns? (
                net-libs/ldns[static-libs(+)]
                !bindist? ( net-libs/ldns[ecdsa,ssl] )
@@ -183,6 +184,7 @@ src_configure() {
                --datadir="${EPREFIX}"/usr/share/openssh
                --with-privsep-path="${EPREFIX}"/var/empty
                --with-privsep-user=sshd
+               $(use_with audit audit linux)
                $(use_with kerberos kerberos5 "${EPREFIX}"/usr)
                # We apply the ldap patch conditionally, so can't pass 
--without-ldap
                # unconditionally else we get unknown flag warnings.

Reply via email to