From 9044c3b05f6809ceca2f35d582a1601602f088d9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 18 Nov 2009 10:25:40 +0000 Subject: added stdioclient to openwrt package diff --git a/openwrt/rhctl/Makefile b/openwrt/rhctl/Makefile index fb54b8f..dad5bd3 100644 --- a/openwrt/rhctl/Makefile +++ b/openwrt/rhctl/Makefile @@ -12,13 +12,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rhctl -PKG_VERSION:=0.1 -PKG_RELEASE:=2 +PKG_VERSION:=0.2 +PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://localhost/ -PKG_MD5SUM:=8d693d1d4431eeeac383d5fde17c068f +PKG_MD5SUM:=1a6f4d51c77a3e5b56b574d4dc0d4c86 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -59,6 +59,7 @@ define Build/Compile LDFLAGS="$(TARGET_LDFLAGS) -ldl" $(STRIP) $(PKG_BUILD_DIR)/switchctl $(STRIP) $(PKG_BUILD_DIR)/serialclient + $(STRIP) $(PKG_BUILD_DIR)/stdioclient endef define Package/rhctl/install @@ -69,6 +70,7 @@ define Package/rhctl/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/switchctl $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/serialclient $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/stdioclient $(1)/usr/bin/ $(INSTALL_BIN) ./files/rhctlsh $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/udev.init $(1)/etc/init.d/udev diff --git a/openwrt/rhctl/files/rhctlsh b/openwrt/rhctl/files/rhctlsh index 47d5873..50bcbfc 100755 --- a/openwrt/rhctl/files/rhctlsh +++ b/openwrt/rhctl/files/rhctlsh @@ -3,4 +3,4 @@ RUN_D=/var/run/rhctl SOCK=$RUN_D/switchctl.sock -/usr/bin/socat UNIX-CONNECT:$SOCK STDIO +/usr/bin/stdioclient --command-sock $SOCK -- cgit v0.10.2