12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- # vim: filetype=yaml sw=2
- filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
- version: 0.4.3.5
- git_hash: 'tor-[% c("version") %]'
- git_url: https://git.torproject.org/tor.git
- git_submodule: 1
- gpg_keyring: tor.gpg
- tag_gpg_id: 1
- var:
- container:
- use_container: 1
- deps:
- - build-essential
- - automake
- - zip
- - unzip
- targets:
- nightly:
- version: '[% c("abbrev") %]'
- git_hash: master
- tag_gpg_id: 0
- linux-i686:
- var:
- libpath: '/var/tmp/dist/[% c("var/compiler") %]/lib32'
- sort_deps: 0
- arch_deps:
- - libtool
- - zlib1g-dev:i386
- - hardening-wrapper
- linux-x86_64:
- var:
- libpath: '/var/tmp/dist/[% c("var/compiler") %]/lib64'
- arch_deps:
- - libtool
- - zlib1g-dev
- - hardening-wrapper
- linux-cross:
- var:
- libpath: '/var/tmp/dist/gcc-cross/[% c("var/crosstarget") %]/lib'
- container:
- disable_network:
- # enable network in the build script for linux-cross, because we need
- # to download some packages with "apt-get download".
- # TODO: Find a better way to handle this that doesn't require network
- # access in the Tor build container.
- build: 0
- arch_deps:
- - libtool
- - hardening-wrapper
- - apt-rdepends
- osx-x86_64:
- var:
- arch_deps:
- - faketime
- expert-bundle:
- var:
- expert_bundle: 1
- flag_mwindows: ''
- android:
- var:
- 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
- arch_deps:
- - libtinfo5
- input_files:
- - project: container-image
- - name: openssl
- project: openssl
- - name: libevent
- project: libevent
- - name: zlib
- project: zlib
- enable: '[% c("var/windows") || c("var/android") %]'
- - name: '[% c("var/compiler") %]'
- project: '[% c("var/compiler") %]'
- - name: gcc-host
- project: gcc
- enable: '[% c("var/linux-cross") %]'
- target:
- - '[% c("var/channel") %]'
- - 'torbrowser-linux-x86_64'
- - name: rust
- project: rust
- enable: '[% !c("var/android") && c("var/nightly") %]'
- - name: zstd
- project: zstd
- enable: '[% c("var/android") %]'
|