Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 21:55:55 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456682 - in head/security/tor-devel: . files
Message-ID:  <201712182155.vBILttFS028668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Dec 18 21:55:54 2017
New Revision: 456682
URL: https://svnweb.freebsd.org/changeset/ports/456682

Log:
  security/tor-devel: Update to 0.3.2.7-rc; Unbreaking on systems without timingsafe_memcmp(3)
  
  timingsafe_memcmp(3) has only been introduced in 12, therefore limiting its use to 12.
  
  Reported by:	Martin Gehlen <zitlo@zitlo.de> (timingsafe_memcmp(3) bug reporter)
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13496

Added:
  head/security/tor-devel/files/patch-orconfig.h.in   (contents, props changed)
Modified:
  head/security/tor-devel/Makefile
  head/security/tor-devel/distinfo

Modified: head/security/tor-devel/Makefile
==============================================================================
--- head/security/tor-devel/Makefile	Mon Dec 18 21:55:35 2017	(r456681)
+++ head/security/tor-devel/Makefile	Mon Dec 18 21:55:54 2017	(r456682)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tor
-DISTVERSION=	0.3.2.6-alpha
+DISTVERSION=	0.3.2.7-rc
 CATEGORIES=	security net ipv6
 MASTER_SITES=	TOR
 PKGNAMESUFFIX=	-devel

Modified: head/security/tor-devel/distinfo
==============================================================================
--- head/security/tor-devel/distinfo	Mon Dec 18 21:55:35 2017	(r456681)
+++ head/security/tor-devel/distinfo	Mon Dec 18 21:55:54 2017	(r456682)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512146666
-SHA256 (tor-0.3.2.6-alpha.tar.gz) = 6770cf76973dcfc126ce98a7b1bf55cd0dffdacaf77f7389a08218559e9b2280
-SIZE (tor-0.3.2.6-alpha.tar.gz) = 6310498
+TIMESTAMP = 1513300048
+SHA256 (tor-0.3.2.7-rc.tar.gz) = 4be673a5084790977d692e11afe5ca575adb08f06809dbac52d8b005435131fb
+SIZE (tor-0.3.2.7-rc.tar.gz) = 6313975

Added: head/security/tor-devel/files/patch-orconfig.h.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tor-devel/files/patch-orconfig.h.in	Mon Dec 18 21:55:54 2017	(r456682)
@@ -0,0 +1,12 @@
+--- orconfig.h.in.orig	2017-12-13 17:18:09 UTC
++++ orconfig.h.in
+@@ -535,7 +535,9 @@
+ #undef HAVE_TIME_H
+ 
+ /* Define to 1 if you have the `timingsafe_memcmp' function. */
++#if __FreeBSD_version >= 1200000 // disabled: timingsafe_memcmp(3) has been added only in 12.0, and isn't yet available on older systems
+ #undef HAVE_TIMINGSAFE_MEMCMP
++#endif
+ 
+ /* Define to 1 if you have the `TLS_method' function. */
+ #undef HAVE_TLS_METHOD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712182155.vBILttFS028668>