Title: Script to test multiple versions of OpenSSL
Type: enhancement Stage: resolved
Components: Demos and Tools Versions: Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, gregory.p.smith, pitrou, python-dev
Priority: low Keywords:

Created on 2013-06-14 16:00 by christian.heimes, last changed 2013-12-16 13:36 by christian.heimes. This issue is now closed.

File name Uploaded Description Edit christian.heimes, 2013-06-14 16:00
Messages (2)
msg191139 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-06-14 16:00
I have created a little script that automates downloading, compiling and testing multiple versions of OpenSSL. It's a bit of a hack but it suits its purpose. Maybe somebody likes to take it from here and turn it into a proper tool for Python's Tools/ directory.

From the doc string of the script:

The script

  (1) downloads OpenSSL tar bundle
  (2) extracts it to ../openssl/src/openssl-VERSION/
  (3) compiles OpenSSL
  (4) installs OpenSSL into ../openssl/VERSION/
  (5) forces a recompilation of Python modules using the
      header and library files from ../openssl/VERSION/
  (6) runs Python's test suite

The script must be run with Python's build directory as current working directory.

The script uses LD_RUN_PATH, LD_LIBRARY_PATH, CPPFLAGS and LDFLAGS to bend search paths for header files and shared libraries. It's known to work on Linux with GCC 4.x.

Tested with OpenSSL 0.9.7m, 0.9.8y, 1.0.0k and 1.0.1e.
msg206309 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-16 13:36
New changeset 7719efb182e3 by Christian Heimes in branch 'default':
Issue #18215: Add script Tools/ssl/ to compile and
Date User Action Args
2013-12-16 13:36:38christian.heimessetstatus: open -> closed
resolution: fixed
stage: resolved
2013-12-16 13:36:08python-devsetnosy: + python-dev
messages: + msg206309
2013-06-14 16:00:42christian.heimescreate