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

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



commit c20b1fa6f536ceba5f82b5bbd660497e1716abd1
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Nov 24 08:01:03 2013 +0000

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

diff --git a/gitian/descriptors/windows/gitian-pluggable-transports.yml b/gitian/descriptors/windows/gitian-pluggable-transports.yml
index e0f7330..a447b16 100644
--- a/gitian/descriptors/windows/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/windows/gitian-pluggable-transports.yml
@@ -8,6 +8,7 @@ packages:
 - "git-core"
 - "unzip"
 - "zip"
+- "swig"
 - "p7zip-full"
 - "mingw-w64"
 - "faketime"
@@ -25,6 +26,7 @@ files:
 - "pycrypto.tar.gz"
 - "zope.interface.zip"
 - "twisted.tar.bz2"
+- "m2crypto.tar.gz"
 - "ubuntu-wine.gpg"
 - "wine-wrappers"
 - "python.msi"
@@ -147,6 +149,13 @@ script: |
   make install
   cd ..
   #
+  tar xzf m2crypto.tar.gz
+  cd M2Crypto-*
+  find -type f | xargs touch --date="$REFERENCE_DATETIME"
+  LD_PRELOAD= $INSTPYTHON setup.py build_ext -c mingw32 --openssl $INSTDIR/openssl/ -lssl.dll,crypto.dll
+  LD_PRELOAD= $INSTPYTHON setup.py install --single-version-externally-managed --record /dev/null
+  cd ..
+  #
   cd $INSTDIR
   ~/build/dzip.sh pluggable-transports-win32-gbuilt.zip Tor/ Data/
   cp pluggable-transports-win32-gbuilt.zip $OUTDIR/



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