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-dom_system_OSFileConstants.cpp,v 1.2 2017/01/22 12:27:22 ryoon Exp $ * NetBSD 5 does not support posix_spawn(3) * Replace XP_MACOSX with XP_DARWIN as the former is not defined when the toolkit is not cocoa. --- dom/system/OSFileConstants.cpp.orig 2015-10-22 22:30:38.000000000 +0000 +++ dom/system/OSFileConstants.cpp @@@@ -11,6 +11,10 @@@@ #include "prsystem.h" +#if defined(__NetBSD__) +#include +#endif + #if defined(XP_UNIX) #include "unistd.h" #include "dirent.h" @@@@ -20,7 +24,9 @@@@ #define statvfs statfs #else #include "sys/statvfs.h" +#if !(defined(__NetBSD__) && (__NetBSD_Version__ < 600000000)) #include +#endif // !NetBSD 5.* #endif // defined(ANDROID) #endif // defined(XP_UNIX) @@@@ -28,9 +34,9 @@@@ #include #endif // defined(XP_LINUX) -#if defined(XP_MACOSX) +#if defined(XP_DARWIN) #include "copyfile.h" -#endif // defined(XP_MACOSX) +#endif // defined(XP_DARWIN) #if defined(XP_WIN) #include @@@@ -590,7 +596,7 @@@@ static const dom::ConstantSpec gLibcProp // The size of |fsblkcnt_t|. { "OSFILE_SIZEOF_FSBLKCNT_T", JS::Int32Value(sizeof (fsblkcnt_t)) }, -#if !defined(ANDROID) +#if !defined(ANDROID) && !(defined(__NetBSD__) && (__NetBSD_Version__ < 600000000)) // The size of |posix_spawn_file_actions_t|. { "OSFILE_SIZEOF_POSIX_SPAWN_FILE_ACTIONS_T", JS::Int32Value(sizeof (posix_spawn_file_actions_t)) }, #endif // !defined(ANDROID) @ 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-dom_system_OSFileConstants.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-dom_system_OSFileConstants.cpp,v 1.1 2015/07/09 14:13:52 ryoon Exp $ d8 3 a10 3 --- dom/system/OSFileConstants.cpp.orig 2014-07-17 01:45:12.000000000 +0000 +++ dom/system/OSFileConstants.cpp 2014-08-19 17:41:25.000000000 +0000 @@@@ -9,6 +9,10 @@@@ d21 1 a21 1 @@@@ -18,7 +22,9 @@@@ d31 1 a31 1 @@@@ -26,9 +32,9 @@@@ d43 1 a43 1 @@@@ -564,10 +570,10 @@@@ d45 1 a45 1 { "OSFILE_SIZEOF_FSBLKCNT_T", INT_TO_JSVAL(sizeof (fsblkcnt_t)) }, d50 2 a51 15 { "OSFILE_SIZEOF_POSIX_SPAWN_FILE_ACTIONS_T", INT_TO_JSVAL(sizeof (posix_spawn_file_actions_t)) }, -#endif // !defined(ANDROID) +#endif // !defined(ANDROID) && NetBSD 5.* // Defining |dirent|. // Size @@@@ -627,7 +633,7 @@@@ { "OSFILE_SIZEOF_STATVFS", INT_TO_JSVAL(sizeof (struct statvfs)) }, - { "OSFILE_OFFSETOF_STATVFS_F_BSIZE", INT_TO_JSVAL(offsetof (struct statvfs, f_bsize)) }, + { "OSFILE_OFFSETOF_STATVFS_F_FRSIZE", INT_TO_JSVAL(offsetof (struct statvfs, f_frsize)) }, { "OSFILE_OFFSETOF_STATVFS_F_BAVAIL", INT_TO_JSVAL(offsetof (struct statvfs, f_bavail)) }, #endif // defined(XP_UNIX) @