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

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


commit fa14fa6a85aed619ae86f795b62bd2ce0509b149
Author: David Fifield <david at bamsoftware.com>
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





More information about the tor-commits mailing list