mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 15:08:40 +01:00
becd747c1a
The old download source was pulled from the net, move to github. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2009-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sslh
|
|
PKG_VERSION:=v1.17
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_URL:=https://github.com/yrutschle/sslh.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=3550cbe
|
|
PKG_LICENSE:=GPL-2.0+
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/sslh
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Routing and Redirection
|
|
TITLE:=SSL/SSH multiplexer
|
|
URL:=http://rutschle.net/tech/sslh.shtml
|
|
PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
|
|
endef
|
|
|
|
define Package/sslh/conffiles
|
|
/etc/config/sslh
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
CC="$(TARGET_CC)" \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
USELIBCONFIG= \
|
|
USELIBWRAP= \
|
|
all
|
|
endef
|
|
|
|
define Package/sslh/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-fork $(1)/usr/sbin/sslh
|
|
$(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)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,sslh))
|