Bug 259037 - net-mgmt/zabbix54-server: Add database FLAVOR (mysql, postgresql) support
Summary: net-mgmt/zabbix54-server: Add database FLAVOR (mysql, postgresql) support
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Juraj Lutter
URL: https://github.com/trombik/freebsd-po...
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2021-10-10 06:37 UTC by Tomoyuki Sakurai
Modified: 2022-06-27 11:35 UTC (History)
2 users (show)

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


Attachments
pgsql.patch (5.05 KB, patch)
2021-10-10 08:26 UTC, Tomoyuki Sakurai
no flags Details | Diff
zabbix54-5.8.4.patch (5.21 KB, patch)
2021-12-16 06:51 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoyuki Sakurai 2021-10-10 06:37:28 UTC
the net-mgmt/zabbix*-server does not provide packages for postgresql, while other distributions provide `zabbix-server-mysql` and `zabbix-server-pgsql` (AFAIK, OpenBSD, Ubuntu, and Debian). i am not sure why it is how it is. here is my implementation of `zabbix54-server-mysql` and `zabbix54-server-pgsql`:


https://github.com/trombik/freebsd-ports-zabbix

the diff

https://github.com/trombik/freebsd-ports-zabbix/compare/upstream..main

during the development, it turned out that `oracle` option is broken, and was removed.

poudriere complains about `REINPLACE_CMD`, but left as-is.

the ports use `FLAVORS`just because it was easier for me.

as this change possibly affects all `zabbix*-server` and `zabbix*-proxy`, i would like to ask what the maintainer thinks first.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-10 07:49:02 UTC
(In reply to Tomoyuki Sakurai from comment #0)

Thank you for the report, change proposal and implementation Tomoyuki

Could you include your changeset as an attachment (patch) in this issue please
Comment 2 Tomoyuki Sakurai 2021-10-10 08:26:55 UTC
Created attachment 228555 [details]
pgsql.patch

here is the patch.
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2021-10-10 08:49:51 UTC
Thanks for the correct patch. I will test and incorporate into the next update.
Comment 4 takefu 2021-12-16 06:51:38 UTC
Created attachment 230166 [details]
zabbix54-5.8.4.patch

Update to 5.4.8
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2022-06-27 11:35:26 UTC
Is this also useful for later versions of Zabbix?