diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-27 00:02:32 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-27 15:30:37 +0200 |
commit | a556c69c7b9cf1cd9c420b1e5c79b0681d39d42d (patch) | |
tree | deb03c269e7c86607a0a3deee7d21e6cae4e4374 /community | |
parent | 2e608a2da1cefbd866be11721be3da4d0a863efb (diff) | |
download | aports-a556c69c7b9cf1cd9c420b1e5c79b0681d39d42d.tar.bz2 aports-a556c69c7b9cf1cd9c420b1e5c79b0681d39d42d.tar.xz |
community/roundcubemail: disable remote spellcheck by default
Diffstat (limited to 'community')
-rw-r--r-- | community/roundcubemail/APKBUILD | 2 | ||||
-rw-r--r-- | community/roundcubemail/config-disable-remote-spellcheck.patch | 26 |
2 files changed, 28 insertions, 0 deletions
diff --git a/community/roundcubemail/APKBUILD b/community/roundcubemail/APKBUILD index 17d8e4799d..29e0a31c1f 100644 --- a/community/roundcubemail/APKBUILD +++ b/community/roundcubemail/APKBUILD @@ -41,6 +41,7 @@ subpackages="$pkgname-installer $pkgname-openrc $pkgname-doc" source="https://github.com/roundcube/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz fix-dirs.patch config-session_key.patch + config-disable-remote-spellcheck.patch fpm-pool.conf $pkgname.confd $pkgname.logrotate @@ -197,6 +198,7 @@ _mv() { sha512sums="c5e1e80034392ea4fcf780750ad2b7db43422a746462015865cbdb027e9e47b2bae7b191da19b65a7b9303c195bdfd0aa5b5a0382c09dd97d117671271cdc122 roundcubemail-1.3.6.tar.gz d205ba8442870b26f93fb287e7fe2bd1a452ea534823869b7ef299e2dca52d64c8a3fdc9a44bd3bc731c1e400efcf745c1866974e3b908e4e54d05b47b835f3e fix-dirs.patch 7c4b88da4d2baa53d247dcb7b130d564954a04611c13f2770f45924fafab2a0e98f8dd078cabc87f3eddd0ab03f3ca48a48f27a462676354af22566cb19d220b config-session_key.patch +e46cdded33114ee7dae671d936cc41551168df29778dbf18f848a4f0eb0738a54c0751a5689716ba126ac256f2a50284afdcde542a42827003d6ba89af94f064 config-disable-remote-spellcheck.patch c88d609e94c212215a24f54d2a2cb800d4a382b1044e0c875416bdda6a4e6c0cb896675918e8d24f3ed9e1b677d526d61f3ee1564cb870f674dac687696e8ba4 fpm-pool.conf acaa76bfbba6117172a02ad11e39f9b55838895104e75180b057f647156c04fd2e44ac695a333f2332691d19bac5ef8afaca1f89ad409800b19f78afbb40aecb roundcubemail.confd 2e923d556d46bd7dc9360c3190fa1c5864bd0385fadaf73dacee5780cdad94ce09bc8462ccc05c3ca70bc7890aa1f1b3314a3cc831eab9d5b06c5a463483ccf7 roundcubemail.logrotate 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. |