3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136567 from yu-re-ka/feature/thunderbird-addons

thunderbird: patch for #134433
This commit is contained in:
Bernardo Meurer 2021-09-03 11:26:45 -07:00 committed by GitHub
commit aa08f65df0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,22 @@
diff --git a/comm/mail/config/mozconfigs/common b/comm/mail/config/mozconfigs/common
--- a/comm/mail/config/mozconfigs/common
+++ b/comm/mail/config/mozconfigs/common
@@ -1,6 +1,3 @@
ac_add_options --enable-application=comm/mail
-# Disable enforcing that add-ons are signed by the trusted root.
-MOZ_REQUIRE_SIGNING=
-
. "$topsrcdir/build/mozconfig.common.override"
diff --git a/comm/mail/moz.configure b/comm/mail/moz.configure
--- a/comm/mail/moz.configure
+++ b/comm/mail/moz.configure
@@ -12,6 +12,7 @@
imply_option("MOZ_CRASHREPORTER_URL", "https://crash-reports.thunderbird.net/")
imply_option("--enable-default-browser-agent", False)
+imply_option("MOZ_REQUIRE_SIGNING", False)
@depends(target_is_windows, target_is_linux)

View file

@ -19,6 +19,12 @@ rec {
};
patches = [
./no-buildconfig-90.patch
# There is a bug in Thunderbird 91 where add-ons are required
# to be signed when the build is run with default settings.
# https://bugzilla.mozilla.org/show_bug.cgi?id=1727113
# https://phabricator.services.mozilla.com/D124361
./D124361.diff
];
meta = with lib; {