net-misc/openssh-8.0_p1-r4: fix tests in 2020, move to GLEP 81
authorPatrick McLean <patrick.mclean@sony.com>
Wed, 5 Feb 2020 01:48:30 +0000 (17:48 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Wed, 5 Feb 2020 01:54:52 +0000 (17:54 -0800)
Bug: https://bugs.gentoo.org/703016
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-misc/openssh/openssh-8.0_p1-r4.ebuild

index 3440c3c9a7a950baf542794df5861fcbd5c6ff7e..2da7dba8cbca9f34a4c914a4e3d40697afcaf497 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit user eapi7-ver flag-o-matic multilib autotools pam systemd
+inherit eapi7-ver flag-o-matic multilib autotools pam systemd
 
 # Make it more portable between straight releases
 # and _p? releases.
@@ -67,6 +67,8 @@ LIB_DEPEND="
        )
        >=sys-libs/zlib-1.2.3:=[static-libs(+)]"
 RDEPEND="
+       acct-group/sshd
+       acct-user/sshd
        !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
        pam? ( sys-libs/pam )
        kerberos? ( virtual/krb5 )"
@@ -123,6 +125,7 @@ src_prepare() {
        eapply "${FILESDIR}"/${PN}-8.0_p1-deny-shmget-shmat-shmdt-in-preauth-privsep-child.patch
        eapply "${FILESDIR}"/${PN}-8.0_p1-fix-integer-overflow-in-XMSS-private-key-parsing.patch
        eapply "${FILESDIR}"/${PN}-8.0_p1-fix-an-unreachable-integer-overflow-similar-to-the-XMSS-case.patch
+       eapply "${FILESDIR}"/${PN}-8.1_p1-tests-2020.patch
        use X509 || eapply "${FILESDIR}"/${PN}-8.0_p1-tests.patch
 
        [[ -d ${WORKDIR}/patches ]] && eapply "${WORKDIR}"/patches