git: 57b4e38665e1 - main - net/haproxy-devel: update to version 3.0-dev4.

From: Dmitry Sivachenko <demon_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 19:37:16 UTC
The branch main has been updated by demon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57b4e38665e16f4324a6b5228f46775adc1e4c80

commit 57b4e38665e16f4324a6b5228f46775adc1e4c80
Author:     Dmitry Sivachenko <demon@FreeBSD.org>
AuthorDate: 2024-02-26 19:34:59 +0000
Commit:     Dmitry Sivachenko <demon@FreeBSD.org>
CommitDate: 2024-02-26 19:37:11 +0000

    net/haproxy-devel: update to version 3.0-dev4.
    
    Also enable QUIC similar to net/haproxy port.
---
 net/haproxy-devel/Makefile | 15 +++++++++++----
 net/haproxy-devel/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile
index 5db7ece51e91..fd4d04bfd4ea 100644
--- a/net/haproxy-devel/Makefile
+++ b/net/haproxy-devel/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	haproxy
-DISTVERSION=	2.9-dev11
-PORTREVISION=	1
+DISTVERSION=	3.0-dev4
 CATEGORIES=	net www
-MASTER_SITES=	http://www.haproxy.org/download/2.9/src/devel/
+MASTER_SITES=	http://www.haproxy.org/download/3.0/src/devel/
 PKGNAMESUFFIX=	-devel
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
@@ -66,6 +65,14 @@ LUA_MAKE_ARGS=		USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NA
 OPTIONS_DEFAULT+=	LUA
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mlibressl*} || ${SSL_DEFAULT:M*quictls}
+OPENSSL_MAKE_ARGS+=	USE_QUIC=1
+.else
+OPENSSL_MAKE_ARGS+=	USE_QUIC=1 USE_QUIC_OPENSSL_COMPAT=1
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/
 	${INSTALL_PROGRAM} ${WRKSRC}/admin/halog/halog ${STAGEDIR}${PREFIX}/sbin/
@@ -75,4 +82,4 @@ do-install:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/haproxy-devel/distinfo b/net/haproxy-devel/distinfo
index 36541ed18bd9..66aaeb9f518b 100644
--- a/net/haproxy-devel/distinfo
+++ b/net/haproxy-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700813529
-SHA256 (haproxy-2.9-dev11.tar.gz) = 0e75ab3dfed1f1ba5308989a69d9554900fbdd29e950f42a97f920720e4ee1a9
-SIZE (haproxy-2.9-dev11.tar.gz) = 4473602
+TIMESTAMP = 1708974978
+SHA256 (haproxy-3.0-dev4.tar.gz) = 8a5f5eb499ddd651a4ab4a50458332884cc87233cad10b2f4af73ba4c5d403b8
+SIZE (haproxy-3.0-dev4.tar.gz) = 4574646