[tor-commits] [oonib/master] Update the version of Tor used in the tor2web build script.

art at torproject.org art at torproject.org
Fri Jan 31 10:32:35 UTC 2014


commit 446f247d647e81a7f66d545fbf965803d075105a
Author: Arturo Filastò <art at fuffa.org>
Date:   Wed Jan 29 15:51:40 2014 +0100

    Update the version of Tor used in the tor2web build script.
    
    Fail if the tor signature is invalid.
---
 scripts/build_tor2web_tor.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/build_tor2web_tor.sh b/scripts/build_tor2web_tor.sh
index 537f1b9..80880bc 100755
--- a/scripts/build_tor2web_tor.sh
+++ b/scripts/build_tor2web_tor.sh
@@ -4,7 +4,7 @@
 OPENSSL_VERSION=1.0.1e
 LIBEVENT_VERSION=2.0.21-stable
 ZLIB_VERSION=1.2.8
-TOR_VERSION=0.2.4.17-rc
+TOR_VERSION=0.2.4.20
 ZLIB_MD5=44d667c142d7cda120332623eab69f40
 
 SCRIPT_ROOT=`pwd`
@@ -80,6 +80,7 @@ cd zlib-$ZLIB_VERSION
 # set up tor with tor2web mode
 cd $SCRIPT_ROOT
 gpg --verify tor-$TOR_VERSION.tar.gz.asc tor-$TOR_VERSION.tar.gz
+if [ $? -ne 0 ];then exit ;fi
 tar xfz tor-$TOR_VERSION.tar.gz
 cd tor-$TOR_VERSION
 ./configure --enable-static-tor --with-libevent-dir=$BUILD/libevent-$LIBEVENT_VERSION --with-openssl-dir=$BUILD/openssl-$OPENSSL_VERSION --with-zlib-dir=$BUILD/zlib-$ZLIB_VERSION --enable-tor2web-mode && make





More information about the tor-commits mailing list