tor: upgrade to recent TOR release

This commit is contained in:
Stefan Kalkowski
2017-08-29 15:24:49 +02:00
committed by Norman Feske
parent 8eeda9d876
commit f1534d1032
4 changed files with 39 additions and 9 deletions

View File

@@ -1 +1 @@
3516a2892b2ccca0a08f96f34e0c3f80d2e6ab27 869893f0befc9ef98bc18be646417e50733d946c

View File

@@ -2,7 +2,7 @@ LICENSE := BSD-like
VERSION := git VERSION := git
DOWNLOADS := tor.git DOWNLOADS := tor.git
URL(tor) := https://github.com/torproject/tor.git URL(tor) := https://github.com/torproject/tor.git
REV(tor) := cb8557f7c93abc8b770f1753d2e39dafb2a9fe3b REV(tor) := 51d14b3d478a94c410a695f736445f42ccc23fb9
DIR(tor) := src/app/tor DIR(tor) := src/app/tor
PATCHES := src/app/tor/build.patch \ PATCHES := src/app/tor/build.patch \
src/app/tor/no_cloexec.patch \ src/app/tor/no_cloexec.patch \

View File

@@ -1,14 +1,14 @@
diff --git a/src/or/main.c b/src/or/main.c diff --git a/src/or/main.c b/src/or/main.c
index 4de2e70..9077337 100644 index cb24fd18c..952f2397b 100644
--- a/src/or/main.c --- a/src/or/main.c
+++ b/src/or/main.c +++ b/src/or/main.c
@@ -2376,7 +2376,9 @@ do_main_loop(void) @@ -2420,7 +2420,9 @@ do_main_loop(void)
"--enable-bufferevents."); }
#endif }
+#ifdef NOT_GENODE +#ifdef NOT_GENODE
handle_signals(1); handle_signals(1);
+#endif +#endif
monotime_init();
timers_initialize();
/* load the private keys, if we're supposed to have them, and set up the
* TLS context. */

View File

@@ -18,7 +18,15 @@ SRC_C = common/address.c \
common/compat.c \ common/compat.c \
common/compat_libevent.c \ common/compat_libevent.c \
common/compat_pthreads.c \ common/compat_pthreads.c \
common/compat_rust.c \
common/compat_threads.c \ common/compat_threads.c \
common/compat_time.c \
common/compress.c \
common/compress_lzma.c \
common/compress_none.c \
common/compress_zlib.c \
common/compress_zstd.c \
common/confline.c \
common/container.c \ common/container.c \
common/crypto.c \ common/crypto.c \
common/crypto_curve25519.c \ common/crypto_curve25519.c \
@@ -32,8 +40,8 @@ SRC_C = common/address.c \
common/procmon.c \ common/procmon.c \
common/pubsub.c \ common/pubsub.c \
common/sandbox.c \ common/sandbox.c \
common/storagedir.c \
common/timers.c \ common/timers.c \
common/torgzip.c \
common/tortls.c \ common/tortls.c \
common/util.c \ common/util.c \
common/util_bug.c \ common/util_bug.c \
@@ -88,8 +96,12 @@ SRC_C = common/address.c \
ext/timeouts/timeout.c \ ext/timeouts/timeout.c \
ext/trunnel/trunnel.c \ ext/trunnel/trunnel.c \
or/addressmap.c \ or/addressmap.c \
or/bridges.c \
or/bridges.c \
or/buffers.c \ or/buffers.c \
or/channel.c \ or/channel.c \
or/channelpadding.c \
or/channelpadding.c \
or/channeltls.c \ or/channeltls.c \
or/circpathbias.c \ or/circpathbias.c \
or/circuitbuild.c \ or/circuitbuild.c \
@@ -104,6 +116,9 @@ SRC_C = common/address.c \
or/connection.c \ or/connection.c \
or/connection_edge.c \ or/connection_edge.c \
or/connection_or.c \ or/connection_or.c \
or/conscache.c \
or/consdiff.c \
or/consdiffmgr.c \
or/control.c \ or/control.c \
or/cpuworker.c \ or/cpuworker.c \
or/dircollate.c \ or/dircollate.c \
@@ -117,6 +132,13 @@ SRC_C = common/address.c \
or/fp_pair.c \ or/fp_pair.c \
or/geoip.c \ or/geoip.c \
or/hibernate.c \ or/hibernate.c \
or/hs_cache.c \
or/hs_circuitmap.c \
or/hs_common.c \
or/hs_descriptor.c \
or/hs_intropoint.c \
or/hs_ntor.c \
or/hs_service.c \
or/keypin.c \ or/keypin.c \
or/main.c \ or/main.c \
or/microdesc.c \ or/microdesc.c \
@@ -126,8 +148,10 @@ SRC_C = common/address.c \
or/onion_fast.c \ or/onion_fast.c \
or/onion_ntor.c \ or/onion_ntor.c \
or/onion_tap.c \ or/onion_tap.c \
or/parsecommon.c \
or/periodic.c \ or/periodic.c \
or/policies.c \ or/policies.c \
or/protover.c \
or/reasons.c \ or/reasons.c \
or/relay.c \ or/relay.c \
or/rendcache.c \ or/rendcache.c \
@@ -143,12 +167,18 @@ SRC_C = common/address.c \
or/routerparse.c \ or/routerparse.c \
or/routerset.c \ or/routerset.c \
or/scheduler.c \ or/scheduler.c \
or/shared_random.c \
or/shared_random_state.c \
or/statefile.c \ or/statefile.c \
or/status.c \ or/status.c \
or/tor_main.c \ or/tor_main.c \
or/torcert.c \ or/torcert.c \
or/transports.c \ or/transports.c \
trunnel/channelpadding_negotiation.c \
trunnel/ed25519_cert.c \ trunnel/ed25519_cert.c \
trunnel/hs/cell_common.c \
trunnel/hs/cell_establish_intro.c \
trunnel/hs/cell_introduce1.c \
trunnel/link_handshake.c \ trunnel/link_handshake.c \
trunnel/pwbox.c trunnel/pwbox.c