2009-03-09 16:04:28 +00:00
|
|
|
#
|
2010-02-03 21:47:22 +00:00
|
|
|
# Copyright (C) 2009-2010 OpenWrt.org
|
2009-03-09 16:04:28 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sslh
|
2010-02-03 21:47:22 +00:00
|
|
|
PKG_VERSION:=1.7a
|
2011-07-16 20:11:03 +00:00
|
|
|
PKG_RELEASE:=2
|
2009-03-09 16:04:28 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://rutschle.net/tech/
|
2010-02-03 21:47:22 +00:00
|
|
|
PKG_MD5SUM:=ee124654412198a5e11fe28acf10634d
|
2009-03-09 16:04:28 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/sslh
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-07-16 20:11:03 +00:00
|
|
|
SUBMENU:=Routing and Redirection
|
2009-03-09 16:04:28 +00:00
|
|
|
TITLE:=SSL/SSH multiplexer
|
|
|
|
URL:=http://rutschle.net/tech/sslh.shtml
|
2011-07-16 20:52:08 +00:00
|
|
|
MAINTAINER:=Matthias Buecher <mail@maddes.net>
|
2009-03-09 16:04:28 +00:00
|
|
|
endef
|
|
|
|
|
2011-07-16 20:11:03 +00:00
|
|
|
define Package/sslh/conffiles
|
|
|
|
/etc/config/sslh
|
|
|
|
endef
|
|
|
|
|
2009-03-09 16:04:28 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
USELIBWRAP= \
|
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sslh/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh $(1)/usr/sbin/
|
2009-07-14 11:25:17 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
|
|
$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
|
2009-03-09 16:04:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,sslh))
|