From 6e982890e22fc33f0a4005336b64b8656a94fd8c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 22 Dec 2023 20:00:03 -0500
Subject: zabbix: make openipmi dep

---
 linhes/zabbix/PKGBUILD | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/linhes/zabbix/PKGBUILD b/linhes/zabbix/PKGBUILD
index ef47499..e8b654a 100644
--- a/linhes/zabbix/PKGBUILD
+++ b/linhes/zabbix/PKGBUILD
@@ -5,7 +5,7 @@
 pkgbase=zabbix
 pkgname=(zabbix-server zabbix-agent{,2} zabbix-proxy zabbix-frontend-php zabbix-web-service)
 pkgver=6.4.10
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 url='https://www.zabbix.com/'
 license=(GPL)
@@ -98,9 +98,8 @@ build() {
 
 package_zabbix-server() {
   pkgdesc='Monitoring software for networks and applications'
-  depends=(net-snmp curl libxml2 unixodbc libldap libevent pcre2)
+  depends=(net-snmp curl libxml2 unixodbc libldap libevent pcre2 openipmi)
   optdepends=('mariadb-libs: for MariaDB support'
-              'openipmi: for IPMI support'
               'zabbix-web-service: for scheduled PDF report generation')
   backup=(etc/zabbix/zabbix_server.conf)
 
@@ -187,9 +186,8 @@ package_zabbix-agent2() {
 
 package_zabbix-proxy() {
   pkgdesc='Data collecting proxy for Zabbix'
-  depends=(net-snmp curl libxml2 unixodbc libldap pcre2 libevent)
-  optdepends=('mariadb-libs: for MariaDB support'
-              'openipmi: for IPMI support')
+  depends=(net-snmp curl libxml2 unixodbc libldap pcre2 libevent openipmi)
+  optdepends=('mariadb-libs: for MariaDB support')
   backup=(etc/zabbix/zabbix_proxy.conf)
 
   cd $pkgbase-$pkgver
-- 
cgit v0.12

