mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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
This commit is contained in:
parent
61377e9314
commit
344f2001d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456682
@ -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
|
||||
|
@ -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
|
||||
|
12
security/tor-devel/files/patch-orconfig.h.in
Normal file
12
security/tor-devel/files/patch-orconfig.h.in
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user