+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python27-2.7.18nb15/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/python27-2.7.18nb15/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for Python-2.7.18.tar.xz => Checksum SHA512 OK for Python-2.7.18.tar.xz ===> Installing dependencies for python27-2.7.18nb15 ========================================================================== The supported build options for python27 are: x11 The currently selected options are: x11 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.python27 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, python27-2.7.18nb15. Their current value is shown below: * BDB185_DEFAULT = db4 * BDB_DEFAULT = db4 * CURSES_DEFAULT = ncursesw * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 * CURSES_TYPE = ncursesw * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency mozilla-rootcerts>=1.0.20150804nb1: found mozilla-rootcerts-1.0.20231115 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4 => Full dependency libffi>=3.4.4: found libffi-3.4.4 => Full dependency readline>=6.0: found readline-8.2nb2 => Full dependency ncursesw>=6.0: found ncursesw-6.4 => Full dependency zlib>=1.2.3: found zlib-1.2.13nb1 => Full dependency openssl>=3: found openssl-3.1.5 => Full dependency expat>=2.0.0nb1: found expat-2.6.0 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 ===> Overriding tools for python27-2.7.18nb15 ===> Extracting for python27-2.7.18nb15 /usr/bin/ln -s /home/pbulk/build/lang/python27/work/Python-2.7.18/Lib/smtpd.py /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/smtpd2.7.py /usr/bin/mv /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/pydoc2.7 /usr/bin/mv /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/2to3 /home/pbulk/build/lang/python27/work/Python-2.7.18/Tools/scripts/2to3-2.7 ===> Patching for python27-2.7.18nb15 => Applying pkgsrc patches for python27-2.7.18nb15 => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_cgi.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_cgi.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_cgi.rst,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Doc/library/cgi.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/cgi.rst -------------------------- Patching file Doc/library/cgi.rst using Plan A... Hunk #1 succeeded at 285. Hunk #2 succeeded at 316. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_mailcap.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_mailcap.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_mailcap.rst,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Doc/library/mailcap.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/mailcap.rst -------------------------- Patching file Doc/library/mailcap.rst using Plan A... Hunk #1 succeeded at 54. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_urlparse.rst => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Doc_library_urlparse.rst Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Doc_library_urlparse.rst,v 1.2 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |--- Doc/library/urlparse.rst.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Doc/library/urlparse.rst -------------------------- Patching file Doc/library/urlparse.rst using Plan A... Hunk #1 succeeded at 125. Hunk #2 succeeded at 139. Hunk #3 succeeded at 160. Hunk #4 succeeded at 198. Hunk #5 succeeded at 210. Hunk #6 succeeded at 324. Hunk #7 succeeded at 352. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Include_pyerrors.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Include_pyerrors.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Include_pyerrors.h,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |* from cygport 2.6.5-export-PySignal_SetWakeupFd.patch | |--- Include/pyerrors.h.orig 2014-12-10 15:59:32.000000000 +0000 |+++ Include/pyerrors.h -------------------------- Patching file Include/pyerrors.h using Plan A... Hunk #1 succeeded at 232 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Include_pyport.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Include_pyport.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Include_pyport.h,v 1.3 2015/04/24 03:01:36 rodent Exp $ | |SunOS defines gethostname in |http://bugs.python.org/issue19561 | |--- Include/pyport.h.orig 2014-12-10 15:59:32.000000000 +0000 |+++ Include/pyport.h -------------------------- Patching file Include/pyport.h using Plan A... Hunk #1 succeeded at 640. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib___osx__support.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib___osx__support.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib___osx__support.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Lib/_osx_support.py.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Lib/_osx_support.py -------------------------- Patching file Lib/_osx_support.py using Plan A... Hunk #1 succeeded at 470. Hunk #2 succeeded at 486. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_cgi.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_cgi.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_cgi.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Lib/cgi.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/cgi.py -------------------------- Patching file Lib/cgi.py using Plan A... Hunk #1 succeeded at 121. Hunk #2 succeeded at 141. Hunk #3 succeeded at 174. Hunk #4 succeeded at 292. Hunk #5 succeeded at 398. Hunk #6 succeeded at 433. Hunk #7 succeeded at 617. Hunk #8 succeeded at 634. Hunk #9 succeeded at 655. Hunk #10 succeeded at 824. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_____init____.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_____init____.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_____init____.py,v 1.1 2020/09/01 09:26:54 schmonz Exp $ | |Avoid MemoryError from "import ctypes" on OpenBSD. | |--- Lib/ctypes/__init__.py.orig Sun Apr 19 21:13:39 2020 |+++ Lib/ctypes/__init__.py -------------------------- Patching file Lib/ctypes/__init__.py using Plan A... Hunk #1 succeeded at 273. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_macholib_dyld.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_macholib_dyld.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_macholib_dyld.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/ctypes/macholib/dyld.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/ctypes/macholib/dyld.py -------------------------- Patching file Lib/ctypes/macholib/dyld.py using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 138. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__macholib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__macholib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_test_test__macholib.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/ctypes/test/test_macholib.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/ctypes/test/test_macholib.py -------------------------- Patching file Lib/ctypes/test/test_macholib.py using Plan A... Hunk #1 succeeded at 48. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__parameters.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_test_test__parameters.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_test_test__parameters.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-3177: Replace snprintf with Python unicode formatting in ctypes param reprs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00357-CVE-2021-3177.patch | |--- Lib/ctypes/test/test_parameters.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/ctypes/test/test_parameters.py -------------------------- Patching file Lib/ctypes/test/test_parameters.py using Plan A... Hunk #1 succeeded at 206. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ctypes_util.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ctypes_util.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Find libraries using 'ld' (taken from Python 3.7). |Note: /usr/local will get replaced by SUBST. | |--- Lib/ctypes/util.py.orig 2018-05-22 08:00:59.000000000 +0000 |+++ Lib/ctypes/util.py -------------------------- Patching file Lib/ctypes/util.py using Plan A... Hunk #1 succeeded at 270. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_build__ext.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_build__ext.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_command_build__ext.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Lib/distutils/command/build_ext.py.orig 2014-12-10 15:59:34.000000000 +0000 |+++ Lib/distutils/command/build_ext.py -------------------------- Patching file Lib/distutils/command/build_ext.py using Plan A... Hunk #1 succeeded at 514 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install__egg__info.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_command_install__egg__info.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_command_install__egg__info.py,v 1.2 2020/08/22 13:01:42 schmonz Exp $ | |On systems where both of the conditions | |1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH | (e.g. Linux) |2. A previous libpython with the same major.minor is already installed | (e.g. a previous version of this package) | |hold, the built python will be linked with the installed libpython, |causing it to report an old teeny version in |self.distribution.get_version() while staging the install. Then "make |package" fails with PLIST mismatches for Python-2.7.XX-py2.7.egg-info. | |pkgsrc knows which version we're building. Pass that down instead. | |In patch-Lib_distutils_unixccompiler.py, we override Python maintainers' |expectations for Linux builds in favor of pkgsrc's expectations for |builds on all platforms. This patch is needed because of that patch. | |--- Lib/distutils/command/install_egg_info.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/distutils/command/install_egg_info.py -------------------------- Patching file Lib/distutils/command/install_egg_info.py using Plan A... Hunk #1 succeeded at 21. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_tests_test__build__ext.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_tests_test__build__ext.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_tests_test__build__ext.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/distutils/tests/test_build_ext.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/distutils/tests/test_build_ext.py -------------------------- Patching file Lib/distutils/tests/test_build_ext.py using Plan A... Hunk #1 succeeded at 491. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_unixccompiler.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_unixccompiler.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.5 2022/05/13 18:42:05 tnn Exp $ | |* from cygport 2.7.3-dylib.patch | |--- Lib/distutils/unixccompiler.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/distutils/unixccompiler.py -------------------------- Patching file Lib/distutils/unixccompiler.py using Plan A... Hunk #1 succeeded at 84. Hunk #2 succeeded at 239. Hunk #3 succeeded at 270. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_util.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_distutils_util.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_distutils_util.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Lib/distutils/util.py.orig 2014-12-10 15:59:35.000000000 +0000 |+++ Lib/distutils/util.py -------------------------- Patching file Lib/distutils/util.py using Plan A... Hunk #1 succeeded at 101. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_encodings_idna.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_encodings_idna.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_encodings_idna.py,v 1.1 2023/01/08 00:54:29 gutteridge Exp $ | |Security fix for CVE-2022-45061: CPU denial of service via inefficient IDNA decoder |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/64f3700b7679f9f8a385d99e3862a758b14e1d28/f/00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch | |--- Lib/encodings/idna.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/encodings/idna.py -------------------------- Patching file Lib/encodings/idna.py using Plan A... Hunk #1 succeeded at 39. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ftplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_ftplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_ftplib.py,v 1.1 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-4189: ftplib should not use the host from the PASV response |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00372-CVE-2021-4189.patch | |--- Lib/ftplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/ftplib.py -------------------------- Patching file Lib/ftplib.py using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 312. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_httplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_httplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_httplib.py,v 1.4 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39603 (CVE-2020-26116): header injection via HTTP method | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=138e2caeb4827ccfd1eaff2cf63afb79dfeeb3c4 | |Fix CVE-2021-3737: http client infinite line reading (DoS) after a HTTP 100 Continue |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00368-CVE-2021-3737.patch | |--- Lib/httplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/httplib.py -------------------------- Patching file Lib/httplib.py using Plan A... Hunk #1 succeeded at 257. Hunk #2 succeeded at 365. Hunk #3 succeeded at 472. Hunk #4 succeeded at 953. Hunk #5 succeeded at 1040. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_lib2to3_pgen2_driver.py,v 1.2 2020/08/15 12:35:57 schmonz Exp $ | |On systems where both of the conditions | |1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH | (e.g. Linux) |2. A previous libpython with the same major.minor is already installed | (e.g. a previous version of this package) | |hold, the built python will be linked with the installed libpython, |causing it to report an old teeny version in sys.version_info while |staging the install. Then "make package" fails with PLIST mismatches for |{,Pattern}Grammar.*.pickle. | |pkgsrc knows which version we're building. Pass that down instead. | |In patch-Lib_distutils_unixccompiler.py, we override Python maintainers' |expectations for Linux builds in favor of pkgsrc's expectations for |builds on all platforms. This patch is needed because of that patch. | |--- Lib/lib2to3/pgen2/driver.py.orig 2020-06-27 08:35:53.000000000 +0000 |+++ Lib/lib2to3/pgen2/driver.py -------------------------- Patching file Lib/lib2to3/pgen2/driver.py using Plan A... Hunk #1 succeeded at 111 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_mailcap.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_mailcap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_mailcap.py,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/mailcap.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/mailcap.py -------------------------- Patching file Lib/mailcap.py using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 153. Hunk #3 succeeded at 200. Hunk #4 succeeded at 211. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_multiprocessing_process.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_multiprocessing_process.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_multiprocessing_process.py,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Lib/multiprocessing/process.py.orig 2014-12-10 15:59:39.000000000 +0000 |+++ Lib/multiprocessing/process.py -------------------------- Patching file Lib/multiprocessing/process.py using Plan A... Hunk #1 succeeded at 315 (offset 9 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_plistlib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_plistlib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_plistlib.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Add ability to parse unsigned integers as externalized by NetBSD proplib(3). | |--- Lib/plistlib.py.orig 2014-12-10 15:59:39.000000000 +0000 |+++ Lib/plistlib.py -------------------------- Patching file Lib/plistlib.py using Plan A... Hunk #1 succeeded at 463. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_sysconfig.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_sysconfig.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_sysconfig.py,v 1.1 2018/06/17 19:21:21 adam Exp $ | |chop "-RELEASE" or "-DEVELOPMENT" from release for DragonFly. | |--- Lib/sysconfig.py.orig 2014-12-10 15:59:40.000000000 +0000 |+++ Lib/sysconfig.py -------------------------- Patching file Lib/sysconfig.py using Plan A... Hunk #1 succeeded at 612 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_tarfile.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_tarfile.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_tarfile.py,v 1.2 2020/09/20 12:10:27 mgorny Exp $ | |bpo-39017 (CVE-2019-20907): infinite loop in tarfile.py | |taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=893e6e3aee483d262df70656a68f63f601720fcd | |--- Lib/tarfile.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/tarfile.py -------------------------- Patching file Lib/tarfile.py using Plan A... Hunk #1 succeeded at 1400. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_mailcap.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_mailcap.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_mailcap.txt,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/test/mailcap.txt.orig 2022-06-21 00:11:14.548632668 +0000 |+++ Lib/test/mailcap.txt -------------------------- (Creating file Lib/test/mailcap.txt...) Patching file Lib/test/mailcap.txt using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_multibytecodec__support.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_multibytecodec__support.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_multibytecodec__support.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2020-27619: No longer call eval() on content received via HTTP in the CJK codec tests |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00355-CVE-2020-27619.patch | |--- Lib/test/multibytecodec_support.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/multibytecodec_support.py -------------------------- Patching file Lib/test/multibytecodec_support.py using Plan A... Hunk #1 succeeded at 279. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__cgi.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__cgi.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__cgi.py,v 1.1 2021/10/10 03:00:59 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |--- Lib/test/test_cgi.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_cgi.py -------------------------- Patching file Lib/test/test_cgi.py using Plan A... Hunk #1 succeeded at 61. Hunk #2 succeeded at 78. Hunk #3 succeeded at 138. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__codecs.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__codecs.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__codecs.py,v 1.1 2023/01/08 00:54:29 gutteridge Exp $ | |Security fix for CVE-2022-45061: CPU denial of service via inefficient IDNA decoder |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/64f3700b7679f9f8a385d99e3862a758b14e1d28/f/00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch | |--- Lib/test/test_codecs.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_codecs.py -------------------------- Patching file Lib/test/test_codecs.py using Plan A... Hunk #1 succeeded at 1318. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__ftplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__ftplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__ftplib.py,v 1.1 2022/02/25 22:41:32 gutteridge Exp $ | |Fix CVE-2021-4189: ftplib should not use the host from the PASV response |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00372-CVE-2021-4189.patch | |--- Lib/test/test_ftplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_ftplib.py -------------------------- Patching file Lib/test/test_ftplib.py using Plan A... Hunk #1 succeeded at 67. Hunk #2 succeeded at 113. Hunk #3 succeeded at 582. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__httplib.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__httplib.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__httplib.py,v 1.4 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39603 (CVE-2020-26116): header injection via HTTP method | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=138e2caeb4827ccfd1eaff2cf63afb79dfeeb3c4 | |Fix CVE-2021-3737: http client infinite line reading (DoS) after a HTTP 100 Continue |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00368-CVE-2021-3737.patch | |--- Lib/test/test_httplib.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_httplib.py -------------------------- Patching file Lib/test/test_httplib.py using Plan A... Hunk #1 succeeded at 384. Hunk #2 succeeded at 675. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__mailcap.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__mailcap.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__mailcap.py,v 1.1 2022/08/11 01:32:50 gutteridge Exp $ | |Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params | |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch | |--- Lib/test/test_mailcap.py.orig 2022-06-21 00:11:25.039641610 +0000 |+++ Lib/test/test_mailcap.py -------------------------- (Creating file Lib/test/test_mailcap.py...) Patching file Lib/test/test_mailcap.py using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__platform.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__platform.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__platform.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |darwin20 support, via MacPorts. | |--- Lib/test/test_platform.py.orig 2021-06-22 19:20:28.000000000 +0000 |+++ Lib/test/test_platform.py -------------------------- Patching file Lib/test/test_platform.py using Plan A... Hunk #1 succeeded at 207. Hunk #2 succeeded at 225. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__unicode.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__unicode.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__unicode.py,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Lib/test/test_unicode.py.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Lib/test/test_unicode.py -------------------------- Patching file Lib/test/test_unicode.py using Plan A... Hunk #1 succeeded at 1676. Hunk #2 succeeded at 1685. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urllib2.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urllib2.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__urllib2.py,v 1.3 2021/06/23 18:30:24 schmonz Exp $ | |bpo-39503 (CVE-2020-8492): ReDoS on AbstractBasicAuthHandler | |taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=2273e65e11dd0234f2f51ebaef61fc6e848d4059 | |--- Lib/test/test_urllib2.py.orig 2021-06-22 19:20:43.000000000 +0000 |+++ Lib/test/test_urllib2.py -------------------------- Patching file Lib/test/test_urllib2.py using Plan A... Hunk #1 succeeded at 1128. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urlparse.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_test_test__urlparse.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_test_test__urlparse.py,v 1.3 2023/05/29 23:33:48 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |Fix CVE-2023-24329: Add more sanitizing to respect the "Remove any leading C0 control or space from input" rule |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/c/3f00cdccd59ef2955a7f4b4c42bb59c631cce4c1.patch | |--- Lib/test/test_urlparse.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/test/test_urlparse.py -------------------------- Patching file Lib/test/test_urlparse.py using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 30. Hunk #3 succeeded at 76. Hunk #4 succeeded at 91. Hunk #5 succeeded at 181. Hunk #6 succeeded at 618. Hunk #7 succeeded at 806. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_urllib2.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_urllib2.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_urllib2.py,v 1.3 2021/10/10 03:00:59 gutteridge Exp $ | |bpo-39503 (CVE-2020-8492): ReDoS on AbstractBasicAuthHandler | |Taken from: |https://gitweb.gentoo.org/fork/cpython.git/commit/?h=gentoo-2.7-vanilla&id=2273e65e11dd0234f2f51ebaef61fc6e848d4059 | |bpo-43075 (CVE-2021-3733): Fix ReDoS in request | |Taken from: |https://github.com/python/cpython/pull/24391/ | |--- Lib/urllib2.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/urllib2.py -------------------------- Patching file Lib/urllib2.py using Plan A... Hunk #1 succeeded at 856. Hunk #2 succeeded at 876. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_urlparse.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Lib_urlparse.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Lib_urlparse.py,v 1.4 2023/05/29 23:33:48 gutteridge Exp $ | |Fix CVE-2021-23336: Add `separator` argument to parse_qs; warn with default |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00359-CVE-2021-23336.patch | |Fix CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/raw/40dd05e5d77dbfa81777c9f84b704bc2239bf710/f/00377-CVE-2022-0391.patch | |Fix CVE-2023-24329: Add more sanitizing to respect the "Remove any leading C0 control or space from input" rule |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/c/3f00cdccd59ef2955a7f4b4c42bb59c631cce4c1.patch | |--- Lib/urlparse.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Lib/urlparse.py -------------------------- Patching file Lib/urlparse.py using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 67. Hunk #3 succeeded at 196. Hunk #4 succeeded at 403. Hunk #5 succeeded at 427. Hunk #6 succeeded at 465. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Mac_Tools_pythonw.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Mac_Tools_pythonw.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Mac_Tools_pythonw.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Mac/Tools/pythonw.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Mac/Tools/pythonw.c -------------------------- Patching file Mac/Tools/pythonw.c using Plan A... Hunk #1 succeeded at 114. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Makefile.pre.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Makefile.pre.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.pre.in,v 1.1 2017/09/17 09:54:53 adam Exp $ | |Fix for unpriviliged build. | |--- Makefile.pre.in.orig 2017-09-16 17:38:35.000000000 +0000 |+++ Makefile.pre.in -------------------------- Patching file Makefile.pre.in using Plan A... Hunk #1 succeeded at 563 (offset 9 lines). Hunk #2 succeeded at 1007 (offset 14 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callbacks.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callbacks.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_callbacks.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/callbacks.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/callbacks.c -------------------------- Patching file Modules/_ctypes/callbacks.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 426. Hunk #3 succeeded at 473. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callproc.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_callproc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_callproc.c,v 1.2 2021/10/10 03:00:59 gutteridge Exp $ | |macOS arm64 support, via MacPorts. | |Fix CVE-2021-3177: Replace snprintf with Python unicode formatting in ctypes param reprs |Via Fedora: |https://src.fedoraproject.org/rpms/python2.7/blob/rawhide/f/00357-CVE-2021-3177.patch | |--- Modules/_ctypes/callproc.c.orig 2020-04-19 21:13:39.000000000 +0000 |+++ Modules/_ctypes/callproc.c -------------------------- Patching file Modules/_ctypes/callproc.c using Plan A... Hunk #1 succeeded at 74. Hunk #2 succeeded at 464. Hunk #3 succeeded at 528. Hunk #4 succeeded at 786. Hunk #5 succeeded at 815. Hunk #6 succeeded at 855. Hunk #7 succeeded at 1229. Hunk #8 succeeded at 1465. Hunk #9 succeeded at 2008. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_ctypes.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_ctypes.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_ctypes.h,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/ctypes.h.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/ctypes.h -------------------------- Patching file Modules/_ctypes/ctypes.h using Plan A... Hunk #1 succeeded at 481. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_malloc__closure.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___ctypes_malloc__closure.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___ctypes_malloc__closure.c,v 1.1 2021/06/23 18:30:24 schmonz Exp $ | |macOS arm64 support, via MacPorts. | |--- Modules/_ctypes/malloc_closure.c.orig 2021-06-22 19:20:03.000000000 +0000 |+++ Modules/_ctypes/malloc_closure.c -------------------------- Patching file Modules/_ctypes/malloc_closure.c using Plan A... Hunk #1 succeeded at 89. Hunk #2 succeeded at 116. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_multiprocessing.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___multiprocessing_multiprocessing.h,v 1.1 2017/05/22 16:45:19 jperkin Exp $ | |Only define _XOPEN_SOURCE if we aren't already using newer. | |--- Modules/_multiprocessing/multiprocessing.h.orig 2016-12-17 20:05:07.000000000 +0000 |+++ Modules/_multiprocessing/multiprocessing.h -------------------------- Patching file Modules/_multiprocessing/multiprocessing.h using Plan A... Hunk #1 succeeded at 3. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_semaphore.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules___multiprocessing_semaphore.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules___multiprocessing_semaphore.c,v 1.1 2016/07/11 12:17:13 ryoon Exp $ | |--- Modules/_multiprocessing/semaphore.c.orig 2016-06-25 21:49:31.000000000 +0000 |+++ Modules/_multiprocessing/semaphore.c -------------------------- Patching file Modules/_multiprocessing/semaphore.c using Plan A... Hunk #1 succeeded at 424. Hunk #2 succeeded at 448. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules__ssl.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules__ssl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules__ssl.c,v 1.1 2016/02/06 11:25:09 tron Exp $ | |Use CA certificate file provided by "mozilla-rootcerts" package by default | |--- Modules/_ssl.c.orig 2015-12-05 19:47:13.000000000 +0000 |+++ Modules/_ssl.c 2016-02-06 11:12:59.865409460 +0000 -------------------------- Patching file Modules/_ssl.c using Plan A... Hunk #1 succeeded at 3202 (offset 250 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_getaddrinfo.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_getaddrinfo.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_getaddrinfo.c,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/getaddrinfo.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/getaddrinfo.c -------------------------- Patching file Modules/getaddrinfo.c using Plan A... Hunk #1 succeeded at 66. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_getpath.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_getpath.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_getpath.c,v 1.4 2021/06/23 18:30:24 schmonz Exp $ | |* from cygport 2.7.3-getpath-exe-extension.patch | |--- Modules/getpath.c.orig 2021-06-22 19:20:43.000000000 +0000 |+++ Modules/getpath.c -------------------------- Patching file Modules/getpath.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 429. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_makesetup => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_makesetup Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_makesetup,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Modules/makesetup.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/makesetup -------------------------- Patching file Modules/makesetup using Plan A... Hunk #1 succeeded at 164. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_nismodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_nismodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_nismodule.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |Add DragonFly support. | |--- Modules/nismodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/nismodule.c -------------------------- Patching file Modules/nismodule.c using Plan A... Hunk #1 succeeded at 89. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_posixmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_posixmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_posixmodule.c,v 1.2 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/posixmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/posixmodule.c -------------------------- Patching file Modules/posixmodule.c using Plan A... Hunk #1 succeeded at 322 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_selectmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_selectmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_selectmodule.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Modules/selectmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/selectmodule.c -------------------------- Patching file Modules/selectmodule.c using Plan A... Hunk #1 succeeded at 1960 (offset 54 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_socketmodule.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_socketmodule.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_socketmodule.c,v 1.5 2015/04/24 03:01:36 rodent Exp $ | |--- Modules/socketmodule.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/socketmodule.c -------------------------- Patching file Modules/socketmodule.c using Plan A... Hunk #1 succeeded at 272 (offset 24 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_sunaudiodev.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Modules_sunaudiodev.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Modules_sunaudiodev.c,v 1.1 2018/06/17 19:21:21 adam Exp $ | |XXXbjs: I use amd64, and audioop is broken on 64-bit platforms. |Thus, this needs to be tested. | |--- Modules/sunaudiodev.c.orig 2014-12-10 15:59:55.000000000 +0000 |+++ Modules/sunaudiodev.c -------------------------- Patching file Modules/sunaudiodev.c using Plan A... Hunk #1 succeeded at 224. Hunk #2 succeeded at 240. Hunk #3 succeeded at 283. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Python_thread__pthread.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-Python_thread__pthread.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Python_thread__pthread.h,v 1.1 2018/06/17 19:21:21 adam Exp $ | |--- Python/thread_pthread.h.orig 2014-12-10 15:59:59.000000000 +0000 |+++ Python/thread_pthread.h -------------------------- Patching file Python/thread_pthread.h using Plan A... Hunk #1 succeeded at 46. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-configure => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2021/06/23 18:30:24 schmonz Exp $ | |- recognize MirBSD, Interix |- remove special-case library version hack for FreeBSD |- don't set Mac OS X target version: stick to the current one |- honor pkgsrc LDFLAGS |- macOS arm64 and darwin20 support, via MacPorts |- other stuff not previously commented (XXX) | |--- configure.orig 2021-06-22 19:20:43.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3356. Hunk #2 succeeded at 3407. Hunk #3 succeeded at 5481. Hunk #4 succeeded at 5518. Hunk #5 succeeded at 6193. Hunk #6 succeeded at 8472. Hunk #7 succeeded at 8625. Hunk #8 succeeded at 8650. Hunk #9 succeeded at 8663. Hunk #10 succeeded at 8691. Hunk #11 succeeded at 8740. Hunk #12 succeeded at 8793. Hunk #13 succeeded at 10602. Hunk #14 succeeded at 10898. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-pyconfig.h.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-pyconfig.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pyconfig.h.in,v 1.6 2021/06/23 18:30:24 schmonz Exp $ | |Fix build with LibreSSL. |darwin20 support, via MacPorts. | |--- pyconfig.h.in.orig 2021-06-22 19:20:43.000000000 +0000 |+++ pyconfig.h.in -------------------------- Patching file pyconfig.h.in using Plan A... Hunk #1 succeeded at 216. Hunk #2 succeeded at 1244. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-setup.py => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27/../../lang/python27/patches/patch-setup.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-setup.py,v 1.4 2023/10/23 06:36:00 wiz Exp $ | |Disable certain modules, so they can be built as separate packages. |Only check the BUILDLINK_DIR for libraries etc, do not pick up random |headers and libraries from the system. | |Do not look for ncursesw. |Assume panel_library is correct; this is a fix for ncurses' gnupanel | which will get transformed to panel in buildlink. | |Build the _ssl module with pkgsrc choiced OpenSSL. Support OpenSSL 3.x | |macOS arm64 support, via MacPorts. | |cygwin 2.7.3-no-libm.patch | |--- setup.py.orig 2020-04-19 21:13:39.000000000 +0000 |+++ setup.py -------------------------- Patching file setup.py using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 34. Hunk #3 succeeded at 501. Hunk #4 succeeded at 621. Hunk #5 succeeded at 797. Hunk #6 succeeded at 859. Hunk #7 succeeded at 870. Hunk #8 succeeded at 886. Hunk #9 succeeded at 902. Hunk #10 succeeded at 995. Hunk #11 succeeded at 1100. Hunk #12 succeeded at 1137. Hunk #13 succeeded at 1181. Hunk #14 succeeded at 1249. Hunk #15 succeeded at 1948. Hunk #16 succeeded at 2011. Hunk #17 succeeded at 2172. done ===> Creating toolchain wrappers for python27-2.7.18nb15 ===> Configuring for python27-2.7.18nb15 => Configuring location of default CA certificate file. => Handle X11BASE paths in dlopen(3) calls of _ctypes.so => Fixing find_library(). => Fixing libffi include path on Darwin. => Substituting "pkgversion" in Lib/lib2to3/pgen2/driver.py Lib/distutils/command/install_egg_info.py => Fixing find-file for openssl with SSLBASE. => Fixing path to urllib.cfg. => Fixing find_library() for native X11. => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing py27 interpreter in Lib/UserString.py Lib/base64.py Lib/cProfile.py Lib/cgi.py Lib/encodings/rot_13.py Lib/idlelib/PyShell.py Lib/keyword.py Lib/lib2to3/pgen2/token.py Lib/lib2to3/tests/data/different_encoding.py Lib/lib2to3/tests/data/false_encoding.py Lib/lib2to3/tests/pytree_idempotency.py Lib/mimify.py Lib/pdb.py Lib/plat-mac/appletrunner.py Lib/plat-mac/bundlebuilder.py Lib/platform.py Lib/profile.py Lib/pydoc.py Lib/quopri.py Lib/smtpd.py Lib/smtplib.py Lib/symbol.py Lib/tabnanny.py Lib/test/bisect_cmd.py Lib/test/curses_tests.py Lib/test/re_tests.py Lib/test/pystone.py Lib/test/regrtest.py Lib/timeit.py Lib/trace.py Lib/uu.py Lib/webbrowser.py. => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files ERROR: [gnu-configure.mk] option --with-libiconv-prefix=/opt/pkg not found in ./Modules/_ctypes/libffi/configure ./Modules/zlib/configure ./configure *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/lang/python27