Bug 231895 - New ports: net-mgmt/zabbix4-[agent|frontend|java|proxy|server]
Summary: New ports: net-mgmt/zabbix4-[agent|frontend|java|proxy|server]
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: Danilo G. Baio
URL: https://www.zabbix.com/documentation/...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-03 02:25 UTC by Danilo G. Baio
Modified: 2018-10-04 12:10 UTC (History)
1 user (show)

See Also:


Attachments
zabbix4-NEW.patch (49.23 KB, patch)
2018-10-03 02:25 UTC, Danilo G. Baio
pg: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo G. Baio freebsd_committer freebsd_triage 2018-10-03 02:25:43 UTC
Created attachment 197726 [details]
zabbix4-NEW.patch

net-mgmt/zabbix34 -> net-mgmt/zabbix4

What's new in Zabbix 4.0.0:
https://www.zabbix.com/documentation/4.0/manual/introduction/whatsnew400



How to apply the patch:

cd $PORTSDIR/net-mgmt
svn cp zabbix34-server zabbix4-server
svn cp zabbix34-agent zabbix4-agent
svn cp zabbix34-frontend zabbix4-frontend
svn cp zabbix34-java zabbix4-java
svn cp zabbix34-proxy zabbix4-proxy

cd zabbix34-server
svn del files/patch-src_zabbix__agent_zabbix__agentd.c
svn del files/patch-src_zabbix__proxy_proxy.c
svn del files/patch-src_zabbix__server_server.c

cd ../../
svn patch /tmp/zabbix4-NEW.patch

fix permissions on all files that were merged.


These are the main changes applied:

- Remove SQLite from Server/Frontend

Since Zabbix 3.4, SQLite is no longer supported as a backend database for
Zabbix server and frontend. It is still supported for Zabbix proxy.

- Use options helpers on Frontend

- Drop IODBC option, it's not supported anymore.

- Merge Patches and Sed's
  We were changing files from files/patch* and in the Makefile, now all
  changes are in the Makefile, to simplify future upgrades.



I still haven't upgraded an older Zabbix Server to 4.0.0, I just have a new
4.0.0 server running.

Could you take a look and help in testing?

Regards.
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2018-10-04 01:50:27 UTC
I've just upgraded a Zabbix server from 3.0 to 4.0 (with a large database), apparently it's all fine.
Comment 2 pg 2018-10-04 06:29:20 UTC
Comment on attachment 197726 [details]
zabbix4-NEW.patch

Approved, thanks
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-10-04 12:04:31 UTC
A commit references this bug:

Author: dbaio
Date: Thu Oct  4 12:04:02 UTC 2018
New revision: 481218
URL: https://svnweb.freebsd.org/changeset/ports/481218

Log:
  New ports: net-mgmt/zabbix4-[agent|frontend|java|proxy|server]

  net-mgmt/zabbix34 -> net-mgmt/zabbix4

  What's new in Zabbix 4.0.0:
  https://www.zabbix.com/documentation/4.0/manual/introduction/whatsnew400

  Main changes applied:

  - Drop IODBC option, it's not supported anymore.

  - Merge Patches and Sed's
    We were patching files with files/patch* and Makefile, now all changes are in
    the Makefile, to simplify the port and future upgrades.

  - Remove SQLite from Server/Frontend
    Since Zabbix 3.4, SQLite is no longer supported as a backend database for
    Zabbix server and frontend. It is still supported for Zabbix proxy.

  - Switch to options helper (Frontend)

  PR:		231895
  Approved by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)

Changes:
  head/net-mgmt/Makefile
  head/net-mgmt/zabbix4-agent/
  head/net-mgmt/zabbix4-agent/Makefile
  head/net-mgmt/zabbix4-frontend/
  head/net-mgmt/zabbix4-frontend/Makefile
  head/net-mgmt/zabbix4-java/
  head/net-mgmt/zabbix4-java/Makefile
  head/net-mgmt/zabbix4-proxy/
  head/net-mgmt/zabbix4-proxy/Makefile
  head/net-mgmt/zabbix4-server/
  head/net-mgmt/zabbix4-server/Makefile
  head/net-mgmt/zabbix4-server/distinfo
  head/net-mgmt/zabbix4-server/files/patch-src_zabbix__agent_zabbix__agentd.c
  head/net-mgmt/zabbix4-server/files/patch-src_zabbix__proxy_proxy.c
  head/net-mgmt/zabbix4-server/files/patch-src_zabbix__server_server.c
  head/net-mgmt/zabbix4-server/files/pkg-message.in
  head/net-mgmt/zabbix4-server/pkg-plist
  head/net-mgmt/zabbix4-server/pkg-plist.agent
  head/net-mgmt/zabbix4-server/pkg-plist.frontend