X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=zabbix.spec;h=649374423dfcea8b59e99a705d8ae8f345364da4;hb=6d42d3f9af0d8e54eb7c19e03c153fd3323f7ec6;hp=57ef7b07cd20037a5b6305906806a380a38c280a;hpb=77c79d1b031260c94bc6a6ce8de70de8719b401d;p=packages%2Fzabbix.git diff --git a/zabbix.spec b/zabbix.spec index 57ef7b0..6493744 100644 --- a/zabbix.spec +++ b/zabbix.spec @@ -15,13 +15,15 @@ Summary: Zabbix - network monitoring software Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci Name: zabbix Version: 5.0.7 -Release: 0.1 +Release: 0.2 License: GPL v2+ Group: Networking/Utilities Source0: https://cdn.zabbix.com/zabbix/sources/stable/5.0/%{name}-%{version}.tar.gz # Source0-md5: e0798bb1b53ab7b451556dc34c3b1827 Source1: %{name}-apache.conf Source2: %{name}_agentd.init +Source3: %{name}_server.init +Source4: %{name}_proxy.init Patch0: tld.patch Patch1: sqlite3_dbname.patch Patch2: always_compile_ipc.patch @@ -332,6 +334,8 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/zabbix_agentd +install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/zabbix_server +install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/zabbix_proxy mv $RPM_BUILD_ROOT%{_appdir}/ui/conf $RPM_BUILD_ROOT%{_sysconfdir}/web ln -s %{_sysconfdir}/web $RPM_BUILD_ROOT%{_appdir}/ui/conf @@ -473,6 +477,7 @@ ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || : %defattr(644,root,root,755) %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d +%attr(754,root,root) /etc/rc.d/init.d/zabbix_proxy %ghost %attr(755,root,root) %{_sbindir}/zabbix_proxy %{_mandir}/man8/zabbix_proxy* %endif @@ -501,6 +506,7 @@ ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || : %defattr(644,root,root,755) %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d +%attr(754,root,root) /etc/rc.d/init.d/zabbix_server %ghost %attr(755,root,root) %{_sbindir}/zabbix_server %{_mandir}/man8/zabbix_server* %endif