2 # Copyright (C) 2009-2018 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
:=https
://rutschle.net
/tech
/sslh
/
16 PKG_HASH
:=bb11dfa88b27ae1ec825a1b8156000c3f17f7e8f042311f19b7a249193c47bf3
17 PKG_LICENSE
:=GPL-2.0
-or-later
18 PKG_LICENSE_FILES
:=COPYING
20 include $(INCLUDE_DIR
)/package.mk
25 SUBMENU
:=Routing and Redirection
26 TITLE
:=SSL
/SSH multiplexer
27 DEPENDS
:=+libconfig
+USE_UCLIBC
:libpcre
+USE_MUSL
:libpcre
28 URL
:=https
://rutschle.net
/tech
/sslh
/README.html
29 PKG_MAINTAINER
:=Jonathan McCrohan
<jmccrohan@gmail.com
>
32 define Package
/sslh
/conffiles
38 $(if
$(CONFIG_USE_GLIBC
),USELIBPCRE
=,USELIBPCRE
=1)
40 define Package
/sslh
/install
41 $(INSTALL_DIR
) $(1)/usr
/sbin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sslh-fork
$(1)/usr
/sbin
/sslh
43 $(INSTALL_DIR
) $(1)/etc
/init.d
/
44 $(INSTALL_BIN
) files
/$(PKG_NAME
).init
$(1)/etc
/init.d
/$(PKG_NAME
)
45 $(INSTALL_DIR
) $(1)/etc
/config
46 $(INSTALL_CONF
) files
/$(PKG_NAME
).config
$(1)/etc
/config
/$(PKG_NAME
)
47 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/basic.cfg
$(1)/etc
/sslh.conf
50 $(eval
$(call BuildPackage
,sslh
))