commit:     df9b030f179856c7f809415bcb9892898e429a30
Author:     Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev>
AuthorDate: Fri Feb 28 14:42:19 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 14:43:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9b030f

net-misc/openssh: remove profile.d scripts for now

Similar issue to dbus. We don't have any case of this mis-triggering but
removing for safety.

Signed-off-by: Anna (navi) Figueiredo Gomes <navi <AT> vlhl.dev>
Closes: https://github.com/gentoo/gentoo/pull/40815
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/openssh/files/ssh-agent.sh                                | 7 -------
 .../openssh/{openssh-9.9_p2-r2.ebuild => openssh-9.9_p2-r3.ebuild} | 2 --
 2 files changed, 9 deletions(-)

diff --git a/net-misc/openssh/files/ssh-agent.sh 
b/net-misc/openssh/files/ssh-agent.sh
deleted file mode 100644
index fc241019125a..000000000000
--- a/net-misc/openssh/files/ssh-agent.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License, v2 or later
-#
-if [ -f /run/openrc/softlevel ] && [ -z "$SSH_AUTH_SOCK" ] \
-               && rc-service --user --exists ssh-agent 2>&1 >/dev/null; then
-       export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock"
-fi

diff --git a/net-misc/openssh/openssh-9.9_p2-r2.ebuild 
b/net-misc/openssh/openssh-9.9_p2-r3.ebuild
similarity index 99%
rename from net-misc/openssh/openssh-9.9_p2-r2.ebuild
rename to net-misc/openssh/openssh-9.9_p2-r3.ebuild
index c65d1d8d34d8..1b34d10467ef 100644
--- a/net-misc/openssh/openssh-9.9_p2-r2.ebuild
+++ b/net-misc/openssh/openssh-9.9_p2-r3.ebuild
@@ -317,8 +317,6 @@ src_install() {
        newconfd "${FILESDIR}"/sshd-r1.confd sshd
        exeinto /etc/user/init.d
        newexe "${FILESDIR}"/ssh-agent.initd ssh-agent
-       insinto /etc/profile.d
-       doins "${FILESDIR}"/ssh-agent.sh
 
        if use pam; then
                newpamd "${FILESDIR}"/sshd.pam_include.2 sshd

Reply via email to