summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-11-18 10:25:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-11-18 10:25:40 (GMT)
commit9044c3b05f6809ceca2f35d582a1601602f088d9 (patch)
treefe8c54d14f4b560fecb02314d9b6e368c5aaaccd
parente4a30ac897423a0acebeb2aea205855f04e4e627 (diff)
added stdioclient to openwrt package
-rw-r--r--openwrt/rhctl/Makefile8
-rwxr-xr-xopenwrt/rhctl/files/rhctlsh2
2 files changed, 6 insertions, 4 deletions
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