autossh: new package
PATCH 1/1 autossh: new package
--- package/Config.in | 1 + package/autossh/Config.in | 8 ++++++++ package/autossh/autossh.mk | 17 +++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/autossh/Config.in create mode 100644 package/autossh/autossh.mk
package/Config.in +1 -0
@@ -762,6 +762,7 @@ source "package/aiccu/Config.in" source "package/aircrack-ng/Config.in" source "package/argus/Config.in" source "package/arptables/Config.in" +source "package/autossh/Config.in" source "package/avahi/Config.in" source "package/axel/Config.in" source "package/bcusdk/Config.in"
package/autossh/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_AUTOSSH + bool "autossh" + depends on BR2_USE_MMU # fork() + help + autossh is a program to start a copy of ssh and monitor it, + restarting it as necessary should it die or stop passing traffic. + + http://www.harding.motd.ca/autossh/
package/autossh/autossh.mk new file +17 -0
@@ -0,0 +1,17 @@ +################################################################################ +# +# autossh +# +################################################################################ + +AUTOSSH_VERSION = 1.4c +AUTOSSH_SITE = http://www.harding.motd.ca/autossh +AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz +AUTOSSH_LICENSE = Modified BSD +AUTOSSH_LICENSE_FILES = autossh.c + +define AUTOSSH_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/autossh $(TARGET_DIR)/usr/bin/autossh +endef + +$(eval $(autotools-package))
Signature · 1 line
1.8.1.5
PATCH 1/1 autossh: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]>
Committed, thanks.
Have you used it with dropbear? I think I recall some discussion about it using openssh specific options. If so, then it should probably depend on BR2_PACKAGE_OPENSSH
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 autossh: new package
Quoted 5 lines · Peter Korsgaard
Committed, thanks.
Have you used it with dropbear? I think I recall some discussion about it using openssh specific options. If so, then it should probably depend on
BR2_PACKAGE_OPENSSH
It can be used with a wrapper script, that's the reason i didn't want to hardcode openssh into it.
There's also a patch for autossh to allow dropbear-specific options. I'm unsure which would be preferred to "automagicallize" it for users :) Regards.
PATCH 1/1 autossh: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Hi,
Gustavo> It can be used with a wrapper script, that's the reason i Gustavo> didn't want to hardcode openssh into it. There's also a patch Gustavo> for autossh to allow dropbear-specific options. I'm unsure Gustavo> which would be preferred to "automagicallize" it for users :)
I'm also not quite sure what would be the best way. Anybody else?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 autossh: new package
Dear Peter Korsgaard,
Quoted 10 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Hi,
Gustavo> It can be used with a wrapper script, that's the reason i Gustavo> didn't want to hardcode openssh into it. There's also a patch Gustavo> for autossh to allow dropbear-specific options. I'm unsure Gustavo> which would be preferred to "automagicallize" it for users :)
I'm also not quite sure what would be the best way. Anybody else?
At least mention that in package help text (that, IIUC, it normally depends on OpenSSH, but there are patches or other ways to make it work with Dropbear, possibly giving pointers to those patches).
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 autossh: new package
Quoted 3 lines · Thomas Petazzoni
At least mention that in package help text (that, IIUC, it normally depends on OpenSSH, but there are patches or other ways to make it work with Dropbear, possibly giving pointers to those patches).
On a quick qemu run it works without tweaks - i didn't try the odd options though, just the basics.
Looking at details the openwrt patch for autossh+dropbear is gone so evidently it's upstream (by looking at it).
No need to add anything up except maybe "remember to select a ssh package" (or depend on OPENSSH | DROPBEAR).
Regards.
PATCH 1/1 autossh: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Quoted 3 lines · Thomas Petazzoni
Quoted 3 lines
At least mention that in package help text (that, IIUC, it normally depends on OpenSSH, but there are patches or other ways to make it work with Dropbear, possibly giving pointers to those patches).
Gustavo> On a quick qemu run it works without tweaks - i didn't try the odd Gustavo> options though, just the basics.
Gustavo> Looking at details the openwrt patch for autossh+dropbear is gone so Gustavo> evidently it's upstream (by looking at it).
Ok, great - Thanks for checking.
Gustavo> No need to add anything up except maybe "remember to select a ssh Gustavo> package" (or depend on OPENSSH | DROPBEAR).
I guess the isn't really any sane use cases for autossh without a ssh client, so I think we should use 'depends on'.
Signature · 1 line
Bye, Peter Korsgaard