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:=bc34e9a4770d634633e70589c72708cc
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)" \
41 define Package/sslh/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-fork $(1)/usr/sbin/sslh
44 $(INSTALL_DIR) $(1)/etc/init.d/
45 $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
46 $(INSTALL_DIR) $(1)/etc/config
47 $(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
50 $(eval $(call BuildPackage,sslh))