head 1.3; access; symbols pkgsrc-2018Q4:1.2.0.18 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.16 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.14 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.12 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.10 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.8 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.4 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.2 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @// @; 1.3 date 2019.02.25.15.32.24; author wiz; state dead; branches; next 1.2; commitid s4OVmwbTk8HL6adB; 1.2 date 2017.01.22.12.27.22; author ryoon; state Exp; branches; next 1.1; commitid 5VJ6CZyEDNPmEXCz; 1.1 date 2016.02.14.07.30.54; author ryoon; state Exp; branches; next ; commitid sEk8ICglPZQf2RUy; desc @@ 1.3 log @tor-browser: update to 8.5. This is based on a git checkout from a couple days ago; not completely sure about the version number. The Makefile now contains a short how-to for updating this package. Many thanks for the www/firefox60 patches! Use at your own risk! Survives basic browsing and check.torproject.org claims it connects via tor. Changes: too many to document. @ text @$NetBSD: patch-js_src_jsdate.cpp,v 1.2 2017/01/22 12:27:22 ryoon Exp $ --- js/src/jsdate.cpp.orig 2016-02-25 23:02:04.000000000 +0000 +++ js/src/jsdate.cpp @@@@ -2672,8 +2672,8 @@@@ ToLocaleFormatHelper(JSContext* cx, Hand if (strcmp(format, "%x") == 0 && result_len >= 6 && /* Format %x means use OS settings, which may have 2-digit yr, so hack end of 3/11/22 or 11.03.22 or 11Mar22 to use 4-digit yr...*/ - !isdigit(buf[result_len - 3]) && - isdigit(buf[result_len - 2]) && isdigit(buf[result_len - 1]) && + !isdigit(((unsigned char)buf[result_len - 3])) && + isdigit(((unsigned char)buf[result_len - 2])) && isdigit(((unsigned char)buf[result_len - 1])) && /* ...but not if starts with 4-digit year, like 2022/3/11. */ !(isdigit(buf[0]) && isdigit(buf[1]) && isdigit(buf[2]) && isdigit(buf[3]))) { @ 1.2 log @Update to 6.0.8 * Use OpenBSD Ports distfile * Profile directory has changed to $HOME/TorBrowser-Data * Besed on Firefox 45.6.0 @ text @d1 1 a1 1 $NetBSD: patch-js_src_jsdate.cpp,v 1.1 2016/04/27 16:36:50 ryoon Exp $ @ 1.1 log @Import tor-browser-5.5.2 as security/tor-browser. What is the Tor Browser? The Tor software protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, it prevents the sites you visit from learning your physical location, and it lets you access sites which are blocked. @ text @d1 1 a1 1 $NetBSD: patch-js_src_jsdate.cpp,v 1.1 2015/07/09 14:13:52 ryoon Exp $ d3 1 a3 1 --- js/src/jsdate.cpp.orig 2015-02-17 21:40:42.000000000 +0000 d5 1 a5 1 @@@@ -2651,11 +2651,11 @@@@ ToLocaleFormatHelper(JSContext *cx, Hand d14 2 a15 7 - !(isdigit(buf[0]) && isdigit(buf[1]) && - isdigit(buf[2]) && isdigit(buf[3]))) { + !(isdigit(((unsigned char)buf[0])) && isdigit(((unsigned char)buf[1])) && + isdigit(((unsigned char)buf[2])) && isdigit(((unsigned char)buf[3])))) { double localtime = obj->as().cachedLocalTime(&cx->runtime()->dateTimeInfo); int year = IsNaN(localtime) ? 0 : (int) YearFromTime(localtime); JS_snprintf(buf + (result_len - 2), (sizeof buf) - (result_len - 2), @