Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
python
Commits
5e979280
Commit
5e979280
authored
Jul 29, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Python to 2.7.18
parent
f4410009
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
Makefile
Makefile
+14
-14
Python-2.7.18-OpenSSL_1.1.1_test_fix.patch
Python-2.7.18-OpenSSL_1.1.1_test_fix.patch
+3
-3
Python-2.7.18.tar.xz
Python-2.7.18.tar.xz
+0
-0
No files found.
Makefile
View file @
5e979280
target all
:
LC_ALL=$(SYSTEM_LOCALE)
all
:
tar
xf Python-2.7.1
6
.tar.xz
patch
-Np1
-d
Python-2.7.1
6 < Python-2.7.16
-OpenSSL_1.1.1_test_fix.patch
cd
Python-2.7.1
6
&&
sed
-i
'/#SSL/,+3 s/^#//'
Modules/Setup.dist
cd
Python-2.7.1
6
&&
./configure
--build
=
$(CLFS_TARGET)
--prefix
=
/usr
--enable-shared
--with-system-expat
--with-system-ffi
--with-ensurepip
=
yes
--enable-unicode
=
ucs4
--enable-optimizations
$(MAKE)
-C
Python-2.7.1
6
tar
xf Python-2.7.1
8
.tar.xz
patch
-Np1
-d
Python-2.7.1
8 < Python-2.7.18
-OpenSSL_1.1.1_test_fix.patch
cd
Python-2.7.1
8
&&
sed
-i
'/#SSL/,+3 s/^#//'
Modules/Setup.dist
cd
Python-2.7.1
8
&&
./configure
--build
=
$(CLFS_TARGET)
--prefix
=
/usr
--enable-shared
--with-system-expat
--with-system-ffi
--with-ensurepip
=
yes
--enable-unicode
=
ucs4
--enable-optimizations
$(MAKE)
-C
Python-2.7.1
8
if
[[
!
"
$(BUILD_OPTIONS)
"
=
~ no-tests
]]
;
then
\
$(MAKE)
-C
Python-2.7.1
6
test
;
\
$(MAKE)
-C
Python-2.7.1
8
test
;
\
fi
$(MAKE)
-C
Python-2.7.1
6
install
$(MAKE)
-C
Python-2.7.1
8
install
chmod
-v
755 /usr/lib/libpython2.7.so.1.0
rm
-rf
Python-2.7.1
6
rm
-rf
Python-2.7.1
8
temporary
:
tar
xf Python-2.7.1
6
.tar.xz
patch
-Np1
-d
Python-2.7.1
6 < Python-2.7.16
-OpenSSL_1.1.1_test_fix.patch
cd
Python-2.7.1
6
&&
sed
-i
'/#SSL/,+3 s/^#//'
Modules/Setup.dist
cd
Python-2.7.1
6
&&
./configure
--prefix
=
/build/usr
--enable-shared
--with-system-expat
--with-system-ffi
--with-ensurepip
=
yes
--enable-unicode
=
ucs4
$(MAKE)
-C
Python-2.7.1
6
install
tar
xf Python-2.7.1
8
.tar.xz
patch
-Np1
-d
Python-2.7.1
8 < Python-2.7.18
-OpenSSL_1.1.1_test_fix.patch
cd
Python-2.7.1
8
&&
sed
-i
'/#SSL/,+3 s/^#//'
Modules/Setup.dist
cd
Python-2.7.1
8
&&
./configure
--prefix
=
/build/usr
--enable-shared
--with-system-expat
--with-system-ffi
--with-ensurepip
=
yes
--enable-unicode
=
ucs4
$(MAKE)
-C
Python-2.7.1
8
install
echo
"/build/usr/lib"
>>
/etc/ld.so.conf
ldconfig
rm
-rf
Python-2.7.1
6
rm
-rf
Python-2.7.1
8
clean
:
rm
-rf
/build/usr
...
...
Python-2.7.1
6
-OpenSSL_1.1.1_test_fix.patch
→
Python-2.7.1
8
-OpenSSL_1.1.1_test_fix.patch
View file @
5e979280
diff -uNr Python-2.7.1
6/Lib/BaseHTTPServer.py Python-2.7.16
-OpenSSL_1.1.1_test_fix/Lib/BaseHTTPServer.py
--- Python-2.7.1
6/Lib/BaseHTTPServer.py 2019-03-03 04:47:42.000000000 +10
30
+++ Python-2.7.1
6-OpenSSL_1.1.1_test_fix/Lib/BaseHTTPServer.py 2019-09-25 03:54:53.146421649
+0930
diff -uNr Python-2.7.1
8/Lib/BaseHTTPServer.py Python-2.7.18
-OpenSSL_1.1.1_test_fix/Lib/BaseHTTPServer.py
--- Python-2.7.1
8/Lib/BaseHTTPServer.py 2020-04-20 06:43:39.000000000 +09
30
+++ Python-2.7.1
8-OpenSSL_1.1.1_test_fix/Lib/BaseHTTPServer.py 2021-07-29 11:39:08.962495435
+0930
@@ -332,6 +332,12 @@
self.log_error("Request timed out: %r", e)
self.close_connection = 1
...
...
Python-2.7.1
6
.tar.xz
→
Python-2.7.1
8
.tar.xz
View file @
5e979280
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment