Bug 263614

Summary: security/mailzu: fix - support php80
Product: Ports & Packages Reporter: Krzysztof <ports>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Some People CC: bofh, nc
Priority: --- Flags: ports: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch: support php80
ports: maintainer-approval+
poudriere testport log
none
poudriere testport log
none
update patch ports: maintainer-approval+

Description Krzysztof 2022-04-27 18:40:12 UTC
Created attachment 233546 [details]
patch: support php80

I've just made a patch to security/mailzu which allows run mailzu with php80 (I hope it will work with php81, but I don't know).

So I'm attaching a patch and logfile of 'poudriere testport'.
Comment 1 Krzysztof 2022-04-27 18:41:12 UTC
Created attachment 233547 [details]
poudriere testport log

poudriere testport log
Comment 2 Krzysztof 2022-05-15 21:49:07 UTC
What we are waiting for?

Thanks a lot for your answer
Comment 3 Krzysztof 2022-11-20 21:30:11 UTC
Is it possible to commit this patch?
Comment 4 Krzysztof 2022-12-05 10:06:39 UTC
I've made this patch more than 6 months ago... Do I have to do sth more?
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-11-12 19:26:36 UTC
I have committed your other bug report about php82. I am not sure whether if this is any longer valid. If yes please submit a refreshed patch as this does not apply.
Comment 6 Krzysztof 2023-11-13 10:29:23 UTC
(In reply to Muhammad Moinur Rahman from comment #5)
Yes, I think they are still needed.

Yes, I will make a new patch once again.
Comment 7 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-11-13 13:51:44 UTC
I don't want to demotivate you or stop you from doing that but just for your information I will switch php DEFAULT to 8.2 on the end of this month and php80 will be removed from the tree at the end of the year.
Comment 8 Krzysztof 2023-11-13 14:32:26 UTC
(In reply to Muhammad Moinur Rahman from comment #7)
That's no problem - these patches are working with php8.2 also.

I've just forgot that I've made my own category (I'm using my own repo for packages) and these patches are not implemented in security/mailzu.

So I will make a new patch in few days (or even hours).
Comment 9 Krzysztof 2023-11-14 11:07:19 UTC
Created attachment 246295 [details]
poudriere testport log

poudriere testport log after applying patches once again
Comment 10 Krzysztof 2023-11-14 11:08:18 UTC
Created attachment 246296 [details]
update patch

New version of patch - it was tested without errors.
Comment 11 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-11-14 17:10:45 UTC
Thanks. Will commit on next batch and will be a bit late(2-3 days) as building everything with new 14.0-RELEASE too.
Comment 12 commit-hook freebsd_committer freebsd_triage 2023-11-15 11:54:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=070336bc5567aa8f8e1bdc2c2474890280b17e80

commit 070336bc5567aa8f8e1bdc2c2474890280b17e80
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2023-11-14 17:09:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-15 11:54:06 +0000

    security/mailzu: Add support for php80

    PR:             263614
    Approved by:    submitter is maintainer

 security/mailzu/Makefile                           |    2 +-
 security/mailzu/files/patch-config_langs.php       |    4 +-
 security/mailzu/files/patch-lib-DBEngine.class.php |    9 +
 .../files/patch-lib_AmavisdEngine.class.php (new)  |   11 +
 .../mailzu/files/patch-lib_DBAuth.class.php (new)  |   11 +
 .../files/patch-lib_ExchAuth.class.php (new)       |   11 +
 .../files/patch-lib_IMAPAuth.class.php (new)       |   11 +
 .../mailzu/files/patch-lib_LDAPEngine.class.php    |    9 +
 .../mailzu/files/patch-lib_Link.class.php (new)    |   11 +
 .../files/patch-lib_MailEngine.class.php (new)     |   11 +
 security/mailzu/files/patch-lib_MailMime.class.php |   27 +-
 .../files/patch-lib_PHPMailer.class.php (new)      | 3085 ++++++++++++++++++++
 .../mailzu/files/patch-lib_Pager.class.php (new)   | 1262 ++++++++
 security/mailzu/files/patch-lib_Template.class.php |    9 +
 security/mailzu/files/patch-lib_htmlfilter.php     |  140 +-
 15 files changed, 4603 insertions(+), 10 deletions(-)