commit:     c4f141d88c8d955ecbe86554ef21892b0aec762a
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 18:46:29 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 18:47:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f141d8

net-misc/openssh: remove more X509 compat logic #603100#7

 net-misc/openssh/openssh-7.4_p1.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-misc/openssh/openssh-7.4_p1.ebuild 
b/net-misc/openssh/openssh-7.4_p1.ebuild
index 616265a..110f1bf 100644
--- a/net-misc/openssh/openssh-7.4_p1.ebuild
+++ b/net-misc/openssh/openssh-7.4_p1.ebuild
@@ -113,11 +113,9 @@ src_prepare() {
        sed -i '/^AuthorizedKeysFile/s:^:#:' sshd_config || die
 
        if use X509 ; then
-               pushd .. >/dev/null
-               sed -i 's:PKIX_VERSION:SSH_X509:g' 
"${WORKDIR}"/${X509_PATCH%.*} || die
-               popd >/dev/null
                epatch "${WORKDIR}"/${X509_PATCH%.*}
-               save_version X509
+               # We no longer allow X509 to be used with anything else.
+               #save_version X509
        fi
 
        if use ldap ; then
@@ -193,7 +191,7 @@ src_configure() {
                $(use_with libedit)
                $(use_with pam)
                $(use_with pie)
-               $(use_with sctp)
+               $(use X509 || use_with sctp)
                $(use_with selinux)
                $(use_with skey)
                $(use_with ssh1)

Reply via email to