summaryrefslogtreecommitdiff
path: root/pcr/iceweasel-hardening/iceweasel.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/iceweasel-hardening/iceweasel.install')
-rw-r--r--pcr/iceweasel-hardening/iceweasel.install31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/iceweasel-hardening/iceweasel.install b/pcr/iceweasel-hardening/iceweasel.install
new file mode 100644
index 000000000..574e0d3db
--- /dev/null
+++ b/pcr/iceweasel-hardening/iceweasel.install
@@ -0,0 +1,31 @@
+notice() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package contains several patches that were introduced
+ to strengthen and protect the end user from security threats.
+
+ For users who wish to opt-out of security, you may override options in
+ about:config using a user.js file in your ~/.mozilla's profile folder.
+
+ Some user.js examples:
+ user_pref("dom.storage.enabled", true); # Enables DOM tracking
+ user_pref("network.websocket.max-connections", "5"); # Enables WebSocket IP Leak
+
+ Further reading:
+ * https://lists.parabola.nu/pipermail/dev/2016-October/004522.html
+ * http://kb.mozillazine.org/About:config
+ * http://kb.mozillazine.org/User.js_file
+
+EOM
+}
+
+post_install() {
+ notice
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: