]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoBootstrap: add some extra logging
teor [Fri, 24 Aug 2018 15:11:44 +0000 (01:11 +1000)] 
Bootstrap: add some extra logging

Diagnostics for 27236.

7 years agoBootstrap: allow internal-only onion service networks to bootstrap
teor [Fri, 24 Aug 2018 15:08:53 +0000 (01:08 +1000)] 
Bootstrap: allow internal-only onion service networks to bootstrap

This fix requires chutney's 27230 fix to bridge client bootstrap.

Part of 27236.

7 years agoBump to 0.3.4.7-rc
Nick Mathewson [Fri, 24 Aug 2018 13:13:20 +0000 (09:13 -0400)] 
Bump to 0.3.4.7-rc

7 years agoBootstrap: stop requiring descriptors to count exits as usable
teor [Fri, 24 Aug 2018 01:55:41 +0000 (11:55 +1000)] 
Bootstrap: stop requiring descriptors to count exits as usable

Instead, count exits as usable if they have the exit flag, and
present if they also have a non-reject exit policy.

Requiring a threshold of usable descriptors avoids directories trickling
exit descriptors to clients to discover their ExitNodes settings.

Part of 27236.

7 years agoMerge remote-tracking branch 'teor/bug26979-034' into maint-0.3.4
Nick Mathewson [Fri, 24 Aug 2018 00:44:06 +0000 (20:44 -0400)] 
Merge remote-tracking branch 'teor/bug26979-034' into maint-0.3.4

7 years agoAppveyor CI: always use HEAD for the short commit
teor [Tue, 31 Jul 2018 02:14:40 +0000 (12:14 +1000)] 
Appveyor CI: always use HEAD for the short commit

Part of 26979.

7 years agoAppveyor CI: Changes file for 26979
teor [Tue, 31 Jul 2018 01:58:04 +0000 (11:58 +1000)] 
Appveyor CI: Changes file for 26979

Closes 26979.

7 years agoAppveyor CI: sort environmental variables
teor [Tue, 31 Jul 2018 01:54:02 +0000 (11:54 +1000)] 
Appveyor CI: sort environmental variables

To avoid future duplicates.

7 years agoAppveyor CI: fix some typos
teor [Tue, 31 Jul 2018 01:49:11 +0000 (11:49 +1000)] 
Appveyor CI: fix some typos

7 years agoAppveyor CI: Generate correct tag names
teor [Tue, 31 Jul 2018 01:47:33 +0000 (11:47 +1000)] 
Appveyor CI: Generate correct tag names

Part of 26979.

7 years agoAppveyor CI: Switch to one URL per line
teor [Tue, 31 Jul 2018 01:37:11 +0000 (11:37 +1000)] 
Appveyor CI: Switch to one URL per line

Part of 26979.

7 years agoAppveyor CI: Generate correct branches and URLs for pull requests
teor [Tue, 31 Jul 2018 01:12:21 +0000 (11:12 +1000)] 
Appveyor CI: Generate correct branches and URLs for pull requests

Part of 26979.

7 years agoAppveyor CI: Make short commits 10 hexdigits long
teor [Tue, 31 Jul 2018 01:10:55 +0000 (11:10 +1000)] 
Appveyor CI: Make short commits 10 hexdigits long

That's what git does for tor.

Part of 26979.

7 years agoAppveyor CI: Fix GitHub provider detection
teor [Tue, 31 Jul 2018 01:09:54 +0000 (11:09 +1000)] 
Appveyor CI: Fix GitHub provider detection

Part of 26979.

7 years agoMerge remote-tracking branch 'teor/ticket27275-034' into maint-0.3.4
Nick Mathewson [Fri, 24 Aug 2018 00:07:39 +0000 (20:07 -0400)] 
Merge remote-tracking branch 'teor/ticket27275-034' into maint-0.3.4

7 years agoCI: Only post Appveyor IRC notifications when the build fails
teor [Wed, 22 Aug 2018 23:39:36 +0000 (09:39 +1000)] 
CI: Only post Appveyor IRC notifications when the build fails

Implements 27275.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 23 Aug 2018 23:36:45 +0000 (19:36 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 23 Aug 2018 23:36:45 +0000 (19:36 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Thu, 23 Aug 2018 23:36:45 +0000 (19:36 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoSilence a compilation warning on MSVC 2017 and clang-cl
teor [Thu, 23 Aug 2018 08:55:39 +0000 (18:55 +1000)] 
Silence a compilation warning on MSVC 2017 and clang-cl

test.c no longer uses lround(), so we don't need to declare it,
and we can use math.h for fabs().

Fixes bug 27185; bugfix on 0.2.2.2-alpha.

7 years agoMerge remote-tracking branch 'teor/bug27236-034' into maint-0.3.4
Nick Mathewson [Thu, 23 Aug 2018 18:22:30 +0000 (14:22 -0400)] 
Merge remote-tracking branch 'teor/bug27236-034' into maint-0.3.4

7 years agoBootstrap: check the exit policy and flag on descriptors
teor [Thu, 23 Aug 2018 14:10:52 +0000 (00:10 +1000)] 
Bootstrap: check the exit policy and flag on descriptors

Previously, Tor would only check the exit flag. In small networks, Tor
could bootstrap once it received a consensus with exits, without fetching
the new descriptors for those exits.

After bootstrap, Tor delays descriptor fetches, leading to failures in
fast networks like chutney.

Fixes 27236; bugfix on 0.2.6.3-alpha.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 22 Aug 2018 13:37:31 +0000 (09:37 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 22 Aug 2018 13:37:31 +0000 (09:37 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 22 Aug 2018 13:37:31 +0000 (09:37 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMark cert_matches_key as not-intrusive; fix stretch compilation.
Nick Mathewson [Wed, 22 Aug 2018 13:37:26 +0000 (09:37 -0400)] 
Mark cert_matches_key as not-intrusive; fix stretch compilation.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 22 Aug 2018 00:04:17 +0000 (20:04 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 22 Aug 2018 00:04:17 +0000 (20:04 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'teor/travis-osx-034' into maint-0.3.4
Nick Mathewson [Wed, 22 Aug 2018 00:04:03 +0000 (20:04 -0400)] 
Merge remote-tracking branch 'teor/travis-osx-034' into maint-0.3.4

7 years agoMerge remote-tracking branch 'teor/travis-osx-033' into maint-0.3.3
Nick Mathewson [Wed, 22 Aug 2018 00:03:56 +0000 (20:03 -0400)] 
Merge remote-tracking branch 'teor/travis-osx-033' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 22 Aug 2018 00:03:46 +0000 (20:03 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge remote-tracking branch 'teor/travis-osx-032' into maint-0.3.2
Nick Mathewson [Wed, 22 Aug 2018 00:03:41 +0000 (20:03 -0400)] 
Merge remote-tracking branch 'teor/travis-osx-032' into maint-0.3.2

7 years agoMerge remote-tracking branch 'teor/travis-osx-029' into maint-0.2.9
Nick Mathewson [Wed, 22 Aug 2018 00:03:19 +0000 (20:03 -0400)] 
Merge remote-tracking branch 'teor/travis-osx-029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 21 Aug 2018 23:20:31 +0000 (19:20 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Tue, 21 Aug 2018 23:16:40 +0000 (19:16 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Tue, 21 Aug 2018 23:16:40 +0000 (19:16 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 21 Aug 2018 14:01:41 +0000 (10:01 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoAdd changes file for 26873. I missed this when merging earlier.
Nick Mathewson [Tue, 21 Aug 2018 14:01:38 +0000 (10:01 -0400)] 
Add changes file for 26873. I missed this when merging earlier.

7 years agoRewrite test_tortls_cert_matches_key()
Nick Mathewson [Mon, 20 Aug 2018 21:43:41 +0000 (17:43 -0400)] 
Rewrite test_tortls_cert_matches_key()

Unlike the old test, this test no will no longer mess around with
the forbidden internals of any openssl data structures.

Additionally, it verifies several other behaviors of
tor_tls_cert_matches_key() that we had wanted to verify, such as
the possibility of the certificate's key not matching.

Fixes bug 27226; bugfix on 0.2.5.1-alpha.

7 years agoUse our x509 wrapper code in tor_tls_cert_matches_key()
Nick Mathewson [Mon, 20 Aug 2018 21:42:38 +0000 (17:42 -0400)] 
Use our x509 wrapper code in tor_tls_cert_matches_key()

This allows us to mock our own tor_tls_get_peer_certificate()
function in order to test ..cert_matches_key(), which will in turn
allow us to simplify test_tortls_cert_matches_key() considerably.

Prep work for the fix for 27226.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 17 Aug 2018 13:38:26 +0000 (09:38 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'onionk/rust-protospace' into maint-0.3.3
Nick Mathewson [Fri, 17 Aug 2018 13:38:08 +0000 (09:38 -0400)] 
Merge remote-tracking branch 'onionk/rust-protospace' into maint-0.3.3

7 years agorust/protover: don't accept whitespace in ProtoSet::from_str()
cypherpunks [Fri, 17 Aug 2018 03:22:47 +0000 (03:22 +0000)] 
rust/protover: don't accept whitespace in ProtoSet::from_str()

It's impossible for spaces to get here, since spaces are used as
separators between individual protocol entries higher up.

And it shouldn't ignore whitespace that isn't a literal space
character, because that would differ from the C implementation.

These were added in 9925d2e68709aa7346f4c5bc98ea1349df6741f3.

Fixes #27177. Bugfix on 0.3.3.5-rc.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 17 Aug 2018 13:29:46 +0000 (09:29 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agorust/protover: fix hyphen parsing bug in ProtoSet::from_str()
cypherpunks [Tue, 7 Aug 2018 00:45:33 +0000 (00:45 +0000)] 
rust/protover: fix hyphen parsing bug in ProtoSet::from_str()

It was parsing "1-2-3" as if it were 1-2, ignoring the 2nd hyphen
and everything after.

Introduced in d1820c1516a31a149fc51a9e5126bf899e4c4e08.

Fixes #27164; bugfix on 0.3.3.1-alpha.

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 16 Aug 2018 12:37:11 +0000 (08:37 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 16 Aug 2018 12:37:11 +0000 (08:37 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoKeep descriptor rotation time after HUP occurs.
George Kadianakis [Sat, 28 Jul 2018 15:31:46 +0000 (17:31 +0200)] 
Keep descriptor rotation time after HUP occurs.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 16 Aug 2018 12:35:31 +0000 (08:35 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 16 Aug 2018 12:35:27 +0000 (08:35 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoRust: Say that we support rust stable in GettingStartedRust.md
teor [Thu, 16 Aug 2018 08:58:47 +0000 (18:58 +1000)] 
Rust: Say that we support rust stable in GettingStartedRust.md

In 24765, we said that we supported rust stable in CodingStandardsRust.md.
But we left GettingStartedRust.md saying that we support rust nightly.

Closes 27160.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 15 Aug 2018 16:20:57 +0000 (12:20 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Wed, 15 Aug 2018 16:20:57 +0000 (12:20 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Wed, 15 Aug 2018 16:20:57 +0000 (12:20 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoMerge remote-tracking branch 'github/bug27081_029' into maint-0.2.9
Nick Mathewson [Wed, 15 Aug 2018 16:20:53 +0000 (12:20 -0400)] 
Merge remote-tracking branch 'github/bug27081_029' into maint-0.2.9

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 15 Aug 2018 06:16:23 +0000 (02:16 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge remote-tracking branch 'public/bug26779_033' into maint-0.3.3
Nick Mathewson [Wed, 15 Aug 2018 06:16:19 +0000 (02:16 -0400)] 
Merge remote-tracking branch 'public/bug26779_033' into maint-0.3.3

7 years agoMerge branch 'travis-osx-033' into travis-osx-034
teor [Fri, 10 Aug 2018 09:06:45 +0000 (19:06 +1000)] 
Merge branch 'travis-osx-033' into travis-osx-034

7 years agoMerge branch 'travis-osx-032' into travis-osx-033
teor [Fri, 10 Aug 2018 09:06:32 +0000 (19:06 +1000)] 
Merge branch 'travis-osx-032' into travis-osx-033

7 years agoMerge branch 'travis-osx-029' into travis-osx-032
teor [Fri, 10 Aug 2018 09:05:49 +0000 (19:05 +1000)] 
Merge branch 'travis-osx-029' into travis-osx-032

Merge asciidoc from 029 with rust from 032.

7 years agoTravis: add a missing macOS asciidoc env var
teor [Fri, 10 Aug 2018 08:26:33 +0000 (18:26 +1000)] 
Travis: add a missing macOS asciidoc env var

7 years agoMerge branch 'travis-osx-033' into travis-osx-034
teor [Fri, 10 Aug 2018 06:41:27 +0000 (16:41 +1000)] 
Merge branch 'travis-osx-033' into travis-osx-034

Take the asciidoc changes from 033, and the module changes from
034.

7 years agoMerge branch 'travis-osx-032' into travis-osx-033
teor [Fri, 10 Aug 2018 06:38:13 +0000 (16:38 +1000)] 
Merge branch 'travis-osx-032' into travis-osx-033

Preserve 033 changes since 032.

7 years agoRust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4
teor [Fri, 10 Aug 2018 03:11:27 +0000 (13:11 +1000)] 
Rust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4

Re-applies 0.3.3 changes after 24629.

7 years agoTravis: Check Rust with distcheck in 0.3.3 and later
teor [Fri, 10 Aug 2018 01:59:42 +0000 (11:59 +1000)] 
Travis: Check Rust with distcheck in 0.3.3 and later

Backports an 0.3.4 change that also works in 0.3.3.

Part of 24629.

7 years agoTravis: Use TOR_RUST_DEPENDENCIES for 0.3.3 and later
teor [Fri, 10 Aug 2018 01:55:50 +0000 (11:55 +1000)] 
Travis: Use TOR_RUST_DEPENDENCIES for 0.3.3 and later

TOR_RUST_DEPENDENCIES used to be spelt RUST_DEPENDENCIES in 0.3.2.

Re-applies 0.3.3 changes after 24629.

7 years agoMerge branch 'travis-osx-029' into travis-osx-032
teor [Fri, 10 Aug 2018 06:31:35 +0000 (16:31 +1000)] 
Merge branch 'travis-osx-029' into travis-osx-032

Simple merge to resolve order conflicts.

7 years agoTravis: Improve Rust comments
teor [Fri, 10 Aug 2018 06:30:21 +0000 (16:30 +1000)] 
Travis: Improve Rust comments

7 years agoTravis: add a missing macOS asciidoc dependency
teor [Fri, 10 Aug 2018 06:24:31 +0000 (16:24 +1000)] 
Travis: add a missing macOS asciidoc dependency

7 years agoTravis: Check disable module dirauth with and without rust
teor [Fri, 10 Aug 2018 03:20:48 +0000 (13:20 +1000)] 
Travis: Check disable module dirauth with and without rust

Part of 24629, also fixes 27088.

7 years agoMerge branch 'travis-osx-033' into travis-osx-034
teor [Fri, 10 Aug 2018 03:15:16 +0000 (13:15 +1000)] 
Merge branch 'travis-osx-033' into travis-osx-034

Replace 034 .travis.yml with 033 .travis.yml.
Subsequent commits will restore 034 functionality.

Replace 034 src/test/test_rust.sh with 033
src/test/test_rust.sh, which was backported from
master.

7 years agoRust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4
teor [Fri, 10 Aug 2018 03:11:27 +0000 (13:11 +1000)] 
Rust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4

Re-applies 0.3.3 changes after 24629.

7 years agoChanges file for Travis: enable macOS builds
teor [Fri, 10 Aug 2018 02:10:56 +0000 (12:10 +1000)] 
Changes file for Travis: enable macOS builds

7 years agoTravis: Check Rust with distcheck in 0.3.3 and later
teor [Fri, 10 Aug 2018 01:59:42 +0000 (11:59 +1000)] 
Travis: Check Rust with distcheck in 0.3.3 and later

Backports an 0.3.4 change that also works in 0.3.3.

Part of 24629.

7 years agoTravis: Use TOR_RUST_DEPENDENCIES for 0.3.3 and later
teor [Fri, 10 Aug 2018 01:55:50 +0000 (11:55 +1000)] 
Travis: Use TOR_RUST_DEPENDENCIES for 0.3.3 and later

TOR_RUST_DEPENDENCIES used to be spelt RUST_DEPENDENCIES in 0.3.2.

Re-applies 0.3.3 changes after 24629.

7 years agoTravis: put distcheck first for readability
teor [Fri, 10 Aug 2018 02:33:51 +0000 (12:33 +1000)] 
Travis: put distcheck first for readability

7 years agoTravis: put distcheck first for readability
teor [Fri, 10 Aug 2018 02:33:51 +0000 (12:33 +1000)] 
Travis: put distcheck first for readability

7 years agoChanges file for Travis: enable macOS builds
teor [Fri, 10 Aug 2018 02:10:56 +0000 (12:10 +1000)] 
Changes file for Travis: enable macOS builds

7 years agoRust: use a consistent working directory in builds and tests
teor [Fri, 10 Aug 2018 01:54:26 +0000 (11:54 +1000)] 
Rust: use a consistent working directory in builds and tests

cd to ${abs_top_builddir}/src/rust before running cargo in
src/test/test_rust.sh.

Fixes bug 26497; bugfix on 0.3.3.2-alpha.

7 years agoStop setting $CARGO_HOME in src/rust/tor_rust/include.am
teor [Fri, 10 Aug 2018 01:47:36 +0000 (11:47 +1000)] 
Stop setting $CARGO_HOME in src/rust/tor_rust/include.am

cargo will use the user's $CARGO_HOME, or $HOME/.cargo by default.

Fixes bug 26497; bugfix on 0.3.1.5-alpha.

7 years agoMerge branch 'travis-osx-032' into travis-osx-033
teor [Fri, 10 Aug 2018 01:43:17 +0000 (11:43 +1000)] 
Merge branch 'travis-osx-032' into travis-osx-033

Replace 033 .travis.yml with 032 .travis.yml.
Subsequent commits will restore 033 functionality.

src/rust/tor_util/include.am is deleted in 033.
Subsequent commits will apply 032 changes to
src/rust/tor_rust/include.am.

Replace 033 src/test/test_rust.sh with 032
src/test/test_rust.sh, which was backported from
master.

7 years agoChanges file for Rust: backport src/test/test_rust.sh from master
teor [Fri, 10 Aug 2018 01:26:53 +0000 (11:26 +1000)] 
Changes file for Rust: backport src/test/test_rust.sh from master

7 years agoTravis: Use cargo cache
teor [Thu, 9 Aug 2018 05:41:57 +0000 (15:41 +1000)] 
Travis: Use cargo cache

Closes ticket 26952.

7 years agoFix $abs_top_srcdir in test_rust.sh
teor [Fri, 10 Aug 2018 01:22:36 +0000 (11:22 +1000)] 
Fix $abs_top_srcdir in test_rust.sh

Consistently use ../../.. as a fallback for $abs_top_srcdir in
test_rust.sh.

Fixes bug 27093; bugfix on 0.3.4.3-alpha.

7 years agoStop setting $CARGO_HOME
teor [Fri, 10 Aug 2018 01:00:46 +0000 (11:00 +1000)] 
Stop setting $CARGO_HOME

cargo will use the user's $CARGO_HOME, or $HOME/.cargo by default.

Fixes bug 26497; bugfix on 0.3.1.5-alpha.

7 years agoRust: backport src/test/test_rust.sh from master
teor [Fri, 10 Aug 2018 01:09:18 +0000 (11:09 +1000)] 
Rust: backport src/test/test_rust.sh from master

Preparation for 26497.

7 years agoTravis: fix a typo
teor [Thu, 9 Aug 2018 12:53:48 +0000 (22:53 +1000)] 
Travis: fix a typo

7 years agoTravis: fix a typo
teor [Thu, 9 Aug 2018 12:53:48 +0000 (22:53 +1000)] 
Travis: fix a typo

7 years agoTravis: add rust cargo offline mode
teor [Thu, 9 Aug 2018 12:52:51 +0000 (22:52 +1000)] 
Travis: add rust cargo offline mode

Backports parts of the 0.3.3 travis config.

Part of 24629.

7 years agoTravis: add rust cargo online mode
teor [Thu, 9 Aug 2018 12:32:20 +0000 (22:32 +1000)] 
Travis: add rust cargo online mode

Forward-ports parts of the 0.3.2 travis config on top of the 0.2.9
merge.

Also:
* build rust on clang and gcc, Linux and macOS
* build combinations of non-default options on gcc Linux
* exclude broken builds
* log the rustup version

Part of 24629.

7 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 9 Aug 2018 12:47:25 +0000 (08:47 -0400)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.3.2' into maint-0.3.3
Nick Mathewson [Thu, 9 Aug 2018 12:47:25 +0000 (08:47 -0400)] 
Merge branch 'maint-0.3.2' into maint-0.3.3

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.2
Nick Mathewson [Thu, 9 Aug 2018 12:47:24 +0000 (08:47 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.2

7 years agoTravis: add lzma and zstd, where available
teor [Thu, 9 Aug 2018 09:33:28 +0000 (19:33 +1000)] 
Travis: add lzma and zstd, where available

Forward-ports parts of the 0.3.2 travis config on top of the 0.2.9
merge.

Part of 24629, also fixes 27090.

7 years agoMerge branch 'travis-osx-029' into travis-osx-032
teor [Thu, 9 Aug 2018 12:20:29 +0000 (22:20 +1000)] 
Merge branch 'travis-osx-029' into travis-osx-032

Replace 032 .travis.yml with 029 .travis.yml.
Subsequent commits will restore 032 functionality.

7 years agoTravis: list installed package versions before building
teor [Thu, 9 Aug 2018 12:16:28 +0000 (22:16 +1000)] 
Travis: list installed package versions before building

Part of 24629.

7 years agoTravis: run an asciidoc build
teor [Thu, 9 Aug 2018 08:29:29 +0000 (18:29 +1000)] 
Travis: run an asciidoc build

Implements 27087.

7 years agoTravis: Use ccache
teor [Thu, 9 Aug 2018 05:40:27 +0000 (15:40 +1000)] 
Travis: Use ccache

Part of ticket 26952.

7 years agoTravis: make macOS builds work for Tor 0.2.9
teor [Thu, 9 Aug 2018 07:44:11 +0000 (17:44 +1000)] 
Travis: make macOS builds work for Tor 0.2.9

Tor 0.2.9 needs extra help to find OpenSSL on macOS.

Part of 24629.

7 years agoTravis: create configure flags once, then echo the flags
teor [Thu, 9 Aug 2018 07:06:13 +0000 (17:06 +1000)] 
Travis: create configure flags once, then echo the flags

Creating the configure flags once avoids inconsistent flags
between configure and distcheck configure.

Echoing the flags helps developers work out what configure is
doing.

(Backported to 0.2.9 and later as a precaution.)

Fixes 27088 on 0.3.4.1-alpha, adds logging in previous releases.