aboutsummaryrefslogtreecommitdiff
path: root/extra/python/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-10-11 14:47:22 +0200
committerCem Keylan <cem@ckyln.com>2021-10-11 14:47:22 +0200
commite533df55fada46b7e017ae1fb8e6154df9d6ea36 (patch)
tree3d30a4873fe0cbeac7769a2113f0f479d1355445 /extra/python/build
parent566a23c34d7edae2293f5ffc2b1e83cee130f479 (diff)
downloadrepository-e533df55fada46b7e017ae1fb8e6154df9d6ea36.tar.gz
python: don't use openssl for python
Diffstat (limited to 'extra/python/build')
-rwxr-xr-xextra/python/build25
1 files changed, 4 insertions, 21 deletions
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