aboutsummaryrefslogtreecommitdiffstats
path: root/security/tor
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-05-20 01:36:02 +0800
committerpi <pi@FreeBSD.org>2017-05-20 01:36:02 +0800
commitb7d3a804bd11f354edf8c1fb29e1958e4fb61662 (patch)
tree7b2221adec907f043ed03d33594640f69fba2cf2 /security/tor
parentadb57feaf15a867fa48d34be21eb400ce1f89ff3 (diff)
downloadfreebsd-ports-gnome-b7d3a804bd11f354edf8c1fb29e1958e4fb61662.tar.gz
freebsd-ports-gnome-b7d3a804bd11f354edf8c1fb29e1958e4fb61662.tar.zst
freebsd-ports-gnome-b7d3a804bd11f354edf8c1fb29e1958e4fb61662.zip
security/tor: 0.3.0.6 -> 0.3.0.7
- medium-severity security bug in earlier versions of 0.3.0.x, where an attacker could cause a Tor relay process to exit PR: 219246 Relnotes: https://gitweb.torproject.org/tor.git/plain/ReleaseNotes?id=tor-0.3.0.7 Security: TROVE-2017-002 Submitted by: Yuri Victorovich <yuri@rawbw.com> (maintainer) MFH: 2017Q2
Diffstat (limited to 'security/tor')
-rw-r--r--security/tor/Makefile20
-rw-r--r--security/tor/distinfo6
2 files changed, 14 insertions, 12 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile
index 766b4a339c3e..a9dd594bad83 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tor
-PORTVERSION= 0.3.0.6
+PORTVERSION= 0.3.0.7
CATEGORIES= security net ipv6
MASTER_SITES= TOR
@@ -12,9 +12,9 @@ COMMENT= Anonymizing overlay network for TCP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_mips64= Does not build: error: Need a uint128_t implementation!
-BROKEN_powerpc64= Does not build: error: Need a uint128_t implementation!
-BROKEN_sparc64= Does not build: error: Need a uint128_t implementation!
+BROKEN_mips64= does not build: error: Need a uint128_t implementation!
+BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!
+BROKEN_sparc64= does not build: error: Need a uint128_t implementation!
USES= cpe gmake
CPE_VENDOR= torproject
@@ -25,14 +25,13 @@ CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include" \
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}"
OPTIONS_DEFINE= MANPAGES DOCS STATIC_TOR TCMALLOC TOR2WEB
+OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
STATIC_TOR_DESC= Build a static tor
TCMALLOC_DESC= Use the tcmalloc memory allocation library
TOR2WEB_DESC= (EXPERT OPTION) Faster but non-anonymous hidden services
-OPTIONS_DEFAULT= MANPAGES
-
USE_RC_SUBR= tor
SUB_FILES= pkg-message
SUB_LIST= USER="${USERS}" GROUP="${GROUPS}"
@@ -46,11 +45,14 @@ CONFLICTS= tor-devel-[0-9]*
STATIC_TOR_USES= ssl:build
STATIC_TOR_USES_OFF= ssl
-DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc
-DOCS_CONFIGURE_OFF= --disable-asciidoc
-
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
+BUILD_DEPENDS+= asciidoc:textproc/asciidoc
+.else
+CONFIGURE_ARGS+= --disable-asciidoc
+.endif
+
.if !defined(USE_GCC) && empty(CC:T:M*gcc4*) && \
empty(PORT_OPTIONS:MSTATIC_TOR) && empty(ARCH:Mia64)
CONFIGURE_ARGS+= --enable-gcc-hardening
diff --git a/security/tor/distinfo b/security/tor/distinfo
index 6e1bbe26d9ef..7576a1ebfb47 100644
--- a/security/tor/distinfo
+++ b/security/tor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1494099685
-SHA256 (tor-0.3.0.6.tar.gz) = a3e512e93cb555601fd207d914d7c5fe981d66d6ebb5821ecdf5dea738c2fb14
-SIZE (tor-0.3.0.6.tar.gz) = 5779422
+TIMESTAMP = 1495174430
+SHA256 (tor-0.3.0.7.tar.gz) = 9640c4448ef3cad7237c68ed6984e705db8fb2b9d6bb74c8815d01bb06527d02
+SIZE (tor-0.3.0.7.tar.gz) = 5793734