[tor-commits] [ooni-probe/master] Use the system Tor in the debian package
art at torproject.org
art at torproject.org
Mon Jan 13 13:46:16 UTC 2014
commit e60ca5934b256f46ad47b3c2dce736bc075c9cf8
Author: Arturo Filastò <art at fuffa.org>
Date: Mon Jan 13 13:35:35 2014 +0100
Use the system Tor in the debian package
---
scripts/build-ooniprobe.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/build-ooniprobe.sh b/scripts/build-ooniprobe.sh
index 3e616e7..c4e412c 100755
--- a/scripts/build-ooniprobe.sh
+++ b/scripts/build-ooniprobe.sh
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
cd ../
+cat data/ooniprobe.conf.sample | sed s/'start_tor: true'/'start_tor: false'/ | sed s/'#socks_port: 8801'/'socks_port: 9050'/ > data/ooniprobe.conf.sample.new
+mv data/ooniprobe.conf.sample data/ooniprobe.conf.sample.bak
+mv data/ooniprobe.conf.sample.new data/ooniprobe.conf.sample
python setup.py sdist
cd dist/
py2dsc ooniprobe-*.tar.gz
@@ -8,3 +11,5 @@ cd deb_dist/ooniprobe-*
rm -rf debian/
cp -rf ../../../debian ./debian
debuild
+cd ../../../
+mv data/ooniprobe.conf.sample.bak data/ooniprobe.conf.sample
More information about the tor-commits
mailing list