From patchwork Tue May 15 05:27:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Faessler X-Patchwork-Id: 159231 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D6C6CB6FA8 for ; Tue, 15 May 2012 15:28:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C52DC31031; Tue, 15 May 2012 05:28:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ffh3mGOCFHB; Tue, 15 May 2012 05:28:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 200E930F23; Tue, 15 May 2012 05:28:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D764E8F753 for ; Tue, 15 May 2012 05:27:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CBDAA8C0DC for ; Tue, 15 May 2012 05:27:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h8t-9Mds9cZS for ; Tue, 15 May 2012 05:27:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from was2.nine.ch (was2.nine.ch [92.42.187.134]) by whitealder.osuosl.org (Postfix) with ESMTPS id AC7B08AA31 for ; Tue, 15 May 2012 05:27:56 +0000 (UTC) Received: from was2.nine.ch (localhost [127.0.0.1]) by was2.nine.ch (Postfix) with ESMTP id 5C09818144C; Tue, 15 May 2012 07:27:51 +0200 (CEST) Received: from localhost.localdomain (62-2-101-221.static.cablecom.ch [62.2.101.221]) by was2.nine.ch (Postfix) with ESMTPSA; Tue, 15 May 2012 07:27:51 +0200 (CEST) From: =?UTF-8?q?Dominik=20F=C3=A4ssler?= To: buildroot@busybox.net Date: Tue, 15 May 2012 07:27:41 +0200 Message-Id: <1337059661-4008-1-git-send-email-faessler@was.ch> X-Mailer: git-send-email 1.7.2.5 Subject: [Buildroot] [PATCH] autossh: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net --- package/Config.in | 1 + package/autossh/Config.in | 8 ++++++++ package/autossh/autossh.mk | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 package/autossh/Config.in create mode 100644 package/autossh/autossh.mk diff --git a/package/Config.in b/package/Config.in index fb1b08f..4e3c414 100644 --- a/package/Config.in +++ b/package/Config.in @@ -476,6 +476,7 @@ endmenu menu "Networking applications" source "package/argus/Config.in" +source "package/autossh/Config.in" source "package/avahi/Config.in" source "package/axel/Config.in" source "package/bluez_utils/Config.in" diff --git a/package/autossh/Config.in b/package/autossh/Config.in new file mode 100644 index 0000000..c867eba --- /dev/null +++ b/package/autossh/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_AUTOSSH + bool "autossh" + select BR2_PACKAGE_OPENSSH + help + 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 index 0000000..d81731a --- /dev/null +++ b/package/autossh/autossh.mk @@ -0,0 +1,16 @@ +############################################################# +# +# autossh +# +############################################################# + +AUTOSSH_VERSION = 1.4c +AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz +AUTOSSH_SITE = http://www.harding.motd.ca/autossh +AUTOSSH_DEPENDENCIES = openssh + +define AUTOSSH_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/autossh $(TARGET_DIR)/bin +endef + +$(eval $(call AUTOTARGETS,package,autossh))