[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 78f53686c7b704305ee1ef8a2d9ca65832b3ab88
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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/



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits