File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed
build-scripts/manylinux-container-image Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ export LDFLAGS="-pthread -ldl"
68
68
# See also "/tmp/libssh-0.9.4-manylinux-build.FJUercWAg9/libssh-0.9.4/build/CMakeFiles/CMakeError.log".
69
69
export PYCA_OPENSSL_PATH=/opt/pyca/cryptography/openssl
70
70
export PKG_CONFIG_PATH=" ${STATIC_DEPS_PREFIX} /lib64/pkgconfig:${STATIC_DEPS_PREFIX} /lib/pkgconfig:${PYCA_OPENSSL_PATH} /lib/pkgconfig"
71
+ # Point libssh directly to the OpenSSL directory. It can find it there
72
+ export OPENSSL_ROOT_DIR=" ${PYCA_OPENSSL_PATH} "
71
73
72
74
>&2 echo
73
75
>&2 echo
Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
8
8
9
9
# Get build utilities
10
10
source $MY_DIR /build_utils.sh
11
+
12
+ OPENSSL_URL=" https://github.com/openssl/openssl/releases/download"
11
13
source /root/openssl-version.sh
12
14
13
- fetch_source " openssl- ${ OPENSSL_VERSION} .tar.gz" " https://www.openssl.org/source/ "
14
- check_sha256sum " openssl- ${OPENSSL_VERSION} .tar.gz" ${OPENSSL_SHA256}
15
- tar zxf openssl- ${OPENSSL_VERSION} .tar.gz
15
+ curl -#LO " ${OPENSSL_URL} / ${ OPENSSL_VERSION}/ ${OPENSSL_VERSION} .tar.gz"
16
+ check_sha256sum " ${OPENSSL_VERSION} .tar.gz" ${OPENSSL_SHA256}
17
+ tar zxf ${OPENSSL_VERSION} .tar.gz
16
18
17
- pushd openssl- ${OPENSSL_VERSION}
19
+ pushd ${OPENSSL_VERSION}
18
20
if [[ " $1 " =~ ' ^manylinux1_.*$' ]]; then
19
21
PATH=/opt/perl/bin:$PATH
20
22
fi
@@ -25,4 +27,4 @@ make -j4
25
27
# https://github.com/openssl/openssl/issues/6685#issuecomment-403838728
26
28
make install_sw install_ssldirs
27
29
popd
28
- rm -rf openssl- ${OPENSSL_VERSION}
30
+ rm -rf ${OPENSSL_VERSION}
Original file line number Diff line number Diff line change 1
- export OPENSSL_VERSION=" 1.1.1k "
2
- export OPENSSL_SHA256=" 892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5 "
1
+ export OPENSSL_VERSION=" openssl-3.5.0 "
2
+ export OPENSSL_SHA256=" 344d0a79f1a9b08029b0744e2cc401a43f9c90acd1044d09a530b4885a8e9fc0 "
3
3
# We need a base set of flags because on Windows using MSVC
4
4
# enable-ec_nistp_64_gcc_128 doesn't work since there's no 128-bit type
5
- export OPENSSL_BUILD_FLAGS_WINDOWS=" no-ssl3 no-ssl3-method no-zlib no-shared no-comp no-dynamic-engine"
5
+ export OPENSSL_BUILD_FLAGS_WINDOWS=" no-ssl3 no-ssl3-method no-zlib no-shared no-module no- comp no-dynamic-engine no-apps no-docs no-sm2-precomp no-atexit "
6
6
export OPENSSL_BUILD_FLAGS=" ${OPENSSL_BUILD_FLAGS_WINDOWS} enable-ec_nistp_64_gcc_128"
Original file line number Diff line number Diff line change
1
+ Updated OpenSSL to latest version 3.5.0 in manylinux -- by :user: `Jakuje `.
You can’t perform that action at this time.
0 commit comments