From d31fd47fff69545e02627911826ade9ed04ec1a4 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 17 Oct 2024 12:30:51 -0400
Subject: zabbix: update to 7.0.4

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

diff --git a/linhes/zabbix/PKGBUILD b/linhes/zabbix/PKGBUILD
index 4dad479..f459bcd 100644
--- a/linhes/zabbix/PKGBUILD
+++ b/linhes/zabbix/PKGBUILD
@@ -1,14 +1,14 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
-# Maintainer: Florian Pritz <bluewind@xinu.at>
 # Maintainer: Robin Candau <antiz@archlinux.org>
+# Contributor: Florian Pritz <bluewind@xinu.at>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
 
 pkgbase=zabbix
 pkgname=(zabbix-server zabbix-agent{,2} zabbix-proxy zabbix-frontend-php zabbix-web-service)
-pkgver=6.4.19
+pkgver=7.0.4
 pkgrel=1
 arch=(x86_64)
 url='https://www.zabbix.com/'
-license=(GPL)
+license=('GPL-2.0-only')
 makedepends=(libxml2 unixodbc net-snmp mariadb-libs libldap libevent go pkgconfig pcre2 openipmi)
 source=("https://cdn.zabbix.com/zabbix/sources/stable/${pkgver%.*}/zabbix-${pkgver}.tar.gz"
         zabbix-agent.{service,sysusers,tmpfiles}
@@ -17,7 +17,7 @@ source=("https://cdn.zabbix.com/zabbix/sources/stable/${pkgver%.*}/zabbix-${pkgv
         zabbix-proxy-mysql.service zabbix-proxy.{sysusers,tmpfiles}
         zabbix-web-service.{service,sysusers,tmpfiles})
 
-sha512sums=('7b03e185c89f33cf145f2758a906c4a1a914fee82bf0b79e92526c82abf38c6a2a4a0b6078fd6384dc5da6df53aa29562eddbbcf83911f44f09ee09df86a4ebc'
+sha512sums=('4c4b05d2371a2e78c0b419e467ecb261911096b3603b52aab296aa40ab86cdb4e7006703c9aa5a63f0cfee93bc5320c402b083b45497cdd5d804ed7e774f291e'
             '8c1fa2676bc0ef91bc39ec5f97b4d3ba5c365d063420455a3785121a54e120bc5afeacde42a48f4509c115f940dcc3b6c2f43044a7fbfb421182fc93b22a2444'
             '3ab3ac1acc7e35c8896157aef601ebc30815237ac5252cbd0c1ecb26eeaf9eccf5c49938ae8c85bb79a6f95f607f082f6b80ed660829599ec03aa626cca6d3dc'
             'ca6b4779de23829dfdd80ee21e924fbe4e2754f4e693bed4b1a2aa846cd87d150e399b1169d7fe58d30c50ed837c1b8254e580de420267d0a1834d6dc409c43d'
@@ -40,7 +40,6 @@ prepare() {
     conf/zabbix_{agentd,proxy,server}.conf src/go/conf/zabbix_web_service.conf
 
   autoreconf -fi
-
 }
 
 build() {
@@ -161,8 +160,8 @@ package_zabbix-agent() {
 }
 
 package_zabbix-agent2() {
-  pkgdesc='Experimental monitoring agent for Zabbix (Agent 2)'
-  depends=(zabbix-agent)
+  pkgdesc='Monitoring agent for Zabbix (version 2)'
+  depends=(curl pcre2)
   backup=(etc/zabbix/zabbix_agent2.conf)
 
   cd $pkgbase-$pkgver
-- 
cgit v0.12

