summaryrefslogtreecommitdiff
path: root/package/autossh
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/autossh
Initial import
Diffstat (limited to 'package/autossh')
-rw-r--r--package/autossh/Config.in9
-rw-r--r--package/autossh/Makefile32
-rw-r--r--package/autossh/ipkg/autossh.control5
3 files changed, 46 insertions, 0 deletions
diff --git a/package/autossh/Config.in b/package/autossh/Config.in
new file mode 100644
index 000000000..5f72059f0
--- /dev/null
+++ b/package/autossh/Config.in
@@ -0,0 +1,9 @@
+config ADK_PACKAGE_AUTOSSH
+ prompt "autossh........................... Auto handle ssh tunnels"
+ tristate
+ default n
+ 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/Makefile b/package/autossh/Makefile
new file mode 100644
index 000000000..0363f8855
--- /dev/null
+++ b/package/autossh/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= autossh
+PKG_VERSION:= 1.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0e7ec62eeca5d1b197f3ef2d0f0d417f
+MASTER_SITES:= http://www.harding.motd.ca/autossh/
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tgz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AUTOSSH,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+TCFLAGS+= -Wall -DSSH_PATH=\\\"/usr/bin/ssh\\\"\ \
+ -DVER=\\\"$(PKG_VERSION)\\\"\"
+MAKE_FLAGS+= CC="$(TARGET_CC)" BINDIR=/usr/bin MANDIR=/usr/man
+BUILD_STYLE= auto
+
+do-configure:
+ cp $(WRKBUILD)/Makefile.linux $(WRKBUILD)/Makefile
+
+do-install:
+ echo $(CC)
+ $(INSTALL_DIR) $(IDIR_AUTOSSH)/usr/bin
+ $(INSTALL_BIN) $(WRKBUILD)/autossh $(IDIR_AUTOSSH)/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/autossh/ipkg/autossh.control b/package/autossh/ipkg/autossh.control
new file mode 100644
index 000000000..2916e3851
--- /dev/null
+++ b/package/autossh/ipkg/autossh.control
@@ -0,0 +1,5 @@
+Package: autossh
+Priority: optional
+Section: net
+Depends: openssh-client
+Description: Autossh client