Blame SPECS/zabbix.spec

1c3a77
Name:		zabbix
9189c1
Version:	6.0.12
9189c1
Release:	%{?alphatag:%{?alphatag}.}release1%{?dist}
1c3a77
Summary:	The Enterprise-class open source monitoring solution
1c3a77
Group:		Applications/Internet
1c3a77
License:	GPLv2+
1c3a77
URL:		http://www.zabbix.com/
9189c1
Source0:	https://cdn.zabbix.com/zabbix/sources/development/6.0/%{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
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
9189c1
Source23:	zabbix-web-service.service
9189c1
Source24:	zabbix_policy.te
a6f440
Patch0:		frontend.patch
1c3a77
Patch1:		fping3-sourceip-option.patch
9189c1
Patch2:		java-gateway.patch
9189c1
Patch3:		conf.patch
9189c1
Patch4:		agent2.conf.patch
9189c1
Patch5:		rhel6-go11.6.patch
9189c1
Patch6:		conf.var.run.patch
9189c1
Patch7:		agent2.conf.var.run.patch
1c3a77
1c3a77
1c3a77
Buildroot:	%{_tmppath}/zabbix-%{version}-%{release}-root-%(%{__id_u} -n)
1c3a77
d2910b
%{!?build_agent: %global build_agent 1}
d2910b
d2910b
%ifarch x86_64
9189c1
%if 0%{?rhel} >= 6
9189c1
%{!?build_agent2: %global build_agent2 1}
9b10f6
%endif
9189c1
%if 0%{?rhel} >= 8
9189c1
%{!?build_web_service: %global build_web_service 1}
d2910b
%endif
d2910b
%endif
d2910b
d2910b
%if 0%{?rhel} >= 7
d2910b
%{!?build_proxy: %global build_proxy 1}
d2910b
%{!?build_java_gateway: %global build_java_gateway 1}
9189c1
%endif
9189c1
9189c1
%if 0%{?rhel} >= 8
d2910b
%{!?build_server: %global build_server 1}
d2910b
%{!?build_frontend: %global build_frontend 1}
9189c1
%endif
d2910b
d2910b
%{!?build_with_mysql: %global build_with_mysql 1}
d2910b
%{!?build_with_pgsql: %global build_with_pgsql 1}
d2910b
%{!?build_with_sqlite: %global build_with_sqlite 1}
d2910b
9189c1
%{!?zabbix_script_dir: %global zabbix_script_dir /usr/lib/zabbix}
9189c1
9189c1
%if 0%{build_with_mysql} == 0 && 0%{build_with_pgsql} == 0
d2910b
%global build_server 0
9189c1
%if 0%{build_with_sqlite} == 0
d2910b
%global build_proxy 0
1c3a77
%endif
1c3a77
%endif
1c3a77
9189c1
%if 0%{?rhel} >= 7
9189c1
%{!?build_selinux_policy: %global build_selinux_policy 1}
9189c1
%endif
9189c1
9189c1
# FIXME: Building debuginfo is broken on RHEL 5 & 8. Disabled for now.
9189c1
%if 0%{?rhel} <= 5 || 0%{?rhel} >= 8
1c3a77
%define debug_package %{nil}
1c3a77
%endif
1c3a77
9189c1
# Enable hardening
9189c1
%if 0%{?rhel} >= 8
9189c1
%global _hardened_build 1
9189c1
%endif
9189c1
1c3a77
BuildRequires:	make
1c3a77
%if 0%{?rhel} >= 8
1c3a77
BuildRequires:	mariadb-connector-c-devel
1c3a77
BuildRequires:	postgresql-devel >= 12.0
1c3a77
BuildRequires:	sqlite-devel
1c3a77
BuildRequires:	net-snmp-devel
1c3a77
BuildRequires:	openldap-devel
9189c1
BuildRequires:	gnutls-devel
1c3a77
BuildRequires:	unixODBC-devel
1c3a77
BuildRequires:	curl-devel >= 7.13.1
1c3a77
BuildRequires:	OpenIPMI-devel >= 2
9189c1
BuildRequires:	libssh-devel >= 0.9.0
1c3a77
BuildRequires:	java-devel >= 1.6.0
1c3a77
BuildRequires:	libxml2-devel
1c3a77
BuildRequires:	libevent-devel
9189c1
%endif
9189c1
%if 0%{?rhel} >= 7
9189c1
BuildRequires:	pcre2-devel
9b10f6
%else
9189c1
BuildRequires:	pcre-devel
9189c1
%endif
1c3a77
%if 0%{?rhel} >= 6
1c3a77
BuildRequires:	openssl-devel >= 1.0.1
1c3a77
%endif
9189c1
%if 0%{?rhel} >= 7
9189c1
BuildRequires:	systemd
9189c1
%endif
9189c1
%if 0%{?build_selinux_policy}
9189c1
BuildRequires: policycoreutils-devel
9b10f6
%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
9189c1
%if 0%{?build_agent}
1c3a77
%package agent
9b10f6
Summary:		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
9b10f6
%endif
1c3a77
1c3a77
%if 0%{?build_agent2} != 1
9189c1
%if 0%{?build_agent}
1c3a77
%description agent
1c3a77
Zabbix agent to be installed on monitored systems.
9189c1
%endif
1c3a77
1c3a77
%else
9189c1
%if 0%{?build_agent}
1c3a77
%description agent
1c3a77
Old implementation of zabbix agent.
1c3a77
To be installed on monitored systems.
9189c1
%endif
1c3a77
1c3a77
%package agent2
9b10f6
Summary:		Zabbix agent 2
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
9189c1
Requires:		zabbix-agent2-plugin-mongodb
9189c1
Requires:		zabbix-agent2-plugin-postgresql
1c3a77
1c3a77
%description agent2
1c3a77
New implementation of zabbix agent.
1c3a77
To be installed on monitored systems.
1c3a77
%endif
1c3a77
9189c1
%if 0%{?build_web_service}
9189c1
%package web-service
9189c1
Summary:		Zabbix web service
9189c1
Group:			Applications/Internet
9189c1
Requires:		logrotate
9189c1
Requires(post):		systemd
9189c1
Requires(preun):	systemd
9189c1
Requires(preun):	systemd
9189c1
9189c1
%description web-service
9189c1
Zabbix web servce for performing various tasks using headless web browser.
9189c1
%endif
9189c1
9189c1
%if 0%{?build_agent}
1c3a77
%package get
9b10f6
Summary:		Zabbix get
1c3a77
Group:			Applications/Internet
1c3a77
1c3a77
%description get
1c3a77
Zabbix get command line utility.
1c3a77
1c3a77
%package sender
9b10f6
Summary:		Zabbix sender
1c3a77
Group:			Applications/Internet
1c3a77
1c3a77
%description sender
1c3a77
Zabbix sender command line utility.
9189c1
%endif
1c3a77
9189c1
%if 0%{?build_server} || 0%{?build_proxy}
1c3a77
%package js
9b10f6
Summary:		Zabbix js
1c3a77
Group:			Applications/Internet
1c3a77
1c3a77
%description js
1c3a77
Zabbix js command line utility.
1c3a77
9189c1
%package sql-scripts
9189c1
Summary:		Zabbix database sql scripts
9189c1
Group:			Applications/Internet
9189c1
BuildArch:		noarch
9189c1
9189c1
%description sql-scripts
9189c1
SQL files needed to setup Zabbix server or proxy databases
9189c1
%endif
9189c1
9189c1
%if 0%{?build_proxy}
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
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
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
1c3a77
%description proxy-sqlite3
1c3a77
Zabbix proxy with SQLite3 database support.
9189c1
%endif
1c3a77
9189c1
%if 0%{?build_server}
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
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
%description server-pgsql
1c3a77
Zabbix server with PostgresSQL database support.
9189c1
%endif
1c3a77
9189c1
%if 0%{?build_frontend}
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
%description web
1c3a77
Zabbix web frontend common package
1c3a77
1c3a77
%package web-deps
1c3a77
Summary:		PHP dependencies metapackage for frontend
9189c1
Group:			Application/Internet
9189c1
BuildArch:		noarch
9189c1
Requires:		zabbix-web = %{version}-%{release}
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:		zabbix-web = %{version}-%{release}
1c3a77
Requires:		zabbix-web-deps = %{version}-%{release}
9189c1
Requires:		php-mysqlnd
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:		zabbix-web = %{version}-%{release}
1c3a77
Requires:		zabbix-web-deps = %{version}-%{release}
9189c1
Requires:		php-pgsql
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
1c3a77
%package web-japanese
1c3a77
Summary:		Japanese font settings for Zabbix frontend
1c3a77
Group:			Applications/Internet
1c3a77
BuildArch:		noarch
1c3a77
Requires:		google-noto-sans-cjk-ttc-fonts
1c3a77
Requires:		glibc-langpack-ja
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
%endif
1c3a77
9189c1
%if 0%{?build_java_gateway}
1c3a77
%package java-gateway
1c3a77
Summary:		Zabbix java gateway
1c3a77
Group:			Applications/Internet
1c3a77
Requires:		java-headless >= 1.6.0
1c3a77
Requires(post):		systemd
1c3a77
Requires(preun):	systemd
1c3a77
Requires(postun):	systemd
1c3a77
1c3a77
%description java-gateway
1c3a77
Zabbix java gateway
1c3a77
%endif
9189c1
9189c1
%if 0%{?build_selinux_policy}
9189c1
%package selinux-policy
9189c1
Summary:		Zabbix SELinux policy
9189c1
Group:			Applications/Internet
9189c1
Requires(post):		%{_sbindir}/semodule
9189c1
Requires(preun):	%{_sbindir}/semodule
9189c1
9189c1
%description selinux-policy
9189c1
Zabbix SELinux policy
9189c1
%endif
9189c1
9189c1
9189c1
9189c1
#
9189c1
# prep
9189c1
#
1c3a77
1c3a77
%prep
1c3a77
%setup0 -q -n %{name}-%{version}%{?alphatag}
d2910b
d2910b
%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
d2910b
%endif
d2910b
d2910b
%if 0%{?build_server} || 0%{?build_proxy} || 0%{?build_agent} || 0%{?build_agent2}
d2910b
%patch1 -p1
d2910b
%endif
1c3a77
d2910b
%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
d2910b
%endif
1c3a77
d2910b
%if 0%{?build_server}
9189c1
# sql files for servers
9189c1
cat database/mysql/schema.sql > database/mysql/server.sql
9189c1
cat database/mysql/images.sql >> database/mysql/server.sql
9189c1
cat database/mysql/data.sql >> database/mysql/server.sql
9189c1
gzip database/mysql/server.sql
1c3a77
9189c1
cat database/postgresql/schema.sql > database/postgresql/server.sql
9189c1
cat database/postgresql/images.sql >> database/postgresql/server.sql
9189c1
cat database/postgresql/data.sql >> database/postgresql/server.sql
9189c1
gzip database/postgresql/server.sql
d2910b
%endif
1c3a77
d2910b
%if 0%{?build_proxy}
9189c1
# sql files for proxies
9189c1
mv database/mysql/schema.sql database/mysql/proxy.sql
9189c1
mv database/postgresql/schema.sql database/postgresql/proxy.sql
9189c1
mv database/sqlite3/schema.sql database/sqlite3/proxy.sql
1c3a77
%endif
1c3a77
d2910b
%if 0%{?build_java_gateway}
9189c1
%patch2 -p1
d2910b
%endif
1c3a77
a6f440
# update config files
9189c1
%patch3 -p1
a6f440
9b10f6
%if 0%{?build_agent2}
9189c1
%patch4 -p1
9b10f6
%if 0%{?rhel} == 6
9189c1
%patch5 -p1
9b10f6
%endif
9b10f6
%endif
9b10f6
9189c1
%if 0%{?rhel} <= 6
9189c1
%patch6 -p1
9189c1
%if 0%{?build_agent2}
9189c1
%patch7 -p1
9189c1
%endif
9189c1
%endif
d2910b
9189c1
%build
d2910b
# Build consists of 1-3 configure/make passes, one for each database.
d2910b
# pass 1: is sqlite proxy, may be omitted.
d2910b
# pass 2: is pqsql server/proxy, may be omitted.
d2910b
# pass 3: If only one database is enabled, then it must occur with pass 3.
d2910b
d2910b
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
9189c1
%if 0%{?rhel} >= 7
9189c1
	--with-libpcre2
9b10f6
%else
9189c1
	--with-libpcre
9189c1
%endif
1c3a77
%if 0%{?rhel} >= 6
d2910b
	--with-openssl
1c3a77
%endif
d2910b
"
1c3a77
d2910b
# setup pass 3
d2910b
%if 0%{?build_with_mysql} && ( 0%{?build_server} || 0%{?build_proxy} )
d2910b
build_conf_3="
d2910b
%if 0%{?build_server}
d2910b
	--enable-server
d2910b
%endif
d2910b
%if 0%{?build_proxy}
d2910b
	--enable-proxy
d2910b
%endif
d2910b
	--with-mysql
d2910b
"
1c3a77
d2910b
build_db_3=mysql
d2910b
%endif
1c3a77
1c3a77
d2910b
# setup pass 2
d2910b
%if 0%{?build_with_pgsql} && ( 0%{?build_server} || 0%{?build_proxy} )
d2910b
build_conf_2="
d2910b
%if 0%{?build_server}
d2910b
	--enable-server
d2910b
%endif
d2910b
%if 0%{?build_proxy}
d2910b
	--enable-proxy
d2910b
%endif
d2910b
	--with-postgresql
d2910b
"
1c3a77
d2910b
if [ -z "$build_conf_3" ]; then
d2910b
	build_conf_3="$build_conf_2"
d2910b
	build_conf_2=""
d2910b
	build_db_3="pgsql"
d2910b
fi
1c3a77
%endif
1c3a77
1c3a77
d2910b
# setup pass 1
d2910b
%if 0%{?build_with_sqlite} && 0%{?build_proxy}
d2910b
build_conf_1="--enable-proxy --with-sqlite3"
1c3a77
d2910b
if [ -z "$build_conf_3" ]; then
d2910b
	build_conf_3="$build_conf_1"
d2910b
	build_conf_1=""
d2910b
	build_db_3=sqlite3
d2910b
fi
1c3a77
%endif
1c3a77
1c3a77
9189c1
# add agents, web-service and java-gateway to pass 3
d2910b
build_conf_3="
d2910b
%if 0%{?build_agent}
d2910b
	--enable-agent
d2910b
%endif
d2910b
%if 0%{?build_agent2}
d2910b
	--enable-agent2
d2910b
%endif
d2910b
%if 0%{?build_java_gateway}
d2910b
	--enable-java
d2910b
%endif
9189c1
%if 0%{?build_web_service}
9189c1
	--enable-webservice
9189c1
%endif
d2910b
	$build_conf_3
d2910b
"
1c3a77
1c3a77
9189c1
%if 0%{?build_server} || 0%{?build_proxy}
9189c1
make_flags="EXTERNAL_SCRIPTS_PATH=/usr/lib/zabbix/externalscripts"
9189c1
%endif
9189c1
9189c1
%if 0%{?build_server}
9189c1
make_flags="$make_flags ALERT_SCRIPTS_PATH=/usr/lib/zabbix/alertscripts"
9189c1
%endif
9189c1
d2910b
# pass 1
d2910b
if [ -n "$build_conf_1" ]; then
d2910b
	%configure $build_conf_common $build_conf_1
d2910b
	make $make_flags
d2910b
	mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_sqlite3
d2910b
fi
1c3a77
1c3a77
d2910b
# pass 2
d2910b
if [ -n "$build_conf_2" ]; then
d2910b
	%configure $build_conf_common $build_conf_2
d2910b
	make $make_flags
d2910b
%if 0%{?build_server}
d2910b
	mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_pgsql
d2910b
%endif
d2910b
%if 0%{?build_proxy}
d2910b
	mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_pgsql
d2910b
%endif
d2910b
fi
1c3a77
1c3a77
d2910b
# pass 3
d2910b
if [ -n "$build_conf_3" ]; then
d2910b
	%configure $build_conf_common $build_conf_3
d2910b
	make $make_flags
d2910b
%if 0%{?build_server}
d2910b
	mv src/zabbix_server/zabbix_server "src/zabbix_server/zabbix_server_$build_db_3"
1c3a77
%endif
d2910b
%if 0%{?build_proxy}
d2910b
	mv src/zabbix_proxy/zabbix_proxy "src/zabbix_proxy/zabbix_proxy_$build_db_3"
1c3a77
%endif
d2910b
fi
1c3a77
1c3a77
9189c1
# build selinux policy
9189c1
%if 0%{?build_selinux_policy}
9189c1
cp %{SOURCE24} .
9189c1
make -f /usr/share/selinux/devel/Makefile zabbix_policy.pp
9189c1
%endif
9189c1
9189c1
d2910b
#
d2910b
# install
d2910b
#
1c3a77
d2910b
%install
d2910b
d2910b
rm -rf $RPM_BUILD_ROOT
d2910b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/zabbix
d2910b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/zabbix
d2910b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
9189c1
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zabbix
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/man/man8
d2910b
mkdir -p $RPM_BUILD_ROOT%{_datadir}/zabbix
9189c1
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
d2910b
9189c1
9189c1
%if 0%{?build_agent2} || 0%{?build_web_service}
d2910b
make DESTDIR=$RPM_BUILD_ROOT GOBIN=$RPM_BUILD_ROOT%{_sbindir} install
d2910b
%else
d2910b
make DESTDIR=$RPM_BUILD_ROOT install
1c3a77
%endif
1c3a77
1c3a77
d2910b
%if 0%{?build_agent}
d2910b
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.d
d2910b
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/zabbix-agent-%{version}
d2910b
cat %{SOURCE3} | sed \
d2910b
	-e 's|COMPONENT|agentd|g' \
d2910b
	> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent
d2910b
%if 0%{?rhel} >= 7
d2910b
install -Dm 0644 -p %{SOURCE10} $RPM_BUILD_ROOT%{_unitdir}/zabbix-agent.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix-agent.conf
d2910b
%else
d2910b
install -Dm 0755 -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent
d2910b
install -Dm 0644 -p %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zabbix-agent
d2910b
%endif
d2910b
%else
9189c1
%if 0%{?build_agent2}
9189c1
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_agentd
9189c1
rm $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_agentd.conf
9189c1
%endif
d2910b
%endif
1c3a77
1c3a77
1c3a77
%if 0%{?build_agent2}
d2910b
cat %{SOURCE3} | sed \
d2910b
	-e 's|COMPONENT|agent2|g' \
d2910b
	> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent2
9189c1
cp man/zabbix_agent2.man $RPM_BUILD_ROOT%{_mandir}/man8/zabbix_agent2.8
d2910b
%if 0%{?rhel} >= 7
d2910b
install -Dm 0644 -p %{SOURCE19} $RPM_BUILD_ROOT%{_unitdir}/zabbix-agent2.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix_agent2.conf
d2910b
%else
d2910b
install -Dm 0755 -p %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent2
d2910b
install -Dm 0644 -p %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/zabbix-agent2
d2910b
%endif
d2910b
%endif
1c3a77
d2910b
9189c1
%if 0%{?build_web_service}
9189c1
cat %{SOURCE3} | sed \
9189c1
	-e 's|COMPONENT|web-service|g' \
9189c1
	> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-web-service
9189c1
cp man/zabbix_web_service.man $RPM_BUILD_ROOT%{_mandir}/man8/zabbix_web_service.8
9189c1
install -Dm 0644 -p %{SOURCE23} $RPM_BUILD_ROOT%{_unitdir}/zabbix-web-service.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix_web_service.conf
9189c1
%endif
9189c1
9189c1
d2910b
%if 0%{?build_server} || 0%{?build_proxy}
9189c1
mkdir -p $RPM_BUILD_ROOT%{zabbix_script_dir}
9189c1
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/externalscripts $RPM_BUILD_ROOT%{zabbix_script_dir}
9189c1
9189c1
9189c1
#
9189c1
# install sql files
9189c1
#
9189c1
%if 0%{?build_with_mysql}
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/mysql
9189c1
%if 0%{?build_proxy}
9189c1
cp database/mysql/proxy.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/mysql
9189c1
%endif
9189c1
%if 0%{?build_server}
9189c1
cp database/mysql/server.sql.gz $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/mysql
9189c1
cp database/mysql/double.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/mysql
9189c1
cp database/mysql/history_pk_prepare.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/mysql
9189c1
%endif
9189c1
%endif
9189c1
9189c1
%if 0%{?build_with_pgsql}
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
%if 0%{?build_proxy}
9189c1
cp database/postgresql/proxy.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
%endif
9189c1
%if 0%{?build_server}
9189c1
cp database/postgresql/server.sql.gz $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
cp database/postgresql/timescaledb.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
cp database/postgresql/double.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
cp database/postgresql/history_pk_prepare.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
%endif
9189c1
cp -R database/postgresql/tsdb_history_pk_upgrade_no_compression $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
cp -R database/postgresql/tsdb_history_pk_upgrade_with_compression $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/postgresql
9189c1
%endif
9189c1
9189c1
%if 0%{?build_with_sqlite} && 0%{?build_proxy}
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/sqlite3
9189c1
cp database/sqlite3/proxy.sql $RPM_BUILD_ROOT%{_datadir}/zabbix-sql-scripts/sqlite3
9189c1
%endif
1c3a77
%endif
1c3a77
1c3a77
d2910b
%if 0%{?build_proxy}
9189c1
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_proxy.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_proxy.d
d2910b
install -m 0755 -p src/zabbix_proxy/zabbix_proxy_* $RPM_BUILD_ROOT%{_sbindir}/
d2910b
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
1c3a77
cat %{SOURCE3} | sed \
1c3a77
	-e 's|COMPONENT|proxy|g' \
1c3a77
	> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-proxy
d2910b
install -Dm 0644 -p %{SOURCE12} $RPM_BUILD_ROOT%{_unitdir}/zabbix-proxy.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix-proxy.conf
1c3a77
%endif
d2910b
d2910b
d2910b
%if 0%{?build_server}
9189c1
mv $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_server.conf.d $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_server.d
d2910b
install -m 0755 -p src/zabbix_server/zabbix_server_* $RPM_BUILD_ROOT%{_sbindir}/
d2910b
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
9189c1
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/alertscripts $RPM_BUILD_ROOT%{zabbix_script_dir}
1c3a77
cat %{SOURCE3} | sed \
d2910b
	-e 's|COMPONENT|server|g' \
d2910b
	> $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-server
d2910b
install -Dm 0644 -p %{SOURCE11} $RPM_BUILD_ROOT%{_unitdir}/zabbix-server.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix-server.conf
1c3a77
%endif
1c3a77
d2910b
d2910b
%if 0%{?build_frontend}
d2910b
find ui -name '*.orig' | xargs rm -f
d2910b
cp -a ui/* $RPM_BUILD_ROOT%{_datadir}/zabbix
d2910b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web
d2910b
touch $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web/zabbix.conf.php
d2910b
mv $RPM_BUILD_ROOT%{_datadir}/zabbix/conf/maintenance.inc.php $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/web/
d2910b
install -Dm 0644 -p %{SOURCE16} $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/zabbix.conf
9189c1
install -Dm 0644 -p %{SOURCE17} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zabbix.conf
d2910b
install -Dm 0644 -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/zabbix.conf
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_java_gateway}
9189c1
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/startup.sh $RPM_BUILD_ROOT%{_sbindir}/zabbix_java_gateway_startup
9189c1
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/shutdown.sh $RPM_BUILD_ROOT%{_sbindir}/zabbix_java_gateway_shutdown
9189c1
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_java_gateway.conf
d2910b
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/zabbix/zabbix_java_gateway_logback.xml
d2910b
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_java/lib/logback-console.xml
9189c1
mv $RPM_BUILD_ROOT%{_sbindir}/zabbix_java $RPM_BUILD_ROOT%{_datadir}/zabbix-java-gateway
d2910b
install -Dm 0644 -p %{SOURCE13} $RPM_BUILD_ROOT%{_unitdir}/zabbix-java-gateway.service
9189c1
install -Dm 0644 -p %{SOURCE15} $RPM_BUILD_ROOT%{_tmpfilesdir}/zabbix-java-gateway.conf
9189c1
%endif
9189c1
9189c1
9189c1
%if 0%{?build_selinux_policy}
9189c1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix
9189c1
mv zabbix_policy.pp $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix
1c3a77
%endif
1c3a77
9189c1
1c3a77
%clean
1c3a77
rm -rf $RPM_BUILD_ROOT
1c3a77
1c3a77
d2910b
#
d2910b
# files & scriptlets
d2910b
#
d2910b
9189c1
d2910b
%if 0%{?build_agent}
9189c1
d2910b
%files agent
d2910b
%defattr(-,root,root,-)
d2910b
%doc AUTHORS ChangeLog COPYING NEWS README conf/zabbix_agentd/userparameter_mysql.conf
d2910b
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agentd.conf
d2910b
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent
d2910b
%dir %{_sysconfdir}/zabbix/zabbix_agentd.d
d2910b
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
d2910b
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
d2910b
%{_sbindir}/zabbix_agentd
d2910b
%{_mandir}/man8/zabbix_agentd.8*
1c3a77
%if 0%{?rhel} >= 7
d2910b
%{_unitdir}/zabbix-agent.service
9189c1
%{_tmpfilesdir}/zabbix-agent.conf
1c3a77
%else
d2910b
%{_sysconfdir}/init.d/zabbix-agent
d2910b
%config(noreplace) %{_sysconfdir}/sysconfig/zabbix-agent
1c3a77
%endif
1c3a77
d2910b
%files get
d2910b
%defattr(-,root,root,-)
d2910b
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%{_bindir}/zabbix_get
d2910b
%{_mandir}/man1/zabbix_get.1*
1c3a77
d2910b
%files sender
d2910b
%defattr(-,root,root,-)
d2910b
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%{_bindir}/zabbix_sender
d2910b
%{_mandir}/man1/zabbix_sender.1*
1c3a77
d2910b
%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
d2910b
%post agent
d2910b
%if 0%{?rhel} >= 7
d2910b
%systemd_post zabbix-agent.service
1c3a77
%else
d2910b
/sbin/chkconfig --add zabbix-agent || :
1c3a77
%endif
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
d2910b
%posttrans agent
d2910b
# preserve old userparameter_mysql.conf file during upgrade
d2910b
if [ -f %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf.rpmsave ] && [ ! -f %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf ]; then
d2910b
       cp -vn %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf.rpmsave %{_sysconfdir}/zabbix/zabbix_agentd.d/userparameter_mysql.conf
d2910b
fi
1c3a77
:
1c3a77
%endif
1c3a77
1c3a77
9189c1
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
%dir %{_sysconfdir}/zabbix/zabbix_agent2.d
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/ceph.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/docker.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/memcached.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/mysql.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/oracle.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/redis.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/smart.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/modbus.conf
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/mqtt.conf
9189c1
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent2
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
9189c1
%{_tmpfilesdir}/zabbix_agent2.conf
1c3a77
%else
1c3a77
%{_sysconfdir}/init.d/zabbix-agent2
1c3a77
%config(noreplace) %{_sysconfdir}/sysconfig/zabbix-agent2
1c3a77
%endif
1c3a77
d2910b
%pre agent2
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
1c3a77
d2910b
%post agent2
9b10f6
%if 0%{?rhel} >= 7
d2910b
%systemd_post zabbix-agent2.service
9b10f6
%endif
d2910b
# make sure that agent2 log file is create with proper attributes (ZBX-18243)
d2910b
if [ $1 == 1 ] && [ ! -f %{_localstatedir}/log/zabbix/zabbix_agent2.log ]; then
d2910b
	touch %{_localstatedir}/log/zabbix/zabbix_agent2.log
d2910b
	chown zabbix:zabbix %{_localstatedir}/log/zabbix/zabbix_agent2.log
d2910b
fi
d2910b
:
1c3a77
9b10f6
%if 0%{?rhel} >= 7
d2910b
%preun agent2
d2910b
%systemd_preun zabbix-agent2.service
d2910b
:
1c3a77
d2910b
%postun agent2
d2910b
%systemd_postun_with_restart zabbix-agent2.service
d2910b
%endif
9b10f6
%endif
d2910b
d2910b
9189c1
%if 0%{?build_web_service}
9189c1
%files web-service
9189c1
%defattr(-,root,root,-)
9189c1
%doc AUTHORS ChangeLog COPYING NEWS README
9189c1
%{_sbindir}/zabbix_web_service
9189c1
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_web_service.conf
9189c1
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-web-service
9189c1
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
9189c1
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
9189c1
%{_unitdir}/zabbix-web-service.service
9189c1
%{_tmpfilesdir}/zabbix_web_service.conf
9189c1
%{_mandir}/man8/zabbix_web_service.8*
9189c1
9189c1
%pre web-service
9189c1
getent group zabbix > /dev/null || groupadd -r zabbix
9189c1
getent passwd zabbix > /dev/null || \
9189c1
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
9189c1
	-c "Zabbix Monitoring System" zabbix
9189c1
:
9189c1
9189c1
%post web-service
9189c1
%systemd_post zabbix-web-service.service
9189c1
:
9189c1
9189c1
%preun web-service
9189c1
%systemd_preun zabbix-web-service.service
9189c1
:
9189c1
9189c1
%postun web-service
9189c1
%systemd_postun_with_restart zabbix-web-service.service
9189c1
%endif
9189c1
9189c1
d2910b
%if 0%{?build_server} || 0%{?build_proxy}
d2910b
%files js
1c3a77
%defattr(-,root,root,-)
d2910b
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%{_bindir}/zabbix_js
9189c1
9189c1
%files sql-scripts
9189c1
%defattr(-,root,root,-)
9189c1
%doc AUTHORS ChangeLog COPYING NEWS README
9189c1
%if 0%{?build_server}
9189c1
%{_datadir}/zabbix-sql-scripts/mysql/server.sql.gz
9189c1
%{_datadir}/zabbix-sql-scripts/mysql/double.sql
9189c1
%{_datadir}/zabbix-sql-scripts/mysql/history_pk_prepare.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/server.sql.gz
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/timescaledb.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/double.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/history_pk_prepare.sql
9189c1
%endif
9189c1
%if 0%{?build_proxy}
9189c1
%{_datadir}/zabbix-sql-scripts/mysql/proxy.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/proxy.sql
9189c1
%{_datadir}/zabbix-sql-scripts/sqlite3/proxy.sql
9189c1
%endif
9189c1
%if 0%{?build_server} || 0%{?build_proxy}
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_no_compression/history_pk_log.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_no_compression/history_pk.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_no_compression/history_pk_str.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_no_compression/history_pk_text.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_no_compression/history_pk_uint.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_with_compression/history_pk_log.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_with_compression/history_pk.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_with_compression/history_pk_str.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_with_compression/history_pk_text.sql
9189c1
%{_datadir}/zabbix-sql-scripts/postgresql/tsdb_history_pk_upgrade_with_compression/history_pk_uint.sql
9189c1
%endif
d2910b
%endif
d2910b
1c3a77
d2910b
%if 0%{?build_proxy}
d2910b
%if 0%{?build_with_mysql}
1c3a77
%files proxy-mysql
1c3a77
%defattr(-,root,root,-)
1c3a77
%doc AUTHORS ChangeLog COPYING NEWS README
9189c1
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
9189c1
%dir %{zabbix_script_dir}/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
9189c1
%{_tmpfilesdir}/zabbix-proxy.conf
1c3a77
%{_sbindir}/zabbix_proxy_mysql
1c3a77
d2910b
%pre proxy-mysql
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post proxy-mysql
d2910b
%systemd_post zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
d2910b
	zabbix-proxy %{_sbindir}/zabbix_proxy_mysql 10
d2910b
:
d2910b
d2910b
%preun proxy-mysql
d2910b
if [ "$1" = 0 ]; then
d2910b
%systemd_preun zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --remove zabbix-proxy \
d2910b
%{_sbindir}/zabbix_proxy_mysql
d2910b
fi
d2910b
:
d2910b
d2910b
%postun proxy-mysql
d2910b
%systemd_postun_with_restart zabbix-proxy.service
d2910b
:
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_with_pgsql}
1c3a77
%files proxy-pgsql
1c3a77
%defattr(-,root,root,-)
1c3a77
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
9189c1
%dir %{zabbix_script_dir}/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
9189c1
%{_tmpfilesdir}/zabbix-proxy.conf
1c3a77
%{_sbindir}/zabbix_proxy_pgsql
1c3a77
d2910b
%pre proxy-pgsql
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post proxy-pgsql
d2910b
%systemd_post zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
d2910b
	zabbix-proxy %{_sbindir}/zabbix_proxy_pgsql 10
d2910b
:
d2910b
d2910b
%preun proxy-pgsql
d2910b
if [ "$1" = 0 ]; then
d2910b
%systemd_preun zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --remove zabbix-proxy \
d2910b
	%{_sbindir}/zabbix_proxy_pgsql
d2910b
fi
d2910b
:
d2910b
d2910b
%postun proxy-pgsql
d2910b
%systemd_postun_with_restart zabbix-proxy.service
d2910b
:
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_with_sqlite}
1c3a77
%files proxy-sqlite3
1c3a77
%defattr(-,root,root,-)
1c3a77
%doc AUTHORS ChangeLog COPYING NEWS README
9189c1
%attr(0640,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
9189c1
%dir %{zabbix_script_dir}/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
9189c1
%{_tmpfilesdir}/zabbix-proxy.conf
1c3a77
%{_sbindir}/zabbix_proxy_sqlite3
1c3a77
d2910b
%pre proxy-sqlite3
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post proxy-sqlite3
d2910b
%systemd_post zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \
d2910b
	zabbix-proxy %{_sbindir}/zabbix_proxy_sqlite3 10
d2910b
:
d2910b
d2910b
%preun proxy-sqlite3
d2910b
if [ "$1" = 0 ]; then
d2910b
%systemd_preun zabbix-proxy.service
d2910b
/usr/sbin/update-alternatives --remove zabbix-proxy \
d2910b
	%{_sbindir}/zabbix_proxy_sqlite3
d2910b
fi
d2910b
:
d2910b
d2910b
%postun proxy-sqlite3
d2910b
%systemd_postun_with_restart zabbix-proxy.service
d2910b
:
d2910b
%endif
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_server}
d2910b
%if 0%{?build_with_mysql}
1c3a77
%files server-mysql
1c3a77
%defattr(-,root,root,-)
1c3a77
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf
9189c1
%dir %{zabbix_script_dir}/alertscripts
9189c1
%dir %{zabbix_script_dir}/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
9189c1
%{_tmpfilesdir}/zabbix-server.conf
1c3a77
%{_sbindir}/zabbix_server_mysql
1c3a77
d2910b
%pre server-mysql
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post server-mysql
d2910b
%systemd_post zabbix-server.service
d2910b
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_server \
d2910b
	zabbix-server %{_sbindir}/zabbix_server_mysql 10
d2910b
:
d2910b
d2910b
%preun server-mysql
d2910b
if [ "$1" = 0 ]; then
d2910b
%systemd_preun zabbix-server.service
d2910b
/usr/sbin/update-alternatives --remove zabbix-server \
d2910b
	%{_sbindir}/zabbix_server_mysql
d2910b
fi
d2910b
:
d2910b
d2910b
%postun server-mysql
d2910b
%systemd_postun_with_restart zabbix-server.service
d2910b
:
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_with_pgsql}
1c3a77
%files server-pgsql
1c3a77
%defattr(-,root,root,-)
1c3a77
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%attr(0600,root,zabbix) %config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf
9189c1
%dir %{zabbix_script_dir}/alertscripts
9189c1
%dir %{zabbix_script_dir}/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
9189c1
%{_tmpfilesdir}/zabbix-server.conf
1c3a77
%{_sbindir}/zabbix_server_pgsql
1c3a77
d2910b
%pre server-pgsql
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post server-pgsql
d2910b
%systemd_post zabbix-server.service
d2910b
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_server \
d2910b
	zabbix-server %{_sbindir}/zabbix_server_pgsql 10
d2910b
:
d2910b
d2910b
%preun server-pgsql
d2910b
if [ "$1" = 0 ]; then
d2910b
%systemd_preun zabbix-server.service
d2910b
/usr/sbin/update-alternatives --remove zabbix-server \
d2910b
	%{_sbindir}/zabbix_server_pgsql
d2910b
fi
d2910b
:
d2910b
d2910b
%postun server-pgsql
d2910b
%systemd_postun_with_restart zabbix-server.service
d2910b
:
d2910b
%endif
d2910b
%endif
d2910b
d2910b
d2910b
%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
%doc AUTHORS ChangeLog COPYING NEWS README
1c3a77
%config(noreplace) %{_sysconfdir}/zabbix/web/maintenance.inc.php
1c3a77
%{_datadir}/zabbix
1c3a77
9189c1
%files web-deps
9189c1
%config(noreplace) %{_sysconfdir}/php-fpm.d/zabbix.conf
9189c1
a6f440
%files web-japanese
a6f440
%defattr(-,root,root,-)
a6f440
9189c1
%files web-mysql
9189c1
%defattr(-,root,root,-)
9189c1
9189c1
%files web-pgsql
9189c1
%defattr(-,root,root,-)
9189c1
9189c1
%files apache-conf
9189c1
%defattr(-,root,root,-)
9189c1
%config(noreplace) %{_sysconfdir}/httpd/conf.d/zabbix.conf
9189c1
9189c1
%files nginx-conf
9189c1
%defattr(-,root,root,-)
9189c1
%config(noreplace) %{_sysconfdir}/nginx/conf.d/zabbix.conf
9189c1
d2910b
%post web
d2910b
# The fonts directory was moved into assets subdirectory at one point.
d2910b
#
d2910b
# This broke invocation of update-alternatives command below, because the target link for zabbix-web-font changed
d2910b
# from zabbix/fonts/graphfont.ttf to zabbix/assets/fonts/graphfont.ttf
d2910b
#
d2910b
# We handle this movement by deleting /var/lib/alternatives/zabbix-web-font file if it contains the old target link.
d2910b
# We also remove symlink at zabbix/fonts/graphfont.ttf to have the old fonts directory be deleted during update.
d2910b
if [ -f /var/lib/alternatives/zabbix-web-font ] && \
d2910b
	[ -z "$(grep %{_datadir}/zabbix/assets/fonts/graphfont.ttf /var/lib/alternatives/zabbix-web-font)" ]
d2910b
then
d2910b
	rm /var/lib/alternatives/zabbix-web-font
d2910b
	if [ -h %{_datadir}/zabbix/fonts/graphfont.ttf ]; then
d2910b
		rm %{_datadir}/zabbix/fonts/graphfont.ttf
d2910b
	fi
d2910b
fi
9189c1
%if 0%{?rhel} >= 9
9189c1
# remove bad link to fonts/dejavu/DejaVuSans.ttf during upgrade on rhel 9
9189c1
if [ "$1" = 2 ]; then
9189c1
	/usr/sbin/update-alternatives --remove zabbix-web-font \
9189c1
		%{_datadir}/fonts/dejavu/DejaVuSans.ttf
9189c1
fi
9189c1
%endif
d2910b
/usr/sbin/update-alternatives --install %{_datadir}/zabbix/assets/fonts/graphfont.ttf \
9189c1
%if 0%{?rhel} >= 9
9189c1
	zabbix-web-font %{_datadir}/fonts/dejavu-sans-fonts/DejaVuSans.ttf 10
9189c1
%else
d2910b
	zabbix-web-font %{_datadir}/fonts/dejavu/DejaVuSans.ttf 10
9189c1
%endif
d2910b
:
d2910b
d2910b
%post web-japanese
d2910b
/usr/sbin/update-alternatives --install %{_datadir}/zabbix/assets/fonts/graphfont.ttf zabbix-web-font \
d2910b
	%{_datadir}/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc 20
d2910b
:
d2910b
d2910b
# The user apache must be available for these to work.
d2910b
# It is provided by httpd or php-fpm packages.
d2910b
%post apache-conf
d2910b
if [ -d /etc/zabbix/web ]; then
d2910b
	chown apache:apache /etc/zabbix/web/
d2910b
fi
d2910b
:
d2910b
d2910b
%post nginx-conf
d2910b
if [ -d /etc/zabbix/web ]; then
d2910b
	chown apache:apache /etc/zabbix/web/
d2910b
fi
d2910b
:
1c3a77
9189c1
%preun web
9189c1
if [ "$1" = 0 ]; then
9189c1
%if 0%{?rhel} >= 9
9189c1
/usr/sbin/update-alternatives --remove zabbix-web-font \
9189c1
	%{_datadir}/fonts/dejavu-sans-fonts/DejaVuSans.ttf
9189c1
%else
9189c1
/usr/sbin/update-alternatives --remove zabbix-web-font \
9189c1
	%{_datadir}/fonts/dejavu/DejaVuSans.ttf
9189c1
%endif
9189c1
fi
9189c1
:
d2910b
9189c1
%preun web-japanese
9189c1
if [ "$1" = 0 ]; then
9189c1
/usr/sbin/update-alternatives --remove zabbix-web-font \
9189c1
	%{_datadir}/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc
d2910b
fi
d2910b
:
d2910b
%endif
d2910b
d2910b
d2910b
%if 0%{?build_java_gateway}
d2910b
%files java-gateway
d2910b
%defattr(-,root,root,-)
d2910b
%doc AUTHORS ChangeLog COPYING NEWS README
d2910b
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_java_gateway.conf
d2910b
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
d2910b
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
d2910b
%{_datadir}/zabbix-java-gateway
9189c1
%{_sbindir}/zabbix_java_gateway_startup
9189c1
%{_sbindir}/zabbix_java_gateway_shutdown
d2910b
%{_unitdir}/zabbix-java-gateway.service
9189c1
%{_tmpfilesdir}/zabbix-java-gateway.conf
d2910b
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_java_gateway_logback.xml
d2910b
d2910b
%pre java-gateway
d2910b
getent group zabbix > /dev/null || groupadd -r zabbix
d2910b
getent passwd zabbix > /dev/null || \
d2910b
	useradd -r -g zabbix -d %{_localstatedir}/lib/zabbix -s /sbin/nologin \
d2910b
	-c "Zabbix Monitoring System" zabbix
d2910b
:
d2910b
d2910b
%post java-gateway
d2910b
%systemd_post zabbix-java-gateway.service
d2910b
:
d2910b
d2910b
%preun java-gateway
d2910b
if [ $1 -eq 0 ]; then
d2910b
%systemd_preun zabbix-java-gateway.service
d2910b
fi
d2910b
:
d2910b
d2910b
%postun java-gateway
d2910b
%systemd_postun_with_restart zabbix-java-gateway.service
d2910b
:
1c3a77
%endif
1c3a77
d2910b
9189c1
%if 0%{?build_selinux_policy}
9189c1
%files selinux-policy
9189c1
%defattr(-,root,root,-)
9189c1
%doc AUTHORS ChangeLog COPYING NEWS README
9189c1
%{_datadir}/selinux/packages/zabbix/zabbix_policy.pp
9189c1
9189c1
9189c1
%post selinux-policy
9189c1
semodule -i %{_datadir}/selinux/packages/zabbix/zabbix_policy.pp
9189c1
:
9189c1
9189c1
%postun selinux-policy
9189c1
if [ $1 = 0 ] && semodule -l | grep -q zabbix_policy; then semodule -r zabbix_policy; fi
9189c1
:
9189c1
%endif
9189c1
d2910b
1c3a77
%changelog
9189c1
* Mon Dec 05 2022 Zabbix Packager <info@zabbix.com> - 6.0.12-release1
9189c1
- update to 6.0.12
9189c1
9189c1
* Fri Dec 02 2022 Zabbix Packager <info@zabbix.com> - 6.0.12-rc2.release1
9189c1
- update to 6.0.12rc2
9189c1
9189c1
* Thu Dec 01 2022 Zabbix Packager <info@zabbix.com> - 6.0.12-rc1.release1
9189c1
- update to 6.0.12rc1
9189c1
9189c1
* Mon Nov 28 2022 Zabbix Packager <info@zabbix.com> - 6.0.11-release1
9189c1
- update to 6.0.11
9189c1
9189c1
* Fri Nov 25 2022 Zabbix Packager <info@zabbix.com> - 6.0.11-rc2.release1
9189c1
- update to 6.0.11rc2
9189c1
9189c1
* Mon Nov 21 2022 Zabbix Packager <info@zabbix.com> - 6.0.11-rc1.release1
9189c1
- update to 6.0.11rc1
9189c1
9189c1
* Wed Nov 16 2022 Zabbix Packager <info@zabbix.com> - 6.0.10-release2
9189c1
- added explicit dependencies on mongodb and postgresql plugins to agent2; to ease upgrade
9189c1
9189c1
* Wed Nov 02 2022 Zabbix Packager <info@zabbix.com> - 6.0.10-release1
9189c1
- update to 6.0.10
9189c1
9189c1
* Thu Oct 27 2022 Zabbix Packager <info@zabbix.com> - 6.0.10-rc2.release1
9189c1
- update to 6.0.10rc2
d21c70
9189c1
* Tue Oct 25 2022 Zabbix Packager <info@zabbix.com> - 6.0.10-rc1.release1
9189c1
- update to 6.0.10rc1
9189c1
- removed agent2 builtin postgres.conf file; to be replaced with a plugin
9b10f6
9189c1
* Wed Sep 21 2022 Zabbix Packager <info@zabbix.com> - 6.0.9-release1
9189c1
- update to 6.0.9
9b10f6
9189c1
* Mon Sep 19 2022 Zabbix Packager <info@zabbix.com> - 6.0.9-rc2.release1
9189c1
- update to 6.0.9rc2
9189c1
9189c1
* Wed Sep 14 2022 Zabbix Packager <info@zabbix.com> - 6.0.9-rc1.release1
9189c1
- update to 6.0.9rc1
9189c1
- moved zabbix-sql-scripts contents out of system documentation and into data directory
9189c1
- added new postgresql files to sql-scripts package
9189c1
9189c1
* Tue Aug 30 2022 Zabbix Packager <info@zabbix.com> - 6.0.8-release2
9189c1
- second release of 6.0.8 for rhel-9
9189c1
- fixed path to DejaVuSans font
9189c1
9189c1
* Mon Aug 29 2022 Zabbix Packager <info@zabbix.com> - 6.0.8-release1
9189c1
- update to 6.0.8
9189c1
- added "release" prefix to package version
9189c1
9189c1
* Mon Jul 25 2022 Zabbix Packager <info@zabbix.com> - 6.0.7-1
9189c1
- update to 6.0.7
9189c1
9189c1
* Wed Jun 29 2022 Zabbix Packager <info@zabbix.com> - 6.0.6-2
9189c1
- fixed postun selinux-policy scriptlet
9189c1
9189c1
* Mon Jun 27 2022 Zabbix Packager <info@zabbix.com> - 6.0.6-1
9189c1
- update to 6.0.6
9189c1
- removed mongodb from agent2, expecting to use external plugin
9189c1
- reverted /run to /var/run in conf files using patches 6 & 7 for rhel <= 6
9b10f6
- fixed bogus systemd scriptlet for agent2 on rhel < 7
9b10f6
- silencing agent2 interactive output on rhel 6 (ZBX-20456)
9b10f6
9189c1
* Mon May 30 2022 Zabbix Packager <info@zabbix.com> - 6.0.5-1
9189c1
- update to 6.0.5
9b10f6
- added After=postgresql-14.service to server and proxy systemd service files
9b10f6
9189c1
* Tue May 03 2022 Zabbix Packager <info@zabbix.com> - 6.0.4-1
9189c1
- update to 6.0.4
9b10f6
- added rhel6-go11.6.patch
9189c1
- replaced /var/run with /run
9189c1
- updated selinux-policy to allow web servers connecting to postgres via socket
9189c1
- fixed selinux-policy postun scriptlet
9189c1
9189c1
* Mon Apr 04 2022 Zabbix Packager <info@zabbix.com> - 6.0.3-1
9189c1
- update to 6.0.3
9189c1
9189c1
* Mon Mar 14 2022 Zabbix Packager <info@zabbix.com> - 6.0.2-1
9189c1
- update to 6.0.2
9189c1
9189c1
* Tue Mar 01 2022 Zabbix Packager <info@zabbix.com> - 6.0.1-1
9189c1
- update to 6.0.1
9189c1
- fixed EnvironmentFile setting in web-service systemd service file
9189c1
9189c1
* Mon Feb 14 2022 Zabbix Packager <info@zabbix.com> - 6.0.0-1
9189c1
- update to 6.0.0
9189c1
9189c1
* Fri Feb 04 2022 Zabbix Packager <info@zabbix.com> - 6.0.0-0.12rc2
9189c1
- update to 6.0.0rc2
9189c1
9189c1
* Tue Feb 01 2022 Zabbix Packager <info@zabbix.com> - 6.0.0-0.11rc1
9189c1
- update to 6.0.0rc1
9189c1
9189c1
* Tue Jan 25 2022 Zabbix Packager <info@zabbix.com> - 6.0.0-0.10beta3
9189c1
- update to 6.0.0beta3
9b10f6
9189c1
* Tue Jan 11 2022 Zabbix Packager <info@zabbix.com> - 6.0.0-0.9beta2
9189c1
- update to 6.0.0beta2
9189c1
- using pcre2 on rhel >= 7
9189c1
- added history_pk_prepare.sql to sql-scripts package
9b10f6
9189c1
* Mon Dec 13 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.8beta1
9189c1
- update to 6.0.0beta1
9189c1
- removed erronious references to tmpfiles.d on rhel < 7 and fixed _tmpfilesdir macro usage
9189c1
- removed "Obsoletes: zabbix" for web-servce sub-package
9189c1
- renamed create.sql.gz to server.sql.gz
9189c1
- renamed schema.sql to proxy.sql
9189c1
- compressing only server.sql.gz
9b10f6
9189c1
* Mon Nov 22 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.7alpha7
9189c1
- update to 6.0.0alpha7
0829d3
9189c1
* Tue Nov 09 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.6alpha6
9189c1
- update to 6.0.0alpha6
a6f440
9189c1
* Mon Oct 25 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.5alpha5
9189c1
- update to 6.0.0alpha5
9189c1
- separated agent2 plugin conf files (ZBXNEXT-6428)
9189c1
- updated php-fpm conf files (ZBX-20106)
a6f440
9189c1
* Wed Oct 06 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.4alpha4
9189c1
- update to 6.0.0alpha4
a6f440
9189c1
* Mon Sep 20 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.3alpha3
9189c1
- update to 6.0.0alpha3
a6f440
9189c1
* Mon Sep 06 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.2alpha2
9189c1
- update to 6.0.0alpha2
a6f440
9189c1
* Wed Aug 25 2021 Zabbix Packager <info@zabbix.com> - 6.0.0-0.1alpha1
9189c1
- update to 6.0.0alpha1
9189c1
- added selinux-policy package (rhel 7+)
a6f440
9189c1
* Wed Jul 21 2021 Zabbix Packager <info@zabbix.com> - 5.4.3-1
9189c1
- update to 5.4.3
9189c1
9189c1
* Mon Jun 28 2021 Zabbix Packager <info@zabbix.com> - 5.4.2-1
9189c1
- update to 5.4.2
9189c1
9189c1
* Mon Jun 07 2021 Zabbix Packager <info@zabbix.com> - 5.4.1-1
9189c1
- update to 5.4.1
9189c1
- removed bogus PIDFile from zabbix-web-service.service file
9189c1
- using conditionals around sub-package definition blocks; fixed wrong arch in rhel-5 package names
a6f440
- denying web server access to vendor subdir in /usr/share/zabbix
a6f440
- renamed config.patch to frontend.patch
a6f440
- replaced conf file sed substitutions with patches
a6f440
9189c1
* Thu May 27 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-9
9189c1
- second build of 5.4.0 agent2
9189c1
- fixed LogFile path substitution for agent2
9189c1
9189c1
* Fri May 14 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-8
9189c1
- update to 5.4.0
9189c1
- setting EXTERNAL_SCRIPTS_PATH and ALERT_SCRIPTS_PATH make variables to /usr/lib/zabbix/*
a6f440
9189c1
* Thu May 13 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.8rc2
9189c1
- update to 5.4.0rc2
a6f440
9189c1
* Tue May 11 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.7rc1
9189c1
- update to 5.4.0rc1
9189c1
9189c1
* Mon Apr 26 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.6beta3
9189c1
- update to 5.4.0beta3
9189c1
- added zabbix-web-service package (ZBXNEXT-6480)
9189c1
9189c1
* Thu Mar 11 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.5beta2
9189c1
- update to 5.4.0beta2
9189c1
- fixed errors and warnings reported by rpmlint
a6f440
- added ProxyTimeout 300 to apache config, when running with php-fpm
9189c1
- removed database subdir from sql-scripts package
a6f440
- added After=postgresql-13.service to server & proxy service files
a6f440
9189c1
* Mon Mar 01 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.4beta1
9189c1
- update to 5.4.0beta1
a6f440
9189c1
* Thu Feb 18 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.3alpha2
9189c1
- update to 5.4.0alpha2
9189c1
- updated java-gateway package to use startup and shutdown scripts from zabbix sources
f950eb
9189c1
* Thu Jan 28 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.2alpha1
9189c1
- second build of 5.4.0alpha1
9189c1
- fixed BuildArch and files section for zabbix-sql-scripts package
3d6ffe
9189c1
* Thu Jan 28 2021 Zabbix Packager <info@zabbix.com> - 5.4.0-0.1alpha1
9189c1
- update to 5.4.0alpha1
d2910b
- reworked spec file to allow selecting which packages are being built via macros (ZBX-18826)
b2db79
9189c1
* Mon Dec 21 2020 Zabbix Packager <info@zabbix.com> - 5.2.3-1
9189c1
- update to 5.2.3
1c3a77
9189c1
* Mon Nov 30 2020 Zabbix Packager <info@zabbix.com> - 5.2.2-1
9189c1
- update to 5.2.2
9189c1
- added proxy and java-gateway to rhel-7
1c3a77
9189c1
* Fri Oct 30 2020 Zabbix Packager <info@zabbix.com> - 5.2.1-1
9189c1
- update to 5.2.1
1c3a77
9189c1
* Mon Oct 26 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-1
9189c1
- update to 5.2.0
9189c1
9189c1
* Thu Oct 22 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.7rc2
9189c1
- update to 5.2.0rc2
9189c1
9189c1
* Tue Oct 20 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.6rc1
9189c1
- update to 5.2.0rc1
9189c1
9189c1
* Mon Oct 12 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.5beta2
9189c1
- update to 5.2.0beta2
9189c1
9189c1
* Mon Sep 28 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.4beta1
9189c1
- update to 5.2.0beta1
9189c1
- added User=zabbix & Group=zabbix to all service files
9189c1
9189c1
* Mon Sep 14 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.3alpha3
9189c1
- update to 5.2.0alpha3
1c3a77
- added separate zabbix-web-deps package
9189c1
- doing hardened builds on rhel >= 8
9189c1
- removed libyaml.patch
9189c1
- overriding ExternalScripts & AlertScriptsPath in binaries instead of config files (ZBX-17983)
9189c1
9189c1
* Mon Aug 31 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.2alpha2
9189c1
- update to 5.2.0alpha2
9189c1
- building only agent, sender & get packages on rhel <= 7
1c3a77
- creating empty log file for agent2 (ZBX-18243)
1c3a77
9189c1
* Mon Aug 17 2020 Zabbix Packager <info@zabbix.com> - 5.2.0-0.1alpha1
9189c1
- update to 5.2.0alpha1
9189c1
- building server and proxy with mysql 8 & 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