Bug 261634 - net-mgmt/zabbix[4|5]-frontend: Do not support future PHP versions
Summary: net-mgmt/zabbix[4|5]-frontend: Do not support future PHP versions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks: 261604
  Show dependency treegraph
 
Reported: 2022-01-31 20:15 UTC by Muhammad Moinur Rahman
Modified: 2022-12-08 17:56 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (otis)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-01-31 20:15:41 UTC
Security Support for php 7.4 will end on 28th November, 2022 and we are planning to remove php 7.4 after that from the tree. So in preparation of that and for tracking purposes we are checking which ports actually fails without php 7.4 and notifying the relevant maintainer to check if viable update options are available to make it work on later versions of PHP. We still have a lot of time in hand to update and fix. Hence please do not get alarmed with this ticket. As mentioned again this is for tracking purposes only and hopefully by the time php 7.4 expires we will have a working version of this port for php 8.*. So there are two options here for the MAINTAINER:

1. If you have a version that works with php 8.* please commit and close this ticket.
2. In case you want it to expire with php 7.4 please add the following to the Makefile, commit and close this ticket

DEPRECATED= Requires php 7.4 which is set to expire on 2022-11-29
EXPIRATION_DATE=2022-11-28
Comment 1 Juraj Lutter freebsd_committer freebsd_triage 2022-01-31 20:58:52 UTC
Zabbix 6.0 LTS will not support PHP 8.0, Zabbix 6.2 onwards will.
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-01-31 22:35:58 UTC
Let's keep this ticket open and track the upstream changes. Will decide later.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-05 23:18:45 UTC
(In reply to Juraj Lutter from comment #1)
I can see that there are other LTS release of zabbix in the tree mainly 4 and 5. I have marked the entire zabbix3* as DEPRECATED.

Can you please advise me whether if zabbix*-server can function without the frontend. I know that the agent and proxy might be useful to keep. I am still confused with zabbix*-java and it's purpose over zabbix*-proxy.
Comment 4 Juraj Lutter freebsd_committer freebsd_triage 2022-02-06 07:13:56 UTC
(In reply to Muhammad Moinur Rahman from comment #3)
Server will work without frontend, but user won't be able to get any reasonable data from it.

Regarding -proxy and -java: -proxy is a "leightweighted" kind of server, that communicates with the real server (proxy is used to monitor "isolated islands"). -java is a "JMX proxy" that monitors java applications.
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-06 12:10:19 UTC
(In reply to Juraj Lutter from comment #4)
Thanks for the clarification.

I believe in that case we can just keep the -proxy, -java and -agent for peoples who are using FreeBSD in a Linux world so that they can still monitor FreeBSD hosts with their Zabbix Server installed on a Linux host. This note is applicable just for zabbix4- and zabbix5-; while zabbix54- is upgraded to zabbix62-.
Comment 6 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-06 12:13:39 UTC
Oops .. Looks like you are not the maintainer of zabbix4- and zabbix5-. Sorry for the noise. :[]
Comment 7 Juraj Lutter freebsd_committer freebsd_triage 2022-02-06 12:16:37 UTC
(In reply to Muhammad Moinur Rahman from comment #6)
Essentially, I maintain also zabbix5 (as current maintainer is unresponsive).
Comment 8 Juraj Lutter freebsd_committer freebsd_triage 2022-02-06 12:17:36 UTC
For example, I use zabbix frontend on FreeBSD and it is not a viable for me to run frontend on other OS (as I don't have any other OS's).
Comment 9 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-06 12:30:33 UTC
(In reply to Juraj Lutter from comment #7)
Noted. It makes things easier.

And yes neither do I for my hosted service. But I am pretty much disappointed on Zabbix's Roadmap. I used to like this product a lot but eventually their commercialization and not keeping up the momentum looks very slow to me. Like when you have commercial support you should have better developers and more aggressive roadmaps. They are releasing LTS6 with php74 which will expire in 6 months within their release. Or maybe they are not FreeBSD friendly as other Linux distros seem to carry over legacies(php72 php73) as they have their own support systems/maintainers on those with friendly donations.
Comment 10 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 17:05:21 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0773873baee5474cc70de8912d2962ead58f155b

commit 0773873baee5474cc70de8912d2962ead58f155b
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-02-16 10:11:37 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-02-16 10:27:29 +0000

   net-mgmt/zabbix6-frontend: Ignore for PHP80 and PHP81

   Zabbix-frontend still requires PHP74; mark for deprecation pending
   updated PHP requirement.

   Reported by:    bofh
Comment 11 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 17:06:29 UTC
cy@:

As mentioned earlier no action is required from your end. This is just for tracking purposes only.
Comment 12 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-06-03 06:19:17 UTC
@otis do you have a plan for zabbix 6.2 in the tree? 5.4 has reached it's eol on 31st March 2022.
Comment 13 Juraj Lutter freebsd_committer freebsd_triage 2022-06-03 06:22:48 UTC
Yes, as soon as it will be released. Now it's in beta3 stage.
Comment 14 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-06-03 07:31:12 UTC
(In reply to Juraj Lutter from comment #13)
I think it has been released on 30th May. 
https://www.zabbix.com/life_cycle_and_release_policy

And as 5.4 has also reached EOL maybe it's better to mark it DEPRECATED and be removed before next quarterly.
Comment 15 Juraj Lutter freebsd_committer freebsd_triage 2022-06-07 12:48:35 UTC
I've set zabbix54 to expire on 2022-06-29
Comment 16 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-06-09 20:48:25 UTC
(In reply to Juraj Lutter from comment #15)
Thanks a lot.
Comment 17 Juraj Lutter freebsd_committer freebsd_triage 2022-07-11 23:46:24 UTC
FYI: As of 6.0.5, zabbix frontend seems to run with php 8.0 (although, I did not tested it myself yet).
Comment 18 Juraj Lutter freebsd_committer freebsd_triage 2022-07-11 23:47:05 UTC
ANd, for the record, I've introduced zabbix62 ports already.
Comment 19 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-07-13 04:02:25 UTC
(In reply to Juraj Lutter from comment #18)
Thanks a lot.

(In reply to Juraj Lutter from comment #17)
If you can test it successfully just update the Title of this bug.
Comment 20 Vladimir Druzenko freebsd_committer freebsd_triage 2022-08-30 20:10:37 UTC
Zabbix 6.2.1 work for me with PHP 8.1.9.
Comment 21 Juraj Lutter freebsd_committer freebsd_triage 2022-08-30 20:13:31 UTC
(In reply to VVD from comment #20)
zabbix 6.2.x fully supports php 8.0 and php 8.1.
Comment 22 Michael Osipov 2022-10-11 20:38:39 UTC
Can this be closed since these ports will never be PHP 8 compatible. 6.2 is in ports and it is reported to work.
Comment 23 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-10-11 22:59:25 UTC
(In reply to Michael Osipov from comment #22)
This is an exception. We will keep this ticket open for a different purpose. We are not going to delete the entire zabbix{4|5|6}-* as there might be other users who will need zabbix-client for these versions as they might be running zabbix on a different platform. So we will remove zabbix-frontend only which requires certain amount of work in the zabbix ports too. And this ticket is here so that I don't forget this. :)
So this ticket will remain open until end.
Comment 24 Juraj Lutter freebsd_committer freebsd_triage 2022-10-12 06:48:51 UTC
FWIW, zabbix6-frontend supports php 8.0 (and I'm actively using it).
Comment 25 Vladimir Druzenko freebsd_committer freebsd_triage 2022-10-12 06:56:03 UTC
(In reply to Juraj Lutter from comment #24)
And zabbix62-frontend supports php 8.1.
Comment 26 Juraj Lutter freebsd_committer freebsd_triage 2022-10-12 07:01:59 UTC
Recent 6.0 supports PHP 8.1 as well.
Comment 27 Michael Osipov 2022-10-12 07:29:10 UTC
(In reply to Muhammad Moinur Rahman from comment #23)

This makes sense. Likely the scope of the ticket needs to be narrowed down.
Comment 28 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-10-13 22:51:19 UTC
(In reply to Juraj Lutter from comment #24)
I am updating the title as per your comment. :)
Comment 29 commit-hook freebsd_committer freebsd_triage 2022-12-05 14:41:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30344125c070296a9a406cdfb8c2e95f9433826f

commit 30344125c070296a9a406cdfb8c2e95f9433826f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-05 14:38:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-05 14:40:36 +0000

    net-mgmt/zabbix4-frontend: Cleanup

    - Requires php74 which was EOL on 2022-11-28

    PR:             261634
    Approved by:    otis
    Sponsored by:   Bounce Experts

 MOVED                                             |   1 +
 net-mgmt/Makefile                                 |   1 -
 net-mgmt/zabbix4-frontend/Makefile (gone)         |  31 -
 net-mgmt/zabbix4-server/Makefile                  |   5 -
 net-mgmt/zabbix4-server/pkg-plist.frontend (gone) | 956 ----------------------
 5 files changed, 1 insertion(+), 993 deletions(-)
Comment 30 commit-hook freebsd_committer freebsd_triage 2022-12-08 17:55:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f72f354a11e8d167b2087877b69f755e9e8a3a0

commit 9f72f354a11e8d167b2087877b69f755e9e8a3a0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-08 17:53:46 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-08 17:54:56 +0000

    net-mgmt/zabbix5-frontend: Cleanup

    - Requires php74 which was EOL on 2022-11-28

    PR:             261634
    Approved by:    otis
    Sponsored by:   Bounce Experts

 MOVED                                             |    1 +
 net-mgmt/Makefile                                 |    1 -
 net-mgmt/zabbix5-frontend/Makefile (gone)         |   30 -
 net-mgmt/zabbix5-server/Makefile                  |    5 -
 net-mgmt/zabbix5-server/pkg-plist.frontend (gone) | 1211 ---------------------
 5 files changed, 1 insertion(+), 1247 deletions(-)