* [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
* Re: [ptxdist] [PATCH] dropbear: set sftp-server path to match installed location
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
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Dahl @ 2022-04-29 9:23 UTC (permalink / raw)
To: Ian Abbott; +Cc: ptxdist
Hello Ian,
Am Fri, Apr 29, 2022 at 10:09:50AM +0100 schrieb 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)
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Greets
Alex
>
> DROPBEAR_MAKE_OPT := all scp
> --
> 2.35.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [APPLIED] dropbear: set sftp-server path to match installed location
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 ` Michael Olbrich
1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2022-06-20 6:19 UTC (permalink / raw)
To: ptxdist; +Cc: Ian Abbott
Thanks, applied as a05703d36a6b2d829b7c53a0bb18b00247a534d8.
Michael
[sent from post-receive hook]
On Mon, 20 Jun 2022 08:19:26 +0200, Ian Abbott <abbotti@mev.co.uk> wrote:
> 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>
> Message-Id: <20220429090950.19891-1-abbotti@mev.co.uk>
> Reviewed-by: Alexander Dahl <ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/dropbear.make b/rules/dropbear.make
> index 678bd7d85778..0664532592a4 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
^ 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