aboutsummaryrefslogtreecommitdiffstats
path: root/community/roundcubemail/config-disable-remote-spellcheck.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-27 00:02:32 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-27 15:30:37 +0200
commita556c69c7b9cf1cd9c420b1e5c79b0681d39d42d (patch)
treedeb03c269e7c86607a0a3deee7d21e6cae4e4374 /community/roundcubemail/config-disable-remote-spellcheck.patch
parent2e608a2da1cefbd866be11721be3da4d0a863efb (diff)
downloadaports-a556c69c7b9cf1cd9c420b1e5c79b0681d39d42d.tar.bz2
aports-a556c69c7b9cf1cd9c420b1e5c79b0681d39d42d.tar.xz
community/roundcubemail: disable remote spellcheck by default
Diffstat (limited to 'community/roundcubemail/config-disable-remote-spellcheck.patch')
-rw-r--r--community/roundcubemail/config-disable-remote-spellcheck.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/roundcubemail/config-disable-remote-spellcheck.patch b/community/roundcubemail/config-disable-remote-spellcheck.patch
new file mode 100644
index 0000000000..c1c6d0523a
--- /dev/null
+++ b/community/roundcubemail/config-disable-remote-spellcheck.patch
@@ -0,0 +1,26 @@
+The default spell checker sends everything you type to some remote server
+(http://spell.roundcube.net). This is de facto keylogger!
+
+This patch just changes the default settings to disable spellcheck
+and set pspell as default (however it requires php7-pspell to be installed).
+
+--- a/config/defaults.inc.php
++++ b/config/defaults.inc.php
+@@ -723,7 +723,7 @@
+ $config['quota_zero_as_unlimited'] = false;
+
+ // Make use of the built-in spell checker. It is based on GoogieSpell.
+-$config['enable_spellcheck'] = true;
++$config['enable_spellcheck'] = false;
+
+ // Enables spellchecker exceptions dictionary.
+ // Setting it to 'shared' will make the dictionary shared by all users.
+@@ -737,7 +737,7 @@
+ // Since Google shut down their public spell checking service, the default settings
+ // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
+ // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
+-$config['spellcheck_engine'] = 'googie';
++$config['spellcheck_engine'] = 'pspell';
+
+ // For locally installed Nox Spell Server or After the Deadline services,
+ // please specify the URI to call it.