aboutsummaryrefslogtreecommitdiff
path: root/security/tor/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-27 07:07:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-27 07:07:09 +0000
commit4a592cc6065a5b7dfe56f0de1dad3de5ff8617f7 (patch)
tree5000963bcc781d8e71f9b85fea949481e1451220 /security/tor/Makefile
parentf3d8fd97a75a4cce3d4e7a935b0439a903b88f51 (diff)
downloadports-4a592cc6065a5b7dfe56f0de1dad3de5ff8617f7.tar.gz
ports-4a592cc6065a5b7dfe56f0de1dad3de5ff8617f7.zip
Notes
Diffstat (limited to 'security/tor/Makefile')
-rw-r--r--security/tor/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile
index edb42bf2a8d6..8a0ca4cb6cee 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= tor
-DISTVERSION= 0.2.0.35
-CATEGORIES= security net
+DISTVERSION= 0.2.1.18
+CATEGORIES= security net ipv6
MASTER_SITES= http://www.torproject.org/dist/ \
http://tor.cypherpunks.at/dist/ \
http://tor.depthstrike.com/dist/ \
@@ -26,7 +26,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
OPTIONS= BUFFREELISTS "freelists for buffer RAM" on \
- CELLPOOL "memory pool allocator for cells" on \
+ GEOIP "track country data" off \
+ INSTR_DOWNLOADS "instrument downloads for analysis" off \
TCMALLOC "use the tcmalloc memory allocation library" off \
THREADS "multi-threading support" on \
TRANSPARENT "transparent proxy support" on \
@@ -48,10 +49,16 @@ CONFIGURE_ARGS+= --enable-buf-freelists
CONFIGURE_ARGS+= --disable-buf-freelists
.endif
-.if defined(WITH_CELLPOOL)
-CONFIGURE_ARGS+= --enable-cell-pool
+.if defined(WITH_GEOIP)
+CONFIGURE_ARGS+= --enable-geoip-stats
.else
-CONFIGURE_ARGS+= --disable-cell-pool
+CONFIGURE_ARGS+= --disable-geoip-stats
+.endif
+
+.if defined(WITH_INSTR_DOWNLOADS)
+CONFIGURE_ARGS+= --enable-instrument-downloads
+.else
+CONFIGURE_ARGS+= --disable-instrument-downloads
.endif
.if defined(WITH_TCMALLOC)
@@ -105,7 +112,7 @@ post-install:
${CHOWN} _tor:_tor /var/db/tor
${CAT} ${PKGMESSAGE}
-regression-test:
+regression-test: build
@( cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check )