Created attachment 208896 [details] mailzu php73 corrections Hello, Recently I've found some error with mailzu and php73. So I've made a patch to a port which corrects source files. Afeter that php73 is happy :-) Also I've tested it with poudriere, so I'm attaching logfile of poudriere.
Created attachment 208897 [details] poudriere testport log
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/94104982
Build info is available at https://gitlab.mouf.net/swills/freebsd-ports/pipelines/24780
OK, but I don't have access to this gitlab. So I'm not able to see logs and confirm what happened. As you can see logs which I've attached everythings works correctly.
Moin moin Could you please check whether an upstream fix has appeared in the meantime? mfg Tobias
Sorry for late answer. mailzu is not developed for many years. I've made some patches so it could be run with php7.x . So nobody else is improving code of mailzu. But it is very useful :-)))
(In reply to Krzysztof from comment #6) Do you know if your patch works fine with PHP 7.4 and 8.0?
(In reply to Yasuhiro Kimura from comment #7) I can confirm, that mailzu is working with php7.4 without any problems. I have no dev environment with php8, so I'm not able to confirm that mailzu will work with php8.x
(In reply to Krzysztof from comment #8) Thanks for reply. I thought mailzu might not work with newer version of PHP, especially with 8.0. And if it really doesn't then IGNORE_WITH_PHP should be set in Makefile. But according to your reply it works fine with 7.4 and it's not clear if it works fine with 8.0. Then IGNORE_WITH_PHP isn't necessary.
Take.
(In reply to Krzysztof from comment #0) Your patch can't be applied to latest ports tree. Would please update it according to the section 11.1 of Porter's Handbook?
Created attachment 229276 [details] mailzu patch generated by git I hope I've made patch correctly. I've checked it with portlint -AC. There is no errors.
Created attachment 229278 [details] poudriere testport log
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c99114e14f7c799db21764b80ef612e9763e0a61 commit c99114e14f7c799db21764b80ef612e9763e0a61 Author: Krzysztof <ports@bsdserwis.com> AuthorDate: 2021-11-05 01:12:22 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-05 01:16:55 +0000 security/mailzu: Fix runtime error with recent PHP * Pet portclippy * Re-format Makefile with portfmt PR: 241745 MFH: 2021Q4 security/mailzu/Makefile | 41 ++++++++++++---------- security/mailzu/files/patch-lib_CmnFns.class.php | 21 ++++++----- .../mailzu/files/patch-lib_htmlfilter.php (new) | 11 ++++++ security/mailzu/pkg-plist | 2 +- 4 files changed, 47 insertions(+), 28 deletions(-)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8393cce3d02881f00e32cc93b3a716242af34fb3 commit 8393cce3d02881f00e32cc93b3a716242af34fb3 Author: Krzysztof <ports@bsdserwis.com> AuthorDate: 2021-11-05 01:12:22 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-05 01:19:58 +0000 security/mailzu: Fix runtime error with recent PHP * Pet portclippy * Re-format Makefile with portfmt PR: 241745 MFH: 2021Q4 (cherry picked from commit c99114e14f7c799db21764b80ef612e9763e0a61) security/mailzu/Makefile | 41 ++++++++++++---------- security/mailzu/files/patch-lib_CmnFns.class.php | 21 ++++++----- .../mailzu/files/patch-lib_htmlfilter.php (new) | 11 ++++++ security/mailzu/pkg-plist | 2 +- 4 files changed, 47 insertions(+), 28 deletions(-)
Committed with some refinements and merged to quarterly branch. Thanks!