Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Install pyOpenSSL 0.10 when OLD_OPENSSL_VERSION is defined

We recently updated pyOpenSSL to version 0.13 in order to fix a build
problem on recent Ubuntu releases. However, 0.13 does not compile on
Centos 5 because is requires OpenSSL 0.9.8f or later.

If the OLD_OPENSSL_VERSION environment variable is defined, use a
different requirements.txt file which installs pyOpenSSL 0.10.

The cumulus-deps tarball was updated to include both pyOpenSSL packages.
  • Loading branch information...
commit ed9a8775efbb4033b6bd0b58a16f0f615f729a32 1 parent 551cf7d
@priteau priteau authored
View
6 cumulus/cumulus-install.sh
@@ -99,7 +99,11 @@ echo "-----------------------------------------------------------------"
echo ""
# install deps
cd $source_dir
-$PIP install --requirement=reqs.txt
+if [ "X$OLD_OPENSSL_VERSION" == "X" ]; then
+ $PIP install --requirement=reqs.txt
+else
+ $PIP install --requirement=reqs-old-openssl-version.txt
+fi
if [ $? -ne 0 ]; then
echo "$PIP failed to install deps"
exit 1
View
7 cumulus/reqs-old-openssl-version.txt
@@ -0,0 +1,7 @@
+deps/boto-2.0b4.tar.gz
+deps/pyOpenSSL-0.10.tar.gz
+deps/zope.interface-3.6.1.tar.gz
+deps/Twisted-10.0.0.tar.bz2
+deps/nose-0.11.3.tar.gz
+deps/simplejson-2.1.6.tar.gz
+deps/SQLAlchemy-0.6.8.tar.gz
Please sign in to comment.
Something went wrong with that request. Please try again.