mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
www-client/firefox: disable Normandy service by default
Bug: https://bugs.gentoo.org/713782 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -16,3 +16,4 @@ pref("intl.locale.requested", "");
|
||||
pref("extensions.autoDisableScopes", 0);
|
||||
pref("layout.css.dpi", 0);
|
||||
pref("network.trr.mode", 5);
|
||||
pref("app.normandy.enabled", false);
|
||||
|
||||
+33
@@ -775,6 +775,39 @@ pkg_postinst() {
|
||||
elog "media-sound/apulse."
|
||||
elog
|
||||
fi
|
||||
|
||||
local show_normandy_information
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
||||
# New install
|
||||
show_normandy_information=yes
|
||||
else
|
||||
local replacing_version
|
||||
for replacing_version in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test "${replacing_version}" -lt 68.6.0-r2 ; then
|
||||
# Tell user only once about our Normandy default
|
||||
show_normandy_information=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# bug 713782
|
||||
if [[ -n "${show_normandy_information}" ]] ; then
|
||||
elog
|
||||
elog "Upstream operates a service named Normandy which allows Mozilla to"
|
||||
elog "push changes for default settings or even install new add-ons remotely."
|
||||
elog "While this can be useful to address problems like 'Armagadd-on 2.0' or"
|
||||
elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security"
|
||||
elog "concerns prevail, which is why we have switched off the use of this"
|
||||
elog "service by default."
|
||||
elog
|
||||
elog "To re-enable this service set"
|
||||
elog
|
||||
elog " app.normandy.enabled=true"
|
||||
elog
|
||||
elog "in about:config."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
@@ -793,18 +793,23 @@ pkg_postinst() {
|
||||
elog
|
||||
fi
|
||||
|
||||
local show_doh_information
|
||||
local show_doh_information show_normandy_information
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
||||
# New install; Tell user that DoH is disabled by default
|
||||
show_doh_information=yes
|
||||
show_normandy_information=yes
|
||||
else
|
||||
local replacing_version
|
||||
for replacing_version in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test "${replacing_version}" -lt 70 ; then
|
||||
# Tell user only once about our DoH default
|
||||
show_doh_information=yes
|
||||
break
|
||||
fi
|
||||
|
||||
if ver_test "${replacing_version}" -lt 74.0-r2 ; then
|
||||
# Tell user only once about our Normandy default
|
||||
show_normandy_information=yes
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@@ -818,6 +823,23 @@ pkg_postinst() {
|
||||
elog "(\"Off by choice\") by default."
|
||||
elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
|
||||
fi
|
||||
|
||||
# bug 713782
|
||||
if [[ -n "${show_normandy_information}" ]] ; then
|
||||
elog
|
||||
elog "Upstream operates a service named Normandy which allows Mozilla to"
|
||||
elog "push changes for default settings or even install new add-ons remotely."
|
||||
elog "While this can be useful to address problems like 'Armagadd-on 2.0' or"
|
||||
elog "revert previous decisions to disable TLS 1.0/1.1, privacy and security"
|
||||
elog "concerns prevail, which is why we have switched off the use of this"
|
||||
elog "service by default."
|
||||
elog
|
||||
elog "To re-enable this service set"
|
||||
elog
|
||||
elog " app.normandy.enabled=true"
|
||||
elog
|
||||
elog "in about:config."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
Reference in New Issue
Block a user