Package: roundcube / 1.6.5+dfsg-1+deb12u4
Metadata
Package | Version | Patches format |
---|---|---|
roundcube | 1.6.5+dfsg-1+deb12u4 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
dbconfig common support.patch | (download) |
config/config.inc.php.sample |
9 2 + 7 - 0 ! |
adapt db.inc.php to the use of dbconfig-common package |
debianize config.patch | (download) |
config/config.inc.php.sample |
10 8 + 2 - 0 ! |
debianize sample config file * By default we do not have any plugins available (these are in roundcube-plugins). * Disable spellchecking, because it needs recommended packages. |
fix install path.patch | (download) |
bin/cleandb.sh |
2 1 + 1 - 0 ! |
fix install_path for bin/*.sh and tests/bootstrap.php These scripts get installed to /usr/share/roundcube/bin, but INSTALL_PATH should be /var/lib/roundcube/. Fixed/updated with sed -ri "s#(\\s*define\\s*\\(\\s*(['\"])INSTALL_PATH\\2)\\s*,.*#\\1, '/var/lib/roundcube/');#" \ bin/*.sh installer/index.php program/include/iniset.php Except: - bin/install-jsdeps.sh, where we keep define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); and - bin/updatecss.sh, where we use define('INSTALL_PATH', './'); We also edit tests/bootstrap.php to use the RCUBE_INSTALL_PATH environment variable. |
update script.patch | (download) |
bin/update.sh |
19 11 + 8 - 0 ! |
patch update scripts to work with debian package |
use enchant.patch | (download) |
config/defaults.inc.php |
3 2 + 1 - 0 ! |
use enchant spellchecker engine by default. We don't want to send messages to a 3rd party |
default charset utf8.patch | (download) |
config/defaults.inc.php |
2 1 + 1 - 0 ! |
switch to utf-8 as default charset |
debianize password plugin.patch | (download) |
plugins/password/README |
11 7 + 4 - 0 ! |
specify debian path and group names in password plugin |
map sqlite3 to sqlite.patch | (download) |
program/lib/Roundcube/rcube_db.php |
1 1 + 0 - 0 ! |
map dbconfig-common's "sqlite3" driver to "sqlite" Bug-Debian: https://bugs.debian.org/714727 |
use embedded jquery for http authentication.patch | (download) |
plugins/http_authentication/logout.html |
2 1 + 1 - 0 ! |
avoid fetching jquery from google, use the embedded one This page is also just an example. The user is expected to provide their own page. |
update composer.patch | (download) |
composer.json-dist |
25 12 + 13 - 0 ! |
update php pear dependencies The current dependencies that are published by upstream are too conservative, so: * replace ~ and ^ (that only allows minor versions changes) with >= as documented in the INSTALL file; * replace pear/ with pear-pear.php.net/ to create current Debian package names. |
update jsdeps.patch | (download) |
jsdeps.json |
102 2 + 100 - 0 ! |
make it possible to download/install unminified sourcefiles We remove system libraries from this file so we easily notice updates (either of the version, or of the map). |
use system JQueryUI.patch | (download) |
plugins/jqueryui/jqueryui.php |
9 5 + 4 - 0 ! |
use system jqueryui We source jquery-ui-accessible-datepicker.min.js after libjs-jquery-ui's jquery-ui.min.js to avoid concatening these files (see the former's headers). Also libjs-jquery-ui's datepicker-* files don't have the jquery.ui. prefix. |
rename python to python3.patch | (download) |
plugins/password/helpers/chpass-wrapper.py |
2 1 + 1 - 0 ! |
rename `python` to `python3` |
adjust test environment for dep8.patch | (download) |
.github/config-test.inc.php |
2 1 + 1 - 0 ! |
adjust test environment for dep-8 tests Changes: 1. Source INSTALL_PATH . 'plugins/ rather than __DIR__ . '/../ in setUp(). This doesn't cause FTBFS but we want to check installed code in DEP-8 tests. 2. Source TESTS_DIR . '../SQL/ rather than INSTALL_PATH . '/SQL/ in tests/ActionTestCase.php. Again, this doesn't cause FTBFS but we want to run DEP-8 tests too and the binary packages ship the SQL scripts under dbconfig-common not INSTALL_PATH. |
fix autoload locations.patch | (download) |
program/actions/contacts/qrcode.php |
3 3 + 0 - 0 ! |
fix autoload locations Snippets generated with `phpabtpl --suggest bacon/bacon-qr-code` and `phpabtpl --suggest GuzzleHttp`. |
mark flaky tests as such.patch | (download) |
tests/Actions/Contacts/Qrcode.php |
1 1 + 0 - 0 ! |
mark flaky tests as such. That way we can run phpunit with `--exclude-group=flaky --fail-on-skipped --verbose` and avoid missing unintentionally skipped tests. |
dont force set session.gc_probability=1.patch | (download) |
program/lib/Roundcube/rcube.php |
7 0 + 7 - 0 ! |
don't force set session.gc_probability=1 We don't have to rely on probabilistic synchronous garbage collection since we're running bin/gc.sh periodically. If desired the local admin can manually set session.gc_probability > 0 in the PHP configuration (on Debian systems the default value is 0 which disables probability based GC). They may then want to disable the cronjob or systemd.timer(5) unit. This reverts upstream commit 32a0ad6778cde495e30f3447e5220136f0528cee. |
fix upstream test suite.patch | (download) |
tests/Rcmail/OutputHtml.php |
4 2 + 2 - 0 ! |
fix upstream's test suite Also, in our environment phpunit(1) resides in /usr/bin not vendor/bin. |
CVE 2024 37384.patch | (download) |
program/actions/mail/index.php |
5 5 + 0 - 0 ! |
fix cross-site scripting (xss) vulnerability in handling list columns from user preferences Reported by Huy Nguyn Phm Nht. |
CVE 2024 37383.patch | (download) |
program/lib/Roundcube/rcube_washtml.php |
2 1 + 1 - 0 ! |
fix cross-site scripting (xss) vulnerability in handling svg animate attributes Reported by Valentin T. and Lutz Wolf of CrowdStrike. |
Fix fatal error when parsing some TNEF attachments.patch | (download) |
program/lib/Roundcube/rcube_tnef_decoder.php |
3 2 + 1 - 0 ! |
fix fatal error when parsing some tnef attachments |
Fix bug where an unhandled exception was caused by an inv.patch | (download) |
program/lib/Roundcube/rcube_image.php |
179 88 + 91 - 0 ! |
fix bug where an unhandled exception was caused by an invalid image attachment GD functions may throw ValueError in some cases since PHP 8.0. We wrap them in try/catch blocks. |
Fix infinite loop when parsing malformed Sieve script.patch | (download) |
plugins/managesieve/lib/Roundcube/rcube_sieve_script.php |
7 4 + 3 - 0 ! |
fix infinite loop when parsing malformed sieve script |
Fix bug where imap_conn_option s socket was ignored.patch | (download) |
program/lib/Roundcube/rcube_imap_generic.php |
4 2 + 2 - 0 ! |
fix bug where imap_conn_option's 'socket' was ignored |
CVE 2024 42009.patch | (download) |
program/actions/mail/compose.php |
36 11 + 25 - 0 ! |
fix xss vulnerability in post-processing of sanitized html content Credits to Oskar Zeino-Mahmalat (https://www.sonarsource.com) |
CVE 2024 42008.patch | (download) |
program/actions/mail/get.php |
5 5 + 0 - 0 ! |
fix xss vulnerability in serving of attachments other than html or SVG Credits to Oskar Zeino-Mahmalat (Sonar) https://www.sonarsource.com |
Fix regression where printing scaling rotating image atta.patch | (download) |
program/js/app.js |
19 7 + 12 - 0 ! |
fix regression where printing/scaling/rotating image attachments was broken |
CVE 2024 42010.patch | (download) |
program/lib/Roundcube/rcube_utils.php |
157 120 + 37 - 0 ! |
fix information leak (access to remote content) via insufficient css filtering Credits to Oskar Zeino-Mahmalat (Sonar) https://www.sonarsource.com |