config 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("var/torbrowser_version") %]'
  3. filename: 'tor-browser-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  4. var:
  5. container:
  6. use_container: 1
  7. ddmg: '[% INCLUDE ddmg.sh %]'
  8. deps:
  9. - python
  10. - libparallel-forkmanager-perl
  11. - libfile-slurp-perl
  12. - zip
  13. - unzip
  14. - bzip2
  15. - xz-utils
  16. targets:
  17. linux-i686:
  18. var:
  19. mar_osname: linux32
  20. arch_deps:
  21. # Install libc6-i386 to be able to run 32bit mar tools (bug 29812)
  22. - libc6-i386
  23. linux-x86_64:
  24. var:
  25. mar_osname: linux64
  26. osx-x86_64:
  27. var:
  28. mar_osname: osx64
  29. arch_deps:
  30. - genisoimage
  31. - faketime
  32. windows:
  33. pre: |
  34. # Bug 29868: jessie-backports don't exist anymore, so we download the
  35. # package we need from snapshot.debian.org
  36. # We can remove this when we switch to Stretch (bug 29307)
  37. DEBIAN_FRONTEND=noninteractive dpkg -i python-future_*_all.deb
  38. var:
  39. arch_deps:
  40. # python-configparser is required by python-future
  41. - python-configparser
  42. windows-i686:
  43. var:
  44. mar_osname: win32
  45. windows-x86_64:
  46. var:
  47. mar_osname: win64
  48. android:
  49. build: '[% INCLUDE build.android %]'
  50. var:
  51. arch_deps:
  52. - openjdk-8-jdk
  53. - faketime
  54. # On some machines using faketime with Stretch to make the debug signature
  55. # leads to a stalled build. Work around this by switching to Buster.
  56. container:
  57. suite: buster
  58. input_files:
  59. - project: container-image
  60. - filename: run_scripts
  61. enable: '[% ! c("var/android") %]'
  62. - project: firefox
  63. name: firefox
  64. - project: tor
  65. name: tor
  66. enable: '[% ! c("var/android") %]'
  67. - project: firefox-langpacks
  68. name: firefox-langpacks
  69. enable: '[% ! c("var/testbuild") && ! c("var/android") %]'
  70. - project: tor-launcher
  71. name: tor-launcher
  72. enable: '[% ! c("var/android") %]'
  73. - project: torbutton
  74. name: torbutton
  75. enable: '[% ! c("var/android") %]'
  76. - project: https-everywhere
  77. name: https-everywhere
  78. - project: fonts
  79. name: fonts
  80. enable: '[% ! c("var/android") %]'
  81. - project: meek
  82. name: meek
  83. enable: '[% ! c("var/android") %]'
  84. - project: obfs4
  85. name: obfs4
  86. enable: '[% ! c("var/android") %]'
  87. - project: fteproxy
  88. name: fteproxy
  89. enable: '[% c("var/fteproxy") %]'
  90. - project: snowflake
  91. name: snowflake
  92. enable: '[% c("var/snowflake") %]'
  93. - filename: Bundle-Data
  94. enable: '[% ! c("var/android") %]'
  95. - URL: https://addons.cdn.mozilla.net/user-media/addons/722/noscript_security_suite-10.2.5-an+fx.xpi
  96. name: noscript
  97. sha256sum: b486b8c224882652b00b81a3e4a52389ed8b55035f8f09fec930a36b7477ac2e
  98. - filename: 'RelativeLink/start-tor-browser.desktop'
  99. enable: '[% c("var/linux") %]'
  100. - filename: 'RelativeLink/execdesktop'
  101. enable: '[% c("var/linux") %]'
  102. - filename: 'gtk3-settings.ini'
  103. enable: '[% c("var/linux") %]'
  104. - project: libdmg-hfsplus
  105. name: libdmg
  106. enable: '[% c("var/osx") %]'
  107. - project: nsis
  108. name: nsis
  109. enable: '[% c("var/windows") %]'
  110. - name: tbb-windows-installer
  111. project: tbb-windows-installer
  112. enable: '[% c("var/windows") %]'
  113. - filename: pe_checksum_fix.py
  114. enable: '[% c("var/windows") %]'
  115. - name: python-pefile
  116. URL: https://files.pythonhosted.org/packages/7e/9b/f99171190f04cd23768547dd34533b4016bd582842f53cd9fe9585a74c74/pefile-2017.11.5.tar.gz
  117. sha256sum: 675c35ee0e1677db9e80d2f48d8a7ff2cf38e6207e8cd5e2a2c6d126db025854
  118. enable: '[% c("var/windows") %]'
  119. # Bug 29868: jessie-backports don't exist anymore, so we download the
  120. # package we need from snapshot.debian.org
  121. # We can remove this when we switch to Stretch (bug 29307)
  122. - name: python-future
  123. URL: https://snapshot.debian.org/archive/debian/20190104T031048Z/pool/main/p/python-future/python-future_0.15.2-4%7Ebpo8%2B1_all.deb
  124. sha256sum: da39bbc41a6143f68eb7b8d774aad8fe2483947c4e567c9b27f6a8455981450d
  125. enable: '[% c("var/windows") %]'
  126. # To generate a new keystore, see how-to-generate-keystore.txt
  127. - filename: android-qa.keystore
  128. enable: '[% c("var/android") %]'