-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The sslh Makefile's default target "all" now also tries to compile a new version sslh-ev. To disable its compilation the Build/Compile is overridden and to call directly "make sslh-select" or "make sslh-fork" depending on CONFIG_SSLH_SELECT. Some changes from 001-configfile-fix.patch were applied to the upstream and we can remove them. The only left is a notice "sslh command line arguments override the config". Signed-off-by: Sergey Ponomarev <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=sslh | ||
PKG_VERSION:=v1.22c | ||
PKG_VERSION:=v1.23.1 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://rutschle.net/tech/sslh/ | ||
PKG_HASH:=8e3742d14edf4119350cfdc7bb96b89134d9218eb6d2a6e1f70891ca18a649b1 | ||
PKG_HASH:=2aac006b40e5ae90e3b0fccb44acc994174e24e64457f25041b06aa2433ae637 | ||
|
||
PKG_MAINTAINER:=Jonathan McCrohan <[email protected]> | ||
PKG_LICENSE:=GPL-2.0-or-later | ||
|
@@ -48,6 +48,16 @@ endef | |
MAKE_FLAGS += \ | ||
USELIBCAP=1 | ||
|
||
define Build/Compile | ||
|
||
ifeq ($(CONFIG_SSLH_SELECT),y) | ||
$(call Build/Compile/Default,sslh-select) | ||
else | ||
$(call Build/Compile/Default,sslh-fork) | ||
endif | ||
|
||
endef | ||
|
||
define Package/sslh/install | ||
$(INSTALL_DIR) $(1)/usr/sbin | ||
ifeq ($(CONFIG_SSLH_SELECT),y) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters