commit e126ce6d3ca61e061f8e8301d5bf0e9c80f329ce Author: David Fifield david@bamsoftware.com Date: Sun Nov 17 09:59:33 2013 +0000
Add gitian-pluggable-transports.yml for windows.
Empty except for copied openssl build from gitian-tor.yml. --- .../windows/gitian-pluggable-transports.yml | 48 ++++++++++++++++++++ 1 file changed, 48 insertions(+)
diff --git a/gitian/descriptors/windows/gitian-pluggable-transports.yml b/gitian/descriptors/windows/gitian-pluggable-transports.yml new file mode 100644 index 0000000..bc2e3f6 --- /dev/null +++ b/gitian/descriptors/windows/gitian-pluggable-transports.yml @@ -0,0 +1,48 @@ +--- +name: "pluggable-transports-windows" +suites: +- "precise" +architectures: +- "i386" +packages: +- "git-core" +- "zip" +- "mingw-w64" +- "faketime" +- "libtool" +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 + export CFLAGS="-mwindows" + export LDFLAGS="-mwindows" + # XXX: Hardening options cause the exe's to crash.. not sure why + #export CFLAGS="-mwindows -fstack-protector-all -fPIE -Wstack-protector --param ssp-buffer-size=4 -fno-strict-overflow -Wno-missing-field-initializers -Wformat-security" + #export LDFLAGS="-mwindows -Wl,--dynamicbase -Wl,--nxcompat -lssp -L/usr/lib/gcc/i686-w64-mingw32/4.6/" + umask 0022 + # + mkdir -p $INSTDIR/bin/ + mkdir -p $PTDIR/ + mkdir -p $INSTDIR/Data/Tor/ + mkdir -p $OUTDIR/ + # + cd openssl + find -type f | xargs touch --date="$REFERENCE_DATETIME" + ./Configure -shared --cross-compile-prefix=i686-w64-mingw32- mingw --prefix=$INSTDIR/openssl + make + make install + cd .. + # + cd $INSTDIR + ~/build/dzip.sh pluggable-transports-win32-gbuilt.zip Tor/ Data/ + cp pluggable-transports-win32-gbuilt.zip $OUTDIR/
tor-commits@lists.torproject.org