Bug 270012 - net-mgmt/zabbix6-server: add option for net-snmp
Summary: net-mgmt/zabbix6-server: add option for net-snmp
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: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 18:17 UTC by Michael Osipov
Modified: 2023-03-09 18:55 UTC (History)
1 user (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 Michael Osipov 2023-03-07 18:17:04 UTC
Makefile does:
73 .if ${ZABBIX_BUILD} != "agent"
74 LIB_DEPENDS+=   libnetsnmp.so:net-mgmt/net-snmp
80 CONFIGURE_ARGS+=    --with-net-snmp

but not everyone needs this. The scarce SNMP data in our environment is of little use, I guess I am not the only one or in a virtual environment likely as well. Please make a port OPTION out of it.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-08 12:16:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c39d5d75ec07afb0e428dd8da79437f0f3facbe

commit 7c39d5d75ec07afb0e428dd8da79437f0f3facbe
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-03-08 11:14:58 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-03-08 12:14:34 +0000

    net-mgmt/zabbix6-server: Enable SSH by default

    Enable SSH-based checks by default as it's usable for many scenarion.
    Also make SNMP checks optional, retaining default ON and clean up
    the required PHP extension a bit as per Zabbix manual.

    PR:             269992
    PR:             270012
    PR:             270013

 net-mgmt/zabbix6-agent/Makefile    |  1 +
 net-mgmt/zabbix6-frontend/Makefile |  4 ++--
 net-mgmt/zabbix6-proxy/Makefile    |  1 +
 net-mgmt/zabbix6-server/Makefile   | 13 +++++++------
 4 files changed, 11 insertions(+), 8 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-08 12:16:23 UTC
A commit in branch main references this bug:

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

commit b76c437779668c1687f7e8922334946505891387
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-03-08 10:18:53 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-03-08 12:14:01 +0000

    net-mgmt/zabbix64: Add zabbix 6.4 ports

    Add new ports for zabbix 6.4, an enterprise-class monitoring system.
    Release notes: https://www.zabbix.com/rn/rn6.4.0

    PR:             269992
    PR:             270012
    PR:             270013

 net-mgmt/Makefile                                  |    5 +
 net-mgmt/zabbix64-agent/Makefile (new)             |   11 +
 net-mgmt/zabbix64-frontend/Makefile (new)          |   30 +
 net-mgmt/zabbix64-java/Makefile (new)              |   13 +
 net-mgmt/zabbix64-proxy/Makefile (new)             |    7 +
 net-mgmt/zabbix64-server/Makefile (new)            |  254 +++
 net-mgmt/zabbix64-server/distinfo (new)            |    3 +
 .../files/patch-src_libs_zbxembed_duktape.h (new)  |   11 +
 .../zabbix64-server/files/pkg-message.in (new)     |   51 +
 .../zabbix64-server/files/zabbix_agentd.in (new)   |   67 +
 .../zabbix64-server/files/zabbix_java.in (new)     |   47 +
 .../zabbix64-server/files/zabbix_proxy.in (new)    |   68 +
 .../zabbix64-server/files/zabbix_server.in (new)   |   69 +
 net-mgmt/zabbix64-server/pkg-descr (new)           |    8 +
 net-mgmt/zabbix64-server/pkg-plist (new)           |   39 +
 net-mgmt/zabbix64-server/pkg-plist.agent (new)     |    9 +
 net-mgmt/zabbix64-server/pkg-plist.frontend (new)  | 1696 ++++++++++++++++++++
 net-mgmt/zabbix64-server/pkg-plist.java (new)      |   11 +
 18 files changed, 2399 insertions(+)
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2023-03-09 18:52:37 UTC
Committed, thanks.
Comment 4 Michael Osipov 2023-03-09 18:55:01 UTC
(In reply to Juraj Lutter from comment #3)

Thank you, this allows to drop a big-block dependency.