pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar  4 06:50:49 UTC 2026

Modified Files:
        pkgsrc/lang/py312-html-docs: Makefile distinfo
        pkgsrc/lang/python312: Makefile dist.mk distinfo

Log Message:
python312 py312-html-docs: updated to 3.12.13

Python 3.12.13

Security

gh-144125: BytesGenerator will now refuse to serialize (write) headers that are unsafely folded or delimited; see verify_generated_headers. (Contributed by Bas Bloemsaat and Petr Viktorin in 
gh-121650).
gh-143935: Fixed a bug in the folding of comments when flattening an email message using a modern email policy. Comments consisting of a very long sequence of non-foldable characters could trigger a 
forced line wrap that omitted the required leading space on the continuation line, causing the remainder of the comment to be interpreted as a new header field. This enabled header injection with 
carefully crafted inputs.
gh-143925: Reject control characters in data: URL media types.
gh-143919: Reject control characters in http.cookies.Morsel fields and values.
gh-143916: Reject C0 control characters within wsgiref.headers.Headers fields, values, and parameters.
gh-142145: Remove quadratic behavior in xml.minidom node ID cache clearing. In order to do this without breaking existing users, we also add the ownerDocument attribute to xml.dom.minidom elements 
and attributes created by directly instantiating the Element or Attr class. Note that this way of creating nodes is not supported; creator functions like xml.dom.Document.documentElement() should be 
used instead.
gh-137836: Add support of the “plaintext” element, RAWTEXT elements “xmp”, “iframe”, “noembed” and “noframes”, and optionally RAWTEXT element “noscript” in html.parser.HTMLParser.
gh-136063: email.message: ensure linear complexity for legacy HTTP parameters parsing. Patch by Bénédikt Tran.
gh-136065: Fix quadratic complexity in os.path.expandvars().
gh-119451: Fix a potential memory denial of service in the http.client module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. This could have led 
to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.
gh-119452: Fix a potential memory denial of service in the http.server module. When a malicious user is connected to the CGI server on Windows, it could cause an arbitrary amount of memory to be 
allocated. This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.
gh-119342: Fix a potential memory denial of service in the plistlib module. When reading a Plist file received from untrusted source, it could cause an arbitrary amount of memory to be allocated. 
This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.

Library

gh-144833: Fixed a use-after-free in ssl when SSL_new() returns NULL in newPySSLSocket(). The error was reported via a dangling pointer after the object had already been freed.
gh-144363: Update bundled libexpat to 2.7.4
gh-90949: Add SetAllocTrackerActivationThreshold() and SetAllocTrackerMaximumAmplification() to xmlparser objects to prevent use of disproportional amounts of dynamic memory from within an Expat 
parser. Patch by Bénédikt Tran.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/py312-html-docs/Makefile \
    pkgsrc/lang/py312-html-docs/distinfo
cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/python312/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/python312/dist.mk
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/python312/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py312-html-docs/Makefile
diff -u pkgsrc/lang/py312-html-docs/Makefile:1.13 pkgsrc/lang/py312-html-docs/Makefile:1.14
--- pkgsrc/lang/py312-html-docs/Makefile:1.13   Fri Oct 10 11:53:08 2025
+++ pkgsrc/lang/py312-html-docs/Makefile        Wed Mar  4 06:50:49 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2025/10/10 11:53:08 adam Exp $
+# $NetBSD: Makefile,v 1.14 2026/03/04 06:50:49 adam Exp $
 
-VERS=          3.12.12
+VERS=          3.12.13
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py312-html-docs-${VERS}
 CATEGORIES=    lang python
Index: pkgsrc/lang/py312-html-docs/distinfo
diff -u pkgsrc/lang/py312-html-docs/distinfo:1.13 pkgsrc/lang/py312-html-docs/distinfo:1.14
--- pkgsrc/lang/py312-html-docs/distinfo:1.13   Fri Oct 10 11:53:08 2025
+++ pkgsrc/lang/py312-html-docs/distinfo        Wed Mar  4 06:50:49 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2025/10/10 11:53:08 adam Exp $
+$NetBSD: distinfo,v 1.14 2026/03/04 06:50:49 adam Exp $
 
-BLAKE2s (python-3.12.12-docs-html.tar.bz2) = 8238c8e75cd39b1a37bcfeda6f5ac89b94df2d9a273d856f9e1f0b8fb7633091
-SHA512 (python-3.12.12-docs-html.tar.bz2) = 17ecc35d5f3012d6ad803e439c2e460307db51a36356b92943b91255458b1f45caab703af4ddf0df30cd7c0469deff8eed2f3a25b4912bc126f44f70e6b60eb5
-Size (python-3.12.12-docs-html.tar.bz2) = 8444609 bytes
+BLAKE2s (python-3.12.13-docs-html.tar.bz2) = 28856215c508d2b33b560fd917abd242595e1e562bef3cd8a1becaaf3973ace4
+SHA512 (python-3.12.13-docs-html.tar.bz2) = 16786246a0c3c6e10335881457480ffd92865430d09b0e36b3246117e830376981fd45717113099b4e14c7137366c8a5f2cce6f19142cf827e801b1a66397447
+Size (python-3.12.13-docs-html.tar.bz2) = 8433277 bytes

Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.33 pkgsrc/lang/python312/Makefile:1.34
--- pkgsrc/lang/python312/Makefile:1.33 Wed Jan  7 08:47:41 2026
+++ pkgsrc/lang/python312/Makefile      Wed Mar  4 06:50:49 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.33 2026/01/07 08:47:41 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2026/03/04 06:50:49 adam Exp $
 
-PKGREVISION= 1
 .include "dist.mk"
 
 PKGNAME=       python312-${PY_DISTVERSION}
@@ -33,15 +32,16 @@ PRINT_PLIST_AWK+=   sub(/\.cpython-312/, "
 PRINT_PLIST_AWK+=      /^[^@]/ && /[^\/]+\.opt-1.pyc$$/ {
 PRINT_PLIST_AWK+=      sub(/.opt-[12].pyc$$/, ".pyo")}
 
+USE_CC_FEATURES=       c11
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config
-USE_CC_FEATURES+=      c11
 GNU_CONFIGURE=         yes
 GNU_CONFIGURE_ICONV=   no
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
 CONFIGURE_ARGS+=       --with-system-expat
 CONFIGURE_ARGS+=       --without-ensurepip
+CONFIGURE_ARGS+=       --without-system-expat # requires expat_config.h
 CONFIGURE_ENV+=                OPT=${CFLAGS:M*:Q}
 CONFIGURE_ENV+=                ac_cv_path_mkdir=${TOOLS_PATH.mkdir}
 CONFIGURE_ENV+=                py_cv_module__gdbm="n/a"

Index: pkgsrc/lang/python312/dist.mk
diff -u pkgsrc/lang/python312/dist.mk:1.13 pkgsrc/lang/python312/dist.mk:1.14
--- pkgsrc/lang/python312/dist.mk:1.13  Fri Oct 10 11:53:08 2025
+++ pkgsrc/lang/python312/dist.mk       Wed Mar  4 06:50:49 2026
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.13 2025/10/10 11:53:08 adam Exp $
+# $NetBSD: dist.mk,v 1.14 2026/03/04 06:50:49 adam Exp $
 
-PY_DISTVERSION=        3.12.12
+PY_DISTVERSION=        3.12.13
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python312/distinfo

Index: pkgsrc/lang/python312/distinfo
diff -u pkgsrc/lang/python312/distinfo:1.16 pkgsrc/lang/python312/distinfo:1.17
--- pkgsrc/lang/python312/distinfo:1.16 Fri Oct 10 11:53:08 2025
+++ pkgsrc/lang/python312/distinfo      Wed Mar  4 06:50:49 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2025/10/10 11:53:08 adam Exp $
+$NetBSD: distinfo,v 1.17 2026/03/04 06:50:49 adam Exp $
 
-BLAKE2s (Python-3.12.12.tar.xz) = 880edd3aefbb5df74d07fa839a606b5b8f261833b3e73f2bb59f467d23722dbd
-SHA512 (Python-3.12.12.tar.xz) = 4b99d240dd96a6e154909dcffe87f8bb38193d634cd80a1c3d9e819b7a63af2afa46d5e6423e81f00dd388840dc29a4a71580f6aa1ce9a12e559c1d63f65a205
-Size (Python-3.12.12.tar.xz) = 20798712 bytes
+BLAKE2s (Python-3.12.13.tar.xz) = 74832fc98fa9f02b3d9c242b072bc41987fd73c0f785f97a31ff45d9d6bd5443
+SHA512 (Python-3.12.13.tar.xz) = e1eb66f0b34581f0155e3ce25ba72cf0b4b1107672ed0ad3e86bcfe616945c9204c41ffc492f32b1066b9154913ff88343038967ad8711dd05e6f2332fdb735b
+Size (Python-3.12.13.tar.xz) = 20801708 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
 SHA1 (patch-Lib_sysconfig.py) = bc6d91bf8f7121456b26ea7f080f588c96f2596f



Home | Main Index | Thread Index | Old Index