summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-25 17:15:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-25 17:15:50 +0000
commit686c692667cfe8c84b2fc7415a8ddd640eef2072 (patch)
tree89f7a9059b3345844abee288a61bd558e8dc5abe /security
parentAdding py-hunspell, a Python module for the Hunspell spellchecker engine. (diff)
- Update to 0.3.0.1-alpha
- While here, port TOR2WEB-related warnings from seurity/tor PR: 215438 Submitted by: yuri@rawbw.com (maintainer)
Notes
Notes: svn path=/head/; revision=429441
Diffstat (limited to 'security')
-rw-r--r--security/tor-devel/Makefile14
-rw-r--r--security/tor-devel/distinfo6
2 files changed, 15 insertions, 5 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index ce54f907107a..857c7683b102 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
-DISTVERSION= 0.2.9.7-rc
+DISTVERSION= 0.3.0.1-alpha
CATEGORIES= security net ipv6
MASTER_SITES= TOR
PKGNAMESUFFIX= -devel
@@ -31,7 +31,7 @@ OPTIONS_DEFINE= STATIC_TOR TCMALLOC TOR2WEB TRANSPARENT
STATIC_TOR_DESC= Build a static tor
TCMALLOC_DESC= Use the tcmalloc memory allocation library
-TOR2WEB_DESC= Faster but non-anonymous hidden services
+TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services
TRANSPARENT_DESC= Transparent proxy support
OPTIONS_DEFAULT= TRANSPARENT
@@ -90,6 +90,16 @@ CONFIGURE_ARGS+= --enable-transparent
CONFIGURE_ARGS+= --disable-transparent
.endif
+pre-everything::
+.if ${PORT_OPTIONS:MTOR2WEB}
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Warning: The expert option 'tor2web' is chosen."
+ @${ECHO_MSG} " With this option tor cannot be used for regular traffic,"
+ @${ECHO_MSG} " only for non-anonymous hidden service traffic."
+ @${ECHO_MSG} " Please make sure you understand this option."
+ @${ECHO_MSG}
+.endif
+
post-patch:
@${REINPLACE_CMD} -E -e "s@(-z) (relro|now)@-Wl,\1,\2@g" \
${WRKSRC}/configure
diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo
index 9d9282ed52d6..755495dab422 100644
--- a/security/tor-devel/distinfo
+++ b/security/tor-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1481645876
-SHA256 (tor-0.2.9.7-rc.tar.gz) = 0e73c18afd5f1d0cc60f2bba1ac7bd5b64ae984a41dfcbbb06897dc5843b68d0
-SIZE (tor-0.2.9.7-rc.tar.gz) = 5508830
+TIMESTAMP = 1482222281
+SHA256 (tor-0.3.0.1-alpha.tar.gz) = 7013353f0cbd2af8c0144f6167339f6eb252eb35ca9a2db2971310171108b064
+SIZE (tor-0.3.0.1-alpha.tar.gz) = 5704559