commit 598d1ee779c523ef57e645f8f394c7aa3dc6d893 Author: David Fifield david@bamsoftware.com Date: Fri Dec 13 22:09:14 2013 -0800
Add gitian-pluggable-transports.yml for linux.
Empty except for copied openssl build from gitian-tor.yml. --- .../linux/gitian-pluggable-transports.yml | 52 ++++++++++++++++++++ 1 file changed, 52 insertions(+)
diff --git a/gitian/descriptors/linux/gitian-pluggable-transports.yml b/gitian/descriptors/linux/gitian-pluggable-transports.yml new file mode 100644 index 0000000..104bb14 --- /dev/null +++ b/gitian/descriptors/linux/gitian-pluggable-transports.yml @@ -0,0 +1,52 @@ +--- +name: "pluggable-transports-linux" +suites: +- "lucid" +architectures: +- "i386" +- "amd64" +packages: +- "git-core" +- "zip" +- "faketime" +- "hardening-wrapper" +reference_datetime: "2000-01-01 00:00:00" +remotes: +- "url": "https://github.com/nmathewson/openssl.git" + "dir": "openssl" +files: +- "dzip.sh" +script: | + INSTDIR="$HOME/install" + PTDIR="$INSTDIR/Tor/PluggableTransports" + export LIBRARY_PATH="$INSTDIR/lib" + export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 + export FAKETIME=$REFERENCE_DATETIME + export TZ=UTC + export LC_ALL=C + umask 0022 + # + # Config options for hardening-wrapper + export DEB_BUILD_HARDENING=1 + export DEB_BUILD_HARDENING_STACKPROTECTOR=1 + export DEB_BUILD_HARDENING_FORTIFY=1 + export DEB_BUILD_HARDENING_FORMAT=1 + export DEB_BUILD_HARDENING_PIE=1 + # + mkdir -p $PTDIR/ + mkdir -p $INSTDIR/Debug/ + # + cd openssl + find -type f | xargs touch --date="$REFERENCE_DATETIME" + #./Configure -shared --prefix=$INSTDIR/openssl linux-elf + ./config -shared --prefix=$INSTDIR/openssl + make + make install + cd .. + # + cd $INSTDIR + # + ~/build/dzip.sh pluggable-transports-linux$GBUILD_BITS-gbuilt.zip Tor/ + ~/build/dzip.sh pluggable-transports-linux$GBUILD_BITS-debug.zip Debug/ + cp pluggable-transports-linux$GBUILD_BITS-gbuilt.zip $OUTDIR/ + cp pluggable-transports-linux$GBUILD_BITS-debug.zip $OUTDIR/