Commits:
-
a85b5b96
by Pier Angelo Vendrame at 2023-01-20T16:44:33+01:00
dropme! Bug 13379: Sign our MAR files.
Part of 41584.
This commit makes sure we're not messing stuff when rebasing.
-
541d508c
by Pier Angelo Vendrame at 2023-01-20T16:44:40+01:00
Revert "TB3: Tor Browser's official .mozconfigs."
Part of 41584.
This reverts commit b721a1e22730fd407aa10e5b3d519345856b18f5.
-
d967a1fd
by Pier Angelo Vendrame at 2023-01-20T16:44:46+01:00
squash! Base Browser's .mozconfigs.
Bug 17858: Cannot create incremental MARs for hardened builds.
Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
(which is part of mar-tools and is not distributed to end-users) with
ASan.
Bug 21849: Don't allow SSL key logging.
Bug 25741 - TBA: Disable features at compile-time
Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
This fixes a problem where some preferences had the wrong default value.
Also see bug 27472 where we made a similar fix for Android.
Bug 29859: Disable HLS support for now
Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
Bug 33734: Set MOZ_NORMANDY to False
Bug 33851: Omit Parental Controls.
Bug 40252: Add --enable-rust-simd to our tor-browser mozconfig files
Bug 41584: Move some configuration options to base-browser level
-
ec2caef7
by Mike Perry at 2023-01-20T16:44:46+01:00
TB3: Tor Browser's official .mozconfigs.
Also:
Add an --enable-tor-browser-data-outside-app-dir configure option
Add --with-tor-browser-version configure option
Bug 31457: disable per-installation profiles
The dedicated profiles (per-installation) feature does not interact
well with our bundled profiles on Linux and Windows, and it also causes
multiple profiles to be created on macOS under TorBrowser-Data.
Bug 31935: Disable profile downgrade protection.
Since Tor Browser does not support more than one profile, disable
the prompt and associated code that offers to create one when a
version downgrade situation is detected.
Add --enable-tor-browser-update build option
Bug 40793: moved Tor configuration options from old-configure.in to moz.configure
Bug 41584: Move some configuration options to base-browser level
-
03866122
by Pier Angelo Vendrame at 2023-01-20T17:29:13+01:00
fixup! Bug 13379: Sign our MAR files.
Part of 41584.
This reverts commit 541d508cf5ff118d6438ee9f264a4e1f93cb7a6b
6 changed files:
Changes:
browser/moz.configure
... |
... |
@@ -5,10 +5,12 @@ |
5
|
5
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
6
|
6
|
|
7
|
7
|
imply_option("MOZ_PLACES", True)
|
|
8
|
+# tor-browser#32493
|
8
|
9
|
imply_option("MOZ_SERVICES_HEALTHREPORT", False)
|
9
|
10
|
imply_option("MOZ_SERVICES_SYNC", True)
|
10
|
11
|
imply_option("MOZ_DEDICATED_PROFILES", False)
|
11
|
12
|
imply_option("MOZ_BLOCK_PROFILE_DOWNGRADE", False)
|
|
13
|
+# tor-browser#33734
|
12
|
14
|
imply_option("MOZ_NORMANDY", False)
|
13
|
15
|
|
14
|
16
|
with only_when(target_is_linux & compile_environment):
|
mobile/android/torbrowser.configure
→
mobile/android/basebrowser.configure
... |
... |
@@ -4,7 +4,8 @@ |
4
|
4
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
5
|
5
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
6
|
6
|
|
7
|
|
-# Set Tor Browser default config
|
|
7
|
+# Set Base Browser default config
|
|
8
|
+# See tor-browser#25741 and tor-browser#41584.
|
8
|
9
|
|
9
|
10
|
imply_option("MOZ_ANDROID_EXCLUDE_FONTS", False)
|
10
|
11
|
|
... |
... |
@@ -14,7 +15,7 @@ imply_option("MOZ_ANDROID_EXCLUDE_FONTS", False) |
14
|
15
|
# imply_option("MOZ_CRASHREPORTER", False)
|
15
|
16
|
|
16
|
17
|
# Disable uploading information about the browser configuration and
|
17
|
|
-# performance to an external server
|
|
18
|
+# performance to an external server. See tor-browser#32493.
|
18
|
19
|
imply_option("MOZ_SERVICES_HEALTHREPORT", False)
|
19
|
20
|
|
20
|
21
|
# Disable creating telemetry and data reports that are uploaded to an
|
... |
... |
@@ -26,5 +27,7 @@ imply_option("MOZ_SERVICES_HEALTHREPORT", False) |
26
|
27
|
# imply_option("MOZ_TELEMETRY_REPORTING", False)
|
27
|
28
|
# imply_option("MOZ_DATA_REPORTING", False)
|
28
|
29
|
|
|
30
|
+# tor-browser#24796: This controls some permissions in GeckoView's
|
|
31
|
+# AndroidManifest.xml
|
29
|
32
|
imply_option("MOZ_ANDROID_NETWORK_STATE", False)
|
30
|
33
|
imply_option("MOZ_ANDROID_LOCATION", False) |
mobile/android/confvars.sh
... |
... |
@@ -16,8 +16,6 @@ MOZ_RAW=1 |
16
|
16
|
|
17
|
17
|
MOZ_APP_ID={aa3c5121-dab2-40e2-81ca-7ea25febc110}
|
18
|
18
|
|
19
|
|
-### Tor Browser for Android ###
|
20
|
|
-
|
21
|
19
|
# Disable telemetry at compile-time
|
22
|
20
|
unset MOZ_TELEMETRY_REPORTING
|
23
|
21
|
|
mobile/android/moz.configure
... |
... |
@@ -10,6 +10,7 @@ project_flag( |
10
|
10
|
default=True,
|
11
|
11
|
)
|
12
|
12
|
|
|
13
|
+# tor-browser#29859
|
13
|
14
|
project_flag(
|
14
|
15
|
"MOZ_ANDROID_HLS_SUPPORT",
|
15
|
16
|
help="Enable HLS (HTTP Live Streaming) support (currently using the ExoPlayer library)",
|
... |
... |
@@ -58,7 +59,7 @@ option( |
58
|
59
|
set_config("MOZ_ANDROID_GECKOVIEW_LITE", True, when="--enable-geckoview-lite")
|
59
|
60
|
|
60
|
61
|
imply_option("MOZ_NORMANDY", False)
|
61
|
|
-# Comment this so we can imply |False| in torbrowser.configure
|
|
62
|
+# Comment this so we can imply |False| in basebrowser.configure
|
62
|
63
|
# The Build system doesn't allow multiple imply_option()
|
63
|
64
|
# calls with the same key.
|
64
|
65
|
# imply_option("MOZ_SERVICES_HEALTHREPORT", True)
|
... |
... |
@@ -80,7 +81,7 @@ def check_target(target): |
80
|
81
|
)
|
81
|
82
|
|
82
|
83
|
|
83
|
|
-include("torbrowser.configure")
|
|
84
|
+include("basebrowser.configure")
|
84
|
85
|
|
85
|
86
|
include("../../toolkit/moz.configure")
|
86
|
87
|
include("../../build/moz.configure/android-sdk.configure")
|
security/moz.build
... |
... |
@@ -85,6 +85,7 @@ gyp_vars["nss_dist_obj_dir"] = "$PRODUCT_DIR/dist/bin" |
85
|
85
|
gyp_vars["disable_tests"] = 1
|
86
|
86
|
gyp_vars["disable_dbm"] = 1
|
87
|
87
|
gyp_vars["disable_libpkix"] = 1
|
|
88
|
+# tor-browser#18885, tor-browser#21849
|
88
|
89
|
gyp_vars["enable_sslkeylogfile"] = 0
|
89
|
90
|
# pkg-config won't reliably find zlib on our builders, so just force it.
|
90
|
91
|
# System zlib is only used for modutil and signtool unless
|
security/nss/lib/ssl/Makefile
... |
... |
@@ -41,6 +41,7 @@ endif |
41
|
41
|
|
42
|
42
|
# Enable key logging by default in debug builds, but not opt builds.
|
43
|
43
|
# Logging still needs to be enabled at runtime through env vars.
|
|
44
|
+# tor-browser#18885, tor-browser#21849
|
44
|
45
|
NSS_ALLOW_SSLKEYLOGFILE ?= 0
|
45
|
46
|
ifeq (1,$(NSS_ALLOW_SSLKEYLOGFILE))
|
46
|
47
|
DEFINES += -DNSS_ALLOW_SSLKEYLOGFILE=1
|
|