From 220fda527d18e06c370f2d2e256e443916fb0d68 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 30 Apr 2023 19:50:55 -0400
Subject: zabbix: update to 6.4.2

---
 linhes/zabbix/PKGBUILD | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/linhes/zabbix/PKGBUILD b/linhes/zabbix/PKGBUILD
index e06a32a..d2e1d5b 100644
--- a/linhes/zabbix/PKGBUILD
+++ b/linhes/zabbix/PKGBUILD
@@ -3,19 +3,19 @@
 
 pkgbase=zabbix
 pkgname=(zabbix-server zabbix-agent{,2} zabbix-proxy zabbix-frontend-php)
-pkgver=6.4.1
-pkgrel=2
+pkgver=6.4.2
+pkgrel=1
 arch=(x86_64)
 url='https://www.zabbix.com/'
 license=(GPL)
-makedepends=(libxml2 unixodbc net-snmp mariadb-libs libldap libevent go pkgconfig)
+makedepends=(libxml2 unixodbc net-snmp mariadb-libs libldap libevent go pkgconfig pcre2)
 source=("https://cdn.zabbix.com/zabbix/sources/stable/${pkgver%.*}/zabbix-${pkgver}.tar.gz"
         zabbix-agent.{service,sysusers,tmpfiles}
         zabbix-agent2.service
         zabbix-server-mysql.service zabbix-server.{sysusers,tmpfiles}
         zabbix-proxy-mysql.service zabbix-proxy.{sysusers,tmpfiles})
 
-sha512sums=('4f82cdbf527b34e3689b280e8a0405faa1d9066a6288b273ac50f3b3008c0a6b8fcc325b760de4204dbf52a1301d7e59eadbe74a3f7a5fc3e26d6eb2f7a5c17f'
+sha512sums=('72b8842444aade42519d78856231024c1587ad9076ef21597a2dde580a49b99ea884a62508ebb1c08d883430b911a54d8a5f8421bee0d9e99b3610342191632f'
             '8c1fa2676bc0ef91bc39ec5f97b4d3ba5c365d063420455a3785121a54e120bc5afeacde42a48f4509c115f940dcc3b6c2f43044a7fbfb421182fc93b22a2444'
             '3ab3ac1acc7e35c8896157aef601ebc30815237ac5252cbd0c1ecb26eeaf9eccf5c49938ae8c85bb79a6f95f607f082f6b80ed660829599ec03aa626cca6d3dc'
             'ca6b4779de23829dfdd80ee21e924fbe4e2754f4e693bed4b1a2aa846cd87d150e399b1169d7fe58d30c50ed837c1b8254e580de420267d0a1834d6dc409c43d'
@@ -55,6 +55,7 @@ build() {
     --with-libxml2
     --with-net-snmp
     --with-openssl
+    --with-libpcre2
     --with-ssh2
     --with-unixodbc
   )
@@ -84,7 +85,7 @@ build() {
 
 package_zabbix-server() {
   pkgdesc='Monitoring software for networks and applications'
-  depends=(net-snmp curl libxml2 unixodbc libldap libevent pcre)
+  depends=(net-snmp curl libxml2 unixodbc libldap libevent pcre2)
   optdepends=('mariadb-libs: for MariaDB support')
   backup=(etc/zabbix/zabbix_server.conf)
 
@@ -122,7 +123,7 @@ package_zabbix-server() {
 
 package_zabbix-agent() {
   pkgdesc='Monitoring agent for Zabbix'
-  depends=(curl pcre)
+  depends=(curl pcre2)
   backup=(etc/zabbix/zabbix_agentd.conf)
 
   cd $pkgbase-$pkgver
@@ -171,7 +172,7 @@ package_zabbix-agent2() {
 
 package_zabbix-proxy() {
   pkgdesc='Data collecting proxy for Zabbix'
-  depends=(net-snmp curl libxml2 sqlite unixodbc libldap pcre libevent)
+  depends=(net-snmp curl libxml2 sqlite unixodbc libldap pcre2 libevent)
   optdepends=('mariadb-libs: for MariaDB support')
   backup=(etc/zabbix/zabbix_proxy.conf)
 
-- 
cgit v0.12

