Browse Source

Merge remote-tracking branch 'origin/maint-0.2.6'

Nick Mathewson 10 years ago
parent
commit
6a8550fa3c
7 changed files with 14 additions and 2 deletions
  1. 1 1
      Makefile.am
  2. 4 0
      changes/bug15037
  3. 3 0
      changes/bug15127
  4. 3 0
      changes/bug15151
  5. 1 0
      src/common/include.am
  6. 1 1
      src/or/connection_edge.c
  7. 1 0
      src/or/include.am

+ 1 - 1
Makefile.am

@@ -73,7 +73,7 @@ test-network: all
 
 
 test-stem: $(TESTING_TOR_BINARY)
 test-stem: $(TESTING_TOR_BINARY)
 	@if test -d "$$STEM_SOURCE_DIR"; then \
 	@if test -d "$$STEM_SOURCE_DIR"; then \
-		"$$STEM_SOURCE_DIR"/run_tests.py --tor $(TESTING_TOR_BINARY) --all --log notice --target RUN_ALL; \
+		$(PYTHON) "$$STEM_SOURCE_DIR"/run_tests.py --tor $(TESTING_TOR_BINARY) --all --log notice --target RUN_ALL; \
 	else \
 	else \
 		echo '$$STEM_SOURCE_DIR was not set.'; echo; \
 		echo '$$STEM_SOURCE_DIR was not set.'; echo; \
 		echo "To run these tests, git clone https://git.torproject.org/stem.git/ ; export STEM_SOURCE_DIR=\`pwd\`/stem"; \
 		echo "To run these tests, git clone https://git.torproject.org/stem.git/ ; export STEM_SOURCE_DIR=\`pwd\`/stem"; \

+ 4 - 0
changes/bug15037

@@ -0,0 +1,4 @@
+  o Minor bugfixes (testing):
+    - When running the new 'make test-stem' target, use the configured
+      python binary. Fixes bug 15037; bugfix on 0.2.6.3-alpha. Patch
+      from "cypherpunks".

+ 3 - 0
changes/bug15127

@@ -0,0 +1,3 @@
+  o Minor bugfixes (compilation):
+    - Add missing dependencies to fix compilation on BSD.  Patch from
+      Peter Palfrader. Fixes bug 15127; bugfix on 0.2.5.1-alpha.

+ 3 - 0
changes/bug15151

@@ -0,0 +1,3 @@
+  o Minor bugfixes (compilation):
+    - Fix a compilation warning on FreeBSD. Fixes bug 15151; bugfix on
+      0.2.6.2-alpha.

+ 1 - 0
src/common/include.am

@@ -146,4 +146,5 @@ src/common/common_sha1.i: $(libor_SOURCES) $(libor_crypto_a_SOURCES) $(COMMONHEA
 	fi
 	fi
 
 
 src/common/util_codedigest.o: src/common/common_sha1.i
 src/common/util_codedigest.o: src/common/common_sha1.i
+src/common/src_common_libor_testing_a-util_codedigest.o: src/common/common_sha1.i
 
 

+ 1 - 1
src/or/connection_edge.c

@@ -1598,7 +1598,6 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req)
   struct sockaddr_storage orig_dst;
   struct sockaddr_storage orig_dst;
   socklen_t orig_dst_len = sizeof(orig_dst);
   socklen_t orig_dst_len = sizeof(orig_dst);
   tor_addr_t addr;
   tor_addr_t addr;
-  int rv;
 
 
 #ifdef TRANS_TRPOXY
 #ifdef TRANS_TRPOXY
   if (options->TransProxyType_parsed == TPT_TPROXY) {
   if (options->TransProxyType_parsed == TPT_TPROXY) {
@@ -1613,6 +1612,7 @@ destination_from_socket(entry_connection_t *conn, socks_request_t *req)
 #endif
 #endif
 
 
 #ifdef TRANS_NETFILTER
 #ifdef TRANS_NETFILTER
+  int rv = -1;
   switch (ENTRY_TO_CONN(conn)->socket_family) {
   switch (ENTRY_TO_CONN(conn)->socket_family) {
 #ifdef TRANS_NETFILTER_IPV4
 #ifdef TRANS_NETFILTER_IPV4
     case AF_INET:
     case AF_INET:

+ 1 - 0
src/or/include.am

@@ -190,6 +190,7 @@ ORHEADERS = \
 noinst_HEADERS+= $(ORHEADERS) micro-revision.i
 noinst_HEADERS+= $(ORHEADERS) micro-revision.i
 
 
 src/or/config_codedigest.o: src/or/or_sha1.i
 src/or/config_codedigest.o: src/or/or_sha1.i
+src/or/src_or_libtor_testing_a-config_codedigest.o: src/or/or_sha1.i
 
 
 micro-revision.i: FORCE
 micro-revision.i: FORCE
 	@rm -f micro-revision.tmp;				\
 	@rm -f micro-revision.tmp;				\