git: c014a235ce67 - main - security/xray-core: update to v24.11.21. Geo and site databases updated to latests.

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 02 Dec 2024 14:28:27 UTC
The branch main has been updated by fuz:

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

commit c014a235ce6749e0df560c6d9d4b06635c5310c5
Author:     Kirill Lebedev <kirill@drlebedev.com>
AuthorDate: 2024-11-24 19:30:34 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-02 14:27:36 +0000

    security/xray-core: update to v24.11.21. Geo and site databases updated to latests.
    
    Changelog: https://github.com/XTLS/Xray-core/releases/tag/v24.11.21
    
    PR:             282951
---
 security/xray-core/Makefile | 15 +++++++--------
 security/xray-core/distinfo | 20 +++++++++-----------
 2 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/security/xray-core/Makefile b/security/xray-core/Makefile
index eee1d8921d1b..7022a519b10b 100644
--- a/security/xray-core/Makefile
+++ b/security/xray-core/Makefile
@@ -1,14 +1,12 @@
 PORTNAME=	xray-core
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.17
-PORTREVISION=	2
+DISTVERSION=	24.11.21
 CATEGORIES=	security
-MASTER_SITES=	https://github.com/v2fly/geoip/releases/download/202407110044/:geoip \
-		https://github.com/v2fly/domain-list-community/releases/download/20240713050854/:geosite
+MASTER_SITES=	https://github.com/v2fly/geoip/releases/download/202411210054/:geoip \
+		https://github.com/v2fly/domain-list-community/releases/download/20241112092643/:geosite
 DISTFILES=	geoip.dat:geoip \
 		dlc.dat:geosite
-EXTRACT_ONLY=	v${DISTVERSION}.zip \
-		xtls-Xray-core-v${DISTVERSION}_GH0.tar.gz
+EXTRACT_ONLY=	XTLS-Xray-core-v${DISTVERSION}_GH0.tar.gz
 
 MAINTAINER=	kirill@drlebedev.com
 COMMENT=	Set of network penetration tools
@@ -17,15 +15,16 @@ WWW=		https://github.com/XTLS/Xray-core
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules,1.22
+USES=		go:1.23,modules
 USE_GITHUB=	yes
-GH_ACCOUNT=	xtls
+GH_ACCOUNT=	XTLS
 GH_PROJECT=	Xray-core
 USE_RC_SUBR=	xray
 
 GO_MODULE=	github.com/${GH_ACCOUNT}/${PORTNAME}
 GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
 GO_TARGET=	./main:xray
+GO_MOD_DIST=    github
 
 SUB_FILES=	pkg-message
 SUB_LIST=	GROUP="${GROUPS}" \
diff --git a/security/xray-core/distinfo b/security/xray-core/distinfo
index f675a410d087..06942fc32cc0 100644
--- a/security/xray-core/distinfo
+++ b/security/xray-core/distinfo
@@ -1,11 +1,9 @@
-TIMESTAMP = 1720890237
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/geoip.dat) = 83c8d38a4fff932fcbfe726c1f85c0debb1bf169afcfa18566c731a2f2c1f7b6
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/geoip.dat) = 11079401
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/dlc.dat) = dbaba085b1de1b8b875f3db78fb367aef080f24993af01abe21f4d4ba99048be
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/dlc.dat) = 1752639
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/v1.8.17.mod) = 3dfe4522f56feef03f8bbec0f5e5a993c0229d9f492cf7b43be00708781e7e9b
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/v1.8.17.mod) = 2515
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/v1.8.17.zip) = 95051f1889c17ef2d02bdeb5e819cc913f79f626d656c787730ce26149f7b968
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/v1.8.17.zip) = 1039224
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/xtls-Xray-core-v1.8.17_GH0.tar.gz) = 390745e9f8afbd1cd584344a34709f13b9465bb887c7a4f993696ee8cf706b83
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.17_GH0/xtls-Xray-core-v1.8.17_GH0.tar.gz) = 639017
+TIMESTAMP = 1732474105
+SHA256 (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/geoip.dat) = eceaca175af7d0d368d42a23b7a2c7d73b98f033245dd0c42a72c2e622af4a11
+SIZE (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/geoip.dat) = 15474969
+SHA256 (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/dlc.dat) = f04433837b88a3f49d7cd6517c91e8f5de4e4496f3d88ef3b7c6be5bb63f4c6f
+SIZE (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/dlc.dat) = 2159157
+SHA256 (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/go.mod) = af83558a9f568235e016d726b57adb49ca2c451000e05d74d3e5ae111b682604
+SIZE (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/go.mod) = 2475
+SHA256 (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/XTLS-Xray-core-v24.11.21_GH0.tar.gz) = e45ad1fa11457101776d2c0d7ed8ed7c669b714e7687a85830e44a6e4a52fe05
+SIZE (go/security_xray-core/XTLS-Xray-core-v24.11.21_GH0/XTLS-Xray-core-v24.11.21_GH0.tar.gz) = 631081