Skip to content

Commit

Permalink
update sslh SynoCommunity#6438
Browse files Browse the repository at this point in the history
- initially update to v1.23.1
  • Loading branch information
hgy59 committed Feb 6, 2025
1 parent 8951c9e commit 703e74f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
14 changes: 6 additions & 8 deletions cross/sslh/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
PKG_NAME = sslh
PKG_VERS = 1.22c
PKG_VERS = 1.23.1
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/yrutschle/sslh/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_DIST_NAME)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libconfig cross/pcre2 cross/tcp_wrappers
DEPENDS = cross/libconfig
DEPENDS += cross/pcre2
DEPENDS += cross/tcp_wrappers
DEPENDS += cross/libcap

# compiller must support -std=c11
Expand All @@ -16,9 +18,9 @@ HOMEPAGE = https://www.rutschle.net/tech/sslh/README.html
COMMENT = Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port).
LICENSE = GPLv2

CONFIGURE_TARGET = sslh_configure
CONFIGURE_TARGET = nop
INSTALL_TARGET = sslh_install
COMPILE_MAKE_OPTIONS = USELIBWRAP=1
COMPILE_MAKE_OPTIONS = USELIBWRAP=1 USELIBCAP=1

ADDITIONAL_CFLAGS = -std=c11
# use misc of netdb.h in toolchain to define NI_MAXHOST, NI_MAXSERV, ...
Expand All @@ -28,10 +30,6 @@ ADDITIONAL_CFLAGS += -DNI_MAXSERV=32

include ../../mk/spksrc.cross-cc.mk

.PHONY: sslh_configure
sslh_configure:
@$(RUN) sed -i -e '/^USELIBCAP=/s/=.*/=1/' $(WORK_DIR)/$(PKG_DIR)/Makefile

.PHONY: sslh_install
sslh_install:
@$(RUN) mkdir -p $(STAGING_INSTALL_PREFIX)/bin
Expand Down
6 changes: 3 additions & 3 deletions cross/sslh/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sslh-v1.22c.tar.gz SHA1 2c80aba00f7ffa87f6893759926b450a31a2219e
sslh-v1.22c.tar.gz SHA256 ec5f6998f90b2849d113f2617db7ceca5281fbe4ef55fcd185789d390c09eb04
sslh-v1.22c.tar.gz MD5 ddfebd2436e4f5e53d1810285d75f1b8
sslh-v1.23.1.tar.gz SHA1 4c856d0179a4c57545f9a0ef5b8d8454131c9f25
sslh-v1.23.1.tar.gz SHA256 6f1c529a3f0cc6733c03e64480c9c480b726fec7328c49dda33af015ac219205
sslh-v1.23.1.tar.gz MD5 da8825b6f99c145f9714177f534ad046
18 changes: 10 additions & 8 deletions spk/sslh/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
SPK_NAME = sslh
SPK_VERS = 1.22
SPK_REV = 7
SPK_VERS = 1.23.1
SPK_REV = 8
SPK_ICON = src/sslh.png

DEPENDS = cross/sslh

UNSUPPORTED_ARCHS = $(OLD_PPC_ARCHS) $(ARMv5_ARCHS)

MAINTAINER = SynoCommunity
DESCRIPTION = sslh accepts HTTPS, SSH, OpenVPN, tinc and XMPP connections on the same port. This makes it possible to connect to any of these servers on port 443 \(e.g. from inside a corporate firewall, which almost never block port 443\) while still serving HTTPS on that port.
DESCRIPTION_FRE = sslh accepte des connexions HTTPS, SSH, OpenVPN, tinc et XMPP sur le même port TCP. Il est ainsi possible de se connecter à l\'un de ces services sur le port 443 \(par exemple depuis derrière un firewall d\'entrepise qui ne bloque en général pas le port 443\) tout en préservant les accès HTTPS sur ce même port.

DISPLAY_NAME = sslh
CHANGELOG = "update sslh to v1.22c."
CHANGELOG = "Update sslh to v1.23.1."

HOMEPAGE = https://www.rutschle.net/tech/sslh/README.html
LICENSE = GPLv2
STARTABLE = yes
HOMEPAGE = https://www.rutschle.net/tech/sslh/README.html
LICENSE = GPLv2
STARTABLE = yes

SERVICE_USER = auto
SERVICE_SETUP = src/service-setup.sh
Expand All @@ -25,5 +27,5 @@ include ../../mk/spksrc.spk.mk

.PHONY: sslh_extra_install
sslh_extra_install:
install -m 755 -d $(STAGING_DIR)/var
install -m 644 src/sslh.cfg $(STAGING_DIR)/var/sslh.cfg
@install -m 755 -d $(STAGING_DIR)/var
@install -m 644 src/sslh.cfg $(STAGING_DIR)/var/sslh.cfg

0 comments on commit 703e74f

Please sign in to comment.