2 # Copyright (C) 2009-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://rutschle.net/tech/
16 PKG_MD5SUM:=36e64bd6c7d0a299d5acd1109988099b
18 include $(INCLUDE_DIR)/package.mk
23 SUBMENU:=Routing and Redirection
24 TITLE:=SSL/SSH multiplexer
25 URL:=http://rutschle.net/tech/sslh.shtml
26 MAINTAINER:=Matthias Buecher <mail@maddes.net>
29 define Package/sslh/conffiles
34 $(MAKE) -C $(PKG_BUILD_DIR) \
36 CFLAGS="$(TARGET_CFLAGS)" \
42 define Package/sslh/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-fork $(1)/usr/sbin/sslh
45 $(INSTALL_DIR) $(1)/etc/init.d/
46 $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
47 $(INSTALL_DIR) $(1)/etc/config
48 $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
51 $(eval $(call BuildPackage,sslh))