Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6364094f
Commit
6364094f
authored
Dec 05, 2015
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
parent
f7fdbdab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+3
-3
Mac/BuildScript/openssl_sdk_makedepend.patch
Mac/BuildScript/openssl_sdk_makedepend.patch
+10
-8
Misc/NEWS
Misc/NEWS
+2
-2
No files found.
Mac/BuildScript/build-installer.py
View file @
6364094f
...
@@ -237,9 +237,9 @@ def library_recipes():
...
@@ -237,9 +237,9 @@ def library_recipes():
result
.
extend
([
result
.
extend
([
dict
(
dict
(
name
=
"OpenSSL 1.0.2
d
"
,
name
=
"OpenSSL 1.0.2
e
"
,
url
=
"https://www.openssl.org/source/openssl-1.0.2
d
.tar.gz"
,
url
=
"https://www.openssl.org/source/openssl-1.0.2
e
.tar.gz"
,
checksum
=
'
38dd619b2e77cbac69b99f52a053d25a
'
,
checksum
=
'
5262bfa25b60ed9de9f28d5d52d77fc5
'
,
patches
=
[
patches
=
[
"openssl_sdk_makedepend.patch"
,
"openssl_sdk_makedepend.patch"
,
],
],
...
...
Mac/BuildScript/openssl_sdk_makedepend.patch
View file @
6364094f
#
HG changeset patch
#
HG changeset patch
#
Parent
25a9af415e8c3faf591c360d5f0e361d049b2b43
#
Parent
ff8a7557607cffd626997e57ed31c1012a3018aa
#
openssl_sdk_makedepend.patch
#
openssl_sdk_makedepend.patch
#
#
# using openssl 1.0.2
d
# using openssl 1.0.2
e
#
#
# - support building with an OS X SDK
# - support building with an OS X SDK
#
- allow "make depend" to use compilers with names other than "gcc"
#
- allow "make depend" to use compilers with names other than "gcc"
...
@@ -12,7 +12,7 @@ diff Configure
...
@@ -12,7 +12,7 @@ diff Configure
diff --git a/Configure b/Configure
diff --git a/Configure b/Configure
--- a/Configure
--- a/Configure
+++ b/Configure
+++ b/Configure
@@ -6
17,12 +617
,12 @@
@@ -6
35,12 +635
,12 @@
##### MacOS X (a.k.a. Rhapsody or Darwin) setup
##### MacOS X (a.k.a. Rhapsody or Darwin) setup
"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::",
"rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::",
...
@@ -31,24 +31,26 @@ diff --git a/Configure b/Configure
...
@@ -31,24 +31,26 @@ diff --git a/Configure b/Configure
"debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${ppc32_asm}:osx32:dlfcn:darwin-shared:-fPIC:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
"debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${ppc32_asm}:osx32:dlfcn:darwin-shared:-fPIC:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
# iPhoneOS/iOS
# iPhoneOS/iOS
"iphoneos-cross","llvm-gcc:-O3 -isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
"iphoneos-cross","llvm-gcc:-O3 -isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
@@ -1
685,7 +1685
,7 @@
@@ -1
714,8 +1714
,7 @@
s/^CC=.*$/CC= $cc/;
s/^CC=.*$/CC= $cc/;
s/^AR=\s*ar/AR= $ar/;
s/^AR=\s*ar/AR= $ar/;
s/^RANLIB=.*/RANLIB= $ranlib/;
s/^RANLIB=.*/RANLIB= $ranlib/;
- s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
- s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
+ s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/;
- s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $ecc eq "gcc" || $ecc eq "clang";
+ s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/
}
}
s/^CFLAG=.*$/CFLAG= $cflags/;
s/^CFLAG=.*$/CFLAG= $cflags/;
s/^DEPFLAG=.*$/DEPFLAG=$depflags/;
s/^DEPFLAG=.*$/DEPFLAG=$depflags/;
diff --git a/util/domd b/util/domd
diff --git a/util/domd b/util/domd
--- a/util/domd
--- a/util/domd
+++ b/util/domd
+++ b/util/domd
@@ -14,
7
+14,7 @@
@@ -14,
8
+14,7 @@
cp Makefile Makefile.save
cp Makefile Makefile.save
# fake the presence of Kerberos
# fake the presence of Kerberos
touch $TOP/krb5.h
touch $TOP/krb5.h
-if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then
-if ${MAKEDEPEND} --version 2>&1 | grep -q "clang" ||
+if true ; then # was: if expr "$MAKEDEPEND" : '.*gcc$' > /dev/null; then
- echo $MAKEDEPEND | grep -q "gcc"; then
+if true ; then
args=""
args=""
while [ $# -gt 0 ]; do
while [ $# -gt 0 ]; do
if [ "$1" != "--" ]; then args="$args $1"; fi
if [ "$1" != "--" ]; then args="$args $1"; fi
Misc/NEWS
View file @
6364094f
...
@@ -745,8 +745,8 @@ Build
...
@@ -745,8 +745,8 @@ Build
- Issue #23445: pydebug builds now use "gcc -Og" where possible, to make
- Issue #23445: pydebug builds now use "gcc -Og" where possible, to make
the resulting executable faster.
the resulting executable faster.
- Issue #24603: Update Windows builds
and OS X 10.5 installer to use OpenSSL
- Issue #24603: Update Windows builds
to use OpenSSL1.0.2d
1.0.2d
.
and OS X 10.5 installer to use OpenSSL 1.0.2e
.
C API
C API
-----
-----
...
...
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