Zabbix patch for building zabbix-{server,proxy} packages

This commit is contained in:
2022-12-09 19:54:24 +01:00
parent 8684148f3b
commit 5da0a2b910
2 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
--- zabbix.spec.orig 2022-12-09 19:48:39.002443430 +0100
+++ zabbix.spec 2022-12-09 19:48:48.360384315 +0100
@@ -77,6 +77,21 @@
%{!?build_selinux_policy: %global build_selinux_policy 1}
%endif
+# overwrites:
+%global build_frontend 1
+%global build_agent2 1
+%global build_agent 1
+%global build_web_service 1
+%global build_java_gateway 1
+%global build_with_mysql 1
+%global build_with_pgsql 1
+%global build_with_sqlite 1
+%global build_server 1
+%global build_proxy 1
+BuildRequires: mysql-connector-odbc postgresql-odbc unixODBC unixODBC-devel
+BuildRequires: libssh2-devel net-snmp-devel postgresql-server-devel
+# end owerwrite
+
# FIXME: Building debuginfo is broken on RHEL 5 & 8. Disabled for now.
%if 0%{?rhel} <= 5 || 0%{?rhel} >= 8
%define debug_package %{nil}