1 |
# $Id: smeserver-zabbix-agent.spec,v 1.30 2011/07/08 07:42:29 vip-ire Exp $ |
# $Id: smeserver-zabbix-agent.spec,v 1.33 2012/06/07 16:23:16 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define name smeserver-zabbix-agent |
%define name smeserver-zabbix-agent |
6 |
%define version 0.1 |
%define version 0.1 |
7 |
%define release 49 |
%define release 52 |
8 |
Summary: sme server integration of zabbix agent |
Summary: sme server integration of zabbix agent |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
77 |
Patch61: smeserver-zabbix-agent-0.1-statusmail.patch |
Patch61: smeserver-zabbix-agent-0.1-statusmail.patch |
78 |
Patch62: smeserver-zabbix-agent-0.1-configure_timeout.patch |
Patch62: smeserver-zabbix-agent-0.1-configure_timeout.patch |
79 |
Patch63: smeserver-zabbix-agent-0.1-better_asterisk_monitoring.patch |
Patch63: smeserver-zabbix-agent-0.1-better_asterisk_monitoring.patch |
80 |
|
Patch64: smeserver-zabbix-agent-0.1-fix_closing_bracket.patch |
81 |
|
Patch65: smeserver-zabbix-agent-0.1-check_crt_expiration.patch |
82 |
|
|
83 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
84 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
86 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 7.0 |
87 |
Requires: zabbix-agent |
Requires: zabbix-agent |
88 |
Requires: smeserver-remoteuseraccess |
Requires: smeserver-remoteuseraccess |
89 |
|
Requires: perl(IO::Socket) |
90 |
|
Requires: perl(Net::SSLeay) |
91 |
|
Requires: perl(Date::Parse) |
92 |
AutoReqProv: no |
AutoReqProv: no |
93 |
|
|
94 |
%description |
%description |
97 |
solution |
solution |
98 |
|
|
99 |
%changelog |
%changelog |
100 |
|
* Thu Jun 7 2012 Daniel B. <daniel@firewall-services.com> - 0.1-52.sme |
101 |
|
- Add missing perl module in dependency |
102 |
|
|
103 |
|
* Thu Jun 7 2012 Daniel B. <daniel@firewall-services.com> - 0.1-51.sme |
104 |
|
- Add certificate expiration script |
105 |
|
|
106 |
|
* Fri Oct 28 2011 Daniel B. <daniel@firewall-services.com> - 0.1-50.sme |
107 |
|
- Fix a closing bracket in templates |
108 |
|
|
109 |
* Wed Oct 26 2011 Daniel B. <daniel@firewall-services.com> - 0.1-49.sme |
* Wed Oct 26 2011 Daniel B. <daniel@firewall-services.com> - 0.1-49.sme |
110 |
- Add better asterisk monitoring capabilities |
- Add better asterisk monitoring capabilities |
111 |
|
|
358 |
%patch61 -p1 |
%patch61 -p1 |
359 |
%patch62 -p1 |
%patch62 -p1 |
360 |
%patch63 -p1 |
%patch63 -p1 |
361 |
|
%patch64 -p1 |
362 |
|
%patch65 -p1 |
363 |
|
|
364 |
%build |
%build |
365 |
%{__mkdir_p} root/var/lib/zabbix/tmp |
%{__mkdir_p} root/var/lib/zabbix/tmp |
382 |
--file /var/lib/zabbix/bin/check_asterisk 'attr(0750,root,zabbix)' \ |
--file /var/lib/zabbix/bin/check_asterisk 'attr(0750,root,zabbix)' \ |
383 |
--file /var/lib/zabbix/bin/check_lvm 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/check_lvm 'attr(0755,root,root)' \ |
384 |
--file /var/lib/zabbix/bin/mailstatus.pl 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/mailstatus.pl 'attr(0755,root,root)' \ |
385 |
|
--file /var/lib/zabbix/bin/cert_expire.pl 'attr(0755,root,root)' \ |
386 |
--dir /var/lib/zabbix/tmp 'attr(0750,zabbix,zabbix)' \ |
--dir /var/lib/zabbix/tmp 'attr(0750,zabbix,zabbix)' \ |
387 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
388 |
|
|