git: feea6ed68da6 - main - lang/python312: pull in upstream commit addressing CVE-2025-4516

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Tue, 27 May 2025 19:27:56 UTC
The branch main has been updated by vishwin:

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

commit feea6ed68da6b27056b310788684aad7ac36f2c0
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-05-27 19:24:47 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-05-27 19:27:36 +0000

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

diff --git a/lang/python312/Makefile b/lang/python312/Makefile
index c5ddd8cc78af..f5f87217109c 100644
--- a/lang/python312/Makefile
+++ b/lang/python312/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=	4398b788ffc1f954a2c552da285477d42a571292.patch:-p1
+
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 WWW=		https://www.python.org/
diff --git a/lang/python312/distinfo b/lang/python312/distinfo
index 6aeaa380636a..13ee274c387e 100644
--- a/lang/python312/distinfo
+++ b/lang/python312/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1744159546
+TIMESTAMP = 1748373679
 SHA256 (python/Python-3.12.10.tar.xz) = 07ab697474595e06f06647417d3c7fa97ded07afc1a7e4454c5639919b46eaea
 SIZE (python/Python-3.12.10.tar.xz) = 20520960
+SHA256 (python/4398b788ffc1f954a2c552da285477d42a571292.patch) = 16fab1f509849e6e28faf12f78f931a192366b7300d4da00fc8d610c9d322d71
+SIZE (python/4398b788ffc1f954a2c552da285477d42a571292.patch) = 24040