aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2010-08-30 14:47:40 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2010-08-30 14:47:40 +0000
commitae4a4673e3a53f9a116334acc2751e5a10b6d51d (patch)
treea7d64cbc86c59b0ef487973842f451248e91e4cf /security
parent2465ee16a8d2baeb9341dbb4b2a3763700f39572 (diff)
downloadports-ae4a4673e3a53f9a116334acc2751e5a10b6d51d.tar.gz
ports-ae4a4673e3a53f9a116334acc2751e5a10b6d51d.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/tor-devel/Makefile14
-rw-r--r--security/tor-devel/files/pkg-message.in1
2 files changed, 7 insertions, 8 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 060e0ead714e..c404490f934f 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tor
DISTVERSION= 0.2.2.15-alpha
+PORTREVISION= 1
CATEGORIES= security net ipv6
MASTER_SITES= http://www.torproject.org/dist/ \
http://tor.cypherpunks.at/dist/ \
@@ -18,7 +19,6 @@ PKGNAMESUFFIX= -devel
MAINTAINER= bf@FreeBSD.org
COMMENT= An anonymizing overlay network for TCP
-RUN_DEPENDS= torsocks:${PORTSDIR}/net/torsocks
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
GNU_CONFIGURE= yes
@@ -32,14 +32,16 @@ OPTIONS= BUFFREELISTS "freelists for buffer RAM" on \
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 \
- VIDALIA "Vidalia graphical Tor controller" off
+ TRANSPARENT "transparent proxy support" on
USE_RC_SUBR= tor
SUB_FILES= pkg-message
CONFLICTS= tor-[0-9]*
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 801000 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900011) )
@@ -76,10 +78,6 @@ CONFIGURE_ARGS+= --enable-transparent
CONFIGURE_ARGS+= --disable-transparent
.endif
-.ifdef(WITH_VIDALIA)
-RUN_DEPENDS+= vidalia:${PORTSDIR}/net-mgmt/vidalia
-.endif
-
post-patch:
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \
${WRKSRC}/contrib/tor-tsocks.conf.sample
@@ -105,7 +103,7 @@ post-install:
${CHOWN} _tor:_tor /var/db/tor
${CAT} ${PKGMESSAGE}
-test: build
+check regression-test test: build
@( cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check )
diff --git a/security/tor-devel/files/pkg-message.in b/security/tor-devel/files/pkg-message.in
index aa536343704e..721e75304a5f 100644
--- a/security/tor-devel/files/pkg-message.in
+++ b/security/tor-devel/files/pkg-message.in
@@ -2,4 +2,5 @@
To enable the tor server, set tor_enable="YES" in your /etc/rc.conf
and edit %%PREFIX%%/etc/tor/torrc. Also note that the rc.subr script overrides
many torrc options and is tunable. See %%PREFIX%%/etc/rc.d/tor for details.
+To use the torify script, install the net/torsocks port.
================================================================================