[or-cvs] fix most torctl issues; move rest into TODO

Nick Mathewson nickm at seul.org
Thu Jul 14 20:26:13 UTC 2005


Update of /home/or/cvsroot/control
In directory moria:/tmp/cvs-serv6984

Modified Files:
	Makefile TODO 
Added Files:
	.cvsignore README 
Log Message:
fix most torctl issues; move rest into TODO

--- NEW FILE: .cvsignore ---
classes
torctl.jar

Index: Makefile
===================================================================
RCS file: /home/or/cvsroot/control/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	4 Jun 2005 02:56:50 -0000	1.1
+++ Makefile	14 Jul 2005 20:26:11 -0000	1.2
@@ -1,5 +1,33 @@
 
+TOR=$(HOME)/src/tor
+SPEC=$(TOR)/doc/control-spec.txt
+
+VERSION=0.1
+DOCS=doc/howto.txt TODO README
+JAVA=`find java -name '*.java'`
+PYTHON=`find python -name '*py'`
+BUILD=Makefile
+DISTFILES=$(DOCS) $(JAVA) $(PYTHON) $(BUILD)
+
+all: jar
+
+jar:
+	rm -rf classes
+	mkdir classes
+	(cd java && javac -d ../classes net/freehaven/tor/control/*.java \
+	                              net/freehaven/tor/control/*/*.java )
+	jar cf torctl.jar -C classes .
+
+dist: clean
+	rm -rf torctl-$(VERSION)
+	mkdir torctl-$(VERSION)
+	tar cf - $(DISTFILES) | (cd torctl-$(VERSION); tar xf -)
+	cp $(SPEC) torctl-$(VERSION)/doc
+	tar czf torctl-$(VERSION).tar.gz torctl-$(VERSION)
+	rm -rf torctl-$(VERSION)
+
 clean:
+	rm -rf classes
 	find . -name '*~' -print0 |xargs -0 rm
 	find . -name '*.py[co]' -print0 |xargs -0 rm
 	find . -name '*.class' -print0 |xargs -0 rm

--- NEW FILE: README ---
$Id: README,v 1.1 2005/07/14 20:26:11 nickm Exp $
This packages has libraries to help you write Tor controllers, written in
Python and Java.  It is intended for developers.

For more information, read the how-to document in doc/howto.txt .

Index: TODO
===================================================================
RCS file: /home/or/cvsroot/control/TODO,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TODO	4 Jun 2005 02:42:55 -0000	1.1
+++ TODO	14 Jul 2005 20:26:11 -0000	1.2
@@ -3,14 +3,13 @@
 - The inline documentation generally needs lots more work.  Some of it
   implicitly assumes that the user has read "control-spec.txt".
 
-- We need a makefile to package this all with a plausible control-spec.txt
-
-- We need some overview documents to explain how to use the code.  Telling
-  people to read net/freehaven/tor/control/examples/Main.java or
-  TorExample.py doesn't cut it.
-
 - We need to explain step-by-step how to achieve all of the things we want
   people to do on the contest, especially how to launch Tor securely.
 
+- There should be functions to get and parse the fancier values from get-info
 
-
+- For the controller interface in Tor
+  - We need some way to adjust server status, and to tell tor not to
+    download directories/network-status, and a way to force a download.
+  - It would be nice to request address lookups from the controller
+    without using SOCKS.



More information about the tor-commits mailing list