summaryrefslogtreecommitdiff
path: root/package/autossh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/autossh
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/autossh')
-rw-r--r--package/autossh/Makefile23
-rw-r--r--package/autossh/ipkg/autossh.control5
2 files changed, 11 insertions, 17 deletions
diff --git a/package/autossh/Makefile b/package/autossh/Makefile
index 97e18dd39..f39bec8c5 100644
--- a/package/autossh/Makefile
+++ b/package/autossh/Makefile
@@ -6,26 +6,25 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= autossh
-PKG_VERSION:= 1.3
+PKG_VERSION:= 1.4b
PKG_RELEASE:= 1
-PKG_MD5SUM:= 0e7ec62eeca5d1b197f3ef2d0f0d417f
-MASTER_SITES:= http://www.harding.motd.ca/autossh/
+PKG_MD5SUM:= 8f9aa006f6f69e912d3c2f504622d6f7
+PKG_DESCR:= Automatically restart SSH sessions and tunnels
+PKG_SECTION:= net
+PKG_DEPENDS:= openssh-client
+PKG_URL:= http://www.harding.motd.ca/autossh
+PKG_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)))
-
-TCFLAGS+= -Wall -DSSH_PATH=\\\"/usr/bin/ssh\\\"\ \
- -DVER=\\\"$(PKG_VERSION)\\\"\"
-MAKE_FLAGS+= CC="$(TARGET_CC)" BINDIR=/usr/bin MANDIR=/usr/man
-BUILD_STYLE= auto
+$(eval $(call PKG_template,AUTOSSH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-do-configure:
- cp $(WRKBUILD)/Makefile.linux $(WRKBUILD)/Makefile
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
do-install:
- echo $(CC)
$(INSTALL_DIR) $(IDIR_AUTOSSH)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/autossh $(IDIR_AUTOSSH)/usr/bin/
diff --git a/package/autossh/ipkg/autossh.control b/package/autossh/ipkg/autossh.control
deleted file mode 100644
index 2916e3851..000000000
--- a/package/autossh/ipkg/autossh.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: autossh
-Priority: optional
-Section: net
-Depends: openssh-client
-Description: Autossh client