commit 5b2a942b4b9239c0d90473d9faec62403292efb7 Author: Mike Perry mikeperry-git@torproject.org Date: Thu Feb 20 12:06:45 2014 +0000
Add a nightly target that builds most things from master's HEAD. --- gitian/Makefile | 18 ++++++++-- gitian/versions.nightly | 84 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 2 deletions(-)
diff --git a/gitian/Makefile b/gitian/Makefile index dea589e..c63fdfe 100644 --- a/gitian/Makefile +++ b/gitian/Makefile @@ -1,5 +1,7 @@ all: clean prep build
+nightly: clean prep-nightly build-nightly + alpha: clean prep-alpha build-alpha
beta: clean prep-beta build-beta @@ -10,6 +12,12 @@ build: ./mkbundle-mac.sh ./hash-bundles.sh
+build-nightly: + ./mkbundle-linux.sh versions.nightly + ./mkbundle-windows.sh versions.nightly + ./mkbundle-mac.sh versions.nightly + ./hash-bundles.sh versions.nightly + build-alpha: ./mkbundle-linux.sh versions.alpha ./mkbundle-windows.sh versions.alpha @@ -28,12 +36,18 @@ sign: sign-alpha: torsocks ./upload-signature.sh versions.alpha
+sign-nightly: + ./upload-signature.sh versions.nightly + sign-beta: torsocks ./upload-signature.sh versions.beta
match: torsocks ./check-match.sh versions
+match-nightly: + ./check-match.sh versions.nightly + match-alpha: torsocks ./check-match.sh versions.alpha
@@ -44,9 +58,9 @@ prep: ./check-prerequisites.sh torsocks ./fetch-inputs.sh ../../gitian-builder/inputs/ versions
-prep-alpha: +prep-nightly: ./check-prerequisites.sh - torsocks ./fetch-inputs.sh ../../gitian-builder/inputs/ versions.alpha + ./fetch-inputs.sh ../../gitian-builder/inputs/ versions.nightly
prep-beta: ./check-prerequisites.sh diff --git a/gitian/versions.nightly b/gitian/versions.nightly new file mode 100755 index 0000000..d320804 --- /dev/null +++ b/gitian/versions.nightly @@ -0,0 +1,84 @@ +TORBROWSER_VERSION=tbb-nightly +BUNDLE_LOCALES="ar ru zh-CN" + +VERIFY_TAGS=0 + +TORBROWSER_TAG=tor-browser-24.3.0esr-2 +TOR_TAG=master +TORLAUNCHER_TAG=master +TORBUTTON_TAG=master +HTTPSE_TAG=master +NSIS_TAG=master +ZLIB_TAG=v1.2.8 +LIBEVENT_TAG=release-2.0.21-stable +MINGW_REV=6184 +PYPTLIB_TAG=master +OBFSPROXY_TAG=master +FLASHPROXY_TAG=master + +GITIAN_TAG=tor-browser-builder-3.0-4 + +OPENSSL_VER=1.0.1f +FIREFOX_LANG_VER=24.3.0esr +BINUTILS_VER=2.22 +GCC_VER=4.6.3 +PYTHON_VER=2.7.5 +PYCRYPTO_VER=2.6.1 +ARGPARSE_VER=1.2.1 +ZOPEINTERFACE_VER=4.0.5 +TWISTED_VER=13.1.0 +M2CRYPTO_VER=0.21.1 +PY2EXE_VER=0.6.9 +SETUPTOOLS_VER=1.4 + +## File names for the source packages +OPENSSL_PACKAGE=openssl-${OPENSSL_VER}.tar.gz +NOSCRIPT_PACKAGE=noscript_security_suite-2.6.8.14-sm+fx+fn.xpi +TOOLCHAIN4_PACKAGE=x86_64-apple-darwin10.tar.xz +OSXSDK_PACKAGE=apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb +MINGW_PACKAGE=mingw-w64-svn-snapshot.zip +MSVCR100_PACKAGE=msvcr100.dll +BINUTILS_PACKAGE=binutils-${BINUTILS_VER}.tar.bz2 +GCC_PACKAGE=gcc-${GCC_VER}.tar.bz2 +PYTHON_PACKAGE=Python-${PYTHON_VER}.tar.bz2 +PYTHON_MSI_PACKAGE=python-${PYTHON_VER}.msi +PYCRYPTO_PACKAGE=pycrypto-${PYCRYPTO_VER}.tar.gz +ARGPARSE_PACKAGE=argparse-${ARGPARSE_VER}.tar.gz +ZOPEINTERFACE_PACKAGE=zope.interface-${ZOPEINTERFACE_VER}.zip +TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 +M2CRYPTO_PACKAGE=M2Crypto-${M2CRYPTO_VER}.tar.gz +PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe +SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz + +# Hashes for packages with weak sigs or no sigs +OPENSSL_HASH=6cc2a80b17d64de6b7bac985745fdaba971d54ffd7d38d3556f998d7c0c9cb5a +OSXSDK_HASH=6602d8d5ddb371fbc02e2a5967d9bd0cd7358d46f9417753c8234b923f2ea6fc +TOOLCHAIN4_HASH=7b71bfe02820409b994c5c33a7eab81a81c72550f5da85ff7af70da3da244645 +NOSCRIPT_HASH=c0c089f994c71a8e504fa26fed9fbbb16dbd7e49d4bef2cf9bc6a2159ae5f073 +MINGW_HASH=a5b03d0448a309341be4cf34c6ad3016d04c89952dca5243254b4d6c738b164f +MSVCR100_HASH=1221a09484964a6f38af5e34ee292b9afefccb3dc6e55435fd3aaf7c235d9067 +PYCRYPTO_HASH=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c +ARGPARSE_HASH=ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4 +ZOPEINTERFACE_HASH=1a7c84716bbd9981915b64a81d8a3f076a5934a8c8df4224655469b3564940cc +TWISTED_HASH=110e957dd8fc4c6eaba8abe4f0477e60b2873e3cf1c260325863fd2ef69341c6 +M2CRYPTO_HASH=25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a +PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c +SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39 + +## Non-git package URLs +OPENSSL_URL=https://www.openssl.org/source/$%7BOPENSSL_PACKAGE%7D +TOOLCHAIN4_URL=https://people.torproject.org/~mikeperry/mirrors/sources/$%7BTOOLCHAIN4_PACK... +OSXSDK_URL=https://launchpad.net/~flosoft/+archive/cross-apple/+files/$%7BOSXSDK_PACKAG... +BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/$%7BBINUTILS_PACKAGE%7D +GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-$%7BGCC_VER%7D/$%7BGCC_PACKAGE%7D +NOSCRIPT_URL=https://addons.cdn.mozilla.net/storage/public-staging/722/$%7BNOSCRIPT_PACKA... +PYTHON_URL=http://www.python.org/ftp/python/$%7BPYTHON_VER%7D/$%7BPYTHON_PACKAGE%7D +PYTHON_MSI_URL=http://www.python.org/ftp/python/$%7BPYTHON_VER%7D/$%7BPYTHON_MSI_PACKAGE%7D +PYCRYPTO_URL=https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$%7BPYCRYPTO_PACKAGE%7D +ARGPARSE_URL=https://argparse.googlecode.com/files/$%7BARGPARSE_PACKAGE%7D +ZOPEINTERFACE_URL=https://pypi.python.org/packages/source/z/zope.interface/$%7BZOPEINTERFACE_P... +TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/$%7BTWISTED_PACKAGE%7D +# TWISTED_URL=https://twistedmatrix.com/Releases/Twisted/$(echo ${TWISTED_VER} | awk -F. '{print $1"."$2}')/${TWISTED_PACKAGE} +M2CRYPTO_URL=https://pypi.python.org/packages/source/M/M2Crypto/$%7BM2CRYPTO_PACKAGE%7D +PY2EXE_URL=http://softlayer-dal.dl.sourceforge.net/project/py2exe/py2exe/$%7BPY2EXE_VER... +SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/$%7BSETUPTOOLS_PACKAGE%...