Skip to content

Commit

Permalink
Update lambda2/python to 2.7.18-1.lambda2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mhart committed Sep 4, 2020
1 parent 6ce2d57 commit a56b5e4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
22 changes: 15 additions & 7 deletions amazon-linux-2/build/specs/lambda2/python.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
# the rest of the build
%global regenerate_autotooling_patch 0
%define _trivial .0
%define _buildid .1
%define _buildid .2

# ==================
# Top-level metadata
Expand Down Expand Up @@ -136,7 +136,7 @@ BuildRequires: tix-devel
BuildRequires: tk-devel

BuildRequires: zlib-devel

BuildRequires: git-core


# =======================
Expand Down Expand Up @@ -699,6 +699,12 @@ Patch193: 00193-enable-loading-sqlite-extensions.patch
# 00198 #
Patch198: 00198-add-rewheel-module.patch

# 00351 #
# Avoid infinite loop when reading specially crafted TAR files using the tarfile module
# (CVE-2019-20907).
# See: https://bugs.python.org/issue39017
Patch351: 00351-cve-2019-20907-fix-infinite-loop-in-tarfile.patch

# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora 17 onwards,
Expand Down Expand Up @@ -732,8 +738,6 @@ Patch5000: 05000-autotool-intermediates.patch
# (single quotes are a violation of the RFC, but appear in the wild)
Patch6000: CVE-2020-8492.patch



### End Fedora patch definitions. ###

%description
Expand Down Expand Up @@ -883,7 +887,8 @@ mv Modules/cryptmodule.c Modules/_cryptmodule.c
%if %{with rewheel}
%patch198 -p1
%endif

# Patch 351 adds binary file for testing. We need to apply it using Git.
git apply %{PATCH351}

%if 0%{?_module_build}
%patch4000 -p1
Expand All @@ -899,7 +904,6 @@ find -name "*~" |xargs rm -f
%endif
%patch6000 -p1


### End Fedora patch definitions. ###

# ======================================================
Expand Down Expand Up @@ -1407,9 +1411,13 @@ find %{buildroot} -name '*.pyo' -delete
# ======================================================

%changelog
* Wed Aug 5 2020 Michael Hart <[email protected]>
* Fri Sep 4 2020 Michael Hart <[email protected]>
- recompiled for AWS Lambda (Amazon Linux 2) with prefix /opt

* Fri Jul 24 2020 Petr Viktorin <[email protected]> - 2.7.18-2
- Avoid infinite loop when reading specially crafted TAR files (CVE-2019-20907)
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1856481

* Thu Jul 23 2020 Kinjal Thaker <[email protected]> - 2.7.18-1.amzn2.0.1
- backported CVE-2020-8492 patch

Expand Down
4 changes: 2 additions & 2 deletions amazon-linux-2/packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,8 @@ pugixml.x86_64 1.8-1.lambda2 lambda2
pulseaudio-libs.x86_64 10.0-3.lambda2.0.3 lambda2
pulseaudio-libs-glib2.x86_64 10.0-3.lambda2.0.3 lambda2
pulseaudio-utils.x86_64 10.0-3.lambda2.0.3 lambda2
python.x86_64 2.7.18-1.lambda2.0.1 lambda2
python-libs.x86_64 2.7.18-1.lambda2.0.1 lambda2
python.x86_64 2.7.18-1.lambda2.0.2 lambda2
python-libs.x86_64 2.7.18-1.lambda2.0.2 lambda2
python2-pip.noarch 9.0.3-1.lambda2.0.1 lambda2
python2-setuptools.noarch 38.4.0-3.lambda2.0.6 lambda2
python3.x86_64 3.7.8-1.lambda2.0.1 lambda2
Expand Down

0 comments on commit a56b5e4

Please sign in to comment.