From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/autossh/Makefile | 23 +++++++++++------------ package/autossh/ipkg/autossh.control | 5 ----- 2 files changed, 11 insertions(+), 17 deletions(-) delete mode 100644 package/autossh/ipkg/autossh.control (limited to 'package/autossh') 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 -- cgit v1.2.3