head	1.13;
access;
symbols
	pkgsrc-2026Q1:1.13.0.10
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.13.0.8
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.6
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.13.0.4
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.13.0.2
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.10.0.8
	pkgsrc-2024Q4-base:1.10
	pkgsrc-2024Q3:1.10.0.6
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.4
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.2
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.9.0.2
	pkgsrc-2023Q4-base:1.9
	pkgsrc-2023Q3:1.7.0.2
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.6.0.4
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.6.0.2
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.4.0.10
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.8
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.6
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.4
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.2
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.3.0.2
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.2.0.4
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.2
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.1.0.2
	pkgsrc-2020Q4-base:1.1;
locks; strict;
comment	@# @;


1.13
date	2025.02.08.03.54.13;	author taca;	state Exp;
branches;
next	1.12;
commitid	KYzIEdkPwjvelCIF;

1.12
date	2025.01.23.20.46.17;	author wiz;	state Exp;
branches;
next	1.11;
commitid	5yZRVapP6hdhsEGF;

1.11
date	2025.01.13.17.20.48;	author taca;	state Exp;
branches;
next	1.10;
commitid	h5vkef0yiiJyDlFF;

1.10
date	2024.02.19.15.43.35;	author taca;	state Exp;
branches;
next	1.9;
commitid	SVKrQoPxhXDYF3ZE;

1.9
date	2023.12.09.13.26.49;	author otis;	state Exp;
branches;
next	1.8;
commitid	ANQb1bfkmuWEeNPE;

1.8
date	2023.11.13.16.34.03;	author taca;	state Exp;
branches;
next	1.7;
commitid	6Gf6jZHcY7wx6tME;

1.7
date	2023.07.10.11.24.08;	author otis;	state Exp;
branches;
next	1.6;
commitid	jBHNDMgv1Zh4rfwE;

1.6
date	2023.02.12.21.02.50;	author otis;	state Exp;
branches;
next	1.5;
commitid	dYUPXzrdXgcDohdE;

1.5
date	2023.02.12.11.09.04;	author otis;	state Exp;
branches;
next	1.4;
commitid	1izQpczGH1LD6edE;

1.4
date	2021.11.13.20.41.09;	author otis;	state Exp;
branches;
next	1.3;
commitid	b2yxcSo2JQHwVFgD;

1.3
date	2021.06.23.20.33.17;	author nia;	state Exp;
branches;
next	1.2;
commitid	L7RJ3CFGxS3ruiYC;

1.2
date	2021.03.07.13.21.58;	author taca;	state Exp;
branches;
next	1.1;
commitid	f9CcQGw2nqoMznKC;

1.1
date	2020.11.03.22.48.55;	author otis;	state Exp;
branches;
next	;
commitid	X615robVvtVsHuuC;


desc
@@


1.13
log
@multiple PHP support

* Use PHP_BASE_VERS in DEPENDS if required.
* Use REPLACE_PHP.

Bump PKGREVISION.
@
text
@# $NetBSD: Makefile,v 1.12 2025/01/23 20:46:17 wiz Exp $

PKGREVISION=	2

PHP_VERSIONS_ACCEPTED=	74

.include "../../sysutils/zabbix50-server/Makefile.common"

PKGNAME=	${DISTNAME:S/-/-frontend-${ZABBIX_DB_TYPE}-/}
COMMENT=	Zabbix PHP 7.4 frontend

DISTINFO_FILE=	${.CURDIR}/../../sysutils/zabbix50-server/distinfo
PATCHDIR=	${.CURDIR}/../../sysutils/zabbix50-server/patches

CONFLICTS+=	zabbix-frontend-[0-9]*

EGDIR=		share/examples/${PKGBASE}

USE_TOOLS+=		pax
NO_BUILD=		yes

CHECK_PORTABILITY_SKIP=	configure

REPLACE_SH+=	ui/locale/add_new_language.sh ui/locale/make_mo.sh \
		ui/locale/update_po.sh

.include "options.mk"

BUILD_DEFS+=		APACHE_GROUP APACHE_USER
PKG_GROUPS_VARS+=	${APACHE_GROUP}
PKG_USERS_VARS=		${APACHE_USER}

DEPENDS+=	${PHP_PKG_PREFIX}-bcmath>=${PHP_BASE_VERS}:../../math/php-bcmath
DEPENDS+=	${PHP_PKG_PREFIX}-gd>=${PHP_BASE_VERS}:../../graphics/php-gd
DEPENDS+=	${PHP_PKG_PREFIX}-gettext>=${PHP_BASE_VERS}:../../devel/php-gettext
DEPENDS+=	${PHP_PKG_PREFIX}-ldap>=${PHP_BASE_VERS}:../../databases/php-ldap
DEPENDS+=	${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring
.if ${ZABBIX_DB_TYPE} == "mysql"
DEPENDS+=	${PHP_PKG_PREFIX}-mysqli>=${PHP_BASE_VERS}:../../databases/php-mysqli
.endif
.if ${ZABBIX_DB_TYPE} == "pgsql"
DEPENDS+=	${PHP_PKG_PREFIX}-pgsql>=${PHP_BASE_VERS}:../../databases/php-pgsql
.endif
DEPENDS+=	${PHP_PKG_PREFIX}-sockets>=${PHP_BASE_VERS}:../../net/php-sockets
DEPENDS+=	${PHP_PKG_PREFIX}-sysvsem>=${PHP_BASE_VERS}:../../devel/php-sysvsem

INSTALLATION_DIRS+=	${EGDIR} share/zabbix

do-install:
	rm -f ${WRKSRC}/ui/locale/*.orig
	cd ${WRKSRC}/ui; ${PAX} -rw . ${DESTDIR}${PREFIX}/share/zabbix/
	${INSTALL_DATA} ${FILESDIR}/httpd-zabbix.conf ${DESTDIR}${PREFIX}/${EGDIR}
	${INSTALL_DATA} ${FILESDIR}/php-fpm-zabbix.conf ${DESTDIR}${PREFIX}/${EGDIR}

.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
@


1.12
log
@zabbix50-frontend: fix build

Some pkglint and general cleanup while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2025/01/13 17:20:48 taca Exp $
d3 1
a3 1
PKGREVISION=	1
d22 4
a25 1
REPLACE_SH+=	ui/locale/*.sh
a26 1
.include "../../mk/bsd.prefs.mk"
d33 5
a37 5
DEPENDS+=	${PHP_PKG_PREFIX}-bcmath>=7.2.0:../../math/php-bcmath
DEPENDS+=	${PHP_PKG_PREFIX}-gd>=7.2.0:../../graphics/php-gd
DEPENDS+=	${PHP_PKG_PREFIX}-gettext>=7.2.0:../../devel/php-gettext
DEPENDS+=	${PHP_PKG_PREFIX}-ldap>=7.2.0:../../databases/php-ldap
DEPENDS+=	${PHP_PKG_PREFIX}-mbstring>=7.2.0:../../converters/php-mbstring
d39 1
a39 1
DEPENDS+=	${PHP_PKG_PREFIX}-mysqli>=7.2.0:../../databases/php-mysqli
d42 1
a42 1
DEPENDS+=	${PHP_PKG_PREFIX}-pgsql>=7.2.0:../../databases/php-pgsql
d44 2
a45 2
DEPENDS+=	${PHP_PKG_PREFIX}-sockets>=7.2.0:../../net/php-sockets
DEPENDS+=	${PHP_PKG_PREFIX}-sysvsem>=7.2.0:../../devel/php-sysvsem
a48 2
do-configure:

@


1.11
log
@sysutils/zabbix50-frontend: for PHP 7.4 only

* zabbix-frontend 5.0.40 supports PHP 7.4 only.
@
text
@d1 5
a5 1
# $NetBSD: Makefile,v 1.10 2024/02/19 15:43:35 taca Exp $
a6 1
PKGREVISION= 1
d13 1
a16 2
PHP_VERSIONS_ACCEPTED=	74

a20 1
NO_CONFIGURE=		yes
d47 1
a47 1
post-patch: replace-interpreter
@


1.10
log
@Bump PKGREVISION by changing default PHP's version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/12/09 13:26:49 otis Exp $
d13 2
d54 1
a54 2
.include "../../lang/php/json.mk"
.include "../../mk/configure/replace-interpreter.mk"
@


1.9
log
@sysutils/zabbix50: Update to 5.0.40

Changelog for 5.0.40:

* Bug Fixes:
  - Fixed foreign key support with SQLite3 database
  - Changed value type for item prototype 'Pool Percent Used' in Ceph by Zabbix
    agent 2 template
  - Fixed messages about enabling, disabling and updating modules being
    different from other places

Release notes§: https://www.zabbix.com/rn/rn5.0.40
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/11/13 16:34:03 taca Exp $
d3 1
@


1.8
log
@Bump PKGREVISION by PHP_VERSION_DEFAULT change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/07/10 11:24:08 otis Exp $
a2 1
PKGREVISION= 1
@


1.7
log
@sysutils/zabbix50: Update to 5.0.36

Bug Fixes:
- Fixed inefficient URL schema validation
- Fixed active checks occasionally not being executed on Zabbix agent 2 if
  checks for a plugin have long and short update intervals
- Fixed wrong fs type returned by vfs.fs.get for file systems with identical
  mount point
- Fixed the crash when updating a webhook to JavaScript that cannot be compiled
- Fixed incorrect output of vfs.file.contents when reading frequently modified
  file
- Fixed disabled input field text color in Safari
- Prevented the ability to link two or more templates with matching item keys
  to a host or template
- Fixed Graph widget not showing all problems for multiple items with dataset
  aggregation enabled

Release notes: https://www.zabbix.com/rn/rn5.0.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/02/12 21:02:50 otis Exp $
d3 1
@


1.6
log
@zabbix50: Switch to PCRE2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/02/12 11:09:04 otis Exp $
a2 1
PKGREVISION= 1
@


1.5
log
@zabbix50: Update to 5.0.31

- Update to 5.0.31
- Consolidate distinfo to zabbix50-server

Release notes:
- Added single field search option to oracle archive.info, ts.stats, pdb.info,
  cdb.info and diskgroups.stats keys for Zabbix agent 2
- Improved error logging during the agent start for Windows service
- Fixed the `history.get` API method blocking `drop_chunks` requests during
  housekeeping
- Fixed the severity sign overlapping a trigger name in the map element
  configuration
- Fixed incorrectly quoted parsing of the function parameter
- Fixed actions not being displayed in an *Action log* widget
- Removed `kernel.maxproc` from the processes graph in Linux by Zabbix agent
  templates
- Improved value cache warmup when retrieving the two last values with one day
  update interval
- Updated tablespaces query for the Oracle plugin in Zabbix agent 2
- Fixed an infinite loop of the SMART plugin for Zabbix agent 2
- Fixed the configuration of Redis plugin in Zabbix agent 2 configuration files
- Changed the order in which the escalation steps and recovery operations are
  executed
- Fixed Zabbix JS timeout validation
- Fixed trends being deleted from cache and retrieved from a database when data
  is older than one hour after receiving
- Optimized API queries when searching by names in the hosts and items tables
- Moved some static items under LLD rules to improve the performance in Oracle
  by Zabbix agent 2 template
- Extended the description for an OPSGenie media type
- Fixed the availability of an SNMP interface in the case of wrong credentials
- Added the overriding to skip metadata collection on ZFS and BTRFS for Nix
  templates
- Fixed crash on the Oracle database when connection is lost
- Fixed Windows agent 2 unicode path support for log* items
- Fixed the agent 2 timeout behavior for the `net.tcp.port` item
- Fixed README for PostgreSQL by Zabbix agent 2 template
- Fixed fatal PHP error in case incorrect variable type for controller action
  is given
- Fixed an undefined offset error during the host import process
- Reverted the PostgreSQL connection to be per database for Zabbix agent 2
  PostgreSQL plugin
- Fixed the alignment of a draggable object
- Fixed Zabbix agent 2 to remove and re-add the performance counters on failed
  collection and to keep query always open
- Updated the Oracle plugin and Oracle agent 2 template documentation grant
  select variables and added new grant
- Changed `system.sw.packages[<package>,<manager>,<format>]` to
  `system.sw.packages[<regexp>,<manager>,<format>]`

For complete list, see https://www.zabbix.com/rn/rn5.0.31
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2021/11/13 20:41:09 otis Exp $
d3 1
@


1.4
log
@zabbix50: Update to 5.0.17

Release notes: https://www.zabbix.com/rn/rn5.0.17
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/06/23 20:33:17 nia Exp $
d6 3
a8 1
COMMENT=	Zabbix PHP 7.2+ frontend
@


1.3
log
@Revbump for MySQL default change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/03/07 13:21:58 taca Exp $
a5 1
PKGREVISION=	1
@


1.2
log
@Switch to use lang/php/json.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/11/03 22:48:55 otis Exp $
d6 1
@


1.1
log
@zabbix50-frontend: Import zabbix-frontend 5.0.5

Zabbix is the ultimate enterprise-level software designed for monitoring
availability and performance of IT infrastructure components. Zabbix is open
source and comes at no cost.

With Zabbix it is possible to gather virtually limitless types of data from
the network. High performance real-time monitoring means that tens of thousands
of servers, virtual machines and network devices can be monitored
simultaneously. Along with storing the data, visualization features are
available (overviews, maps, graphs, screens, etc), as well as very flexible
ways of analyzing the data for the purpose of alerting.
@
text
@d1 1
a1 1
# $NetBSD$
a27 1
DEPENDS+=	${PHP_PKG_PREFIX}-json>=7.2.0:../../textproc/php-json
d49 1
a49 1
.include "../../lang/php/phpversion.mk"
@

