Created attachment 249017 [details] mail-snappymail-Fix-error-while-accessing-admin-page.patch Description: On a fresh installation, the admin page returns a 500 error, indicating a web server error. The logs reveal what the problem is, which is already fixed in upstream [1], but until a new version of snappymail is released, the user will see the following error: ``` RainLoop\Config\Application::SetPassword(): Argument #1 ($oPassword) must be of type SnappyMail\SensitiveString, string given, called in /usr/local/www/snappymail/snapp ymail/v/2.35.2/app/libraries/RainLoop/Actions.php on line 672 ``` [1] https://github.com/the-djmaze/snappymail/issues/1472 QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 14.0-RELEASE, amd64, GNUPG LDAP MYSQL PGSQL REDIS SQLITE3 tested)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=396010cb585aaaf9e3f87038f06760dece7e1fd7 commit 396010cb585aaaf9e3f87038f06760dece7e1fd7 Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-03-08 05:16:19 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-03-08 06:51:21 +0000 mail/snappymail: Fix error while accessing admin page On a fresh installation, the admin page returns a 500 error, indicating a web server error. The logs reveal what the problem is, which is already fixed in upstream [1], but until a new version of snappymail is released, the user will see the following error: ``` RainLoop\Config\Application::SetPassword(): Argument #1 ($oPassword) must be of type SnappyMail\SensitiveString, string given, called in /usr/local/www/snappymail/snapp ymail/v/2.35.2/app/libraries/RainLoop/Actions.php on line 672 ``` Reference: https://github.com/the-djmaze/snappymail/issues/1472 [1] PR: 277571 MFH: 2024Q1 mail/snappymail/Makefile | 2 +- ...appymail_v_2.35.2_app_libraries_RainLoop_Actions.php (new) | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-)
A commit in branch 2024Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f39e1ce64c059afb686d4cd8fd4e76e1799345db commit f39e1ce64c059afb686d4cd8fd4e76e1799345db Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-03-08 05:16:19 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-03-08 06:54:16 +0000 mail/snappymail: Fix error while accessing admin page On a fresh installation, the admin page returns a 500 error, indicating a web server error. The logs reveal what the problem is, which is already fixed in upstream [1], but until a new version of snappymail is released, the user will see the following error: ``` RainLoop\Config\Application::SetPassword(): Argument #1 ($oPassword) must be of type SnappyMail\SensitiveString, string given, called in /usr/local/www/snappymail/snapp ymail/v/2.35.2/app/libraries/RainLoop/Actions.php on line 672 ``` Reference: https://github.com/the-djmaze/snappymail/issues/1472 [1] PR: 277571 MFH: 2024Q1 (cherry picked from commit 396010cb585aaaf9e3f87038f06760dece7e1fd7) mail/snappymail/Makefile | 2 +- ...appymail_v_2.35.2_app_libraries_RainLoop_Actions.php (new) | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-)
Committed. Thanks!