mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] dropbear: set sftp-server path to match installed location
@ 2022-04-29  9:09 Ian Abbott
  2022-04-29  9:23 ` Alexander Dahl
  2022-06-20  6:19 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Abbott @ 2022-04-29  9:09 UTC (permalink / raw)
  To: ptxdist; +Cc: Ian Abbott

PTXdist installs sftp-server to /usr/sbin/sftp-server, but dropbear
looks for it at /usr/libexec/sftp-server by default.  Set the
SFTPSERVER_PATH macro in the localoptions.h to make dropbear look for it
in the installed location.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 rules/dropbear.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/dropbear.make b/rules/dropbear.make
index 678bd7d85..066453259 100644
--- a/rules/dropbear.make
+++ b/rules/dropbear.make
@@ -255,6 +255,10 @@ else
 	@echo "#define DROPBEAR_CLI_PUBKEY_AUTH 0" >> $(DROPBEAR_LOCALOPTIONS)
 endif
 
+# match ptxdist sftp-server installation path
+	@echo "ptxdist: setting sftp-server path"
+	@echo '#define SFTPSERVER_PATH "/usr/sbin/sftp-server"' >> $(DROPBEAR_LOCALOPTIONS)
+
 	@$(call touch)
 
 DROPBEAR_MAKE_OPT	:= all scp
-- 
2.35.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-20  6:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29  9:09 [ptxdist] [PATCH] dropbear: set sftp-server path to match installed location Ian Abbott
2022-04-29  9:23 ` Alexander Dahl
2022-06-20  6:19 ` [ptxdist] [APPLIED] " Michael Olbrich

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