pkgsrc/net/tor/options.mk
obache ef55334562 Update tor to 0.2.1.19.
Based on maintainer update request via PR 41828.
(remove patch-a{a,b} and make to simplify by me).

Tor 0.2.1.18 lays the foundations for performance improvements, adds
status events to help users diagnose bootstrap problems, adds optional
authentication/authorization for hidden services, fixes a variety of
potential anonymity problems, and includes a huge pile of other features
and bug fixes.

Tor 0.2.1.19 fixes a major bug with accessing and providing hidden
services.
2009-08-18 05:48:08 +00:00

25 lines
690 B
Makefile

# $NetBSD: options.mk,v 1.4 2009/08/18 05:48:08 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tor
PKG_SUPPORTED_OPTIONS= threads
.if !empty(PTHREAD_TYPE:Mnative)
PKG_SUGGESTED_OPTIONS+= threads
.endif
.include "../../mk/bsd.options.mk"
###
### This enables new code for threaded operation on NetBSD, OpenBSD, etc.
### I used {PTHREAD,RESOLV}_AUTO_VARS here for consistency's sake, as
### I don't trust configure scripts to do this properly on all platforms.
###
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-eventdns
CONFIGURE_ARGS+= --enable-threads
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
USE_FEATURES.openssl+= threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif