pkgsrc/net/tor/options.mk
wiz fb585ec21a Update to current stable version, tor-0.2.0.30, based on wip/tor.
Thanks to athaba, netcap, and tvierling.

Changes in version 0.2.0.30 - 2008-07-15
  This new stable release switches to a more efficient directory
  distribution design, adds features to make connections to the Tor
  network harder to block, allows Tor to act as a DNS proxy, adds separate
  rate limiting for relayed traffic to make it easier for clients to
  become relays, fix a variety of potential anonymity problems, and
  includes the usual huge pile of other features and bug fixes.
2008-08-01 17:23:21 +00:00

25 lines
687 B
Makefile

# $NetBSD: options.mk,v 1.3 2008/08/01 17:23:21 wiz 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