pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/tor-browser tor-browser: update to 8.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f2db29160a2
branches:  trunk
changeset: 330238:1f2db29160a2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 25 15:32:23 2019 +0000

description:
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.

diffstat:

 security/tor-browser/Makefile                                                                                          |    86 +-
 security/tor-browser/PLIST                                                                                             |  3278 +++++----
 security/tor-browser/distinfo                                                                                          |   191 +-
 security/tor-browser/patches/patch-.mozconfig                                                                          |    17 +
 security/tor-browser/patches/patch-aa                                                                                  |   326 +-
 security/tor-browser/patches/patch-ao                                                                                  |    17 -
 security/tor-browser/patches/patch-as                                                                                  |    42 -
 security/tor-browser/patches/patch-bf                                                                                  |    13 -
 security/tor-browser/patches/patch-browser_app_profile_firefox.js                                                      |    14 +
 security/tor-browser/patches/patch-browser_installer_package-manifest.in                                               |    24 -
 security/tor-browser/patches/patch-build_autoconf_compiler-opts.m4                                                     |    22 -
 security/tor-browser/patches/patch-build_autoconf_nss.m4                                                               |    46 -
 security/tor-browser/patches/patch-build_gyp.mozbuild                                                                  |    42 -
 security/tor-browser/patches/patch-build_moz.configure_old.configure                                                   |    12 +
 security/tor-browser/patches/patch-build_moz.configure_rust.configure                                                  |    15 +
 security/tor-browser/patches/patch-build_pgo_profileserver.py                                                          |    13 -
 security/tor-browser/patches/patch-config_Makefile.in                                                                  |    21 -
 security/tor-browser/patches/patch-config_baseconfig.mk                                                                |    19 -
 security/tor-browser/patches/patch-config_external_moz.build                                                           |    36 -
 security/tor-browser/patches/patch-config_rules.mk                                                                     |    12 -
 security/tor-browser/patches/patch-config_stl__wrappers_ios                                                            |     8 -
 security/tor-browser/patches/patch-config_stl__wrappers_ostream                                                        |     8 -
 security/tor-browser/patches/patch-config_system-headers                                                               |    90 -
 security/tor-browser/patches/patch-config_system__wrappers_unwind.h                                                    |     9 -
 security/tor-browser/patches/patch-dom_base_DOMRequest.cpp                                                             |    12 -
 security/tor-browser/patches/patch-dom_base_moz.build                                                                  |    14 -
 security/tor-browser/patches/patch-dom_fetch_FetchConsumer.cpp                                                         |    13 +
 security/tor-browser/patches/patch-dom_media_CubebUtils.cpp                                                            |    13 +
 security/tor-browser/patches/patch-dom_media_gstreamer_GStreamerAllocator.cpp                                          |    12 -
 security/tor-browser/patches/patch-dom_media_moz.build                                                                 |    32 -
 security/tor-browser/patches/patch-dom_plugins_ipc_PluginModuleChild.cpp                                               |    31 -
 security/tor-browser/patches/patch-dom_plugins_ipc_PluginModuleChild.h                                                 |    13 -
 security/tor-browser/patches/patch-dom_plugins_ipc_PluginProcessChild.cpp                                              |    16 -
 security/tor-browser/patches/patch-dom_system_OSFileConstants.cpp                                                      |    51 -
 security/tor-browser/patches/patch-extensions_spellcheck_hunspell_glue_mozHunspell.cpp                                 |    19 -
 security/tor-browser/patches/patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp                |    15 +
 security/tor-browser/patches/patch-gfx_cairo_libpixman_src_pixman-arm-neon-asm.S                                       |    37 -
 security/tor-browser/patches/patch-gfx_gl_GLContextProviderGLX.cpp                                                     |    16 -
 security/tor-browser/patches/patch-gfx_graphite2_src_Bidi.cpp                                                          |    16 -
 security/tor-browser/patches/patch-gfx_moz.build                                                                       |    26 -
 security/tor-browser/patches/patch-gfx_skia_generate__mozbuild.py                                                      |    17 -
 security/tor-browser/patches/patch-gfx_skia_moz.build                                                                  |    17 -
 security/tor-browser/patches/patch-gfx_skia_skia_src_core_SkUtilsArm.cpp                                               |    45 -
 security/tor-browser/patches/patch-gfx_skia_skia_src_opts_SkBitmapProcState__opts__arm.cpp                             |    28 -
 security/tor-browser/patches/patch-gfx_skia_skia_src_opts_memset.arm.S                                                 |    49 -
 security/tor-browser/patches/patch-gfx_thebes_moz.build                                                                |    25 -
 security/tor-browser/patches/patch-gfx_webrender_src_query.rs                                                          |    25 +
 security/tor-browser/patches/patch-gfx_ycbcr_moz.build                                                                 |    13 -
 security/tor-browser/patches/patch-gfx_ycbcr_yuv__row__arm.S                                                           |    40 -
 security/tor-browser/patches/patch-image_decoders_nsJPEGDecoder.cpp                                                    |    73 +-
 security/tor-browser/patches/patch-intl_hyphenation_glue_hnjalloc.h                                                    |    14 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_atomicops.h                                                   |    15 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_file__util__posix.cc                                          |    24 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_lock__impl__posix.cc                                          |    15 +
 security/tor-browser/patches/patch-ipc_chromium_src_base_message__loop.cc                                              |    40 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_message__pump__libevent.cc                                    |    20 +-
 security/tor-browser/patches/patch-ipc_chromium_src_base_platform__thread.h                                            |    14 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc                                    |    88 +-
 security/tor-browser/patches/patch-ipc_chromium_src_base_process__util.h                                               |    14 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_process__util__bsd.cc                                         |    18 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_process__util__posix.cc                                       |    22 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_scoped__nsautorelease__pool.h                                 |    45 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_sys__info__posix.cc                                           |    16 -
 security/tor-browser/patches/patch-ipc_chromium_src_base_time__posix.cc                                                |    15 -
 security/tor-browser/patches/patch-ipc_chromium_src_build_build__config.h                                              |    22 -
 security/tor-browser/patches/patch-ipc_chromium_src_chrome_common_transport__dib.h                                     |    13 -
 security/tor-browser/patches/patch-ipc_glue_CrossProcessSemaphore.h                                                    |    21 +
 security/tor-browser/patches/patch-ipc_glue_CrossProcessSemaphore__posix.cpp                                           |   190 +
 security/tor-browser/patches/patch-ipc_glue_GeckoChildProcessHost.cpp                                                  |    35 +-
 security/tor-browser/patches/patch-ipc_glue_StringUtil.cpp                                                             |    24 -
 security/tor-browser/patches/patch-ipc_glue_moz.build                                                                  |    15 -
 security/tor-browser/patches/patch-js__src__vm__SPSProfiler.cpp                                                        |    17 -
 security/tor-browser/patches/patch-js_src_ctypes_CTypes.h                                                              |    28 -
 security/tor-browser/patches/patch-js_src_frontend_ParseMaps.cpp                                                       |    12 -
 security/tor-browser/patches/patch-js_src_gc_Memory.cpp                                                                |    23 +
 security/tor-browser/patches/patch-js_src_jit-LIR.cpp                                                                  |    13 -
 security/tor-browser/patches/patch-js_src_jit_MIR.cpp                                                                  |    13 -
 security/tor-browser/patches/patch-js_src_jit_arm_Architecture-arm.cpp                                                 |    13 -
 security/tor-browser/patches/patch-js_src_jsdate.cpp                                                                   |    15 -
 security/tor-browser/patches/patch-js_src_jskwgen.cpp                                                                  |    13 -
 security/tor-browser/patches/patch-js_src_jsmath.cpp                                                                   |    13 -
 security/tor-browser/patches/patch-js_src_shell_jsoptparse.cpp                                                         |    13 -
 security/tor-browser/patches/patch-js_src_threading_posix_Thread.cpp                                                   |    15 +
 security/tor-browser/patches/patch-js_src_util_NativeStack.cpp                                                         |    23 +
 security/tor-browser/patches/patch-js_src_wasm_WasmSignalHandlers.cpp                                                  |    14 +
 security/tor-browser/patches/patch-js_xpconnect_src_XPCConvert.cpp                                                     |    16 -
 security/tor-browser/patches/patch-js_xpconnect_src_xpcprivate.h                                                       |    17 -
 security/tor-browser/patches/patch-media_libcubeb_gtest_moz.build                                                      |    12 +
 security/tor-browser/patches/patch-media_libcubeb_src_cubeb.c                                                          |    25 +-
 security/tor-browser/patches/patch-media_libcubeb_src_cubeb__alsa.c                                                    |   372 +-
 security/tor-browser/patches/patch-media_libcubeb_src_cubeb__oss.c                                                     |    94 +-
 security/tor-browser/patches/patch-media_libcubeb_src_moz.build                                                        |    43 +-
 security/tor-browser/patches/patch-media_libcubeb_update.sh                                                            |    12 +
 security/tor-browser/patches/patch-media_libpng_pngpriv.h                                                              |    15 +-
 security/tor-browser/patches/patch-media_libsoundtouch_src_cpu__detect__x86.cpp                                        |    15 -
 security/tor-browser/patches/patch-media_libstagefright_frameworks_av_include_media_stagefright_foundation_AString.h   |    12 -
 security/tor-browser/patches/patch-media_libstagefright_frameworks_av_media_libstagefright_foundation_AString.cpp      |    22 -
 security/tor-browser/patches/patch-media_libstagefright_system_core_liblog_fake__log__device.c                         |    27 -
 security/tor-browser/patches/patch-media_libstagefright_system_core_liblog_logprint.c                                  |    22 -
 security/tor-browser/patches/patch-media_libtheora_lib_arm_armcpu.c                                                    |    25 -
 security/tor-browser/patches/patch-media_libtheora_lib_info.c                                                          |    13 -
 security/tor-browser/patches/patch-media_libtheora_moz.build                                                           |    14 -
 security/tor-browser/patches/patch-media_libtremor_Makefile.in                                                         |    14 -
 security/tor-browser/patches/patch-media_libtremor_moz.build                                                           |    10 -
 security/tor-browser/patches/patch-media_libvorbis_Makefile.in                                                         |    14 -
 security/tor-browser/patches/patch-media_libvorbis_lib_vorbis_info.c                                                   |    13 -
 security/tor-browser/patches/patch-media_libvorbis_moz.build                                                           |    11 -
 security/tor-browser/patches/patch-media_libyuv_include_libyuv_scale__row.h                                            |    17 -
 security/tor-browser/patches/patch-media_libyuv_libyuv_source_mjpeg__decoder.cc                                        |    13 +
 security/tor-browser/patches/patch-media_mtransport_third__party_nICEr_src_util_mbslen.c                               |    18 -
 security/tor-browser/patches/patch-media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h         |    19 -
 security/tor-browser/patches/patch-media_openmax__dl_dl_api_armCOMM__s.h                                               |    37 -
 security/tor-browser/patches/patch-media_webrtc_signaling_test_common.build                                            |    26 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_build_common.gypi                                         |    13 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_audio__coding_neteq_neteq.gypi                    |    28 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_audio__device_linux_audio__device__alsa__linux.cc |    17 +
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_desktop__capture_screen__capturer.cc              |    13 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_desktop__capture_screen__capturer.h               |    13 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc       |    18 +-
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc     |    16 +-
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi                |    49 -
 security/tor-browser/patches/patch-media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp      |    43 -
 security/tor-browser/patches/patch-memory_build_mozjemalloc__compat.c                                                  |    53 -
 security/tor-browser/patches/patch-memory_mozalloc_mozalloc__abort.cpp                                                 |    16 -
 security/tor-browser/patches/patch-memory_volatile_VolatileBufferOSX.cpp                                               |    19 -
 security/tor-browser/patches/patch-mfbt_Attributes.h                                                                   |    30 -
 security/tor-browser/patches/patch-mfbt_Poison.cpp                                                                     |    20 -
 security/tor-browser/patches/patch-modules_libjar_nsZipArchive.cpp                                                     |    15 -
 security/tor-browser/patches/patch-modules_libpref_init_all.js                                                         |    15 -
 security/tor-browser/patches/patch-modules_pdfium_update.sh                                                            |    16 +
 security/tor-browser/patches/patch-mozglue_build_arm.cpp                                                               |    57 -
 security/tor-browser/patches/patch-mozglue_build_arm.h                                                                 |    13 -
 security/tor-browser/patches/patch-netwerk_dns_moz.build                                                               |    14 -
 security/tor-browser/patches/patch-netwerk_protocol_http_Http2Session.cpp                                              |    15 -
 security/tor-browser/patches/patch-pb                                                                                  |    11 -
 security/tor-browser/patches/patch-pc                                                                                  |    12 -
 security/tor-browser/patches/patch-rc                                                                                  |    16 -
 security/tor-browser/patches/patch-servo_components_style_build__gecko.rs                                              |    15 +
 security/tor-browser/patches/patch-storage_SQLiteMutex.h                                                               |    24 -
 security/tor-browser/patches/patch-toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h                   |    20 -
 security/tor-browser/patches/patch-toolkit_components_protobuf_src_google_protobuf_stubs_platform__macros.h            |    13 -
 security/tor-browser/patches/patch-toolkit_components_terminator_nsTerminator.cpp                                      |    27 +
 security/tor-browser/patches/patch-toolkit_library_moz.build                                                           |    67 +-
 security/tor-browser/patches/patch-toolkit_moz.configure                                                               |    23 +
 security/tor-browser/patches/patch-toolkit_mozapps_installer_packager.mk                                               |    15 +
 security/tor-browser/patches/patch-toolkit_xre_glxtest.cpp                                                             |    16 +-
 security/tor-browser/patches/patch-toolkit_xre_nsAppRunner.cpp                                                         |    46 -
 security/tor-browser/patches/patch-toolkit_xre_nsEmbedFunctions.cpp                                                    |    22 -
 security/tor-browser/patches/patch-webapprt_moz.build                                                                  |    15 -
 security/tor-browser/patches/patch-xpcom_base_nscore.h                                                                 |    12 +-
 security/tor-browser/patches/patch-xpcom_build_BinaryPath.h                                                            |    39 +
 security/tor-browser/patches/patch-xpcom_build_PoisonIOInterposer.h                                                    |    58 -
 security/tor-browser/patches/patch-xpcom_components_Module.h                                                           |    15 -
 security/tor-browser/patches/patch-xpcom_io_TorFileUtils.cpp                                                           |     8 +-
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_Makefile.in                                           |    48 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build                                             |    22 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp                           |   527 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__mips.S                               |    52 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s                        |    25 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__gcc__x86__unix.cpp                        |    13 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__netbsd__m68k.cpp                          |    75 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__ppc__netbsd.cpp                           |    47 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__sparc64__netbsd.cpp                       |     2 +-
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcstubs__arm__netbsd.cpp                            |   217 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcstubs__asm__mips.S                                |    52 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcstubs__asm__sparc64__netbsd.s                     |    71 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcstubs__gcc__x86__unix.cpp                         |    13 -
 security/tor-browser/patches/patch-xpcom_reflect_xptcall_md_unix_xptcstubs__netbsd__m68k.cpp                           |    41 -
 security/tor-browser/patches/patch-xulrunner_installer_Makefile.in                                                     |    15 -
 169 files changed, 2817 insertions(+), 6252 deletions(-)

diffs (truncated from 12026 to 300 lines):

diff -r b19a80db4e26 -r 1f2db29160a2 security/tor-browser/Makefile
--- a/security/tor-browser/Makefile     Mon Feb 25 15:21:37 2019 +0000
+++ b/security/tor-browser/Makefile     Mon Feb 25 15:32:23 2019 +0000
@@ -1,30 +1,40 @@
-# $NetBSD: Makefile,v 1.36 2019/02/23 18:58:48 wiz Exp $
-
-TORBVER=       6.0.8
+# $NetBSD: Makefile,v 1.37 2019/02/25 15:32:23 wiz Exp $
 
-DISTNAME=      v6.0.8-esr45.6.0
-PKGNAME=       tor-browser-${TORBVER}
-PKGREVISION=   19
+DISTNAME=      tor-browser-60.5.1esr-8.5-1-build2
+PKGNAME=       tor-browser-8.5
 CATEGORIES=    www
-# Use OpenBSD distfile
-#MASTER_SITES= ${MASTER_SITE_OPENBSD:=distfiles/tor-browser/}
+# DISTFILE manually packaged from git checkout
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
 HOMEPAGE=      https://www.torproject.org/projects/torbrowser.html.en
 COMMENT=       Tor Browser based on Firefox
 LICENSE=       mpl-1.1
 
-# A name of OpenBSD Ports distfile does not have 'tor-browser' inside.
-DIST_SUBDIR=   tor-browser
-
-EXTRACT_USING= bsdtar
-WRKSRC=                ${WRKDIR}/${DISTNAME:S/v/torb-/}
+WRKSRC=                ${WRKDIR}/tor-browser
 
 DEPENDS+=      tor-[0-9]*:../../net/tor
 
+# How to update this package:
+#
+# make a tarball:
+# git clone https://git.torproject.org/tor-browser.git
+# cd tor-browser
+# git fetch --tags
+# git tag -l
+# (choose a tag, here tor-browser-60.5.1esr-8.5-1-build2)
+# git checkout tor-browser-60.5.1esr-8.5-1-build2
+# cd ..
+# tar -cvzf tor-browser-60.5.1esr-8.5-1-build2.tar.gz --exclude .git tor-browser
+#
+# replace all patches with the one from the correspoding www/firefox${ESR_RELEASE}
+# BUT keep patch-xpcom_io_TorFileUtils.cpp!
+# make the patches apply
+#
+# when packaged up, read MESSAGE and test by visiting https://check.torproject.org
+
 # Remove hardcoded build directory.
 SUBST_CLASSES+=                        fix-build-dir
-SUBST_STAGE.fix-build-dir+=    pre-configure
+SUBST_STAGE.fix-build-dir=     pre-configure
 SUBST_FILES.fix-build-dir+=    .mozconfig
 SUBST_SED.fix-build-dir+=      -e 's,mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@,,'
 
@@ -32,17 +42,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-CONFIGURE_ARGS+=       --enable-application=browser
-CONFIGURE_ARGS+=       --disable-tor-browser-update
-CONFIGURE_ARGS+=       --disable-webrtc
-CONFIGURE_ARGS+=       --disable-gio
-CONFIGURE_ARGS+=       --disable-dbus
-CONFIGURE_ARGS+=       --disable-gnomeui
-CONFIGURE_ARGS+=        --disable-libnotify
-.if ${OPSYS} != "SunOS"
-CONFIGURE_ARGS+=        --enable-pie
-.endif
-CONFIGURE_ARGS+=        --enable-tor-data-in-home-dir
+CONFIGURE_ARGS+=       --enable-tor-browser-data-outside-app-dir
 CFLAGS+=               -DTOR_BROWSER_DATA_IN_HOME_DIR=1
 CFLAGS+=               -DTOR_BROWSER_DATA_OUTSIDE_APP_DIR=1
 CFLAGS+=               -fPIC
@@ -51,23 +51,23 @@
 CFLAGS+=       -fpermissive
 
 # workaround for link of libxul.so etc.
-LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/tor-browser ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/${PKGBASE}
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+LDFLAGS.DragonFly+=    -lplc4 -lnspr4
+LDFLAGS.FreeBSD+=      -lplc4 -lnspr4
+LDFLAGS.Linux+=                -lnspr4
 LDFLAGS.SunOS+=                -lm
 
-ALL_ENV+=              MOZILLA_PKG_NAME=tor-browser
+ALL_ENV+=              MOZ_APP_NAME=${PKGBASE}
 
-NOT_PAX_MPROTECT_SAFE+=        lib/tor-browser/firefox
-NOT_PAX_MPROTECT_SAFE+=        lib/tor-browser/firefox-bin
+NOT_PAX_MPROTECT_SAFE+=        lib/${PKGBASE}/tor-browser
+NOT_PAX_MPROTECT_SAFE+=        lib/${PKGBASE}/tor-browser-bin
 
 # Avoid ld "invalid section index" errors.
 BUILDLINK_TRANSFORM.SunOS+=    rm:-fdata-sections
 BUILDLINK_TRANSFORM.SunOS+=    rm:-ffunction-sections
 
-LDFLAGS.DragonFly=     -lplc4 -lnspr4
-LDFLAGS.FreeBSD=       -lplc4 -lnspr4
-LDFLAGS.Linux=         -lnspr4
-
-.include "../../www/firefox45/mozilla-common.mk"
+.include "../../www/firefox60/mozilla-common.mk"
 .include "options.mk"
 
 CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/header.py
@@ -75,15 +75,11 @@
 CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/xpidl.py
 CHECK_INTERPRETER_SKIP+=lib/firefox-sdk/sdk/bin/xpt.py
 
-MOZILLA=       tor-browser
-MOZILLA_ICON=  ${WRKSRC}/${OBJDIR}/dist/firefox/browser/chrome/icons/default/default48.png
-MOZILLA_NAME=  TorBrowser
+CHECK_WRKREF_SKIP+=    lib/${PKGBASE}/chrome/toolkit/content/global/buildconfig.html
 
-SUBST_CLASSES+=                sys-dic
-SUBST_STAGE.sys-dic=   pre-configure
-SUBST_MESSAGE.sys-dic= Reference to system hunspell dictionaries.
-SUBST_FILES.sys-dic=   extensions/spellcheck/hunspell/src/mozHunspell.cpp
-SUBST_VARS.sys-dic=    PREFIX
+MOZILLA=       ${PKGBASE}
+MOZILLA_ICON=  ${WRKSRC}/browser/branding/official/default48.png
+MOZILLA_NAME=  TorBrowser
 
 post-extract:
        mv ${WRKSRC}/gfx/ycbcr/yuv_row_arm.s ${WRKSRC}/gfx/ycbcr/yuv_row_arm.S
@@ -91,6 +87,7 @@
 pre-configure:
        cd ${WRKSRC} && mkdir ${OBJDIR}
        cd ${WRKSRC} && autoconf
+       cd ${WRKSRC}/${OBJDIR} && touch old-configure.vars
        cd ${WRKSRC}/js/src && autoconf
 
 post-build:
@@ -102,10 +99,15 @@
 
 INSTALLATION_DIRS+=    share/applications share/pixmaps
 post-install:
+       ${ECHO} '#! /bin/sh' > ${DESTDIR}${PREFIX}/bin/${MOZILLA}
+       ${ECHO} '${PREFIX}/lib/tor-browser/tor-browser-bin "$$@"' >> \
+               ${DESTDIR}${PREFIX}/bin/${MOZILLA}
+       ${CHMOD} 755 ${DESTDIR}${PREFIX}/bin/${MOZILLA}
        ${INSTALL_DATA} ${WRKDIR}/desktop                               \
          ${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
        ${INSTALL_DATA} ${MOZILLA_ICON}                                 \
          ${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
 
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b19a80db4e26 -r 1f2db29160a2 security/tor-browser/PLIST
--- a/security/tor-browser/PLIST        Mon Feb 25 15:21:37 2019 +0000
+++ b/security/tor-browser/PLIST        Mon Feb 25 15:32:23 2019 +0000
@@ -1,20 +1,22 @@
-@comment $NetBSD: PLIST,v 1.2 2017/01/22 12:27:21 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/02/25 15:32:23 wiz Exp $
 bin/tor-browser
 lib/tor-browser/application.ini
 lib/tor-browser/browser/blocklist.xml
 lib/tor-browser/browser/chrome.manifest
 lib/tor-browser/browser/chrome/browser/content/branding/about-logo.png
 lib/tor-browser/browser/chrome/browser/content/branding/about-logo%2x.png@localhost
-lib/tor-browser/browser/chrome/browser/content/branding/about-wordmark.png
+lib/tor-browser/browser/chrome/browser/content/branding/about-wordmark.svg
 lib/tor-browser/browser/chrome/browser/content/branding/about.png
 lib/tor-browser/browser/chrome/browser/content/branding/aboutDialog.css
 lib/tor-browser/browser/chrome/browser/content/branding/icon128.png
 lib/tor-browser/browser/chrome/browser/content/branding/icon16.png
+lib/tor-browser/browser/chrome/browser/content/branding/icon256.png
 lib/tor-browser/browser/chrome/browser/content/branding/icon32.png
 lib/tor-browser/browser/chrome/browser/content/branding/icon48.png
+lib/tor-browser/browser/chrome/browser/content/branding/icon512.png
 lib/tor-browser/browser/chrome/browser/content/branding/icon64.png
 lib/tor-browser/browser/chrome/browser/content/branding/identity-icons-brand.svg
-lib/tor-browser/browser/chrome/browser/content/branding/silhouette-40.svg
+lib/tor-browser/browser/chrome/browser/content/briefcase.svg
 lib/tor-browser/browser/chrome/browser/content/browser/aboutDialog-appUpdater.js
 lib/tor-browser/browser/chrome/browser/content/browser/aboutDialog.css
 lib/tor-browser/browser/chrome/browser/content/browser/aboutDialog.js
@@ -23,30 +25,17 @@
 lib/tor-browser/browser/chrome/browser/content/browser/aboutPrivateBrowsing.css
 lib/tor-browser/browser/chrome/browser/content/browser/aboutPrivateBrowsing.js
 lib/tor-browser/browser/chrome/browser/content/browser/aboutPrivateBrowsing.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/aboutProviderDirectory.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/aboutRobots-icon.png
 lib/tor-browser/browser/chrome/browser/content/browser/aboutRobots-widget-left.png
+lib/tor-browser/browser/chrome/browser/content/browser/aboutRobots.css
+lib/tor-browser/browser/chrome/browser/content/browser/aboutRobots.js
 lib/tor-browser/browser/chrome/browser/content/browser/aboutRobots.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/aboutSessionRestore.js
 lib/tor-browser/browser/chrome/browser/content/browser/aboutSessionRestore.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/aboutSocialError.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/aboutTabCrashed.css
 lib/tor-browser/browser/chrome/browser/content/browser/aboutTabCrashed.js
 lib/tor-browser/browser/chrome/browser/content/browser/aboutTabCrashed.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/aboutTabGroupsMigration.js
-lib/tor-browser/browser/chrome/browser/content/browser/aboutTabGroupsMigration.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/aboutWelcomeBack.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/aboutaccounts.css
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/aboutaccounts.js
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/aboutaccounts.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/images/fox.png
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/images/graphic_sync_intro.png
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/images/graphic_sync_intro%2x.png@localhost
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/main.css
-lib/tor-browser/browser/chrome/browser/content/browser/aboutaccounts/normalize.css
-lib/tor-browser/browser/chrome/browser/content/browser/abouthealthreport/abouthealth.css
-lib/tor-browser/browser/chrome/browser/content/browser/abouthealthreport/abouthealth.js
-lib/tor-browser/browser/chrome/browser/content/browser/abouthealthreport/abouthealth.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/aboutHome.css
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/aboutHome.js
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/aboutHome.xhtml
@@ -58,8 +47,6 @@
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/downloads%2x.png@localhost
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/history.png
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/history%2x.png@localhost
-lib/tor-browser/browser/chrome/browser/content/browser/abouthome/mozilla.png
-lib/tor-browser/browser/chrome/browser/content/browser/abouthome/mozilla%2x.png@localhost
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/restore-large.png
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/restore-large%2x.png@localhost
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/restore.png
@@ -72,112 +59,118 @@
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/snippet2%2x.png@localhost
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/sync.png
 lib/tor-browser/browser/chrome/browser/content/browser/abouthome/sync%2x.png@localhost
-lib/tor-browser/browser/chrome/browser/content/browser/baseMenuOverlay.xul
 lib/tor-browser/browser/chrome/browser/content/browser/blockedSite.xhtml
 lib/tor-browser/browser/chrome/browser/content/browser/bookmarks/bookmarksPanel.js
 lib/tor-browser/browser/chrome/browser/content/browser/bookmarks/bookmarksPanel.xul
 lib/tor-browser/browser/chrome/browser/content/browser/bookmarks/sidebarUtils.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-addons.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-captivePortal.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-compacttheme.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-ctrlTab.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-customization.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-data-submission-info-bar.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-devedition.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-eme.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-feeds.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-fullScreen.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-fullScreenAndPointerLock.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-fullZoom.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-fxaccounts.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-gestureSupport.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-media.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-pageActions.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-places.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-plugins.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-safebrowsing.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-sidebar.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-social.js
-lib/tor-browser/browser/chrome/browser/content/browser/browser-syncui.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-sync.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-tabPreviews.xml
 lib/tor-browser/browser/chrome/browser/content/browser/browser-tabsintitlebar.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-thumbnails.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser-trackingprotection.js
+lib/tor-browser/browser/chrome/browser/content/browser/browser-webrender.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser.css
 lib/tor-browser/browser/chrome/browser/content/browser/browser.js
 lib/tor-browser/browser/chrome/browser/content/browser/browser.xul
-lib/tor-browser/browser/chrome/browser/content/browser/certerror/aboutCertError.css
-lib/tor-browser/browser/chrome/browser/content/browser/certerror/aboutCertError.xhtml
-lib/tor-browser/browser/chrome/browser/content/browser/chatWindow.xul
+lib/tor-browser/browser/chrome/browser/content/browser/built_in_addons.json
 lib/tor-browser/browser/chrome/browser/content/browser/content-UITour.js
 lib/tor-browser/browser/chrome/browser/content/browser/content-sessionStore.js
 lib/tor-browser/browser/chrome/browser/content/browser/content.js
 lib/tor-browser/browser/chrome/browser/content/browser/contentSearchUI.css
 lib/tor-browser/browser/chrome/browser/content/browser/contentSearchUI.js
-lib/tor-browser/browser/chrome/browser/content/browser/customizableui/aboutCustomizing.xul
-lib/tor-browser/browser/chrome/browser/content/browser/customizableui/panelUI.css
 lib/tor-browser/browser/chrome/browser/content/browser/customizableui/panelUI.js
-lib/tor-browser/browser/chrome/browser/content/browser/customizableui/panelUI.xml
 lib/tor-browser/browser/chrome/browser/content/browser/customizableui/toolbar.xml
-lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/1.footer.jpg
+lib/tor-browser/browser/chrome/browser/content/browser/default-theme-icon.svg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/1.header.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/1.icon.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/1.preview.jpg
-lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/2.footer.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/2.header.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/2.icon.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/2.preview.jpg
-lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/3.footer.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/3.header.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/3.icon.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/3.preview.png
-lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/4.footer.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/4.header.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/4.icon.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/4.preview.png
-lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/5.footer.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/5.header.png
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/5.icon.jpg
 lib/tor-browser/browser/chrome/browser/content/browser/defaultthemes/5.preview.jpg




Home | Main Index | Thread Index | Old Index