|
|
1c3a77 |
Name: zabbix
|
|
|
175a78 |
Version: 5.0.8
|
|
|
e02d11 |
Release: %{?alphatag:0.}5%{?alphatag}%{?dist}
|
|
|
1c3a77 |
Summary: The Enterprise-class open source monitoring solution
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
License: GPLv2+
|
|
|
1c3a77 |
URL: http://www.zabbix.com/
|
|
|
1c3a77 |
Source0: %{name}-%{version}%{?alphatag}.tar.gz
|
|
|
1c3a77 |
Source1: zabbix-web22.conf
|
|
|
1c3a77 |
Source2: zabbix-web24.conf
|
|
|
1c3a77 |
Source3: zabbix-logrotate.in
|
|
|
1c3a77 |
Source4: zabbix-java-gateway.init
|
|
|
1c3a77 |
Source5: zabbix-agent.init
|
|
|
1c3a77 |
Source6: zabbix-server.init
|
|
|
1c3a77 |
Source7: zabbix-proxy.init
|
|
|
1c3a77 |
Source10: zabbix-agent.service
|
|
|
1c3a77 |
Source11: zabbix-server.service
|
|
|
1c3a77 |
Source12: zabbix-proxy.service
|
|
|
1c3a77 |
Source13: zabbix-java-gateway.service
|
|
|
1c3a77 |
Source14: zabbix_java_gateway-sysd
|
|
|
1c3a77 |
Source15: zabbix-tmpfiles.conf
|
|
|
1c3a77 |
Source16: zabbix-php-fpm.conf
|
|
|
1c3a77 |
Source17: zabbix-web-fcgi.conf
|
|
|
1c3a77 |
Source18: zabbix-nginx.conf
|
|
|
1c3a77 |
Source19: zabbix-agent2.service
|
|
|
1c3a77 |
Source20: zabbix-agent.sysconfig
|
|
|
1c3a77 |
Source21: zabbix-agent2.init
|
|
|
1c3a77 |
Source22: zabbix-agent2.sysconfig
|
|
|
175a78 |
Source23: zabbix-php-fpm.conf.rhel-7
|
|
|
1c3a77 |
Patch0: config.patch
|
|
|
1c3a77 |
Patch1: fping3-sourceip-option.patch
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
1c3a77 |
Buildroot: %{_tmppath}/zabbix-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1c3a77 |
|
|
|
175a78 |
%{!?build_agent: %global build_agent 1}
|
|
|
175a78 |
|
|
|
1c3a77 |
%if 0%{?rhel} >= 6
|
|
|
175a78 |
%ifarch x86_64
|
|
|
e02d11 |
%{!?build_agent2: %global build_agent2 0}
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
%{!?build_proxy: %global build_proxy 1}
|
|
|
175a78 |
%{!?build_java_gateway: %global build_java_gateway 1}
|
|
|
175a78 |
%{!?build_server: %global build_server 1}
|
|
|
175a78 |
%{!?build_frontend: %global build_frontend 1}
|
|
|
175a78 |
|
|
|
175a78 |
%{!?build_with_mysql: %global build_with_mysql 1}
|
|
|
175a78 |
%{!?build_with_pgsql: %global build_with_pgsql 1}
|
|
|
175a78 |
%{!?build_with_sqlite: %global build_with_sqlite 1}
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_with_mysql} == 0 && 0%{?build_with_pgsql} == 0
|
|
|
175a78 |
%global build_server 0
|
|
|
175a78 |
%if 0%{?build_with_sqlite} == 0
|
|
|
175a78 |
%global build_proxy 0
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
# FIXME: Building debuginfo is broken on RHEL-8. Disabled for now.
|
|
|
1c3a77 |
%if 0%{?rhel} == 8
|
|
|
1c3a77 |
%define debug_package %{nil}
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
BuildRequires: make
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
BuildRequires: systemd
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
BuildRequires: mariadb-connector-c-devel
|
|
|
1c3a77 |
BuildRequires: libssh-devel >= 0.9.0
|
|
|
1c3a77 |
BuildRequires: postgresql-devel >= 12.0
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
BuildRequires: mysql-devel >= 5.5
|
|
|
1c3a77 |
BuildRequires: libssh2-devel >= 1.0.0
|
|
|
1c3a77 |
BuildRequires: postgresql-devel
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
BuildRequires: sqlite-devel
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
BuildRequires: net-snmp-devel
|
|
|
1c3a77 |
BuildRequires: openldap-devel
|
|
|
1c3a77 |
BuildRequires: gnutls-devel
|
|
|
1c3a77 |
BuildRequires: unixODBC-devel
|
|
|
1c3a77 |
BuildRequires: curl-devel >= 7.13.1
|
|
|
1c3a77 |
BuildRequires: OpenIPMI-devel >= 2
|
|
|
1c3a77 |
BuildRequires: java-devel >= 1.6.0
|
|
|
1c3a77 |
BuildRequires: libxml2-devel
|
|
|
1c3a77 |
BuildRequires: pcre-devel
|
|
|
1c3a77 |
BuildRequires: libevent-devel
|
|
|
1c3a77 |
%if 0%{?rhel} >= 6
|
|
|
1c3a77 |
BuildRequires: openssl-devel >= 1.0.1
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description
|
|
|
1c3a77 |
Zabbix is the ultimate enterprise-level software designed for
|
|
|
1c3a77 |
real-time monitoring of millions of metrics collected from tens of
|
|
|
1c3a77 |
thousands of servers, virtual machines and network devices.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package agent
|
|
|
1c3a77 |
Summary: Old Zabbix Agent
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: logrotate
|
|
|
1c3a77 |
Requires(pre): /usr/sbin/useradd
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
Requires(post): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/service
|
|
|
1c3a77 |
Requires(postun): /sbin/service
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?build_agent2} != 1
|
|
|
1c3a77 |
%description agent
|
|
|
1c3a77 |
Zabbix agent to be installed on monitored systems.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
%description agent
|
|
|
1c3a77 |
Old implementation of zabbix agent.
|
|
|
1c3a77 |
To be installed on monitored systems.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package agent2
|
|
|
1c3a77 |
Summary: New Zabbix Agent
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: logrotate
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
Requires(post): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/service
|
|
|
1c3a77 |
Requires(postun): /sbin/service
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description agent2
|
|
|
1c3a77 |
New implementation of zabbix agent.
|
|
|
1c3a77 |
To be installed on monitored systems.
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package get
|
|
|
1c3a77 |
Summary: Zabbix Get
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description get
|
|
|
1c3a77 |
Zabbix get command line utility.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package sender
|
|
|
1c3a77 |
Summary: Zabbix Sender
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description sender
|
|
|
1c3a77 |
Zabbix sender command line utility.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
%package js
|
|
|
1c3a77 |
Summary: Zabbix JS
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description js
|
|
|
1c3a77 |
Zabbix js command line utility.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package proxy-mysql
|
|
|
1c3a77 |
Summary: Zabbix proxy for MySQL or MariaDB database
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: fping
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
Provides: zabbix-proxy = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-proxy-implementation = %{version}-%{release}
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
Obsoletes: zabbix-proxy
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description proxy-mysql
|
|
|
1c3a77 |
Zabbix proxy with MySQL or MariaDB database support.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package proxy-pgsql
|
|
|
1c3a77 |
Summary: Zabbix proxy for PostgreSQL database
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: fping
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
Provides: zabbix-proxy = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-proxy-implementation = %{version}-%{release}
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
Obsoletes: zabbix-proxy
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description proxy-pgsql
|
|
|
1c3a77 |
Zabbix proxy with PostgreSQL database support.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package proxy-sqlite3
|
|
|
1c3a77 |
Summary: Zabbix proxy for SQLite3 database
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: fping
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
Provides: zabbix-proxy = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-proxy-implementation = %{version}-%{release}
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
Obsoletes: zabbix-proxy
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description proxy-sqlite3
|
|
|
1c3a77 |
Zabbix proxy with SQLite3 database support.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package server-mysql
|
|
|
1c3a77 |
Summary: Zabbix server for MySQL or MariaDB database
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: fping
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
Provides: zabbix-server = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-server-implementation = %{version}-%{release}
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
Obsoletes: zabbix-server
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description server-mysql
|
|
|
1c3a77 |
Zabbix server with MySQL or MariaDB database support.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package server-pgsql
|
|
|
1c3a77 |
Summary: Zabbix server for PostgresSQL database
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
Requires: fping
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
Provides: zabbix-server = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-server-implementation = %{version}-%{release}
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
Obsoletes: zabbix-server
|
|
|
1c3a77 |
%description server-pgsql
|
|
|
1c3a77 |
Zabbix server with PostgresSQL database support.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package web
|
|
|
1c3a77 |
Summary: Zabbix web frontend common package
|
|
|
1c3a77 |
Group: Application/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: dejavu-sans-fonts
|
|
|
1c3a77 |
Requires(post): %{_sbindir}/update-alternatives
|
|
|
1c3a77 |
Requires(preun): %{_sbindir}/update-alternatives
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
%description web
|
|
|
1c3a77 |
Zabbix web frontend common package
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} == 7
|
|
|
1c3a77 |
%description web
|
|
|
1c3a77 |
Zabbix web frontend common package
|
|
|
1c3a77 |
|
|
|
1c3a77 |
Due to lack of official php7.2+ packages on RHEL/CentOS 7,
|
|
|
1c3a77 |
direct dependencies on php and it's modules have been removed from zabbix-web package.
|
|
|
1c3a77 |
|
|
|
1c3a77 |
Suggest enabling redhat software collections repositories
|
|
|
1c3a77 |
and installing zabbix-web-mysql-scl or zabbix-web-pgsql-scl package.
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
%package web-deps
|
|
|
1c3a77 |
Summary: PHP dependencies metapackage for frontend
|
|
|
1c3a77 |
Requires: php-gd >= 7.2
|
|
|
1c3a77 |
Requires: php-bcmath >= 7.2
|
|
|
1c3a77 |
Requires: php-mbstring >= 7.2
|
|
|
1c3a77 |
Requires: php-xml >= 7.2
|
|
|
1c3a77 |
Requires: php-ldap >= 7.2
|
|
|
1c3a77 |
Requires: php-json >= 7.2
|
|
|
1c3a77 |
Requires: php-fpm >= 7.2
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires: zabbix-web-database = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-deps
|
|
|
1c3a77 |
PHP dependencies metapackage for frontend
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package web-mysql
|
|
|
1c3a77 |
Summary: Zabbix web frontend for MySQL
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: php-mysqlnd
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires: zabbix-web-deps = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-web-database = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-mysql
|
|
|
1c3a77 |
Zabbix web frontend for MySQL
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package web-pgsql
|
|
|
1c3a77 |
Summary: Zabbix web frontend for PostgreSQL
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: php-pgsql
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires: zabbix-web-deps = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-web-database = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-pgsql
|
|
|
1c3a77 |
Zabbix web frontend for PostgreSQL
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package apache-conf
|
|
|
1c3a77 |
Summary: Automatic zabbix frontend configuration with apache
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: zabbix-web-deps = %{version}-%{release}
|
|
|
1c3a77 |
Requires: httpd
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description apache-conf
|
|
|
1c3a77 |
Zabbix frontend configuration for apache
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package nginx-conf
|
|
|
1c3a77 |
Summary: Zabbix frontend configuration for nginx and php-fpm
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: zabbix-web-deps = %{version}-%{release}
|
|
|
1c3a77 |
Requires: nginx
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description nginx-conf
|
|
|
1c3a77 |
Zabbix frontend configuration for nginx and php-fpm
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
# rhel >= 8
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package web-japanese
|
|
|
1c3a77 |
Summary: Japanese font settings for Zabbix frontend
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
Requires: google-noto-sans-cjk-ttc-fonts
|
|
|
1c3a77 |
Requires: glibc-langpack-ja
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
Requires: vlgothic-p-fonts
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires(post): %{_sbindir}/update-alternatives
|
|
|
1c3a77 |
Requires(preun): %{_sbindir}/update-alternatives
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-japanese
|
|
|
1c3a77 |
Japanese font configuration for Zabbix web frontend
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} == 7
|
|
|
1c3a77 |
%package web-deps-scl
|
|
|
1c3a77 |
Summary: Convenience package for installing php dependencies of zabbix-web package from redhat software collections
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: rh-php72
|
|
|
1c3a77 |
Requires: rh-php72-php-gd
|
|
|
1c3a77 |
Requires: rh-php72-php-bcmath
|
|
|
1c3a77 |
Requires: rh-php72-php-mbstring
|
|
|
1c3a77 |
Requires: rh-php72-php-xml
|
|
|
1c3a77 |
Requires: rh-php72-php-ldap
|
|
|
1c3a77 |
Requires: rh-php72-php-fpm
|
|
|
1c3a77 |
Requires: zabbix-web-database-scl = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-deps-scl
|
|
|
1c3a77 |
Convenience package for installing php dependencies of zabbix-web package from redhat software collections
|
|
|
1c3a77 |
|
|
|
175a78 |
%package web-deps-scl-php73
|
|
|
175a78 |
Summary: Convenience package for installing php dependencies of zabbix-web package from redhat software collections
|
|
|
175a78 |
Group: Applications/Internet
|
|
|
175a78 |
BuildArch: noarch
|
|
|
175a78 |
Requires: rh-php73
|
|
|
175a78 |
Requires: rh-php73-php-gd
|
|
|
175a78 |
Requires: rh-php73-php-bcmath
|
|
|
175a78 |
Requires: rh-php73-php-mbstring
|
|
|
175a78 |
Requires: rh-php73-php-xml
|
|
|
175a78 |
Requires: rh-php73-php-ldap
|
|
|
175a78 |
Requires: rh-php73-php-fpm
|
|
|
175a78 |
Requires: zabbix-web-database-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
Provides: zabbix-web-deps-scl = %{version}-%{release}
|
|
|
175a78 |
|
|
|
175a78 |
%description web-deps-scl-php73
|
|
|
175a78 |
Convenience package for installing php dependencies of zabbix-web package from redhat software collections
|
|
|
175a78 |
|
|
|
1c3a77 |
%package web-mysql-scl
|
|
|
1c3a77 |
Summary: Zabbix web frontend for MySQL (scl version)
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: rh-php72-php-mysqlnd
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires: zabbix-web-deps-scl = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-web-database-scl = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-mysql-scl
|
|
|
1c3a77 |
Convenience package for installing zabbix-web-mysql, and php dependencies from redhat software collections
|
|
|
1c3a77 |
|
|
|
175a78 |
%package web-mysql-scl-php73
|
|
|
175a78 |
Summary: Zabbix web frontend for MySQL (scl version)
|
|
|
175a78 |
Group: Applications/Internet
|
|
|
175a78 |
BuildArch: noarch
|
|
|
175a78 |
Requires: rh-php73-php-mysqlnd
|
|
|
175a78 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
175a78 |
Requires: zabbix-web-deps-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
Provides: zabbix-web-database-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
|
|
|
175a78 |
%description web-mysql-scl-php73
|
|
|
175a78 |
Convenience package for installing zabbix-web-mysql, and php dependencies from redhat software collections
|
|
|
175a78 |
|
|
|
1c3a77 |
%package web-pgsql-scl
|
|
|
1c3a77 |
Summary: Zabbix web frontend for PostgreSQL (scl version)
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: rh-php72-php-pgsql
|
|
|
1c3a77 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
1c3a77 |
Requires: zabbix-web-deps-scl = %{version}-%{release}
|
|
|
1c3a77 |
Provides: zabbix-web-database-scl = %{version}-%{release}
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description web-pgsql-scl
|
|
|
1c3a77 |
Convenience package for installing zabbix-web-pgsql, and php dependencies from redhat software collections
|
|
|
1c3a77 |
|
|
|
175a78 |
%package web-pgsql-scl-php73
|
|
|
175a78 |
Summary: Zabbix web frontend for PostgreSQL (scl version)
|
|
|
175a78 |
Group: Applications/Internet
|
|
|
175a78 |
BuildArch: noarch
|
|
|
175a78 |
Requires: rh-php73-php-pgsql
|
|
|
175a78 |
Requires: zabbix-web = %{version}-%{release}
|
|
|
175a78 |
Requires: zabbix-web-deps-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
Provides: zabbix-web-database-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
|
|
|
175a78 |
%description web-pgsql-scl-php73
|
|
|
175a78 |
Convenience package for installing zabbix-web-pgsql, and php dependencies from redhat software collections
|
|
|
175a78 |
|
|
|
1c3a77 |
%package apache-conf-scl
|
|
|
1c3a77 |
Summary: Zabbix frontend configuration for apache (scl version)
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: zabbix-web-deps-scl = %{version}-%{release}
|
|
|
1c3a77 |
Requires: httpd
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description apache-conf-scl
|
|
|
1c3a77 |
Zabbix frontend configuration for apache (scl version)
|
|
|
1c3a77 |
|
|
|
175a78 |
%package apache-conf-scl-php73
|
|
|
175a78 |
Summary: Zabbix frontend configuration for apache (scl version)
|
|
|
175a78 |
Group: Applications/Internet
|
|
|
175a78 |
BuildArch: noarch
|
|
|
175a78 |
Requires: zabbix-web-deps-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
Requires: httpd
|
|
|
175a78 |
|
|
|
175a78 |
%description apache-conf-scl-php73
|
|
|
175a78 |
Zabbix frontend configuration for apache (scl version)
|
|
|
175a78 |
|
|
|
1c3a77 |
%package nginx-conf-scl
|
|
|
1c3a77 |
Summary: Zabbix frontend configuration for nginx (scl version)
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
BuildArch: noarch
|
|
|
1c3a77 |
Requires: zabbix-web-deps-scl = %{version}-%{release}
|
|
|
1c3a77 |
Requires: rh-nginx116-nginx
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description nginx-conf-scl
|
|
|
1c3a77 |
Zabbix frontend configuration for nginx (scl version)
|
|
|
175a78 |
|
|
|
175a78 |
%package nginx-conf-scl-php73
|
|
|
175a78 |
Summary: Zabbix frontend configuration for nginx (scl version)
|
|
|
175a78 |
Group: Applications/Internet
|
|
|
175a78 |
BuildArch: noarch
|
|
|
175a78 |
Requires: zabbix-web-deps-scl-php73 = %{version}-%{release}
|
|
|
175a78 |
Requires: rh-nginx116-nginx
|
|
|
175a78 |
|
|
|
175a78 |
%description nginx-conf-scl-php73
|
|
|
175a78 |
Zabbix frontend configuration for nginx (scl version)
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
# rhel == 7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%package java-gateway
|
|
|
1c3a77 |
Summary: Zabbix java gateway
|
|
|
1c3a77 |
Group: Applications/Internet
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
Requires: java-headless >= 1.6.0
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
Requires: java >= 1.6.0
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
Requires(post): systemd
|
|
|
1c3a77 |
Requires(preun): systemd
|
|
|
1c3a77 |
Requires(postun): systemd
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
Requires(post): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/chkconfig
|
|
|
1c3a77 |
Requires(preun): /sbin/service
|
|
|
1c3a77 |
Requires(postun): /sbin/service
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
Obsoletes: zabbix
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%description java-gateway
|
|
|
1c3a77 |
Zabbix java gateway
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
# rhel >= 7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%prep
|
|
|
1c3a77 |
%setup0 -q -n %{name}-%{version}%{?alphatag}
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_frontend}
|
|
|
1c3a77 |
%patch0 -p1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
## remove font file
|
|
|
1c3a77 |
rm -f ui/assets/fonts/DejaVuSans.ttf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
# replace font in defines.inc.php
|
|
|
1c3a77 |
sed -i -r "s/(define\(.*_FONT_NAME.*)DejaVuSans/\1graphfont/" \
|
|
|
1c3a77 |
ui/include/defines.inc.php
|
|
|
1c3a77 |
|
|
|
1c3a77 |
# remove .htaccess files
|
|
|
1c3a77 |
rm -f ui/app/.htaccess
|
|
|
1c3a77 |
rm -f ui/conf/.htaccess
|
|
|
1c3a77 |
rm -f ui/include/.htaccess
|
|
|
1c3a77 |
rm -f ui/local/.htaccess
|
|
|
1c3a77 |
|
|
|
1c3a77 |
# remove translation source files and scripts
|
|
|
1c3a77 |
find ui/locale -name '*.po' | xargs rm -f
|
|
|
1c3a77 |
find ui/locale -name '*.sh' | xargs rm -f
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_server} || 0%{?build_proxy} || 0%{?build_agent} || 0%{?build_agent2}
|
|
|
175a78 |
%patch1 -p1
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_server} || 0%{?build_proxy}
|
|
|
1c3a77 |
# traceroute command path for global script
|
|
|
1c3a77 |
sed -i -e 's|/usr/bin/traceroute|/bin/traceroute|' database/mysql/data.sql
|
|
|
1c3a77 |
sed -i -e 's|/usr/bin/traceroute|/bin/traceroute|' database/postgresql/data.sql
|
|
|
1c3a77 |
sed -i -e 's|/usr/bin/traceroute|/bin/traceroute|' database/sqlite3/data.sql
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
1c3a77 |
# copy sql files for servers
|
|
|
1c3a77 |
cat database/mysql/schema.sql > database/mysql/create.sql
|
|
|
1c3a77 |
cat database/mysql/images.sql >> database/mysql/create.sql
|
|
|
1c3a77 |
cat database/mysql/data.sql >> database/mysql/create.sql
|
|
|
1c3a77 |
gzip database/mysql/create.sql
|
|
|
1c3a77 |
|
|
|
1c3a77 |
cat database/postgresql/schema.sql > database/postgresql/create.sql
|
|
|
1c3a77 |
cat database/postgresql/images.sql >> database/postgresql/create.sql
|
|
|
1c3a77 |
cat database/postgresql/data.sql >> database/postgresql/create.sql
|
|
|
1c3a77 |
gzip database/postgresql/create.sql
|
|
|
1c3a77 |
gzip database/postgresql/timescaledb.sql
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
1c3a77 |
# sql files for proxyes
|
|
|
1c3a77 |
gzip database/mysql/schema.sql
|
|
|
1c3a77 |
gzip database/postgresql/schema.sql
|
|
|
1c3a77 |
gzip database/sqlite3/schema.sql
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_java_gateway}
|
|
|
175a78 |
# change log directory for Java Gateway
|
|
|
175a78 |
sed -i -e 's|/tmp/zabbix_java.log|/var/log/zabbix/zabbix_java_gateway.log|g' src/zabbix_java/lib/logback.xml
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
|
|
|
175a78 |
# Build consists of 1-3 configure/make passes, one for each database.
|
|
|
175a78 |
# pass 1: is sqlite proxy, may be omitted.
|
|
|
175a78 |
# pass 2: is pqsql server/proxy, may be omitted.
|
|
|
175a78 |
# pass 3: If only one database is enabled, then it must occur with pass 3.
|
|
|
175a78 |
|
|
|
175a78 |
%build
|
|
|
175a78 |
build_conf_common="
|
|
|
1c3a77 |
--enable-dependency-tracking
|
|
|
1c3a77 |
--sysconfdir=/etc/zabbix
|
|
|
1c3a77 |
--libdir=%{_libdir}/zabbix
|
|
|
1c3a77 |
--enable-ipv6
|
|
|
1c3a77 |
--with-net-snmp
|
|
|
1c3a77 |
--with-ldap
|
|
|
1c3a77 |
--with-libcurl
|
|
|
1c3a77 |
--with-openipmi
|
|
|
1c3a77 |
--with-unixodbc
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
--with-ssh
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
--with-ssh2
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
--with-libxml2
|
|
|
1c3a77 |
--with-libevent
|
|
|
1c3a77 |
--with-libpcre
|
|
|
1c3a77 |
%if 0%{?rhel} >= 6
|
|
|
175a78 |
--with-openssl
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
"
|
|
|
1c3a77 |
|
|
|
175a78 |
# setup pass 3
|
|
|
175a78 |
%if 0%{?build_with_mysql} && ( 0%{?build_server} || 0%{?build_proxy} )
|
|
|
175a78 |
build_conf_3="
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
--enable-server
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
--enable-proxy
|
|
|
175a78 |
%endif
|
|
|
175a78 |
--with-mysql
|
|
|
175a78 |
"
|
|
|
1c3a77 |
|
|
|
175a78 |
build_db_3=mysql
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# setup pass 2
|
|
|
175a78 |
%if 0%{?build_with_pgsql} && ( 0%{?build_server} || 0%{?build_proxy} )
|
|
|
175a78 |
build_conf_2="
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
--enable-server
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
--enable-proxy
|
|
|
175a78 |
%endif
|
|
|
175a78 |
--with-postgresql
|
|
|
175a78 |
"
|
|
|
1c3a77 |
|
|
|
175a78 |
if [ -z "$build_conf_3" ]; then
|
|
|
175a78 |
build_conf_3="$build_conf_2"
|
|
|
175a78 |
build_conf_2=""
|
|
|
175a78 |
build_db_3="pgsql"
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# setup pass 1
|
|
|
175a78 |
%if 0%{?build_with_sqlite} && 0%{?build_proxy}
|
|
|
175a78 |
build_conf_1="--enable-proxy --with-sqlite3"
|
|
|
1c3a77 |
|
|
|
175a78 |
if [ -z "$build_conf_3" ]; then
|
|
|
175a78 |
build_conf_3="$build_conf_1"
|
|
|
175a78 |
build_conf_1=""
|
|
|
175a78 |
build_db_3=sqlite3
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# add agents and java-gateway to pass 3
|
|
|
175a78 |
build_conf_3="
|
|
|
175a78 |
%if 0%{?build_agent}
|
|
|
175a78 |
--enable-agent
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%if 0%{?build_agent2}
|
|
|
175a78 |
--enable-agent2
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%if 0%{?build_java_gateway}
|
|
|
175a78 |
--enable-java
|
|
|
175a78 |
%endif
|
|
|
175a78 |
$build_conf_3
|
|
|
175a78 |
"
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# pass 1
|
|
|
175a78 |
if [ -n "$build_conf_1" ]; then
|
|
|
175a78 |
%configure $build_conf_common $build_conf_1
|
|
|
175a78 |
make $make_flags
|
|
|
175a78 |
mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_sqlite3
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# pass 2
|
|
|
175a78 |
if [ -n "$build_conf_2" ]; then
|
|
|
175a78 |
%configure $build_conf_common $build_conf_2
|
|
|
175a78 |
make $make_flags
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_pgsql
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_pgsql
|
|
|
175a78 |
%endif
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
# pass 3
|
|
|
175a78 |
if [ -n "$build_conf_3" ]; then
|
|
|
175a78 |
%configure $build_conf_common $build_conf_3
|
|
|
175a78 |
make $make_flags
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
mv src/zabbix_server/zabbix_server "src/zabbix_server/zabbix_server_$build_db_3"
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
mv src/zabbix_proxy/zabbix_proxy "src/zabbix_proxy/zabbix_proxy_$build_db_3"
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
#
|
|
|
175a78 |
# install
|
|
|
175a78 |
#
|
|
|
1c3a77 |
|
|
|
175a78 |
%install
|
|
|
175a78 |
|
|
|
175a78 |
rm -rf $RPM_BUILD_ROOT
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/zabbix
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/zabbix
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/zabbix
|
|
|
175a78 |
|
|
|
175a78 |
# install
|
|
|
1c3a77 |
%if 0%{?build_agent2}
|
|
|
175a78 |
make DESTDIR=$RPM_BUILD_ROOT GOBIN=$RPM_BUILD_ROOT%{_sbindir} install
|
|
|
175a78 |
%else
|
|
|
175a78 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_agent}
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.d
|
|
|
175a78 |
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/zabbix-agent-%{version}
|
|
|
1c3a77 |
cat conf/zabbix_agentd.conf | sed \
|
|
|
1c3a77 |
-e '/^# PidFile=/a \\nPidFile=%{_localstatedir}/run/zabbix/zabbix_agentd.pid' \
|
|
|
1c3a77 |
-e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_agentd.log|g' \
|
|
|
1c3a77 |
-e '/^# LogFileSize=.*/a \\nLogFileSize=0' \
|
|
|
1c3a77 |
-e '/^# Include=$/a \\nInclude=%{_sysconfdir}/zabbix/zabbix_agentd.d/*.conf' \
|
|
|
1c3a77 |
> $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.conf
|
|
|
175a78 |
cat %{SOURCE3} | sed \
|
|
|
175a78 |
-e 's|COMPONENT|agentd|g' \
|
|
|
175a78 |
> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent
|
|
|
175a78 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE10} $RPM_BUILD_ROOT%{_unitdir}/zabbix-agent.service
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/zabbix-agent.conf
|
|
|
175a78 |
%else
|
|
|
175a78 |
install -Dm 0755 -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zabbix-agent
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%else
|
|
|
175a78 |
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.conf
|
|
|
175a78 |
rm -f $RPM_BUILD_ROOT%{_sbindir}/zabbix_agentd
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?build_agent2}
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
|
|
175a78 |
mkdir $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agent2.d
|
|
|
175a78 |
cp man/zabbix_agent2.man $RPM_BUILD_ROOT%{_mandir}/man8/zabbix_agent2.8
|
|
|
1c3a77 |
cat src/go/conf/zabbix_agent2.conf | sed \
|
|
|
1c3a77 |
-e '/^# PidFile=/a \\nPidFile=%{_localstatedir}/run/zabbix/zabbix_agent2.pid' \
|
|
|
1c3a77 |
-e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_agent2.log|g' \
|
|
|
1c3a77 |
-e '/^# LogFileSize=.*/a \\nLogFileSize=0' \
|
|
|
1c3a77 |
-e '/^# Include=$/a \\nInclude=%{_sysconfdir}/zabbix/zabbix_agent2.d/*.conf' \
|
|
|
1c3a77 |
> $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agent2.conf
|
|
|
175a78 |
cat %{SOURCE3} | sed \
|
|
|
175a78 |
-e 's|COMPONENT|agent2|g' \
|
|
|
175a78 |
> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent2
|
|
|
175a78 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE19} $RPM_BUILD_ROOT%{_unitdir}/zabbix-agent2.service
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/zabbix_agent2.conf
|
|
|
175a78 |
%else
|
|
|
175a78 |
install -Dm 0755 -p %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent2
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zabbix-agent2
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_server} || 0%{?build_proxy}
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT/usr/lib/zabbix
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/externalscripts $RPM_BUILD_ROOT/usr/lib/zabbix
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
install -m 0755 -p src/zabbix_proxy/zabbix_proxy_* $RPM_BUILD_ROOT%{_sbindir}/
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_proxy.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_proxy.d
|
|
|
1c3a77 |
cat conf/zabbix_proxy.conf | sed \
|
|
|
1c3a77 |
-e '/^# PidFile=/a \\nPidFile=%{_localstatedir}/run/zabbix/zabbix_proxy.pid' \
|
|
|
1c3a77 |
-e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_proxy.log|g' \
|
|
|
1c3a77 |
-e '/^# LogFileSize=/a \\nLogFileSize=0' \
|
|
|
1c3a77 |
-e '/^# ExternalScripts=/a \\nExternalScripts=/usr/lib/zabbix/externalscripts' \
|
|
|
1c3a77 |
-e 's|^DBUser=root|DBUser=zabbix|g' \
|
|
|
1c3a77 |
-e '/^# SNMPTrapperFile=.*/a \\nSNMPTrapperFile=/var/log/snmptrap/snmptrap.log' \
|
|
|
1c3a77 |
-e '/^# SocketDir=.*/a \\nSocketDir=/var/run/zabbix' \
|
|
|
1c3a77 |
> $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_proxy.conf
|
|
|
1c3a77 |
cat %{SOURCE3} | sed \
|
|
|
1c3a77 |
-e 's|COMPONENT|proxy|g' \
|
|
|
1c3a77 |
> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-proxy
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/zabbix-proxy.service
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/zabbix-proxy.conf
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
install -m 0755 -p src/zabbix_server/zabbix_server_* $RPM_BUILD_ROOT%{_sbindir}/
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/alertscripts $RPM_BUILD_ROOT/usr/lib/zabbix
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_server.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_server.d
|
|
|
175a78 |
cat conf/zabbix_server.conf | sed \
|
|
|
175a78 |
-e '/^# PidFile=/a \\nPidFile=%{_localstatedir}/run/zabbix/zabbix_server.pid' \
|
|
|
175a78 |
-e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_server.log|g' \
|
|
|
175a78 |
-e '/^# LogFileSize=/a \\nLogFileSize=0' \
|
|
|
175a78 |
-e '/^# AlertScriptsPath=/a \\nAlertScriptsPath=/usr/lib/zabbix/alertscripts' \
|
|
|
175a78 |
-e '/^# ExternalScripts=/a \\nExternalScripts=/usr/lib/zabbix/externalscripts' \
|
|
|
175a78 |
-e 's|^DBUser=root|DBUser=zabbix|g' \
|
|
|
175a78 |
-e '/^# SNMPTrapperFile=.*/a \\nSNMPTrapperFile=/var/log/snmptrap/snmptrap.log' \
|
|
|
175a78 |
-e '/^# SocketDir=.*/a \\nSocketDir=/var/run/zabbix' \
|
|
|
175a78 |
> $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_server.conf
|
|
|
1c3a77 |
cat %{SOURCE3} | sed \
|
|
|
175a78 |
-e 's|COMPONENT|server|g' \
|
|
|
175a78 |
> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-server
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE11} $RPM_BUILD_ROOT%{_unitdir}/zabbix-server.service
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/zabbix-server.conf
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_frontend}
|
|
|
175a78 |
# install frontend files
|
|
|
175a78 |
find ui -name '*.orig' | xargs rm -f
|
|
|
175a78 |
cp -a ui/* $RPM_BUILD_ROOT%{_datadir}/zabbix
|
|
|
175a78 |
|
|
|
175a78 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web
|
|
|
175a78 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web/zabbix.conf.php
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/conf/maintenance.inc.php $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web/
|
|
|
175a78 |
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zabbix.conf
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?rhel} >= 8
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/zabbix.conf
|
|
|
1c3a77 |
|
|
|
175a78 |
sed -i '/rh-php7/d' $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zabbix.conf
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/zabbix.conf
|
|
|
175a78 |
sed -i '/rh-php7/d' $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/zabbix.conf
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?rhel} == 7
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php72/php-fpm.d/zabbix.conf
|
|
|
175a78 |
sed -i 's:/run/php-fpm/zabbix.sock:/var/opt/rh/rh-php72/run/php-fpm/zabbix.sock:' \
|
|
|
175a78 |
$RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php72/php-fpm.d/zabbix.conf
|
|
|
175a78 |
sed -i 's:/var/lib/php/session:/var/opt/rh/rh-php72/lib/php/session/:' \
|
|
|
175a78 |
$RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php72/php-fpm.d/zabbix.conf
|
|
|
175a78 |
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php73/php-fpm.d/zabbix.conf
|
|
|
175a78 |
sed -i 's:/run/php-fpm/zabbix.sock:/var/opt/rh/rh-php73/run/php-fpm/zabbix.sock:' \
|
|
|
175a78 |
$RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php73/php-fpm.d/zabbix.conf
|
|
|
175a78 |
sed -i 's:/var/lib/php/session:/var/opt/rh/rh-php73/lib/php/session/:' \
|
|
|
175a78 |
$RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-php73/php-fpm.d/zabbix.conf
|
|
|
175a78 |
|
|
|
175a78 |
sed -i '\!:/run/php-fpm/zabbix.sock!d;/rh-php72/s/#//' $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zabbix.conf
|
|
|
175a78 |
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
|
|
|
175a78 |
sed -i '\!:/run/php-fpm/zabbix.sock!d;/rh-php72/s/#//' $RPM_BUILD_ROOT%{_sysconfdir}/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_java_gateway}
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/settings.sh
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/startup.sh
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/shutdown.sh
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_java_gateway_logback.xml
|
|
|
175a78 |
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/lib/logback-console.xml
|
|
|
175a78 |
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java $RPM_BUILD_ROOT/%{_datadir}/zabbix-java-gateway
|
|
|
175a78 |
install -m 0755 -p %{SOURCE14} $RPM_BUILD_ROOT%{_sbindir}/zabbix_java_gateway
|
|
|
175a78 |
cat src/zabbix_java/settings.sh | sed \
|
|
|
175a78 |
-e 's|^PID_FILE=.*|PID_FILE="/var/run/zabbix/zabbix_java.pid"|g' \
|
|
|
175a78 |
> $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_java_gateway.conf
|
|
|
175a78 |
install -Dm 0644 -p %{SOURCE13} $RPM_BUILD_ROOT%{_unitdir}/zabbix-java-gateway.service
|
|
|
1c3a77 |
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/zabbix-java-gateway.conf
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%clean
|
|
|
1c3a77 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
#
|
|
|
175a78 |
# files & scriptlets
|
|
|
175a78 |
#
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_agent}
|
|
|
175a78 |
%files agent
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
%doc AUTHORS ChangeLog COPYING NEWS README conf/zabbix_agentd/userparameter_mysql.conf
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agentd.conf
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent
|
|
|
175a78 |
%dir %{_sysconfdir}/zabbix/zabbix_agentd.d
|
|
|
175a78 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
175a78 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
175a78 |
%{_sbindir}/zabbix_agentd
|
|
|
175a78 |
%{_mandir}/man8/zabbix_agentd.8*
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
%{_unitdir}/zabbix-agent.service
|
|
|
175a78 |
%{_prefix}/lib/tmpfiles.d/zabbix-agent.conf
|
|
|
1c3a77 |
%else
|
|
|
175a78 |
%{_sysconfdir}/init.d/zabbix-agent
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/sysconfig/zabbix-agent
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%files get
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
175a78 |
%{_bindir}/zabbix_get
|
|
|
175a78 |
%{_mandir}/man1/zabbix_get.1*
|
|
|
1c3a77 |
|
|
|
175a78 |
%files sender
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
175a78 |
%{_bindir}/zabbix_sender
|
|
|
175a78 |
%{_mandir}/man1/zabbix_sender.1*
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre agent
|
|
|
1c3a77 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
1c3a77 |
getent passwd zabbix > /dev/null || \
|
|
|
1c3a77 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
1c3a77 |
-c "Zabbix Monitoring System" zabbix
|
|
|
1c3a77 |
:
|
|
|
1c3a77 |
|
|
|
175a78 |
%post agent
|
|
|
175a78 |
%if 0%{?rhel} >= 7
|
|
|
175a78 |
%systemd_post zabbix-agent.service
|
|
|
1c3a77 |
%else
|
|
|
175a78 |
/sbin/chkconfig --add zabbix-agent || :
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%preun agent
|
|
|
1c3a77 |
if [ "$1" = 0 ]; then
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
%systemd_preun zabbix-agent.service
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
/sbin/service zabbix-agent stop >/dev/null 2>&1
|
|
|
1c3a77 |
/sbin/chkconfig --del zabbix-agent
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
fi
|
|
|
1c3a77 |
:
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%postun agent
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
%systemd_postun_with_restart zabbix-agent.service
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
if [ $1 -ge 1 ]; then
|
|
|
1c3a77 |
/sbin/service zabbix-agent try-restart >/dev/null 2>&1 || :
|
|
|
1c3a77 |
fi
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%posttrans agent
|
|
|
175a78 |
# preserve old userparameter_mysql.conf file during upgrade
|
|
|
175a78 |
if [ -f %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf.rpmsave ] && [ ! -f %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf ]; then
|
|
|
175a78 |
cp -vn %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf.rpmsave %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf
|
|
|
175a78 |
fi
|
|
|
1c3a77 |
:
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?build_agent2}
|
|
|
1c3a77 |
%files agent2
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.conf
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent2
|
|
|
1c3a77 |
%dir %{_sysconfdir}/zabbix/zabbix_agent2.d
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_sbindir}/zabbix_agent2
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_agent2.8*
|
|
|
1c3a77 |
%if 0%{?rhel} >= 7
|
|
|
1c3a77 |
%{_unitdir}/zabbix-agent2.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix_agent2.conf
|
|
|
1c3a77 |
%else
|
|
|
1c3a77 |
%{_sysconfdir}/init.d/zabbix-agent2
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/sysconfig/zabbix-agent2
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre agent2
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
1c3a77 |
|
|
|
175a78 |
%post agent2
|
|
|
175a78 |
%systemd_post zabbix-agent2.service
|
|
|
175a78 |
# make sure that agent2 log file is create with proper attributes (ZBX-18243)
|
|
|
175a78 |
if [ $1 == 1 ] && [ ! -f %{_localstatedir}/log/zabbix/zabbix_agent2.log ]; then
|
|
|
175a78 |
touch %{_localstatedir}/log/zabbix/zabbix_agent2.log
|
|
|
175a78 |
chown zabbix:zabbix %{_localstatedir}/log/zabbix/zabbix_agent2.log
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
1c3a77 |
|
|
|
175a78 |
%preun agent2
|
|
|
175a78 |
%systemd_preun zabbix-agent2.service
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun agent2
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-agent2.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_server} || 0%{?build_proxy}
|
|
|
1c3a77 |
%files js
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%{_bindir}/zabbix_js
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
|
|
|
175a78 |
%if 0%{?build_proxy}
|
|
|
175a78 |
%if 0%{?build_with_mysql}
|
|
|
1c3a77 |
%files proxy-mysql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%doc database/mysql/schema.sql.gz
|
|
|
1c3a77 |
%attr(0640,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/externalscripts
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-proxy
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_proxy.8*
|
|
|
1c3a77 |
%{_unitdir}/zabbix-proxy.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix-proxy.conf
|
|
|
1c3a77 |
%{_sbindir}/zabbix_proxy_mysql
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre proxy-mysql
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post proxy-mysql
|
|
|
175a78 |
%systemd_post zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
|
|
|
175a78 |
zabbix-proxy %{_sbindir}/zabbix_proxy_mysql 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun proxy-mysql
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-proxy \
|
|
|
175a78 |
%{_sbindir}/zabbix_proxy_mysql
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun proxy-mysql
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-proxy.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_with_pgsql}
|
|
|
1c3a77 |
%files proxy-pgsql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%doc database/postgresql/schema.sql.gz
|
|
|
175a78 |
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/externalscripts
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-proxy
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_proxy.8*
|
|
|
1c3a77 |
%{_unitdir}/zabbix-proxy.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix-proxy.conf
|
|
|
1c3a77 |
%{_sbindir}/zabbix_proxy_pgsql
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre proxy-pgsql
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post proxy-pgsql
|
|
|
175a78 |
%systemd_post zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
|
|
|
175a78 |
zabbix-proxy %{_sbindir}/zabbix_proxy_pgsql 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun proxy-pgsql
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-proxy \
|
|
|
175a78 |
%{_sbindir}/zabbix_proxy_pgsql
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun proxy-pgsql
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-proxy.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_with_sqlite}
|
|
|
1c3a77 |
%files proxy-sqlite3
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%doc database/sqlite3/schema.sql.gz
|
|
|
175a78 |
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/externalscripts
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-proxy
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_proxy.8*
|
|
|
1c3a77 |
%{_unitdir}/zabbix-proxy.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix-proxy.conf
|
|
|
1c3a77 |
%{_sbindir}/zabbix_proxy_sqlite3
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre proxy-sqlite3
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post proxy-sqlite3
|
|
|
175a78 |
%systemd_post zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
|
|
|
175a78 |
zabbix-proxy %{_sbindir}/zabbix_proxy_sqlite3 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun proxy-sqlite3
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-proxy.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-proxy \
|
|
|
175a78 |
%{_sbindir}/zabbix_proxy_sqlite3
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun proxy-sqlite3
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-proxy.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_server}
|
|
|
175a78 |
%if 0%{?build_with_mysql}
|
|
|
1c3a77 |
%files server-mysql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%doc database/mysql/create.sql.gz
|
|
|
1c3a77 |
%doc database/mysql/double.sql
|
|
|
175a78 |
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/alertscripts
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/externalscripts
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-server
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_server.8*
|
|
|
1c3a77 |
%{_unitdir}/zabbix-server.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix-server.conf
|
|
|
1c3a77 |
%{_sbindir}/zabbix_server_mysql
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre server-mysql
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post server-mysql
|
|
|
175a78 |
%systemd_post zabbix-server.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_server \
|
|
|
175a78 |
zabbix-server %{_sbindir}/zabbix_server_mysql 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun server-mysql
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-server.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-server \
|
|
|
175a78 |
%{_sbindir}/zabbix_server_mysql
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun server-mysql
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-server.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_with_pgsql}
|
|
|
1c3a77 |
%files server-pgsql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%doc database/postgresql/create.sql.gz
|
|
|
1c3a77 |
%doc database/postgresql/double.sql
|
|
|
1c3a77 |
%doc database/postgresql/timescaledb.sql.gz
|
|
|
175a78 |
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/alertscripts
|
|
|
1c3a77 |
%dir /usr/lib/zabbix/externalscripts
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-server
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
1c3a77 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
1c3a77 |
%{_mandir}/man8/zabbix_server.8*
|
|
|
1c3a77 |
%{_unitdir}/zabbix-server.service
|
|
|
1c3a77 |
%{_prefix}/lib/tmpfiles.d/zabbix-server.conf
|
|
|
1c3a77 |
%{_sbindir}/zabbix_server_pgsql
|
|
|
1c3a77 |
|
|
|
175a78 |
%pre server-pgsql
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post server-pgsql
|
|
|
175a78 |
%systemd_post zabbix-server.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_server \
|
|
|
175a78 |
zabbix-server %{_sbindir}/zabbix_server_pgsql 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun server-pgsql
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-server.service
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-server \
|
|
|
175a78 |
%{_sbindir}/zabbix_server_pgsql
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun server-pgsql
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-server.service
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
175a78 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_frontend}
|
|
|
1c3a77 |
%files web
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%dir %{_sysconfdir}/zabbix/web
|
|
|
1c3a77 |
%ghost %config(noreplace) %{_sysconfdir}/zabbix/web/zabbix.conf.php
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/php-fpm.d/zabbix.conf
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/zabbix/web/maintenance.inc.php
|
|
|
1c3a77 |
%{_datadir}/zabbix
|
|
|
1c3a77 |
|
|
|
175a78 |
%files web-japanese
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
|
|
|
175a78 |
%post web
|
|
|
175a78 |
# The fonts directory was moved into assets subdirectory at one point.
|
|
|
175a78 |
#
|
|
|
175a78 |
# This broke invocation of update-alternatives command below, because the target link for zabbix-web-font changed
|
|
|
175a78 |
# from zabbix/fonts/graphfont.ttf to zabbix/assets/fonts/graphfont.ttf
|
|
|
175a78 |
#
|
|
|
175a78 |
# We handle this movement by deleting /var/lib/alternatives/zabbix-web-font file if it contains the old target link.
|
|
|
175a78 |
# We also remove symlink at zabbix/fonts/graphfont.ttf to have the old fonts directory be deleted during update.
|
|
|
175a78 |
if [ -f /var/lib/alternatives/zabbix-web-font ] && \
|
|
|
175a78 |
[ -z "$(grep %{_datadir}/zabbix/assets/fonts/graphfont.ttf /var/lib/alternatives/zabbix-web-font)" ]
|
|
|
175a78 |
then
|
|
|
175a78 |
rm /var/lib/alternatives/zabbix-web-font
|
|
|
175a78 |
if [ -h %{_datadir}/zabbix/fonts/graphfont.ttf ]; then
|
|
|
175a78 |
rm %{_datadir}/zabbix/fonts/graphfont.ttf
|
|
|
175a78 |
fi
|
|
|
175a78 |
fi
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_datadir}/zabbix/assets/fonts/graphfont.ttf \
|
|
|
175a78 |
zabbix-web-font %{_datadir}/fonts/dejavu/DejaVuSans.ttf 10
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post web-japanese
|
|
|
175a78 |
/usr/sbin/update-alternatives --install %{_datadir}/zabbix/assets/fonts/graphfont.ttf zabbix-web-font \
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
175a78 |
%{_datadir}/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc 20
|
|
|
175a78 |
%else
|
|
|
175a78 |
%{_datadir}/fonts/vlgothic/VL-PGothic-Regular.ttf 20
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
:
|
|
|
1c3a77 |
|
|
|
175a78 |
%preun web
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-web-font \
|
|
|
175a78 |
%{_datadir}/fonts/dejavu/DejaVuSans.ttf
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
1c3a77 |
|
|
|
175a78 |
%preun web-japanese
|
|
|
175a78 |
if [ "$1" = 0 ]; then
|
|
|
175a78 |
/usr/sbin/update-alternatives --remove zabbix-web-font \
|
|
|
1c3a77 |
%if 0%{?rhel} >= 8
|
|
|
175a78 |
%{_datadir}/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc
|
|
|
175a78 |
%else
|
|
|
175a78 |
%{_datadir}/fonts/vlgothic/VL-PGothic-Regular.ttf
|
|
|
175a78 |
%endif
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?rhel} > 7
|
|
|
175a78 |
%files web-deps
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/php-fpm.d/zabbix.conf
|
|
|
175a78 |
|
|
|
1c3a77 |
%files web-mysql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%files web-pgsql
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%files apache-conf
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/zabbix.conf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%files nginx-conf
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/nginx/conf.d/zabbix.conf
|
|
|
175a78 |
|
|
|
175a78 |
# The user apache must be available for these to work.
|
|
|
175a78 |
# It is provided by httpd or php-fpm packages.
|
|
|
175a78 |
%post apache-conf
|
|
|
175a78 |
if [ -d /etc/zabbix/web ]; then
|
|
|
175a78 |
chown apache:apache /etc/zabbix/web/
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post nginx-conf
|
|
|
175a78 |
if [ -d /etc/zabbix/web ]; then
|
|
|
175a78 |
chown apache:apache /etc/zabbix/web/
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%if 0%{?rhel} == 7
|
|
|
1c3a77 |
%files web-deps-scl
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/opt/rh/rh-php72/php-fpm.d/zabbix.conf
|
|
|
1c3a77 |
|
|
|
175a78 |
%files web-deps-scl-php73
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/opt/rh/rh-php73/php-fpm.d/zabbix.conf
|
|
|
175a78 |
|
|
|
1c3a77 |
%files web-mysql-scl
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
|
|
|
175a78 |
%files web-mysql-scl-php73
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
|
|
|
1c3a77 |
%files web-pgsql-scl
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
|
|
|
175a78 |
%files web-pgsql-scl-php73
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
|
|
|
1c3a77 |
%files apache-conf-scl
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/zabbix.conf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
%files nginx-conf-scl
|
|
|
1c3a77 |
%defattr(-,root,root,-)
|
|
|
1c3a77 |
%config(noreplace) %{_sysconfdir}/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf
|
|
|
175a78 |
|
|
|
175a78 |
%post web-deps-scl
|
|
|
175a78 |
if [ -d /etc/zabbix/web ]; then
|
|
|
175a78 |
chown apache:apache /etc/zabbix/web/
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
%endif
|
|
|
1c3a77 |
%endif
|
|
|
175a78 |
|
|
|
175a78 |
|
|
|
175a78 |
%if 0%{?build_java_gateway}
|
|
|
175a78 |
%files java-gateway
|
|
|
175a78 |
%defattr(-,root,root,-)
|
|
|
175a78 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_java_gateway.conf
|
|
|
175a78 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
|
|
|
175a78 |
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
|
|
|
175a78 |
%{_datadir}/zabbix-java-gateway
|
|
|
175a78 |
%{_sbindir}/zabbix_java_gateway
|
|
|
175a78 |
%{_unitdir}/zabbix-java-gateway.service
|
|
|
175a78 |
%{_prefix}/lib/tmpfiles.d/zabbix-java-gateway.conf
|
|
|
175a78 |
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_java_gateway_logback.xml
|
|
|
175a78 |
|
|
|
175a78 |
%pre java-gateway
|
|
|
175a78 |
getent group zabbix > /dev/null || groupadd -r zabbix
|
|
|
175a78 |
getent passwd zabbix > /dev/null || \
|
|
|
175a78 |
useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
|
|
|
175a78 |
-c "Zabbix Monitoring System" zabbix
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%post java-gateway
|
|
|
175a78 |
%systemd_post zabbix-java-gateway.service
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%preun java-gateway
|
|
|
175a78 |
if [ $1 -eq 0 ]; then
|
|
|
175a78 |
%systemd_preun zabbix-java-gateway.service
|
|
|
175a78 |
fi
|
|
|
175a78 |
:
|
|
|
175a78 |
|
|
|
175a78 |
%postun java-gateway
|
|
|
175a78 |
%systemd_postun_with_restart zabbix-java-gateway.service
|
|
|
175a78 |
:
|
|
|
1c3a77 |
%endif
|
|
|
1c3a77 |
|
|
|
175a78 |
|
|
|
175a78 |
#
|
|
|
175a78 |
# changelog
|
|
|
175a78 |
#
|
|
|
175a78 |
|
|
|
1c3a77 |
%changelog
|
|
|
e02d11 |
* Wed Feb 3 2020 Fabian Arrotin <arrfab@centos.org> - 5.0.8-5
|
|
|
e02d11 |
- disabling agent2 build due to missing BuildRequires (not fetching GO from internet)
|
|
|
e02d11 |
|
|
|
175a78 |
* Wed Jan 27 2021 Zabbix Packager <info@zabbix.com> - 5.0.8-4
|
|
|
175a78 |
- fourth release of 5.0.8 for rhel/centos 7 (frontend packages only)
|
|
|
175a78 |
- added missing zabbix-web-japanese package
|
|
|
175a78 |
|
|
|
175a78 |
* Wed Jan 27 2021 Zabbix Packager <info@zabbix.com> - 5.0.8-3
|
|
|
175a78 |
- third release of 5.0.8 for rhel/centos 7 (frontend packages only)
|
|
|
175a78 |
- added missing semicolon in /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf file
|
|
|
175a78 |
|
|
|
175a78 |
* Wed Jan 27 2021 Zabbix Packager <info@zabbix.com> - 5.0.8-2
|
|
|
175a78 |
- second release of 5.0.8 for rhel/centos 7 (frontend packages only)
|
|
|
175a78 |
- zabbix-web-deps-scl-php73 now provides zabbix-web-deps-scl explicitly so that the old package can be uninstalled
|
|
|
175a78 |
|
|
|
175a78 |
* Mon Jan 25 2021 Zabbix Packager <info@zabbix.com> - 5.0.8-1
|
|
|
175a78 |
- update to 5.0.8
|
|
|
175a78 |
- reworked spec file to allow selecting which packages are being built via macros (ZBX-18826)
|
|
|
175a78 |
- added rhel-7 frontend packages with rh-php73 (ZBX-18837)
|
|
|
b2db79 |
|
|
|
1c3a77 |
* Mon Dec 21 2020 Zabbix Packager <info@zabbix.com> - 5.0.7-1
|
|
|
1c3a77 |
- update to 5.0.7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Nov 30 2020 Zabbix Packager <info@zabbix.com> - 5.0.6-1
|
|
|
1c3a77 |
- update to 5.0.6
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 26 2020 Zabbix Packager <info@zabbix.com> - 5.0.5-1
|
|
|
1c3a77 |
- update to 5.0.5
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Sep 28 2020 Zabbix Packager <info@zabbix.com> - 5.0.4-1
|
|
|
1c3a77 |
- update to 5.0.4
|
|
|
1c3a77 |
- added separate zabbix-web-deps package
|
|
|
1c3a77 |
- creating empty log file for agent2 (ZBX-18243)
|
|
|
1c3a77 |
- reverted ZBX-18221 changes from 5.0.3-1 on rhel/centos 7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Aug 24 2020 Zabbix Packager <info@zabbix.com> - 5.0.3-1
|
|
|
1c3a77 |
- update to 5.0.3
|
|
|
1c3a77 |
- building server and proxy with postgresql 12 on rhel/centos 7 (ZBX-18221)
|
|
|
1c3a77 |
- added various After=postgresql* directives to server & proxy service files (ZBX-17492)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Jul 13 2020 Zabbix Packager <info@zabbix.com> - 5.0.2-1
|
|
|
1c3a77 |
- update to 5.0.2
|
|
|
1c3a77 |
- removed ZBX-17801 patch
|
|
|
1c3a77 |
- added "if build_agent2" around zabbix_agent2.conf installation (ZBX-17818)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu May 28 2020 Zabbix Packager <info@zabbix.com> - 5.0.1-1
|
|
|
1c3a77 |
- update to 5.0.1
|
|
|
1c3a77 |
- changed mysql build dependency on rhel/centos-8 from mysql-devel to mariadb-connector-c-devel (ZBX-17738)
|
|
|
1c3a77 |
- added patch that fixes (ZBX-17801)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon May 11 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-1
|
|
|
1c3a77 |
- update to 5.0.0
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue May 05 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.7rc1
|
|
|
1c3a77 |
- update to 5.0.0rc1
|
|
|
1c3a77 |
- moved frontends/php to ui directory
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Apr 27 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.6beta2
|
|
|
1c3a77 |
- update to 5.0.0beta2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Apr 14 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.5beta1
|
|
|
1c3a77 |
- update to 5.0.0beta1
|
|
|
1c3a77 |
- added agent2 on rhel/centos 7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Mar 30 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.4alpha4
|
|
|
1c3a77 |
- update to 5.0.0alpha4
|
|
|
1c3a77 |
- removed proxy, java-gateway & js packages on rhel 5 & 6 due to minimum supported database version increase
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Mar 16 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.3alpha3
|
|
|
1c3a77 |
- update to 5.0.0alpha3
|
|
|
1c3a77 |
- using libssh instead of libssh2 (rhel/centos 8)
|
|
|
1c3a77 |
- removed explicit dependency on php from zabbix-web (rhel/centos 8)
|
|
|
1c3a77 |
- removed explicit dependency on httpd from zabbix-web (rhel/centos 7)
|
|
|
1c3a77 |
- added zabbix-apache-conf (rhel/centos 7)
|
|
|
1c3a77 |
- using zabbix-web-database-scl as zabbix-(apache/nginx)-conf package dependency (rhel/centos 7)
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Feb 17 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.2alpha2
|
|
|
1c3a77 |
- update to 5.0.0alpha2
|
|
|
1c3a77 |
- fixed font configuration in pre/post scriptlets on rhel-8
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Feb 05 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.2alpha1
|
|
|
1c3a77 |
- added *-scl packages to help with resolving php7.2+ and nginx dependencies of zabbix frontend on rhel/centos 7
|
|
|
1c3a77 |
- added posttrans script that preserves /etc/zabbix/zabbix_agentd.d/userparameter_mysql.conf file
|
|
|
1c3a77 |
- added config(noreplace) to /etc/sysconfig/zabbix-agent
|
|
|
1c3a77 |
- added explicit version to php-module dependencies in zabbix-web package on rhel/centos 8
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Jan 27 2020 Zabbix Packager <info@zabbix.com> - 5.0.0-0.1alpha1
|
|
|
1c3a77 |
- update to 5.0.0alpha1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Jan 07 2020 Zabbix Packager <info@zabbix.com> - 4.4.4-2
|
|
|
1c3a77 |
- build of rhel-5 packages to be resigned with gpg version 3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Dec 19 2019 Zabbix Packager <info@zabbix.com> - 4.4.4-1
|
|
|
1c3a77 |
- update to 4.4.4
|
|
|
1c3a77 |
- added After=<database>.service directives to server and proxy service files
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Nov 27 2019 Zabbix Packager <info@zabbix.com> - 4.4.3-1
|
|
|
1c3a77 |
- update to 4.4.3
|
|
|
1c3a77 |
- added User=zabbix and Group=zabbix directives to agent service file
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Nov 25 2019 Zabbix Packager <info@zabbix.com> - 4.4.2-1
|
|
|
1c3a77 |
- update to 4.4.2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 28 2019 Zabbix Packager <info@zabbix.com> - 4.4.1-1
|
|
|
1c3a77 |
- update to 4.4.1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 07 2019 Zabbix Packager <info@zabbix.com> 4.4.0-1
|
|
|
1c3a77 |
- update to 4.4.0
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Oct 03 2019 Zabbix Packager <info@zabbix.com> - 4.4.0-0.5rc1
|
|
|
1c3a77 |
- update to 4.4.0rc1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Sep 24 2019 Zabbix Packager <info@zabbix.com> - 4.4.0-0.4beta1
|
|
|
1c3a77 |
- update to 4.4.0beta1
|
|
|
1c3a77 |
- added zabbix-agent2 package
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Sep 18 2019 Zabbix Packager <info@zabbix.com> - 4.4.0-0.3alpha3
|
|
|
1c3a77 |
- update to 4.4.0alpha3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Aug 15 2019 Zabbix Packager <info@zabbix.com> - 4.4.0-0.2alpha2
|
|
|
1c3a77 |
- update to 4.4.0alpha2
|
|
|
1c3a77 |
- using google-noto-sans-cjk-ttc-fonts for graphfont in web-japanese package on rhel-8
|
|
|
1c3a77 |
- added php-fpm as dependency of zabbix-web packages on rhel-8
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Jul 17 2019 Zabbix Packager <info@zabbix.com> - 4.4.0-0.1alpha1
|
|
|
1c3a77 |
- update to 4.4.0alpha1
|
|
|
1c3a77 |
- removed apache config from zabbix-web package
|
|
|
1c3a77 |
- added dedicated zabbix-apache-conf and zabbix-nginx-conf packages
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Mar 29 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-1
|
|
|
1c3a77 |
- update to 4.2.0
|
|
|
1c3a77 |
- removed jabber notifications support and dependency on iksemel library
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Mar 26 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.6rc2
|
|
|
1c3a77 |
- update to 4.2.0rc2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Mar 18 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.5rc1
|
|
|
1c3a77 |
- update to 4.2.0rc1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Mar 04 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.4beta2
|
|
|
1c3a77 |
- update to 4.2.0beta2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Feb 18 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.1beta1
|
|
|
1c3a77 |
- update to 4.2.0beta1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Feb 05 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.3alpha3
|
|
|
1c3a77 |
- build of 4.2.0alpha3 with *.mo files
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Jan 30 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.2alpha3
|
|
|
1c3a77 |
- added timescaledb.sql.gz to zabbix-server-pgsql package
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Jan 28 2019 Zabbix Packager <info@zabbix.com> - 4.2.0-0.1alpha3
|
|
|
1c3a77 |
- update to 4.2.0alpha3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Dec 21 2018 Zabbix Packager <info@zabbix.com> - 4.2.0-0.2alpha2
|
|
|
1c3a77 |
- update to 4.2.0alpha2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Nov 27 2018 Zabbix Packager <info@zabbix.com> - 4.2.0-0.1alpha1
|
|
|
1c3a77 |
- update to 4.2.0alpha1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 29 2018 Zabbix Packager <info@zabbix.com> - 4.0.1-1
|
|
|
1c3a77 |
- update to 4.0.1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 01 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-2
|
|
|
1c3a77 |
- update to 4.0.0
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Sep 28 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1rc3
|
|
|
1c3a77 |
- update to 4.0.0rc3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Sep 25 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1rc2
|
|
|
1c3a77 |
- update to 4.0.0rc2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Sep 19 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1rc1
|
|
|
1c3a77 |
- update to 4.0.0rc1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Sep 10 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1beta2
|
|
|
1c3a77 |
- update to 4.0.0beta2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Aug 28 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1beta1
|
|
|
1c3a77 |
- update to 4.0.0beta1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Jul 23 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1alpha9
|
|
|
1c3a77 |
- update to 4.0.0alpha9
|
|
|
1c3a77 |
- add PHP variable max_input_vars = 10000, overriding default 1000
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Jun 18 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1alpha8
|
|
|
1c3a77 |
- update to 4.0.0alpha8
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed May 30 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1alpha7
|
|
|
1c3a77 |
- update to 4.0.0alpha7
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Apr 27 2018 Zabbix Packager <info@zabbix.com> - 4.0.0-1.1alpha6
|
|
|
1c3a77 |
- update to 4.0.0alpha6
|
|
|
1c3a77 |
- add support for Ubuntu 18.04 (Bionic)
|
|
|
1c3a77 |
- move enabling JMX interface on Zabbix java gateway to zabbix_java_gateway.conf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Mar 26 2018 Vladimir Levijev <vladimir.levijev@zabbix.com> - 4.0.0-1.1alpha5
|
|
|
1c3a77 |
- update to 4.0.0alpha5
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Feb 27 2018 Vladimir Levijev <vladimir.levijev@zabbix.com> - 4.0.0-1.1alpha4
|
|
|
1c3a77 |
- update to 4.0.0alpha4
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Feb 05 2018 Vladimir Levijev <vladimir.levijev@zabbix.com> - 4.0.0-1.1alpha3
|
|
|
1c3a77 |
- update to 4.0.0alpha3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Jan 09 2018 Vladimir Levijev <vladimir.levijev@zabbix.com> - 4.0.0-1.1alpha2
|
|
|
1c3a77 |
- update to 4.0.0alpha2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Dec 19 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 4.0.0-1alpha1
|
|
|
1c3a77 |
- update to 4.0.0alpha1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Nov 09 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.4-2
|
|
|
1c3a77 |
- add missing translation (.mo) files
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Nov 07 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.4-1
|
|
|
1c3a77 |
- update to 3.4.4
|
|
|
1c3a77 |
- fix issue with new line character in pid file that resulted in failure when shutting down daemons on RHEL 5
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Oct 17 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.3-1
|
|
|
1c3a77 |
- update to 3.4.3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Sep 25 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.2-1
|
|
|
1c3a77 |
- update to 3.4.2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Aug 28 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.1-1
|
|
|
1c3a77 |
- update to 3.4.1
|
|
|
1c3a77 |
- change SocketDir to /var/run/zabbix
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Aug 21 2017 Vladimir Levijev <vladimir.levijev@zabbix.com> - 3.4.0-1
|
|
|
1c3a77 |
- update to 3.4.0
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Apr 26 2017 Kodai Terashima <kodai.terashima@zabbix.com> - 3.4.0-1alpha1
|
|
|
1c3a77 |
- update to 3.4.0alpla1 r68116
|
|
|
1c3a77 |
- add libpcre and libevent for compile option
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sun Apr 23 2017 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.5-1
|
|
|
1c3a77 |
- update to 3.2.5
|
|
|
1c3a77 |
- add TimeoutSec=0 to systemd service file
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Mar 02 2017 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.4-2
|
|
|
1c3a77 |
- remove TimeoutSec for systemd
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Feb 27 2017 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.4-1
|
|
|
1c3a77 |
- update to 3.2.4
|
|
|
1c3a77 |
- add TimeoutSec for systemd service file
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Dec 21 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.3-1
|
|
|
1c3a77 |
- update to 3.2.3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Dec 08 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.2-1
|
|
|
1c3a77 |
- update to 3.2.2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sun Oct 02 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.1-1
|
|
|
1c3a77 |
- update to 3.2.1
|
|
|
1c3a77 |
- use zabbix user and group for Java Gateway
|
|
|
1c3a77 |
- add SuccessExitStatus=143 for Java Gateway servie file
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Sep 13 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0-1
|
|
|
1c3a77 |
- update to 3.2.0
|
|
|
1c3a77 |
- add *.conf for Include parameter in agent configuration file
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Sep 12 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0rc2-1
|
|
|
1c3a77 |
- update to 3.2.0rc2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Sep 09 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0rc1-1
|
|
|
1c3a77 |
- update to 3.2.0rc1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Sep 01 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0beta2-1
|
|
|
1c3a77 |
- update to 3.2.0beta2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Aug 26 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0beta1-1
|
|
|
1c3a77 |
- update to 3.2.0beta1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Aug 12 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.2.0alpha1-1
|
|
|
1c3a77 |
- update to 3.2.0alpha1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sun Jul 24 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.4-1
|
|
|
1c3a77 |
- update to 3.0.4
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sun May 22 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.3-1
|
|
|
1c3a77 |
- update to 3.0.3
|
|
|
1c3a77 |
- fix java gateway systemd script to use java options
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Apr 20 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.2-1
|
|
|
1c3a77 |
- update to 3.0.2
|
|
|
1c3a77 |
- remove ZBX-10459.patch
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sat Apr 02 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.1-2
|
|
|
1c3a77 |
- fix proxy packges doesn't have schema.sql.gz
|
|
|
1c3a77 |
- add server and web packages for RHEL6
|
|
|
1c3a77 |
- add ZBX-10459.patch
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sun Feb 28 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.1-1
|
|
|
1c3a77 |
- update to 3.0.1
|
|
|
1c3a77 |
- remove DBSocker parameter
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sat Feb 20 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0-2
|
|
|
1c3a77 |
- agent, proxy and java-gateway for RHEL 5 and 6
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Feb 15 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0-1
|
|
|
1c3a77 |
- update to 3.0.0
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Feb 11 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0rc2
|
|
|
1c3a77 |
- update to 3.0.0rc2
|
|
|
1c3a77 |
- add TIMEOUT parameter for java gateway conf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Feb 04 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0rc1
|
|
|
1c3a77 |
- update to 3.0.0rc1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sat Jan 30 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0beta2
|
|
|
1c3a77 |
- update to 3.0.0beta2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Jan 21 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0beta1
|
|
|
1c3a77 |
- update to 3.0.0beta1
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Jan 14 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha6
|
|
|
1c3a77 |
- update to 3.0.0alpla6
|
|
|
1c3a77 |
- remove zabbix_agent conf and binary
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Wed Jan 13 2016 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha5
|
|
|
1c3a77 |
- update to 3.0.0alpha5
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Nov 13 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha4-1
|
|
|
1c3a77 |
- update to 3.0.0alpha4
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Thu Oct 29 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha3-2
|
|
|
1c3a77 |
- fix web-pgsql package dependency
|
|
|
1c3a77 |
- add --with-openssl option
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Mon Oct 19 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha3-1
|
|
|
1c3a77 |
- update to 3.0.0alpha3
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Sep 29 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha2-3
|
|
|
1c3a77 |
- add IfModule for mod_php5 in apache configuration file
|
|
|
1c3a77 |
- fix missing proxy_mysql alternatives symlink
|
|
|
1c3a77 |
- chagne snmptrap log filename
|
|
|
1c3a77 |
- remove include dir from server and proxy conf
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Fri Sep 18 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha2-2
|
|
|
1c3a77 |
- fix create.sql doesn't contain schema.sql & images.sql
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Tue Sep 15 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 3.0.0alpha2-1
|
|
|
1c3a77 |
- update to 3.0.0alpha2
|
|
|
1c3a77 |
|
|
|
1c3a77 |
* Sat Aug 22 2015 Kodai Terashima <kodai.terashima@zabbix.com> - 2.5.0-1
|
|
|
1c3a77 |
- create spec file from scratch
|
|
|
1c3a77 |
- update to 2.5.0
|