config 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  3. version: 0.4.7.2-alpha
  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. container:
  40. use_container: 1
  41. suite: buster
  42. arch: amd64
  43. post_pkginst: |
  44. export DEBIAN_FRONTEND=noninteractive
  45. # The recommended packages produce a package conflict.
  46. apt-get -y install --no-install-suggests --no-install-recommends zlib1g-dev:[% c("var/arch_debian") %]
  47. apt-get -y install --no-install-suggests --no-install-recommends libgcc-8-dev:[% c("var/arch_debian") %]
  48. apt-get -y install --no-install-suggests --no-install-recommends libstdc++-8-dev:[% c("var/arch_debian") %]
  49. # TODO: Build gcc+stdlib from source.
  50. arch_deps:
  51. - libtool
  52. linux-arm:
  53. var:
  54. libpath: '/var/tmp/dist/gcc-cross/[% c("var/crosstarget") %]/lib'
  55. linux-ppc64le:
  56. var:
  57. libpath: '/var/tmp/dist/gcc-cross/[% c("var/crosstarget") %]/lib64'
  58. osx-x86_64:
  59. var:
  60. arch_deps:
  61. - faketime
  62. expert-bundle:
  63. var:
  64. expert_bundle: 1
  65. flag_mwindows: ''
  66. android:
  67. var:
  68. configure_opt_project: '--enable-android --enable-static-openssl --enable-static-libevent --enable-zstd --disable-tool-name-check --disable-system-torrc --disable-system-torrc'
  69. arch_deps:
  70. - libtinfo5
  71. input_files:
  72. - project: container-image
  73. - name: openssl
  74. project: openssl
  75. - name: libevent
  76. project: libevent
  77. - name: zlib
  78. project: zlib
  79. enable: '[% c("var/windows") || c("var/android") %]'
  80. - name: '[% c("var/compiler") %]'
  81. project: '[% c("var/compiler") %]'
  82. - name: gcc-host
  83. project: gcc
  84. enable: '[% c("var/linux-cross") %]'
  85. target:
  86. - '[% c("var/channel") %]'
  87. - 'torbrowser-linux-x86_64'
  88. - name: zstd
  89. project: zstd
  90. enable: '[% c("var/android") %]'