update openssl

This commit is contained in:
dave 2021-11-12 21:39:50 -08:00
parent e8386385b7
commit e0932334ea
6 changed files with 12 additions and 7 deletions

View File

@ -2,7 +2,6 @@
PY3_SRC=./cpython/
PY3_CONFFLAGS=--prefix=$(DESTDIR)/opt/extpython/_OPT_DIR_ --with-ensurepip=install ${EXTRA_PY_CONFIGURE_FLAGS}
# --enable-optimizations
all:
cd $(PY3_SRC) && \

View File

@ -24,11 +24,11 @@ export INSIDE_SCRIPT='#!/bin/bash -eux
'
# Extra args for python's configure script
export EXTRA_PY_CONFIGURE_FLAGS=--with-openssl=/opt/extpython/ssl/1.1.1k
export EXTRA_PY_CONFIGURE_FLAGS=--with-openssl=/opt/extpython/ssl/1.1.1l
# Name of the rules makefile used to build the deb package
export RULESFILE=rules.trusty-3.9.5
export RULESFILE=rules.openssl-1.1.1l
# Other arbitrary environment variables
# trusty's native openssl is too old, so we ship a newer version. Embed the library path
export LDFLAGS=-Wl,-rpath=/opt/extpython/ssl/1.1.1k/lib
export LDFLAGS=-Wl,-rpath=/opt/extpython/ssl/1.1.1l/lib

View File

@ -3,6 +3,6 @@
sudo -Hu builder /src/build-user.sh
# export the debs
OUTDIR="/src/out/trusty/1.1.1k"
OUTDIR="/src/out/trusty/1.1.1l"
mkdir -p $OUTDIR
cp /build/out/* $OUTDIR

View File

@ -9,7 +9,7 @@ mkdir work
cd work
mkdir openssl
wget -O- -q http://artifact.scc.net.davepedu.com/repo/tar/openssl/openssl/openssl-1.1.1k.tar.gz | tar zxf - -C openssl/ --strip-components=1
wget -O- -q http://artifact.scc.net.davepedu.com/repo/tar/openssl/openssl/openssl-1.1.1l.tar.gz | tar zxf - -C openssl/ --strip-components=1
# generate debian metadata
mkdir debian

View File

@ -1,3 +1,9 @@
extpython-openssl-1-1 (1.1.1l) unstable; urgency=low
* Initial release
-- Dave Pedu <dave@davepedu.com> ${BUILD_DATE}
extpython-openssl-1-1 (1.1.1k) unstable; urgency=low
* Initial release

View File

@ -7,7 +7,7 @@ override_dh_usrlocal:
override_dh_strip:
override_dh_shlibdeps:
dh_shlibdeps -l /opt/extpython/ssl/1.1.1k/lib
dh_shlibdeps -l /opt/extpython/ssl/1.1.1l/lib
%:
dh $@