diff options
author | yuri <yuri@FreeBSD.org> | 2017-12-19 05:55:54 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2017-12-19 05:55:54 +0800 |
commit | 9a16b3d0dc1e7127bca03e159ceabd2245b9ecbf (patch) | |
tree | a7be218cc685f6aa2422ee7da1a07c7fa05b13e1 /security | |
parent | f1f423d39e8b55df8aa863adcd552b20e6592602 (diff) | |
download | freebsd-ports-gnome-9a16b3d0dc1e7127bca03e159ceabd2245b9ecbf.tar.gz freebsd-ports-gnome-9a16b3d0dc1e7127bca03e159ceabd2245b9ecbf.tar.zst freebsd-ports-gnome-9a16b3d0dc1e7127bca03e159ceabd2245b9ecbf.zip |
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
Diffstat (limited to 'security')
-rw-r--r-- | security/tor-devel/Makefile | 2 | ||||
-rw-r--r-- | security/tor-devel/distinfo | 6 | ||||
-rw-r--r-- | security/tor-devel/files/patch-orconfig.h.in | 12 |
3 files changed, 16 insertions, 4 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile index f173fd9dd3b7..e5fc04293d52 100644 --- a/security/tor-devel/Makefile +++ b/security/tor-devel/Makefile @@ -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 diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo index fdd4384cd044..7db0b9717701 100644 --- a/security/tor-devel/distinfo +++ b/security/tor-devel/distinfo @@ -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 diff --git a/security/tor-devel/files/patch-orconfig.h.in b/security/tor-devel/files/patch-orconfig.h.in new file mode 100644 index 000000000000..b906763f325c --- /dev/null +++ b/security/tor-devel/files/patch-orconfig.h.in @@ -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 |