Skip to content

Commit

Permalink
sslh: install sslh-select
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Uhlig <[email protected]>
  • Loading branch information
utoni authored and neheb committed Aug 16, 2022
1 parent c1a96ac commit 49b85f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 31 deletions.
13 changes: 13 additions & 0 deletions net/sslh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ define Package/sslh
URL:=https://rutschle.net/tech/sslh/README.html
endef

define Package/sslh/config
config SSLH_SELECT
bool "Use sslh-select"
depends on PACKAGE_sslh
help
Use sslh-select instead of sslh-fork.
default n
endef

define Package/sslh/conffiles
/etc/config/sslh
/etc/sslh.conf
Expand All @@ -40,7 +49,11 @@ MAKE_FLAGS += \

define Package/sslh/install
$(INSTALL_DIR) $(1)/usr/sbin
ifeq ($(CONFIG_SSLH_SELECT),y)
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-select $(1)/usr/sbin/sslh
else
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sslh-fork $(1)/usr/sbin/sslh
endif
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
$(INSTALL_DIR) $(1)/etc/config
Expand Down
File renamed without changes.
31 changes: 0 additions & 31 deletions net/sslh/patches/001-no_sslh_select.patch

This file was deleted.

0 comments on commit 49b85f9

Please sign in to comment.