[tor-commits] [tor-browser-bundle/master] Build m2crypto for linux.

mikeperry at torproject.org mikeperry at torproject.org
Tue Jan 21 04:47:03 UTC 2014


commit 78f53686c7b704305ee1ef8a2d9ca65832b3ab88
Author: David Fifield <david at bamsoftware.com>
Date:   Mon Nov 11 06:41:57 2013 +0000

    Build m2crypto for linux.
---
 gitian/descriptors/linux/gitian-pluggable-transports.yml |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gitian/descriptors/linux/gitian-pluggable-transports.yml b/gitian/descriptors/linux/gitian-pluggable-transports.yml
index 9803066..85c5bc9 100644
--- a/gitian/descriptors/linux/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/linux/gitian-pluggable-transports.yml
@@ -9,6 +9,7 @@ packages:
 - "git-core"
 - "unzip"
 - "zip"
+- "swig"
 - "python-setuptools"
 - "python-dev"
 - "faketime"
@@ -26,6 +27,7 @@ files:
 - "argparse.tar.gz"
 - "zope.interface.zip"
 - "twisted.tar.bz2"
+- "m2crypto.tar.gz"
 - "dzip.sh"
 script: |
   INSTDIR="$HOME/install"
@@ -98,6 +100,14 @@ script: |
   make install
   cd ..
   #
+  tar xzf m2crypto.tar.gz
+  cd M2Crypto-*
+  find -type f | xargs touch --date="$REFERENCE_DATETIME"
+  python setup.py build_ext --build-lib build --openssl $INSTDIR/openssl
+  python setup.py build --build-lib build
+  cp -a build/M2Crypto $PTDIR/
+  cd ..
+  #
   cd $INSTDIR
   #
   ~/build/dzip.sh pluggable-transports-linux$GBUILD_BITS-gbuilt.zip Tor/ Docs/





More information about the tor-commits mailing list