config 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  3. version: 0.4.3.5
  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: master
  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. disable_network:
  42. # enable network in the build script for linux-cross, because we need
  43. # to download some packages with "apt-get download".
  44. # TODO: Find a better way to handle this that doesn't require network
  45. # access in the Tor build container.
  46. build: 0
  47. arch_deps:
  48. - libtool
  49. - hardening-wrapper
  50. - apt-rdepends
  51. osx-x86_64:
  52. var:
  53. arch_deps:
  54. - faketime
  55. expert-bundle:
  56. var:
  57. expert_bundle: 1
  58. flag_mwindows: ''
  59. android:
  60. var:
  61. configure_opt_project: --libdir=$ANDROID_NDK_HOME/[% c("var/toolchain_arch") %]/lib --enable-android --enable-static-openssl --enable-static-libevent --enable-zstd --disable-tool-name-check --disable-system-torrc --disable-system-torrc
  62. arch_deps:
  63. - libtinfo5
  64. input_files:
  65. - project: container-image
  66. - name: openssl
  67. project: openssl
  68. - name: libevent
  69. project: libevent
  70. - name: zlib
  71. project: zlib
  72. enable: '[% c("var/windows") || c("var/android") %]'
  73. - name: '[% c("var/compiler") %]'
  74. project: '[% c("var/compiler") %]'
  75. - name: gcc-host
  76. project: gcc
  77. enable: '[% c("var/linux-cross") %]'
  78. target:
  79. - '[% c("var/channel") %]'
  80. - 'torbrowser-linux-x86_64'
  81. - name: rust
  82. project: rust
  83. enable: '[% !c("var/android") && c("var/nightly") %]'
  84. - name: zstd
  85. project: zstd
  86. enable: '[% c("var/android") %]'