net-misc/openssh: Use pkg_pretend() to detect earlier unsupported features
authorBertrand Jacquin <bertrand@jacquin.bzh>
Thu, 5 Jan 2017 21:40:41 +0000 (21:40 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Sat, 7 Jan 2017 21:35:09 +0000 (13:35 -0800)
Package-Manager: portage-2.3.0
(cherry picked from commit 4862b9b82b4722272da4639999f757d733d67335)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
net-misc/openssh/openssh-7.3_p1-r7.ebuild
net-misc/openssh/openssh-7.3_p1-r8.ebuild
net-misc/openssh/openssh-7.4_p1.ebuild

index 0f8d7742cd7c1bcc0d1a7b21b21383f142473d9e..6c9b3242699081b8b0afcb63fc6eedb9279042f3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -76,7 +76,7 @@ RDEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PARCH}
 
-pkg_setup() {
+pkg_pretend() {
        # this sucks, but i'd rather have people unable to `emerge -u openssh`
        # than not be able to log in to their server any more
        maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
index f886839d5865ce095866640f48f5b4ea798fe87b..164f4e1375b899cae24db12741351dc491060b0d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -71,7 +71,7 @@ RDEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PARCH}
 
-pkg_setup() {
+pkg_pretend() {
        # this sucks, but i'd rather have people unable to `emerge -u openssh`
        # than not be able to log in to their server any more
        maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
index 110f1bfb470084bf43593136e466732c8c41ee4b..4f6efad0cad3245a4366dc0d160f7e7bf94a2ffc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -70,7 +70,7 @@ RDEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PARCH}
 
-pkg_setup() {
+pkg_pretend() {
        # this sucks, but i'd rather have people unable to `emerge -u openssh`
        # than not be able to log in to their server any more
        maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }