git: 7da6e95c6f59 - main - www/trafficserver: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 15:04:16 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7da6e95c6f590ff4d871534c7874504d2121ee77

commit 7da6e95c6f590ff4d871534c7874504d2121ee77
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 14:48:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 15:04:02 +0000

    www/trafficserver: Fix build with llvm16
    
    - Update version 9.1.3=>9.2.1
    
    Changelog:
    https://raw.githubusercontent.com/apache/trafficserver/9.2.x/CHANGELOG-9.2.1
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/trafficserver/Makefile  | 8 +-------
 www/trafficserver/distinfo  | 6 +++---
 www/trafficserver/pkg-plist | 4 ++++
 3 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile
index 949e53723bfc..87d34a9f7c59 100644
--- a/www/trafficserver/Makefile
+++ b/www/trafficserver/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	trafficserver
-PORTVERSION=	9.1.3
-PORTREVISION=	2
+PORTVERSION=	9.2.1
 CATEGORIES=	www
 MASTER_SITES=	APACHE/${PORTNAME}
 
@@ -20,7 +19,6 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 USES=		compiler:c++17-lang cpe gmake libtool localbase luajit \
 		ncurses pathfix perl5 pkgconfig sqlite ssl tar:bzip2 tcl
-
 CPE_VENDOR=	apache
 CPE_PRODUCT=	traffic_server
 USE_PERL5=	build run
@@ -76,10 +74,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/#ifdef HAVE_EVENTFD/#if defined(HAVE_EVENTFD) \&\& TS_USE_EPOLL == 1/' \
 		${WRKSRC}/src/tscore/EventNotify.cc \
 		${WRKSRC}/include/tscore/EventNotify.h
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-	@${REINPLACE_CMD} -e 's/std::nullptr_t/nullptr_t/g' \
-		${WRKSRC}/include/tscore/Ptr.h
-.endif
 
 post-install:
 	${RMDIR} ${STAGEDIR}${DATADIR}
diff --git a/www/trafficserver/distinfo b/www/trafficserver/distinfo
index b8af7b8f30f5..1c78491814f0 100644
--- a/www/trafficserver/distinfo
+++ b/www/trafficserver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660759425
-SHA256 (trafficserver-9.1.3.tar.bz2) = c8bf77b034b0da6c38d3ec9f3ca85ef1038aa046170e839308b0a59709d9afb6
-SIZE (trafficserver-9.1.3.tar.bz2) = 9800058
+TIMESTAMP = 1690381405
+SHA256 (trafficserver-9.2.1.tar.bz2) = c9080a521758f258391ff7ceb99b824bcc652b3fd9125a3580697bb2e5eb43b2
+SIZE (trafficserver-9.2.1.tar.bz2) = 10136184
diff --git a/www/trafficserver/pkg-plist b/www/trafficserver/pkg-plist
index 2f43368d0570..755e03599a44 100644
--- a/www/trafficserver/pkg-plist
+++ b/www/trafficserver/pkg-plist
@@ -61,6 +61,7 @@ bin/tsxs
 include/ts/apidefs.h
 include/ts/experimental.h
 include/ts/mgmtapi.h
+include/ts/parentselectdefs.h
 include/ts/remap.h
 include/ts/ts.h
 include/tscpp/api/Async.h
@@ -94,6 +95,7 @@ include/tscpp/util/IntrusiveDList.h
 include/tscpp/util/LocalBuffer.h
 include/tscpp/util/PostScript.h
 include/tscpp/util/TextView.h
+include/tscpp/util/TsSharedMutex.h
 lib/libtscore.so
 lib/libtscore.so.9
 lib/libtscore.so.%%PORTVERSION%%
@@ -141,6 +143,7 @@ libexec/trafficserver/geoip_acl.so
 libexec/trafficserver/header_freq.so
 libexec/trafficserver/header_rewrite.so
 libexec/trafficserver/hook-trace.so
+libexec/trafficserver/http_stats.so
 libexec/trafficserver/icap.so
 libexec/trafficserver/inliner.so
 libexec/trafficserver/ja3_fingerprint.so
@@ -152,6 +155,7 @@ libexec/trafficserver/metalink.so
 libexec/trafficserver/money_trace.so
 libexec/trafficserver/mp4.so
 libexec/trafficserver/multiplexer.so
+libexec/trafficserver/parent_select.so
 libexec/trafficserver/prefetch.so
 libexec/trafficserver/rate_limit.so
 libexec/trafficserver/redo_cache_lookup.so