git: c9ca6e615dfe - main - lang/python39: pull in upstream commit addressing CVE-2025-4516

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

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

commit c9ca6e615dfedfe9b2a4d3a3f1f6e7c39a84747c
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-05-29 20:21:11 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-05-29 20:21:11 +0000

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

diff --git a/lang/python39/Makefile b/lang/python39/Makefile
index 320a2b45be66..d340bd558a0c 100644
--- a/lang/python39/Makefile
+++ b/lang/python39/Makefile
@@ -1,11 +1,15 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
 DISTNAME=	Python-${DISTVERSION}
 DIST_SUBDIR=	python
 
+PATCH_SITES=	https://github.com/python/cpython/commit/
+PATCHFILES=	0d5d68f7075788b6912f8632dc841dca97ece409.patch:-p1
+
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
 WWW=		https://www.python.org/
diff --git a/lang/python39/distinfo b/lang/python39/distinfo
index 26ac75d095eb..6b2f0fce1292 100644
--- a/lang/python39/distinfo
+++ b/lang/python39/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1744164636
+TIMESTAMP = 1748549363
 SHA256 (python/Python-3.9.22.tar.xz) = 8c136d199d3637a1fce98a16adc809c1d83c922d02d41f3614b34f8b6e7d38ec
 SIZE (python/Python-3.9.22.tar.xz) = 19652572
+SHA256 (python/0d5d68f7075788b6912f8632dc841dca97ece409.patch) = 16500e6428f28a3e05d96bf4c811ac3e8c318de5424bb59635809f5277106051
+SIZE (python/0d5d68f7075788b6912f8632dc841dca97ece409.patch) = 20082