aboutsummaryrefslogtreecommitdiffstats
path: root/security/tor-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/tor-devel/Makefile')
-rw-r--r--security/tor-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 475b12a6af53..05cf6d56fbb7 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= tor
-PORTVERSION= 0.0.9.1
-CATEGORIES= security
-MASTER_SITES= http://tor.freehaven.net/dist/
+PORTVERSION= 0.0.9.2
+CATEGORIES= security net
+MASTER_SITES= http://tor.eff.org/dist/
MAINTAINER= freebsd-ports@rikrose.net
COMMENT= An anonymizing overlay network for TCP
@@ -28,6 +28,11 @@ post-patch:
${WRKSRC}/contrib/tor-tsocks.conf.sample
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
${WRKSRC}/contrib/Makefile.in
+# uphold CFLAGS
+ @${FIND} ${WRKSRC} -type f | ${XARGS} \
+ -n 10 ${REINPLACE_CMD} -E \
+ -e 's!-g -O2!!' \
+ -e 's!-O2!!'
post-install:
@${CP} ${WRKSRC}/contrib/tor.sh ${LOCALBASE}/etc/rc.d/tor.sh.sample