Bug 263614 - security/mailzu: fix - support php80
Summary: security/mailzu: fix - support php80
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: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 18:40 UTC by Krzysztof
Modified: 2023-11-15 11:55 UTC (History)
2 users (show)

See Also:
ports: maintainer-feedback+


Attachments
patch: support php80 (148.46 KB, patch)
2022-04-27 18:40 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff
poudriere testport log (46.31 KB, text/plain)
2022-04-27 18:41 UTC, Krzysztof
no flags Details
poudriere testport log (65.02 KB, text/plain)
2023-11-14 11:07 UTC, Krzysztof
no flags Details
update patch (148.91 KB, patch)
2023-11-14 11:08 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 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(-)