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

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



commit cf37e9ce8f756f71f4f4f71c60c1800f0f37e8b1
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Nov 17 10:19:46 2013 +0000

    Build pyptlib for windows.
---
 gitian/descriptors/windows/gitian-pluggable-transports.yml |    7 +++++++
 gitian/mkbundle-windows.sh                                 |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gitian/descriptors/windows/gitian-pluggable-transports.yml b/gitian/descriptors/windows/gitian-pluggable-transports.yml
index 8a8d4a2..1075277 100644
--- a/gitian/descriptors/windows/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/windows/gitian-pluggable-transports.yml
@@ -15,6 +15,8 @@ reference_datetime: "2000-01-01 00:00:00"
 remotes:
 - "url": "https://github.com/nmathewson/openssl.git";
   "dir": "openssl"
+- "url": "https://git.torproject.org/pluggable-transports/pyptlib.git";
+  "dir": "pyptlib"
 files:
 - "setuptools.tar.gz"
 - "ubuntu-wine.gpg"
@@ -86,6 +88,11 @@ script: |
   LD_PRELOAD= $INSTPYTHON setup.py install
   cd ..
   #
+  cd pyptlib
+  find -type f | xargs touch --date="$REFERENCE_DATETIME"
+  LD_PRELOAD= $INSTPYTHON setup.py install --single-version-externally-managed --record /dev/null
+  cd ..
+  #
   cd openssl
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   ./Configure -shared --cross-compile-prefix=i686-w64-mingw32- mingw --prefix=$INSTDIR/openssl
diff --git a/gitian/mkbundle-windows.sh b/gitian/mkbundle-windows.sh
index 9542604..c08b86f 100755
--- a/gitian/mkbundle-windows.sh
+++ b/gitian/mkbundle-windows.sh
@@ -126,7 +126,7 @@ then
   echo "****** Starting Pluggable Transports Component of Windows Bundle (3/4 for Windows) ******"
   echo 
 
-  ./bin/gbuild -j $NUM_PROCS --commit openssl=$OPENSSL_TAG $DESCRIPTOR_DIR/windows/gitian-pluggable-transports.yml
+  ./bin/gbuild -j $NUM_PROCS --commit openssl=$OPENSSL_TAG,pyptlib=$PYPTLIB_TAG $DESCRIPTOR_DIR/windows/gitian-pluggable-transports.yml
   if [ $? -ne 0 ];
   then
     #mv var/build.log ./pluggable-transports-fail-win32.log.`date +%Y%m%d%H%M%S`



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