git: f52105e7061d - main - lang/python310: pull in upstream commit addressing CVE-2025-4516

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Thu, 29 May 2025 16:00:26 UTC
The branch main has been updated by vishwin:

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

commit f52105e7061d6da4a25cc3fb1d07048093bc03ef
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-05-29 15:59:50 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-05-29 15:59:50 +0000

    lang/python310: pull in upstream commit addressing CVE-2025-4516
    
    Reference: https://github.com/python/cpython/pull/134345
    
    PR: 287009
---
 lang/python310/Makefile | 4 ++++
 lang/python310/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/lang/python310/Makefile b/lang/python310/Makefile
index b352e8a2f9d7..154bdad2fedb 100644
--- a/lang/python310/Makefile
+++ b/lang/python310/Makefile
@@ -1,11 +1,15 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
 DISTNAME=	Python-${DISTVERSION}
 DIST_SUBDIR=	python
 
+PATCH_SITES=	https://github.com/python/cpython/commit/
+PATCHFILES=	8b528cacbbde60504f6ac62784d04889d285f18b.patch:-p1
+
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 WWW=		https://www.python.org/
diff --git a/lang/python310/distinfo b/lang/python310/distinfo
index d91dfb65562c..b6e03cc7460f 100644
--- a/lang/python310/distinfo
+++ b/lang/python310/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1744156077
+TIMESTAMP = 1748493215
 SHA256 (python/Python-3.10.17.tar.xz) = 4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0
 SIZE (python/Python-3.10.17.tar.xz) = 19608144
+SHA256 (python/8b528cacbbde60504f6ac62784d04889d285f18b.patch) = 7dba35bcf67923134ee63a46a12ea1ce2a48ec57ca1c520de55f12a1233062fd
+SIZE (python/8b528cacbbde60504f6ac62784d04889d285f18b.patch) = 19992