python3: Update to 3.9.11, refresh patches
Includes fixes for: * Windows builds updated to bzip2 1.0.8 to mitigate CVE-2016-3189 and CVE-2019-12900 * CVE-2022-26488: Escalation of privilege via Windows Installer Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
762794d143
commit
a7a93cfcc8
6 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
||||||
# Note: keep in sync with setuptools & pip
|
# Note: keep in sync with setuptools & pip
|
||||||
PYTHON3_VERSION_MAJOR:=3
|
PYTHON3_VERSION_MAJOR:=3
|
||||||
PYTHON3_VERSION_MINOR:=9
|
PYTHON3_VERSION_MINOR:=9
|
||||||
PYTHON3_VERSION_MICRO:=10
|
PYTHON3_VERSION_MICRO:=11
|
||||||
|
|
||||||
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@ PYTHON3_SETUPTOOLS_PKG_RELEASE:=1
|
||||||
PYTHON3_PIP_PKG_RELEASE:=1
|
PYTHON3_PIP_PKG_RELEASE:=1
|
||||||
|
|
||||||
PYTHON3_SETUPTOOLS_VERSION:=58.1.0
|
PYTHON3_SETUPTOOLS_VERSION:=58.1.0
|
||||||
PYTHON3_PIP_VERSION:=21.2.4
|
PYTHON3_PIP_VERSION:=22.0.4
|
||||||
|
|
|
@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
|
||||||
|
|
||||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
||||||
PKG_HASH:=0a8fbfb5287ebc3a13e9baf3d54e08fa06778ffeccf6311aef821bb3a6586cc8
|
PKG_HASH:=66767a35309d724f370df9e503c172b4ee444f49d62b98bc4eca725123e26c49
|
||||||
|
|
||||||
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
||||||
PKG_LICENSE:=Python/2.0
|
PKG_LICENSE:=Python/2.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -740,7 +740,8 @@ class PyBuildExt(build_ext):
|
@@ -742,7 +742,8 @@ class PyBuildExt(build_ext):
|
||||||
# only change this for cross builds for 3.3, issues on Mageia
|
# only change this for cross builds for 3.3, issues on Mageia
|
||||||
if CROSS_COMPILING:
|
if CROSS_COMPILING:
|
||||||
self.add_cross_compiling_paths()
|
self.add_cross_compiling_paths()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -717,8 +717,9 @@ class PyBuildExt(build_ext):
|
@@ -719,8 +719,9 @@ class PyBuildExt(build_ext):
|
||||||
# directly since an inconsistently reproducible issue comes up where
|
# directly since an inconsistently reproducible issue comes up where
|
||||||
# the environment variable is not set even though the value were passed
|
# the environment variable is not set even though the value were passed
|
||||||
# into configure and stored in the Makefile (issue found on OS X 10.3).
|
# into configure and stored in the Makefile (issue found on OS X 10.3).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/configure
|
--- a/configure
|
||||||
+++ b/configure
|
+++ b/configure
|
||||||
@@ -15464,7 +15464,7 @@ $as_echo_n "checking ABIFLAGS... " >&6;
|
@@ -15431,7 +15431,7 @@ $as_echo_n "checking ABIFLAGS... " >&6;
|
||||||
$as_echo "$ABIFLAGS" >&6; }
|
$as_echo "$ABIFLAGS" >&6; }
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
|
||||||
$as_echo_n "checking SOABI... " >&6; }
|
$as_echo_n "checking SOABI... " >&6; }
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -4812,7 +4812,7 @@ AC_SUBST(SOABI)
|
@@ -4811,7 +4811,7 @@ AC_SUBST(SOABI)
|
||||||
AC_MSG_CHECKING(ABIFLAGS)
|
AC_MSG_CHECKING(ABIFLAGS)
|
||||||
AC_MSG_RESULT($ABIFLAGS)
|
AC_MSG_RESULT($ABIFLAGS)
|
||||||
AC_MSG_CHECKING(SOABI)
|
AC_MSG_CHECKING(SOABI)
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
fi
|
fi
|
||||||
elif test "$cross_compiling" = maybe; then
|
elif test "$cross_compiling" = maybe; then
|
||||||
as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
|
as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
|
||||||
@@ -15534,7 +15534,7 @@ fi
|
@@ -15501,7 +15501,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
fi
|
fi
|
||||||
elif test "$cross_compiling" = maybe; then
|
elif test "$cross_compiling" = maybe; then
|
||||||
AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH])
|
AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH])
|
||||||
@@ -4870,7 +4870,7 @@ fi],
|
@@ -4869,7 +4869,7 @@ fi],
|
||||||
|
|
||||||
dnl define LIBPL after ABIFLAGS and LDVERSION is defined.
|
dnl define LIBPL after ABIFLAGS and LDVERSION is defined.
|
||||||
AC_SUBST(PY_ENABLE_SHARED)
|
AC_SUBST(PY_ENABLE_SHARED)
|
||||||
|
|
Loading…
Reference in a new issue