[tor-commits] [flashproxy/master] - document build-dependencies of the nodejs flashproxy

infinity0 at torproject.org infinity0 at torproject.org
Wed Nov 6 17:04:49 UTC 2013


commit b84124d8062b826f5a03c3d67376368cf0d4ae42
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Wed Nov 6 16:51:15 2013 +0000

    - document build-dependencies of the nodejs flashproxy
---
 proxy/modules/nodejs/Makefile |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/proxy/modules/nodejs/Makefile b/proxy/modules/nodejs/Makefile
index 8daf62e..8809eb0 100644
--- a/proxy/modules/nodejs/Makefile
+++ b/proxy/modules/nodejs/Makefile
@@ -1,4 +1,10 @@
-.PHONY: prepublish
+.PHONY: prepublish apt-get-build-dep
+
+apt-get-build-dep:
+	apt-get install nodejs node-xmlhttprequest
+	apt-get install npm && npm install ws
+	@echo "warning: Debian has node.js as /usr/bin/nodejs; install nodejs-legacy if you need it in /usr/bin/node"
+
 prepublish: flashproxy.js
 flashproxy.js: ../../flashproxy.js
 	cp -f $< $@



More information about the tor-commits mailing list