|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=socat |
|
|
PKG_NAME:=socat |
|
|
PKG_VERSION:=1.7.2.4 |
|
|
PKG_VERSION:=1.7.2.4 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download |
|
|
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download |
|
@ -50,6 +50,10 @@ config SOCAT_SSL |
|
|
Implements SSL support in socat (using libopenssl). |
|
|
Implements SSL support in socat (using libopenssl). |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Package/socat/conffiles |
|
|
|
|
|
/etc/config/socat |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
CONFIGURE_ARGS += \
|
|
|
--disable-libwrap \
|
|
|
--disable-libwrap \
|
|
|
--disable-readline \
|
|
|
--disable-readline \
|
|
@ -68,6 +72,10 @@ CONFIGURE_VARS += \ |
|
|
define Package/socat/install |
|
|
define Package/socat/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/socat $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/socat $(1)/usr/bin/ |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
|
|
|
$(INSTALL_CONF) ./files/socat.config $(1)/etc/config/socat |
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
|
|
|
$(INSTALL_BIN) ./files/socat.init $(1)/etc/init.d/socat |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,socat)) |
|
|
$(eval $(call BuildPackage,socat)) |