public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/openssh-contrib/, net-misc/openssh/
@ 2024-06-12  9:38 James Le Cuirot
  0 siblings, 0 replies; only message in thread
From: James Le Cuirot @ 2024-06-12  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     6f42017f1c4cb1ff42618a097f87fceffbdf1ad3
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 09:36:25 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 09:36:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f42017f

net-misc/openssh*: Fix sftp-server path in config drop-in

OpenSSH itself automatically adjusts the paths in sshd_config but not in our
drop-ins, so I missed this. Sorry!

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 ...penssh-contrib-9.7_p1-r2.ebuild => openssh-contrib-9.7_p1-r3.ebuild} | 2 +-
 net-misc/openssh/{openssh-9.7_p1-r4.ebuild => openssh-9.7_p1-r5.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openssh-contrib/openssh-contrib-9.7_p1-r2.ebuild b/net-misc/openssh-contrib/openssh-contrib-9.7_p1-r3.ebuild
similarity index 99%
rename from net-misc/openssh-contrib/openssh-contrib-9.7_p1-r2.ebuild
rename to net-misc/openssh-contrib/openssh-contrib-9.7_p1-r3.ebuild
index 0f9dacf37bf1..928f72db3060 100644
--- a/net-misc/openssh-contrib/openssh-contrib-9.7_p1-r2.ebuild
+++ b/net-misc/openssh-contrib/openssh-contrib-9.7_p1-r3.ebuild
@@ -371,7 +371,7 @@ create_config_dropins() {
 
 	cat <<-EOF > "${WORKDIR}"/etc/ssh/sshd_config.d/9999999gentoo-subsystem.conf || die
 	# override default of no subsystems
-	Subsystem	sftp	${EPREFIX}/usr/libexec/sftp-server
+	Subsystem	sftp	${EPREFIX}/usr/$(get_libdir)/misc/sftp-server
 	EOF
 
 	if use pam ; then

diff --git a/net-misc/openssh/openssh-9.7_p1-r4.ebuild b/net-misc/openssh/openssh-9.7_p1-r5.ebuild
similarity index 99%
rename from net-misc/openssh/openssh-9.7_p1-r4.ebuild
rename to net-misc/openssh/openssh-9.7_p1-r5.ebuild
index 6bed5f250d22..4d382b9b6ac6 100644
--- a/net-misc/openssh/openssh-9.7_p1-r4.ebuild
+++ b/net-misc/openssh/openssh-9.7_p1-r5.ebuild
@@ -258,7 +258,7 @@ create_config_dropins() {
 
 	cat <<-EOF > "${WORKDIR}"/etc/ssh/sshd_config.d/9999999gentoo-subsystem.conf || die
 	# override default of no subsystems
-	Subsystem	sftp	${EPREFIX}/usr/libexec/sftp-server
+	Subsystem	sftp	${EPREFIX}/usr/$(get_libdir)/misc/sftp-server
 	EOF
 
 	if use pam ; then


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-12  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  9:38 [gentoo-commits] repo/gentoo:master commit in: net-misc/openssh-contrib/, net-misc/openssh/ James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox