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

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



commit fa14fa6a85aed619ae86f795b62bd2ce0509b149
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Thu Nov 7 04:07:59 2013 +0000

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

diff --git a/gitian/descriptors/linux/gitian-pluggable-transports.yml b/gitian/descriptors/linux/gitian-pluggable-transports.yml
index b328214..4455cf7 100644
--- a/gitian/descriptors/linux/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/linux/gitian-pluggable-transports.yml
@@ -9,6 +9,7 @@ packages:
 - "git-core"
 - "zip"
 - "python-setuptools"
+- "python-dev"
 - "faketime"
 - "hardening-wrapper"
 reference_datetime: "2000-01-01 00:00:00"
@@ -18,6 +19,7 @@ remotes:
 - "url": "https://git.torproject.org/pluggable-transports/pyptlib.git";
   "dir": "pyptlib"
 files:
+- "pycrypto.tar.gz"
 - "dzip.sh"
 script: |
   INSTDIR="$HOME/install"
@@ -45,6 +47,13 @@ script: |
   cp -a build/pyptlib $PTDIR/
   cd ..
   #
+  tar xzf pycrypto.tar.gz
+  cd pycrypto-*
+  find -type f | xargs touch --date="$REFERENCE_DATETIME"
+  python setup.py build --build-lib build
+  cp -a build/Crypto $PTDIR/
+  cd ..
+  #
   cd openssl
   find -type f | xargs touch --date="$REFERENCE_DATETIME"
   #./Configure -shared --prefix=$INSTDIR/openssl linux-elf



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