config 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  3. version: 0.4.6.7
  4. git_hash: 'tor-[% c("version") %]'
  5. git_url: https://git.torproject.org/tor.git
  6. git_submodule: 1
  7. gpg_keyring: tor.gpg
  8. tag_gpg_id: 1
  9. var:
  10. container:
  11. use_container: 1
  12. deps:
  13. - build-essential
  14. - automake
  15. - zip
  16. - unzip
  17. targets:
  18. nightly:
  19. version: '[% c("abbrev") %]'
  20. git_hash: main
  21. tag_gpg_id: 0
  22. linux-i686:
  23. var:
  24. libpath: '/var/tmp/dist/[% c("var/compiler") %]/lib32'
  25. sort_deps: 0
  26. arch_deps:
  27. - libtool
  28. - zlib1g-dev:i386
  29. - hardening-wrapper
  30. linux-x86_64:
  31. var:
  32. libpath: '/var/tmp/dist/[% c("var/compiler") %]/lib64'
  33. arch_deps:
  34. - libtool
  35. - zlib1g-dev
  36. - hardening-wrapper
  37. linux-cross:
  38. var:
  39. libpath: '/var/tmp/dist/gcc-cross/[% c("var/crosstarget") %]/lib'
  40. container:
  41. use_container: 1
  42. suite: buster
  43. arch: amd64
  44. post_pkginst: |
  45. export DEBIAN_FRONTEND=noninteractive
  46. # The recommended packages produce a package conflict.
  47. apt-get -y install --no-install-suggests --no-install-recommends zlib1g-dev:[% c("var/arch_debian") %]
  48. apt-get -y install --no-install-suggests --no-install-recommends libgcc-8-dev:[% c("var/arch_debian") %]
  49. apt-get -y install --no-install-suggests --no-install-recommends libstdc++-8-dev:[% c("var/arch_debian") %]
  50. # TODO: Build gcc+stdlib from source.
  51. arch_deps:
  52. - libtool
  53. osx-x86_64:
  54. var:
  55. arch_deps:
  56. - faketime
  57. expert-bundle:
  58. var:
  59. expert_bundle: 1
  60. flag_mwindows: ''
  61. android:
  62. var:
  63. configure_opt_project: '--enable-android --enable-static-openssl --enable-static-libevent --enable-zstd --disable-tool-name-check --disable-system-torrc --disable-system-torrc'
  64. arch_deps:
  65. - libtinfo5
  66. input_files:
  67. - project: container-image
  68. - name: openssl
  69. project: openssl
  70. - name: libevent
  71. project: libevent
  72. - name: zlib
  73. project: zlib
  74. enable: '[% c("var/windows") || c("var/android") %]'
  75. - name: '[% c("var/compiler") %]'
  76. project: '[% c("var/compiler") %]'
  77. - name: gcc-host
  78. project: gcc
  79. enable: '[% c("var/linux-cross") %]'
  80. target:
  81. - '[% c("var/channel") %]'
  82. - 'torbrowser-linux-x86_64'
  83. - name: zstd
  84. project: zstd
  85. enable: '[% c("var/android") %]'