Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2024 21:11:46 GMT
From:      Olivier Cochard <olivier@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05032537d589 - main - net/sslh: update to 2.1.2
Message-ID:  <202405272111.44RLBkN9082759@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05032537d58936b297c977a505d971071645a9c4

commit 05032537d58936b297c977a505d971071645a9c4
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2024-05-27 21:08:26 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-05-27 21:11:30 +0000

    net/sslh: update to 2.1.2
    
    PR:             279309
---
 net/sslh/Makefile      | 10 +++++++---
 net/sslh/distinfo      |  6 +++---
 net/sslh/files/sslh.in |  5 +++--
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/net/sslh/Makefile b/net/sslh/Makefile
index 78dec9776179..97534a3902a7 100644
--- a/net/sslh/Makefile
+++ b/net/sslh/Makefile
@@ -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
diff --git a/net/sslh/distinfo b/net/sslh/distinfo
index 3916f5c1905b..5de5c4801228 100644
--- a/net/sslh/distinfo
+++ b/net/sslh/distinfo
@@ -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
diff --git a/net/sslh/files/sslh.in b/net/sslh/files/sslh.in
index 7722da39b29a..9b7dcb5c7e55 100644
--- a/net/sslh/files/sslh.in
+++ b/net/sslh/files/sslh.in
@@ -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() {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405272111.44RLBkN9082759>