Hello list,

I'd like to add a Flavor to tor which allows Tor2webMode:

######################

--- net/tor/Makefile.orig       Fri Nov 13 05:25:33 2015
+++ net/tor/Makefile    Fri Nov 13 04:26:09 2015
@@ -12,6 +12,9 @@
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
+PSEUDO_FLAVORS = tor2web
+FLAVOR ?=
+
 WANTLIB += c crypto event m pthread ssl z
 
 MASTER_SITES=  https://www.torproject.org/dist/
@@ -22,6 +25,11 @@
 # anyway on FRAME_GROWS_DOWN archs.
 CONFIGURE_ARGS=        --with-ssl-dir=/usr \
                --disable-gcc-hardening
+
+.if ${FLAVOR:L:Mtor2web}
+CONFIGURE_ARGS += --enable-tor2web-mode
+.endif
+
 CONFIGURE_ENV+=ac_cv_member_struct_ssl_method_st_get_cipher_by_char=no
 
 DB_DIR=                /var/tor

######################

--- net/tor/pkg/DESCR.orig      Fri Nov 13 05:16:53 2015
+++ net/tor/pkg/DESCR   Fri Nov 13 05:22:06 2015
@@ -1,2 +1,6 @@
 Tor is a connection-based low-latency anonymous communication system that
 protects TCP streams: web browsing, instant messaging, irc, ssh, etc.
+
+In Tor2webMode Tor connects to hidden services non-anonymously but faster.
+It's useful only when running a tor2web Hidden Service web proxy or to connect
+directly to a Hidden Service without the need of client anonymity.

######################

Regards Uwe

-- 

Reply via email to