summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-16 22:25:21 +0000
committerSam James <sam@gentoo.org>2022-03-16 22:25:36 +0000
commit018da4b1ce3f8de20b915511017bfc406365678b (patch)
treea74d8716a921ee742193614e8d139dcdb937ebe4 /net-misc/openssh
parentgames-arcade/shovel-knight: Bump to 4.1b, drop old 3.3 (diff)
downloadgentoo-018da4b1ce3f8de20b915511017bfc406365678b.tar.gz
gentoo-018da4b1ce3f8de20b915511017bfc406365678b.tar.bz2
gentoo-018da4b1ce3f8de20b915511017bfc406365678b.zip
net-misc/openssh: fix USE=verify-sig for USE=hpn/USE=X509
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/openssh')
-rw-r--r--net-misc/openssh/openssh-8.8_p1-r4.ebuild7
-rw-r--r--net-misc/openssh/openssh-8.9_p1-r2.ebuild7
2 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/openssh/openssh-8.8_p1-r4.ebuild b/net-misc/openssh/openssh-8.8_p1-r4.ebuild
index ecd07a1a1bf4..4a714fc75f28 100644
--- a/net-misc/openssh/openssh-8.8_p1-r4.ebuild
+++ b/net-misc/openssh/openssh-8.8_p1-r4.ebuild
@@ -115,6 +115,13 @@ pkg_pretend() {
fi
}
+src_unpack() {
+ default
+
+ # We don't have signatures for HPN, X509, so we have to write this ourselves
+ verify-sig_verify_detached "${DISTDIR}"/${PARCH}.tar.gz{,.asc}
+}
+
src_prepare() {
sed -i \
-e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX}/usr/bin/xauth:" \
diff --git a/net-misc/openssh/openssh-8.9_p1-r2.ebuild b/net-misc/openssh/openssh-8.9_p1-r2.ebuild
index 57ea25252cb7..c0d96a21bb5f 100644
--- a/net-misc/openssh/openssh-8.9_p1-r2.ebuild
+++ b/net-misc/openssh/openssh-8.9_p1-r2.ebuild
@@ -115,6 +115,13 @@ pkg_pretend() {
fi
}
+src_unpack() {
+ default
+
+ # We don't have signatures for HPN, X509, so we have to write this ourselves
+ verify-sig_verify_detached "${DISTDIR}"/${PARCH}.tar.gz{,.asc}
+}
+
src_prepare() {
sed -i \
-e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX}/usr/bin/xauth:" \