summaryrefslogtreecommitdiff
path: root/pcr/icedove-hardening/icedove.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-25 06:30:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-25 07:28:43 -0300
commitb44ad96bf07b4b849f46a011a85ec6c2a8a245c8 (patch)
treeb0c58940639eee1da9525afa020747c7ad38f051 /pcr/icedove-hardening/icedove.install
parent3e3fb2d6801149802cbf2c2a2e6cbdfcc5149add (diff)
ice{dove,weasel}-hardening: add new package to [pcr] -> https://lists.parabola.nu/pipermail/dev/2016-October/004522.html
Diffstat (limited to 'pcr/icedove-hardening/icedove.install')
-rw-r--r--pcr/icedove-hardening/icedove.install36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/icedove-hardening/icedove.install b/pcr/icedove-hardening/icedove.install
new file mode 100644
index 000000000..af5f896b5
--- /dev/null
+++ b/pcr/icedove-hardening/icedove.install
@@ -0,0 +1,36 @@
+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 ~/.icedove's profile folder.
+
+ Some user.js examples:
+ user_pref("mailnews.display.prefer_plaintext", false); # Enables possible HTML leaks
+ user_pref("purple.logging.log_chats", true); # Enables chat logging
+
+ 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() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ notice
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}