commit: 01c322d14b9adaafc8711b73010f0a2f9a9b9916
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 30 13:47:01 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 30 13:47:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c322d1
www-client/firefox: really disable Normandy service
...while there, also disable DoH which we already disabled
in normal Firefox.
Fixes 23e30a18c ("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 <AT> gentoo.org>
www-client/firefox/files/gentoo-default-prefs.js-2 | 17 ---------------
...x-68.6.0-r2.ebuild => firefox-68.6.0-r3.ebuild} | 25 +++++++++++++++++-----
2 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/www-client/firefox/files/gentoo-default-prefs.js-2
b/www-client/firefox/files/gentoo-default-prefs.js-2
deleted file mode 100644
index ffd0d7dc8ee..00000000000
--- a/www-client/firefox/files/gentoo-default-prefs.js-2
+++ /dev/null
@@ -1,17 +0,0 @@
-pref("app.update.enabled", false);
-pref("app.update.autoInstallEnabled", false);
-pref("browser.display.use_system_colors", true);
-pref("browser.link.open_external", 3);
-pref("general.smoothScroll", true);
-pref("general.autoScroll", false);
-pref("browser.tabs.tabMinWidth", 15);
-pref("browser.backspace_action", 0);
-pref("browser.urlbar.hideGoButton", true);
-pref("accessibility.typeaheadfind", true);
-pref("browser.shell.checkDefaultBrowser", false);
-pref("browser.EULA.override", true);
-pref("general.useragent.vendor", "Gentoo");
-pref("general.useragent.locale",
"chrome://global/locale/intl.properties");
-pref("intl.locale.requested", "");
-pref("extensions.autoDisableScopes", 0);
-pref("layout.css.dpi", 0);
diff --git a/www-client/firefox/firefox-68.6.0-r2.ebuild
b/www-client/firefox/firefox-68.6.0-r3.ebuild
similarity index 96%
rename from www-client/firefox/firefox-68.6.0-r2.ebuild
rename to www-client/firefox/firefox-68.6.0-r3.ebuild
index a10f2faf8a7..24ceeba5ece 100644
--- a/www-client/firefox/firefox-68.6.0-r2.ebuild
+++ b/www-client/firefox/firefox-68.6.0-r3.ebuild
@@ -641,7 +641,7 @@ src_install() {
pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
# Add our default prefs for firefox
- cp "${FILESDIR}"/gentoo-default-prefs.js-2 \
+ cp "${FILESDIR}"/gentoo-default-prefs.js-3 \
"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
|| die
@@ -852,22 +852,37 @@ pkg_postinst() {
elog
fi
- local show_normandy_information
+ local show_doh_information show_normandy_information
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
- # New install
+ # 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 68.6.0-r2 ; then
+ if ver_test "${replacing_version}" -lt 68.6.0-r3 ; then
+ # Tell user only once about our DoH default
+ show_doh_information=yes
+ fi
+
+ if ver_test "${replacing_version}" -lt 68.6.0-r3 ; then
# Tell user only once about our Normandy default
show_normandy_information=yes
- break
fi
done
fi
+ if [[ -n "${show_doh_information}" ]] ; then
+ elog
+ elog "Note regarding Trusted Recursive Resolver aka
DNS-over-HTTPS (DoH):"
+ elog "Due to privacy concerns (encrypting DNS might be a good
thing, sending all"
+ elog "DNS traffic to Cloudflare by default is not a good idea
and applications"
+ elog "should respect OS configured settings),
\"network.trr.mode\" was set to 5"
+ 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