On Fri Nov 13, 2015 at 05:59:23PM -0500, Michael McConville wrote:
> Uwe Werler wrote:
> > On Fri, Nov 13, 2015 at 05:37:12PM -0500, Michael McConville wrote:
> > > Uwe Werler wrote:
> > > > Hello list,
> > > > 
> > > > I'd like to add a Flavor to tor which allows Tor2webMode:
> > > 
> > > This seems like a rare enough use-case that it probably isn't worth a
> > > flavor. It also runs the risk that people will think "Tor2web" is what
> > > they need (plausible, based on the name) and thereby deanonymize
> > > themselves.
> > 
> > Mmh, 1. it's not enabled per default and 2. only connections to hidden
> > services are allowed so You can't exit from within the tor network.
> 
> Will people be prompted with the choice when they install tor with
> pkg_add? That's what I'm concerned about.
> 
> Also, bsd.port.mk(5) says of PSEUDO_FLAVORS:
> 
> > Its only use should be for disabling part of a multi-packages build
> 
> Am I misunderstanding, or should it be replaced with FLAVORS here?

I prefer to enable by default:


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.86
diff -u -p -u -p -r1.86 Makefile
--- Makefile    20 Jul 2015 19:55:58 -0000      1.86
+++ Makefile    13 Nov 2015 23:04:46 -0000
@@ -5,23 +5,25 @@ COMMENT=      anonymity service using onion r
 DISTNAME=      tor-0.2.6.10
 CATEGORIES=    net
 HOMEPAGE=      https://www.torproject.org/
-REVISION=      1
+REVISION=      2
 
 MAINTAINER=    Pascal Stumpf <pascal.stu...@cubes.de>
 
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c crypto event m pthread ssl z
+WANTLIB+= c crypto event m pthread ssl z
 
 MASTER_SITES=  https://www.torproject.org/dist/
 
 CONFIGURE_STYLE=gnu
-AUTOCONF_VERSION = 2.69
+AUTOCONF_VERSION= 2.69
 # PIE is already taken care of on a per-arch basis, and we have stack 
protection
 # anyway on FRAME_GROWS_DOWN archs.
 CONFIGURE_ARGS=        --with-ssl-dir=/usr \
+               --enable-tor2web-mode \
                --disable-gcc-hardening
+
 CONFIGURE_ENV+=ac_cv_member_struct_ssl_method_st_get_cipher_by_char=no
 
 DB_DIR=                /var/tor
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/net/tor/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   26 Sep 2004 10:06:29 -0000      1.1.1.1
+++ pkg/DESCR   13 Nov 2015 23:04:46 -0000
@@ -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.

Reply via email to