Bug 259708 - security/mailzu: fix errors with php74
Summary: security/mailzu: fix errors with php74
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-08 10:09 UTC by Krzysztof
Modified: 2021-12-19 10:07 UTC (History)
1 user (show)

See Also:


Attachments
poudriere testport log (49.44 KB, text/plain)
2021-11-08 10:09 UTC, Krzysztof
no flags Details
mailzu patch generated by git (19.36 KB, patch)
2021-11-08 10:11 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof 2021-11-08 10:09:50 UTC
Created attachment 229356 [details]
poudriere testport log

After last commit I've found that mailzu is generating some errors during using it.

I've made a patch which fixes these errors (mainly by adding some checks for variables). After patching mailzu error logs are clean.

I've tested these new patches with poudriere, so logfile from poudriere is also attached.
Comment 1 Krzysztof 2021-11-08 10:11:26 UTC
Created attachment 229357 [details]
mailzu patch generated by git

patch of mailzu to fix php errors
Comment 2 Krzysztof 2021-11-24 14:57:29 UTC
Can you commit this patch?
Comment 3 commit-hook freebsd_committer 2021-12-19 10:07:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0cbf2ec70b866157b1e32b57e99f5f6ff3161301

commit 0cbf2ec70b866157b1e32b57e99f5f6ff3161301
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2021-12-19 10:05:27 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-12-19 10:07:03 +0000

    security/mailzu: Fix errors with php74

    PR:             259708

 security/mailzu/Makefile                           |   2 +-
 .../mailzu/files/patch-config_constants.php (new)  |   8 +
 security/mailzu/files/patch-lib-DBEngine.class.php |  24 +++
 security/mailzu/files/patch-lib_CmnFns.class.php   |   6 +-
 .../files/patch-lib_MailMime.class.php (new)       |  52 +++++
 .../files/patch-templates_quarantine.template.php  | 240 ++++++++++++++++++++-
 .../files/patch-templates_viewmail.template.php    |  15 +-
 7 files changed, 340 insertions(+), 7 deletions(-)