[Buildroot] [PATCH] autossh: new package

Peter Korsgaard jacmet at uclibc.org
Tue May 15 09:54:37 UTC 2012


>>>>> "Dominik" == Dominik Fässler <faessler at was.ch> writes:

Hi,

 Dominik> +++ b/package/autossh/Config.in
 Dominik> @@ -0,0 +1,8 @@
 Dominik> +config BR2_PACKAGE_AUTOSSH
 Dominik> +	bool "autossh"
 Dominik> +	select BR2_PACKAGE_OPENSSH

Doesn't this work with dropbear? Autossh afaik just creates a port
forward loop and monitors that the connection is alive, which should
work for dropbear as well.

 Dominik> diff --git a/package/autossh/autossh.mk b/package/autossh/autossh.mk
 Dominik> new file mode 100644
 Dominik> index 0000000..d81731a
 Dominik> --- /dev/null
 Dominik> +++ b/package/autossh/autossh.mk
 Dominik> @@ -0,0 +1,16 @@
 Dominik> +#############################################################
 Dominik> +#
 Dominik> +# autossh
 Dominik> +#
 Dominik> +#############################################################
 Dominik> +
 Dominik> +AUTOSSH_VERSION = 1.4c
 Dominik> +AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
 Dominik> +AUTOSSH_SITE = http://www.harding.motd.ca/autossh
 Dominik> +AUTOSSH_DEPENDENCIES = openssh
 Dominik> +
 Dominik> +define AUTOSSH_INSTALL_TARGET_CMDS
 Dominik> +	$(INSTALL) -D -m 0755 $(@D)/autossh $(TARGET_DIR)/bin

On my Debian machine autossh is in /usr/bin, and is just a shell wrapper
around the real binary in /usr/lib/autossh. Is there any specific reason
why you don't just use make install?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list