]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
autossh: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 14 Oct 2013 13:46:11 +0000 (10:46 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Oct 2013 20:00:38 +0000 (22:00 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/autossh/Config.in [new file with mode: 0644]
package/autossh/autossh.mk [new file with mode: 0644]

index 41d828ac37fec4f8d6160f107ad9007696cf100c..7af6d420bd53ecf123e99976166a78e4ddb1b3b4 100644 (file)
@@ -760,6 +760,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"
diff --git a/package/autossh/Config.in b/package/autossh/Config.in
new file mode 100644 (file)
index 0000000..e3acd8a
--- /dev/null
@@ -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/
diff --git a/package/autossh/autossh.mk b/package/autossh/autossh.mk
new file mode 100644 (file)
index 0000000..75d7892
--- /dev/null
@@ -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))