git: 356e5c53dde5 - main - security/xray-core: Update to 1.8.7

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Wed, 07 Feb 2024 13:23:08 UTC
The branch main has been updated by jbo:

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

commit 356e5c53dde5620e4e361c659d09c15641dbf207
Author:     Kirill Lebedev <kirill@drlebedev.com>
AuthorDate: 2024-01-26 05:43:16 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2024-02-07 13:22:19 +0000

    security/xray-core: Update to 1.8.7
    
    Changelogs:
      1.8.7: https://github.com/XTLS/Xray-core/releases/tag/v1.8.7
      1.8.6: https://github.com/XTLS/Xray-core/releases/tag/v1.8.6
      1.8.5: https://github.com/XTLS/Xray-core/compare/v1.8.4...v1.8.5
    
    PR:                     276027
    Approved by:            zirias (mentor)
    Differential Revision:  https://reviews.freebsd.org/D43740
---
 security/xray-core/Makefile |  9 ++++-----
 security/xray-core/distinfo | 22 +++++++++++-----------
 2 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/security/xray-core/Makefile b/security/xray-core/Makefile
index e5101af8ee00..fc5dcd805117 100644
--- a/security/xray-core/Makefile
+++ b/security/xray-core/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	xray-core
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.4
-PORTREVISION=	1
+DISTVERSION=	1.8.7
 CATEGORIES=	security
-MASTER_SITES=	https://github.com/v2fly/geoip/releases/download/202309080643/:geoip \
-		https://github.com/v2fly/domain-list-community/releases/download/20230911142809/:geosite
+MASTER_SITES=	https://github.com/v2fly/geoip/releases/download/202401250041/:geoip \
+		https://github.com/v2fly/domain-list-community/releases/download/20240123112230/:geosite
 DISTFILES=	geoip.dat:geoip \
 		dlc.dat:geosite
 EXTRACT_ONLY=	v${DISTVERSION}.zip \
@@ -17,7 +16,7 @@ WWW=		https://github.com/XTLS/Xray-core
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
+USES=		go:modules,1.21
 
 USE_RC_SUBR=	xray
 SUB_FILES=	pkg-message
diff --git a/security/xray-core/distinfo b/security/xray-core/distinfo
index 3ea844c208b2..b76c10751e81 100644
--- a/security/xray-core/distinfo
+++ b/security/xray-core/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1694485506
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/geoip.dat) = 8629a9ee8c5bf7b9eb85393841b88050cfbf44d291f1ef8760195173964e8b73
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/geoip.dat) = 10647982
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/dlc.dat) = 611360974651710966f5e4a5755fbe0a2c29fb824c256a8d7254f29ade33ee4f
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/dlc.dat) = 1596950
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/v1.8.4.mod) = 16d746081094c455a61ed29db9ded0b4d83d3c0ddc75a1aa76d1c4a84457c417
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/v1.8.4.mod) = 2391
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/v1.8.4.zip) = 16defb1d9114613e2e2c4f6a7fa36ac08569c84a7782c3fbcf6d4533e7a535d9
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/v1.8.4.zip) = 973031
-SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/xtls-Xray-core-v1.8.4_GH0.tar.gz) = 89f73107abba9bd438111edfe921603ddb3c2b631b2716fbdc6be78552f0d322
-SIZE (go/security_xray-core/xtls-Xray-core-v1.8.4_GH0/xtls-Xray-core-v1.8.4_GH0.tar.gz) = 583305
+TIMESTAMP = 1706247088
+SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/geoip.dat) = cb005854fd16474df068a3a5ce78c845ae6cb53cbce80f6a7ad84b6f52f28a84
+SIZE (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/geoip.dat) = 10721986
+SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/dlc.dat) = 7c2efd90b7e3137e6bc68a78e641b5d9d5790330aa1de129510eeb432f020ec5
+SIZE (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/dlc.dat) = 1670530
+SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/v1.8.7.mod) = 987bd8d2f20bd23f51cae222c70bf5f1a79bffa5956e353ea8b4724edf13b37d
+SIZE (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/v1.8.7.mod) = 2581
+SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/v1.8.7.zip) = 87bf52105b924e156012435d21906388caf1d5a50752f75acc2a7495dc9fca15
+SIZE (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/v1.8.7.zip) = 995773
+SHA256 (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/xtls-Xray-core-v1.8.7_GH0.tar.gz) = e8f46177d792b89700f164ca28fbf1a3c7d95a3ecf98871cb0dd5e474b46a859
+SIZE (go/security_xray-core/xtls-Xray-core-v1.8.7_GH0/xtls-Xray-core-v1.8.7_GH0.tar.gz) = 599617