1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net/sslh: update to 2.1.2

PR:		279309
This commit is contained in:
Olivier Cochard 2024-05-27 23:08:26 +02:00
parent cb2959b38c
commit 05032537d5
3 changed files with 13 additions and 8 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= sslh
PORTVERSION= 1.22c
PORTVERSION= 2.1.2
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= olivier@FreeBSD.org
@ -12,13 +11,16 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libconfig.so:devel/libconfig \
libpcre2-8.so:devel/pcre2
libpcre2-8.so:devel/pcre2 \
libev.so:devel/libev
USES= gmake
USE_RC_SUBR= sslh
USE_GITHUB= yes
GH_ACCOUNT= yrutschle
GNU_CONFIGURE= yes
OPTIONS_DEFINE= EXAMPLES LIBWRAP
OPTIONS_DEFAULT=LIBWRAP
@ -29,6 +31,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= sbin/sslh-fork \
sbin/sslh-select \
sbin/sslh-ev \
"@sample etc/sslh.conf.sample" \
share/man/man8/sslh.8.gz
@ -42,6 +45,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslh-fork ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/sslh-select ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/sslh-ev ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/basic.cfg \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
${INSTALL_MAN} ${WRKSRC}/sslh.8.gz ${STAGEDIR}${PREFIX}/share/man/man8

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1641747765
SHA256 (yrutschle-sslh-v1.22c_GH0.tar.gz) = ec5f6998f90b2849d113f2617db7ceca5281fbe4ef55fcd185789d390c09eb04
SIZE (yrutschle-sslh-v1.22c_GH0.tar.gz) = 146954
TIMESTAMP = 1716822781
SHA256 (yrutschle-sslh-v2.1.2_GH0.tar.gz) = 7ffafaffbc006bb9d9af4015a10f15982ed182ea2a454a917bdbeb5f04e27a90
SIZE (yrutschle-sslh-v2.1.2_GH0.tar.gz) = 214091

View File

@ -10,9 +10,10 @@
# sslh_enable="YES"
#
# You can fine tune other variables too:
# sslh_mode="fork | select"
# sslh_mode="fork | select | ev"
# fork: stable but slow performance
# select: new but high performance
# select: higher performance, few hundreds of connections
# ev: uses libev as a backend, thousands of connections
# sslh_fib: routing table number
sslh_precmd() {