123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846 |
- %bcond_with systemd
- %define only_agent 0
- %if %{only_agent}
- %bcond_with server
- %bcond_with proxy
- %bcond_with frontend
- %else
- %bcond_without server
- %bcond_without proxy
- %bcond_without frontend
- %endif
- %bcond_without agent
- %bcond_without agent2
- %global php_pkgname php74
- Summary: The Enterprise-class Monitoring Solution for Everyone
- Name: zabbix
- Version: 7.0.2
- Release: 1%{?_dist_release}%{?with_systemd:.systemd}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: iwaim
- License: GPLv2
- URL: https://www.zabbix.com/
- %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
- Source0: https://cdn.zabbix.com/zabbix/sources/stable/%{shortver}/%{name}-%{version}.tar.gz
- Source1: zabbix_server.init
- Source2: zabbix_proxy.init
- Source3: zabbix_agentd.init
- Source4: zabbix_agent2.init
- Source5: zabbix_server.logrotate
- Source6: zabbix_proxy.logrotate
- Source7: zabbix_agentd.logrotate
- Source8: zabbix_agent2.logrotate
- Source9: %{name}-tmpfiles-zabbix.conf
- # systemd units -- Alternatives switches between them (they state their dependencies)
- # https://support.zabbix.com/browse/ZBXNEXT-1593
- Source110: %{name}-agent.service
- Source111: %{name}-agent2.service
- Source112: %{name}-proxy-mysql.service
- Source113: %{name}-proxy-pgsql.service
- Source114: %{name}-server-mysql.service
- Source115: %{name}-server-pgsql.service
- Source120: %{name}-tmpfiles-zabbixsrv.conf
- %if %{with agent2}
- # cd zabbix-7.0.2/src/go; GOPROXY=https://proxy.golang.org,direct go mod vendor
- Source1000: vendor.tar.xz
- %endif
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
- %if %{with server}%{with proxy}
- BuildRequires: libpq-devel
- BuildRequires: libmariadb-devel
- %endif
- %if %{with agent2}
- BuildRequires: golang
- %endif
- BuildRequires: libevent-devel
- BuildRequires: pcre2-devel
- BuildRequires: curl-devel
- BuildRequires: net-snmp-devel
- BuildRequires: OpenIPMI-devel
- BuildRequires: unixODBC-devel
- BuildRequires: libssh2-devel
- BuildRequires: openssl-devel
- Requires(pre): glibc-common
- Requires(pre): shadow-utils
- %if %{with systemd}
- BuildRequires: systemd
- %endif
- %description
- The Enterprise-class Monitoring Solution for Everyone.
- %if %{with server}
- %package server-common
- Summary: common files for Zabbix Server
- Group: servers
- Requires: %{name} == %{version}-%{release}
- %if %{with systemd}
- %{?systemd_requires}
- %else
- Requires(post,preun): chkconfig
- Requires(preun,postun): initscripts
- %endif
- %description server-common
- This package include common files for Zabbix Server.
- %package server-mysql
- Summary: Zabbix Server for MySQL/MariaDB
- Group: servers
- Provides: %{name}-server
- Requires: %{name}-server-common == %{version}-%{release}
- %description server-mysql
- Zabbix Server for MySQL/MariaDB
- %package server-postgresql
- Summary: Zabbix Server for PostgreSQL
- Group: servers
- Provides: %{name}-server
- Requires: %{name}-server-common == %{version}-%{release}
- %description server-postgresql
- Zabbix Server for PostgreSQL
- %endif
- %if %{with agent}
- %package agent
- Summary: Zabbix Agent
- Group: system
- Requires: %{name} == %{version}-%{release}
- %if %{with systemd}
- %{?systemd_requires}
- %else
- Requires(post,preun): chkconfig
- Requires(preun,postun): initscripts
- %endif
- %description agent
- Zabbix Agent
- %endif
- %if %{with agent2}
- %package agent2
- Summary: Zabbix Agent2
- Group: system
- Requires: %{name} == %{version}-%{release}
- %if %{with systemd}
- %{?systemd_requires}
- %else
- Requires(post,preun): chkconfig
- Requires(preun,postun): initscripts
- %endif
- %description agent2
- Zabbix Agent2
- %endif
- %if %{with proxy}
- %package proxy-common
- Summary: common files for Zabbix Proxy
- Group: servers
- Requires: %{name} == %{version}-%{release}
- %if %{with systemd}
- %{?systemd_requires}
- %else
- Requires(post,preun): chkconfig
- Requires(preun,postun): initscripts
- %endif
- %description proxy-common
- This package include common files for Zabbix Proxy
- %package proxy-mysql
- Summary: Zabbix Proxy for MySQL/MariaDB
- Group: servers
- Provides: %{name}-proxy
- Requires: %{name}-proxy-common == %{version}-%{release}
- %description proxy-mysql
- Zabbix Proxy for MySQL/MariaDB
- %package proxy-postgresql
- Summary: Zabbix Proxy for PostgreSQL
- Group: servers
- Provides: %{name}-proxy
- Requires: %{name}-proxy-common == %{version}-%{release}
- %description proxy-postgresql
- Zabbix Proxy for PostgreSQL
- %endif
- %if %{with frontend}
- %package frontend-php
- Summary: Zabbix web frontend with PHP
- Group: servers
- Requires: %{php_pkgname}
- Requires: TrueType-vlgothic
- %description frontend-php
- Zabbix web frontend with PHP.
- %package frontend-php-mysql
- Summary: Zabbix web frontend with PHP and MySQL/MariaDB
- Group: servers
- Provides: %{name}-frontend-php == %{version}-%{release}
- Requires: %{php_pkgname}-mysql
- %description frontend-php-mysql
- Zabbix web frontend with PHP and MySQL/MariaDB.
- %package frontend-php-postgresql
- Summary: Zabbix web frontend with PHP and PostgreSQL
- Group: servers
- Provides: %{name}-frontend-php == %{version}-%{release}
- Requires: %{php_pkgname}-pgsql
- %description frontend-php-postgresql
- Zabbix web frontend with PHP and PostgreSQL.
- %endif
- %debug_package
- %prep
- %setup -q -T -a 0 -c -n zabbix-%{version}
- %if %{with agent2}
- pushd zabbix-%{version}/src/go
- tar xvf %{SOURCE1000}
- popd
- %endif
- mv zabbix-%{version} zabbix_mysql
- %if %{with server}%{with proxy}
- %setup -q -D -T -a 0 -n zabbix-%{version}
- mv zabbix-%{version} zabbix_pgsql
- %endif
- for v in mysql pgsql; do
- pushd zabbix_$v
- sed -i -e 's/DejaVuSans/VL-Gothic-Regular/g' ./ui/include/defines.inc.php
- sed -i \
- -e '\|^# PidFile=.*|a PidFile=/run/zabbix/zabbix_agentd.pid' \
- -e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_agentd.log|' \
- conf/zabbix_agentd.conf
- sed -i \
- -e '\|^# PidFile=.*|a PidFile=/run/zabbix/zabbix_proxy.pid' \
- -e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_proxy.log|' \
- conf/zabbix_proxy.conf
- sed -i \
- -e '\|^# PidFile=.*|a PidFile=/run/zabbix/zabbix_server.pid' \
- -e 's|^LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_server.log|' \
- conf/zabbix_server.conf
- #'
- popd
- done
- %build
- Build()
- {
- perl -pi -e 's|/usr/bin/traceroute|/bin/traceroute|' \
- ./database/{ibm_db2,mysql,oracle,postgresql,sqlite3}/data.sql
- %configure \
- %{?with_server:--enable-server} \
- %{?with_proxy:--enable-proxy} \
- --enable-ipv6 \
- --sysconfdir=%{_sysconfdir}/zabbix \
- --with-libcurl \
- --with-openipmi \
- --with-net-snmp \
- --with-unixodbc \
- --with-ssh2 \
- --with-openssl \
- --with-libpcre2 \
- $@
- %__make
- }
- %if %{with server}%{with proxy}
- pushd zabbix_mysql
- Build \
- --with-mysql \
- %{?with_agent:--enable-agent} \
- %{?with_agent2:--enable-agent2} \
- %{nil}
- popd
- pushd zabbix_pgsql
- Build --with-postgresql
- popd
- %else
- pushd zabbix_mysql
- Build
- popd
- %endif
- %install
- %__rm -rf %{buildroot}
- pushd zabbix_mysql
- make DESTDIR=%{buildroot} install
- %if %{with server}
- mv -f %{buildroot}%{_sbindir}/zabbix_server %{buildroot}%{_sbindir}/zabbix_server.mysql
- %endif
- %if %{with proxy}
- mv -f %{buildroot}%{_sbindir}/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy.mysql
- %endif
- # make directories
- %__mkdir_p %{buildroot}%{_localstatedir}/{log,run}/%{name}
- # DB
- %__mkdir_p %{buildroot}%{_datadir}/zabbix
- %if %{with server}%{with proxy}
- %__cp -a database/postgresql %{buildroot}%{_datadir}/zabbix/
- %__cp -a database/mysql %{buildroot}%{_datadir}/zabbix/
- %endif
- %if %{with agent2}
- sed -i \
- -e '/^# PidFile=/a PidFile=/run/zabbix/zabbix_agent2.pid' \
- -e '/^# LogFile=/a LogFile=/var/log/zabbix/zabbix_agent2.log' \
- %{buildroot}/etc/zabbix/zabbix_agent2.conf
- %endif
- %if %{with systemd}
- # unit files
- %__mkdir_p %{buildroot}%{_unitdir}
- # Install different systemd units because of the requirements for DBMS daemons
- install -m 0644 -p %{SOURCE110} %{buildroot}%{_unitdir}/zabbix-agent.service
- install -m 0644 -p %{SOURCE111} %{buildroot}%{_unitdir}/zabbix-agent2.service
- install -m 0644 -p %{SOURCE112} %{buildroot}%{_unitdir}/zabbix-proxy-mysql.service
- install -m 0644 -p %{SOURCE113} %{buildroot}%{_unitdir}/zabbix-proxy-pgsql.service
- install -m 0644 -p %{SOURCE114} %{buildroot}%{_unitdir}/zabbix-server-mysql.service
- install -m 0644 -p %{SOURCE115} %{buildroot}%{_unitdir}/zabbix-server-pgsql.service
- # systemd tmpfiles
- mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
- install -m 0644 -p %{SOURCE9} %{buildroot}%{_prefix}/lib/tmpfiles.d/zabbix.conf
- %else
- # init.d
- %__mkdir_p %{buildroot}%{_initddir}
- %if %{with server}
- %__cp %{SOURCE1} %{buildroot}%{_initddir}/zabbix_server
- %endif
- %if %{with proxy}
- %__cp %{SOURCE2} %{buildroot}%{_initddir}/zabbix_proxy
- %endif
- %if %{with agent}
- %__cp %{SOURCE3} %{buildroot}%{_initddir}/zabbix_agentd
- %endif
- %if %{with agent2}
- %__cp %{SOURCE4} %{buildroot}%{_initddir}/zabbix_agent2
- %endif
- %endif
- # logrotate
- %__mkdir_p %{buildroot}%{_sysconfdir}/logrotate.d
- %if %{with server}
- %__cp %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/zabbix_server
- %endif
- %if %{with proxy}
- %__cp %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/zabbix_proxy
- %endif
- %if %{with agent}
- %__cp %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/zabbix_agentd
- %endif
- %if %{with agent2}
- %__cp %{SOURCE8} %{buildroot}%{_sysconfdir}/logrotate.d/zabbix_agent2
- %endif
- %if %{with frontend}
- # frontend-php
- %__mkdir_p %{buildroot}%{_datadir}/zabbix-frontend
- %__cp -a ui %{buildroot}%{_datadir}/zabbix-frontend/php
- %__rm -f %{buildroot}%{_datadir}/zabbix-frontend/php/assets/fonts/DejaVuSans.ttf
- ln -s /usr/share/fonts/TrueType-vlgothic/VL-Gothic-Regular.ttf \
- %{buildroot}%{_datadir}/zabbix-frontend/php/assets/fonts/
- %endif
- %if %{with proxy}
- # proxy
- mkdir -p %{buildroot}%{_datadir}/zabbix-proxy
- ln -sf ../zabbix/mysql %{buildroot}%{_datadir}/zabbix-proxy/
- ln -sf ../zabbix/postgresql %{buildroot}%{_datadir}/zabbix-proxy/
- %endif
- popd
- %if %{with server}%{with proxy}
- pushd zabbix_pgsql
- install -m755 src/zabbix_server/zabbix_server %{buildroot}%{_sbindir}/zabbix_server.pgsql
- install -m755 src/zabbix_proxy/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy.pgsql
- popd
- %endif
- %pre
- getent group zabbix >/dev/null || groupadd -r zabbix
- getent passwd zabbix >/dev/null || \
- useradd -r -g zabbix -d %{_sysconfdir}/zabbix -s /sbin/nologin \
- -c "Zabbix Monitoring Solution" zabbix
- exit 0
- %if %{with server}
- %post server-mysql
- %if %{with systemd}
- %systemd_post zabbix-server-mysql.service
- %else
- /sbin/update-alternatives --install /usr/sbin/zabbix_server \
- zabbix_server /usr/sbin/zabbix_server.mysql 10
- %endif
- %post server-postgresql
- %if %{with systemd}
- %systemd_post zabbix-server-pgsql.service
- %else
- /sbin/update-alternatives --install /usr/sbin/zabbix_server \
- zabbix_server /usr/sbin/zabbix_server.pgsql 10
- /sbin/chkconfig --add zabbix_server
- %endif
- %endif
- %if %{with proxy}
- %post proxy-mysql
- %if %{with systemd}
- %systemd_post zabbix-proxy-mysql.service
- %else
- /sbin/update-alternatives --install /usr/sbin/zabbix_proxy \
- zabbix_proxy /usr/sbin/zabbix_proxy.mysql 10
- /sbin/chkconfig --add zabbix_proxy
- %endif
- %post proxy-postgresql
- %if %{with systemd}
- %systemd_post zabbix-proxy-pgsql.service
- %else
- /sbin/update-alternatives --install /usr/sbin/zabbix_proxy \
- zabbix_proxy /usr/sbin/zabbix_proxy.pgsql 10
- /sbin/chkconfig --add zabbix_proxy
- %endif
- %endif
- %if %{with agent}
- %post agent
- %if %{with systemd}
- %systemd_post zabbix-agent.service
- %else
- /sbin/chkconfig --add zabbix_agentd
- %endif
- %endif
- %if %{with agent2}
- %post agent2
- %if %{with systemd}
- %systemd_post zabbix-agent2.service
- %else
- /sbin/chkconfig --add zabbix_agent2
- %endif
- %endif
- %if %{with server}
- %preun server-mysql
- %if %{with systemd}
- %systemd_preun zabbix-server-mysql.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_server stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_server
- /sbin/update-alternatives --remove zabbix_server \
- /usr/sbin/zabbix_server.mysql
- fi
- %endif
- %preun server-postgresql
- %if %{with systemd}
- %systemd_preun zabbix-server-pgysql.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_server stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_server
- /sbin/update-alternatives --remove zabbix_server \
- /usr/sbin/zabbix_server.pgsql
- fi
- %endif
- %endif
- %if %{with proxy}
- %preun proxy-mysql
- %if %{with systemd}
- %systemd_preun zabbix-proxy-mysql.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_proxy stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_proxy
- /sbin/update-alternatives --remove zabbix_proxy \
- /usr/sbin/zabbix_proxy.mysql
- fi
- %endif
- %preun proxy-postgresql
- %if %{with systemd}
- %systemd_preun zabbix-proxy-pgsql.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_proxy stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_proxy
- /sbin/update-alternatives --remove zabbix_proxy \
- /usr/sbin/zabbix_proxy.pgsql
- fi
- %endif
- %endif
- %if %{with agent}
- %preun agent
- %if %{with systemd}
- %systemd_preun zabbix-agent.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_agentd stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_agentd
- fi
- %endif
- %endif
- %if %{with agent2}
- %preun agent2
- %if %{with systemd}
- %systemd_preun zabbix-agent2.service
- %else
- if [ "$1" -eq 0 -o -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_agent2 stop >/dev/null 2>&1
- /sbin/chkconfig --del zabbix_agent2
- fi
- %endif
- %endif
- %if %{with server}
- %postun server-mysql
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-server-mysql.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_server condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %postun server-postgresql
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-server-pgsql.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_server condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %endif
- %if %{with proxy}
- %postun proxy-mysql
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-proxy-mysql.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_proxy condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %postun proxy-postgresql
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-proxy-pgsql.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_proxy condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %endif
- %if %{with agent}
- %postun agent
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-agent.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_agentd condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %endif
- %if %{with agent2}
- %postun agent2
- %if %{with systemd}
- %systemd_postun_with_restart zabbix-agent2.service
- %else
- if [ "$1" -ge "1" -a ! -x /usr/bin/systemctl ]; then
- /sbin/service zabbix_agent2 condrestart >/dev/null 2>&1 || :
- fi
- %endif
- %endif
- %files
- %defattr(-,root,root,-)
- %license zabbix_mysql/COPYING
- %doc zabbix_mysql/AUTHORS zabbix_mysql/ChangeLog zabbix_mysql/NEWS zabbix_mysql/README
- %attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/%{name}
- %dir %{_datadir}/zabbix
- %if %{with server}%{with proxy}
- %{_datadir}/zabbix/mysql
- %{_datadir}/zabbix/postgresql
- %endif
- %if %{with systemd}
- %{_prefix}/lib/tmpfiles.d/zabbix.conf
- %endif
- %{_bindir}/zabbix_js
- %if %{with server}
- %files server-common
- %defattr(-,root,root,-)
- %dir %{_sysconfdir}/zabbix
- %config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf
- %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix_server
- %if !%{with systemd}
- %{_initddir}/zabbix_server*
- %endif
- %{_mandir}/man8/zabbix_server.8*
- %files server-mysql
- %defattr(-,root,root,-)
- %{_sbindir}/zabbix_server.mysql
- %if %{with systemd}
- %{_unitdir}/zabbix-server-mysql.service
- %endif
- %files server-postgresql
- %defattr(-,root,root,-)
- %{_sbindir}/zabbix_server.pgsql
- %if %{with systemd}
- %{_unitdir}/zabbix-server-pgsql.service
- %endif
- %endif
- %if %{with agent}
- %files agent
- %defattr(-,root,root,-)
- %dir %{_sysconfdir}/zabbix
- %config(noreplace) %{_sysconfdir}/zabbix/zabbix_agentd.conf
- %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix_agentd
- %{_bindir}/zabbix_get
- %{_bindir}/zabbix_sender
- %{_sbindir}/zabbix_agentd
- %if %{with systemd}
- %{_unitdir}/zabbix-agent.service
- %else
- %{_initddir}/zabbix_agentd
- %endif
- %{_mandir}/man1/zabbix_get.1*
- %{_mandir}/man1/zabbix_sender.1*
- %{_mandir}/man8/zabbix_agentd.8*
- %endif
- %if %{with agent2}
- %files agent2
- %defattr(-,root,root,-)
- %dir %{_sysconfdir}/zabbix
- %config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent2.conf
- %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix_agent2
- %dir %{_sysconfdir}/zabbix/zabbix_agent2.d
- %dir %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d
- %{_sysconfdir}/zabbix/zabbix_agent2.d/plugins.d/*.conf
- %{_sbindir}/zabbix_agent2
- %{_mandir}/man8/zabbix_agent2.8*
- %if %{with systemd}
- %{_unitdir}/zabbix-agent2.service
- %else
- %{_initddir}/zabbix_agent2
- %endif
- %endif
- %if %{with proxy}
- %files proxy-common
- %defattr(-,root,root,-)
- %dir %{_sysconfdir}/zabbix
- %config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf
- %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix_proxy
- %if !%{with systemd}
- %{_initddir}/zabbix_proxy
- %endif
- %{_mandir}/man8/zabbix_proxy.8*
- %{_datadir}/zabbix-proxy
- %files proxy-mysql
- %defattr(-,root,root,-)
- %{_sbindir}/zabbix_proxy.mysql
- %if %{with systemd}
- %{_unitdir}/zabbix-proxy-mysql.service
- %endif
- %files proxy-postgresql
- %defattr(-,root,root,-)
- %{_sbindir}/zabbix_proxy.pgsql
- %if %{with systemd}
- %{_unitdir}/zabbix-proxy-pgsql.service
- %endif
- %endif
- %if %{with frontend}
- %files frontend-php
- %defattr(-,root,root,-)
- %license zabbix_mysql/COPYING
- %doc zabbix_mysql/AUTHORS zabbix_mysql/ChangeLog zabbix_mysql/NEWS zabbix_mysql/README
- %dir %{_datadir}/zabbix-frontend
- %{_datadir}/zabbix-frontend/php
- %files frontend-php-mysql
- %files frontend-php-postgresql
- %endif
- %changelog
- * Mon Aug 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.2-1
- - new upstream release.
- * Wed Jul 24 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.1-1
- - new upstream release.
- * Wed Oct 18 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.22-1
- - new upstream release.
- * Wed Jul 26 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.19-1
- - new upstream release.
- * Fri Apr 14 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.16-1
- - new upstream release.
- * Sat Dec 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.12-1
- - new upstream release.
- * Fri Sep 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.8-1
- - new upstream release.
- * Fri Jul 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.0.6-1
- - new upstream release.
- * Sat Jan 22 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.19-1
- - new upstream release.
- * Tue Oct 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.16-1
- - new upstream release.
- * Tue Aug 31 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.15-1
- - new upstream release.
- * Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.9-1
- - new upstream release.
- * Sun Dec 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.6-1
- - new upstream release.
- * Tue Sep 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.3-1
- - new upstream release.
- * Thu Jul 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.2-1
- - new upstream release.
- - dropped all patches: made to get the same effect by another method.
- * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.19-2
- - rebuilt with libevent-2.1.11.
- * Mon Apr 06 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.19-1
- - new upstream release.
- - dropped Patch3: fixed in upstream.
- - changed R:php5 to R:php74.
- - added systemd support (disabled as default).
- * Thu Dec 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.15-1
- - new upstream release.
- - imported Patch13 from upstream to support php74.
- * Thu Oct 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.13-1
- - new upstream release.
- - updated patches.
- * Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0.7-1
- - new upstream release.
- - switched to 4.0 LTS.
- - dropped Patch0: made to get same effect by another method.
- - updated Patch1 and 2.
- * Wed Nov 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.23-1
- - new upstream release.
- * Tue Jun 12 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 3.0.13-2
- - accept building only agent
- * Thu Dec 21 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.13-1
- - new upstream release.
- * Fri Apr 21 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.8-1
- - new upstream release.
- * Fri Mar 18 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0.1-1
- - new upstream release.
- - disabled jabber support.
- * Wed Sep 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-1
- - new upstream release.
- * Sat Apr 11 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.9-1
- - new upstream release.
- * Sun Jul 6 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.4-1
- - new upstream release.
- - built with both of mysql and postgresql.
- * Mon Oct 07 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.8-1
- - update to 2.0.8
- * Wed Feb 20 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.5-2
- - use %%bcond_with mysql to build with mysql
- * Tue Feb 19 2013 IWAI, Masaharu <iwai@alib.jp> 2.0.5-1
- - update to 2.0.5
- - add using MySQL client library switch: default no
- - define use_postfix and use_mysql
- - add BuildRequires: MySQL-devel
- - add configure option: --with-mysql
- * Thu Feb 7 2013 IWAI, Masaharu <iwai@alib.jp> 2.0.4-1
- - initial build for Vine Linux
|