summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-09 20:48:29 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-09 20:48:45 -0500
commite7693d34d59e51dc7fb767c9d06a2cbe75680586 (patch)
treefb994e04577f88b6e6545a2b42021a7f156b31e7 /net-misc/openssh/openssh-7.4_p1.ebuild
parentsys-process/audit: version bump to 2.7.1 #597150 (diff)
downloadgentoo-e7693d34d59e51dc7fb767c9d06a2cbe75680586.tar.gz
gentoo-e7693d34d59e51dc7fb767c9d06a2cbe75680586.tar.bz2
gentoo-e7693d34d59e51dc7fb767c9d06a2cbe75680586.zip
net-misc/openssh: add USE=audit support #607408
Diffstat (limited to 'net-misc/openssh/openssh-7.4_p1.ebuild')
-rw-r--r--net-misc/openssh/openssh-7.4_p1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/openssh/openssh-7.4_p1.ebuild b/net-misc/openssh/openssh-7.4_p1.ebuild
index a21ea916d4ba..279169754d8d 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.