From e533df55fada46b7e017ae1fb8e6154df9d6ea36 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 11 Oct 2021 14:47:22 +0200 Subject: python: don't use openssl for python --- extra/python/build | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'extra/python/build') diff --git a/extra/python/build b/extra/python/build index 59f93e3a..fd13febb 100755 --- a/extra/python/build +++ b/extra/python/build @@ -1,24 +1,8 @@ #!/bin/sh -e -# Forgive me father, for I have sinned. -( - cd openssl - - ./Configure \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - --libdir=lib \ - no-unit-test \ - no-shared \ - linux-x86_64 - - make depend - make - - make DESTDIR="$PWD/pkg" install_sw -) - -patch -p1 < python3-always-pip.patch +for patch in *.patch; do + patch -p1 < "$patch" +done ./configure \ --prefix=/usr \ @@ -26,8 +10,7 @@ patch -p1 < python3-always-pip.patch --enable-static \ --with-system-expat \ --with-system-ffi \ - --with-openssl="$PWD/openssl/pkg/usr" \ - --with-openssl-rpath=no \ + --with-ssl-default-suites='TLSv1.3:TLSv1.2+AEAD+ECDHE:TLSv1.2+AEAD+DHE' \ --with-ensurepip=yes make -- cgit v1.2.3