summaryrefslogtreecommitdiff
path: root/pcr/iceweasel-hardening/iceweasel.install
blob: 574e0d3dbd06998ec777f901710b5d3b00b9573b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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: