From 3d872aaf488b5a656c100eb6cbd7323d3827a881 Mon Sep 17 00:00:00 2001 From: bakedsnake Date: Sun, 9 Aug 2026 22:50:34 +0200 Subject: [PATCH] net-misc/gnome-ssh-askpass: add missing deps & set LDFLAGS Adds missing packages in RDEPEND, as well as setting LDFLAGS, sin- ce this is not done from upstream. Closes: https://bugs.gentoo.org/953339 Closes: https://bugs.gentoo.org/953338 Signed-off-by: bakedsnake --- .../gnome-ssh-askpass-10.0_p1.ebuild | 17 +++++++++++++++-- .../gnome-ssh-askpass-10.4_p1.ebuild | 17 +++++++++++++++-- .../gnome-ssh-askpass-9.9_p2.ebuild | 17 +++++++++++++++-- 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.0_p1.ebuild b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.0_p1.ebuild index c063f7eade..b0adc99e64 100644 --- a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.0_p1.ebuild +++ b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.0_p1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig MY_P="openssh-${PV/_p/p}" DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH" -HOMEPAGE="https://www.openssh.com/" +HOMEPAGE="https://www.openssh.org/" SRC_URI=" mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc ) @@ -20,6 +20,12 @@ KEYWORDS="~amd64" RESTRICT="test" RDEPEND=" + app-accessibility/at-spi2-core + media-libs/harfbuzz + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + x11-libs/pango dev-libs/glib:2 x11-libs/gtk+:3 " @@ -39,6 +45,13 @@ src_unpack() { verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} } +src_prepare() { + default + # Upstream does not set LDFLAGS, so we do it ourselves. + sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \ + || die "Could not set LDFLAGS" +} + src_configure() { tc-export CC } diff --git a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.4_p1.ebuild b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.4_p1.ebuild index 45c058757a..6a900a937d 100644 --- a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.4_p1.ebuild +++ b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-10.4_p1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig MY_P="openssh-${PV/_p/p}" DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH" -HOMEPAGE="https://www.openssh.com/" +HOMEPAGE="https://www.openssh.org/" SRC_URI=" mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc ) @@ -21,6 +21,12 @@ IUSE="gtk4" RESTRICT="test" RDEPEND=" + app-accessibility/at-spi2-core + media-libs/harfbuzz + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + x11-libs/pango dev-libs/glib:2 gtk4? ( app-crypt/gcr:4 @@ -44,6 +50,13 @@ src_unpack() { verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} } +src_prepare() { + default + # Upstream does not set LDFLAGS, so we do it ourselves. + sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \ + || die "Could not set LDFLAGS" +} + src_configure() { tc-export CC } diff --git a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.9_p2.ebuild b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.9_p2.ebuild index c063f7eade..b0adc99e64 100644 --- a/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.9_p2.ebuild +++ b/net-misc/gnome-ssh-askpass/gnome-ssh-askpass-9.9_p2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit toolchain-funcs verify-sig MY_P="openssh-${PV/_p/p}" DESCRIPTION="GTK-based passphrase dialog for use with OpenSSH" -HOMEPAGE="https://www.openssh.com/" +HOMEPAGE="https://www.openssh.org/" SRC_URI=" mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz verify-sig? ( mirror://openbsd/OpenSSH/portable/${MY_P}.tar.gz.asc ) @@ -20,6 +20,12 @@ KEYWORDS="~amd64" RESTRICT="test" RDEPEND=" + app-accessibility/at-spi2-core + media-libs/harfbuzz + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/libX11 + x11-libs/pango dev-libs/glib:2 x11-libs/gtk+:3 " @@ -39,6 +45,13 @@ src_unpack() { verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} } +src_prepare() { + default + # Upstream does not set LDFLAGS, so we do it ourselves. + sed -i -e 's|\$(CC) \$(CFLAGS)|\$(CC) \$(CFLAGS) \$(LDFLAGS)|' Makefile \ + || die "Could not set LDFLAGS" +} + src_configure() { tc-export CC }