sslh: add capabilities support
Compile with USELIBCAP=1 to make use of POSIX capabilities. This will save the required capabilities needed for transparent proxying for unprivileged processes. Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
This commit is contained in:
parent
4950a37797
commit
f3aaffdd6f
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ define Package/sslh
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
SUBMENU:=Routing and Redirection
|
SUBMENU:=Routing and Redirection
|
||||||
TITLE:=SSL/SSH multiplexer
|
TITLE:=SSL/SSH multiplexer
|
||||||
DEPENDS:=+libconfig +USE_UCLIBC:libpcre +USE_MUSL:libpcre
|
DEPENDS:=+libconfig +libcap +USE_UCLIBC:libpcre +USE_MUSL:libpcre
|
||||||
URL:=https://rutschle.net/tech/sslh/README.html
|
URL:=https://rutschle.net/tech/sslh/README.html
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ define Package/sslh/conffiles
|
||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
|
USELIBCAP=1 \
|
||||||
$(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)
|
$(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)
|
||||||
|
|
||||||
define Package/sslh/install
|
define Package/sslh/install
|
||||||
|
|
Loading…
Reference in a new issue