Ticket #9711: 0001-Use-my-faketime_0.9.6-test-package.patch

File 0001-Use-my-faketime_0.9.6-test-package.patch, 3.6 KB (added by mingwandroid, 6 years ago)

Patch for tor-browser-bundle to use my faketime 0.9.6 test package

  • gitian/descriptors/mac/gitian-firefox.yml

    From a822c7e32d6708b96ca1c9919f805aecb05163f2 Mon Sep 17 00:00:00 2001
    From: Ray Donnelly <mingw.android@gmail.com>
    Date: Wed, 16 Oct 2013 01:02:19 +0100
    Subject: [PATCH] Use my faketime_0.9.6 test package
    
    ---
     gitian/descriptors/mac/gitian-firefox.yml |    1 +
     gitian/fetch-inputs.sh                    |    1 +
     gitian/record-inputs.sh                   |    1 +
     gitian/versions                           |    3 +++
     4 files changed, 6 insertions(+)
    
    diff --git a/gitian/descriptors/mac/gitian-firefox.yml b/gitian/descriptors/mac/gitian-firefox.yml
    index 2cf2de6..58b7143 100644
    a b files: 
    3333- "torbrowser.version"
    3434- "apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb"
    3535#- "multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz"
     36- "faketime_0.9.6_i386.deb"
    3637- "i686-apple-darwin11-gcc"
    3738- "i686-apple-darwin11-g++"
    3839- "i686-apple-darwin11-ld"
  • gitian/fetch-inputs.sh

    diff --git a/gitian/fetch-inputs.sh b/gitian/fetch-inputs.sh
    index 1c4de85..50b02ac 100755
    a b cd .. 
    159159# NoScript and PDF.JS are magikal and special:
    160160wget -N ${NOSCRIPT_URL}
    161161wget -N https://addons.mozilla.org/firefox/downloads/file/201180/${PDFJS_PACKAGE}
     162wget -N ${FAKETIME_URL}
    162163
    163164# So is mingw:
    164165if [ ! -f mingw-w64-svn-snapshot.zip ];
  • gitian/record-inputs.sh

    diff --git a/gitian/record-inputs.sh b/gitian/record-inputs.sh
    index 8881161..192fda0 100755
    a b rm -f bundle.inputs 
    1616
    1717sha256sum $OSXSDK_PACKAGE >> bundle.inputs
    1818sha256sum $TOOLCHAIN4_PACKAGE >> bundle.inputs
     19sha256sum $FAKETIME_PACKAGE >> bundle.inputs
    1920sha256sum mingw-w64-svn-snapshot.zip >> bundle.inputs
    2021echo >> bundle.inputs
    2122#sha256sum relativelink-src.zip >> bundle.inputs
  • gitian/versions

    diff --git a/gitian/versions b/gitian/versions
    index 4c9a4d3..56dc7c4 100755
    a b NOSCRIPT_PACKAGE=noscript_security_suite-2.6.8.2-fx+fn+sm.xpi 
    2727PDFJS_PACKAGE=pdf_viewer-0.8.1-sm+fx+an.xpi
    2828TOOLCHAIN4_PACKAGE=multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz
    2929OSXSDK_PACKAGE=apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb
     30FAKETIME_PACKAGE=faketime_0.9.6_i386.deb
    3031MINGW_PACKAGE=mingw-w64-svn-snapshot.zip
    3132MSVCR100_PACKAGE=msvcr100.dll
    3233BINUTILS_PACKAGE=binutils-${BINUTILS_VER}.tar.bz2
    GCC_PACKAGE=gcc-${GCC_VER}.tar.bz2 
    3637OPENSSL_HASH=f74f15e8c8ff11aa3d5bb5f276d202ec18d7246e95f961db76054199c69c1ae3
    3738OSXSDK_HASH=6602d8d5ddb371fbc02e2a5967d9bd0cd7358d46f9417753c8234b923f2ea6fc
    3839TOOLCHAIN4_HASH=65c1b2d302358a6b95a26c6828a66908a199276193bb0b268f2dcc1a997731e9
     40FAKETIME_HASH=64cc2dc8cc85378fe5146a33cf3813916d5440cbe980883980052066692809c7
    3941NOSCRIPT_HASH=52b309f2e5ca1bee4d0f97cbb342fdac3be6a447c35f744a90348df55eea635f
    4042PDFJS_HASH=2e3e6811f5294b24aafeba44e8206ddc81fb15e5934e5166a2c7df3a4405020b
    4143MINGW_HASH=457f11d29f6e95425d190711a73955fa54a98a2113ce2c2bfd76291be71e3e2b
    MSVCR100_HASH=1221a09484964a6f38af5e34ee292b9afefccb3dc6e55435fd3aaf7c235d9067 
    4547OPENSSL_URL=https://www.openssl.org/source/${OPENSSL_PACKAGE}
    4648TOOLCHAIN4_URL=https://mingw-and-ndk.googlecode.com/files/${TOOLCHAIN4_PACKAGE}
    4749OSXSDK_URL=https://launchpad.net/~flosoft/+archive/cross-apple/+files/${OSXSDK_PACKAGE}
     50FAKETIME_URL=https://www.dropbox.com/s/tm9n9zimmhsx474/${FAKETIME_PACKAGE}
    4851BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/${BINUTILS_PACKAGE}
    4952GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VER}/${GCC_PACKAGE}
    5053NOSCRIPT_URL=https://addons.cdn.mozilla.net/storage/public-staging/722/${NOSCRIPT_PACKAGE}