/[smecontribs]/rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy.spec
ViewVC logotype

Contents of /rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Fri Oct 7 16:31:13 2011 UTC (13 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-10_el4_sme, HEAD
Changes since 1.7: +7 -2 lines
Error occurred while calculating annotation data.
* Fri Oct 07 2011 Daniel B. <daniel@firewall-services.com> 0.1-11
- Fixe 2 directives (needed for Zabbix 1.8.8)

1 # $Id: smeserver-zabbix-proxy.spec,v 1.7 2010/11/25 11:08:50 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 %define name smeserver-zabbix-proxy
6 %define version 0.1
7 %define release 10
8 Summary: sme server integration of zabbix proxy
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 3
13 URL: http://www.zabbix.com/
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
16 Patch0: smeserver-zabbix-server-0.1-sendxmpp_template.patch
17 Patch1: smeserver-zabbix-server-0.1-sendxmpp_shell_script_header.patch
18 Patch2: smeserver-zabbix-server-0.1-disable_web_access.patch
19 Patch3: smeserver-zabbix-server-0.1-mysql_db_pass.patch
20 Patch4: smeserver-zabbix-server-0.1-script_and_tmp_location.patch
21 Patch5: smeserver-zabbix-server-0.1-event_zabbix-server-update.patch
22 Patch6: smeserver-zabbix-proxy-0.1-server2proxy.patch
23 Patch7: smeserver-zabbix-proxy-0.1-createlinks_fixes.patch
24 Patch8: smeserver-zabbix-proxy-0.1-enable_db_cache.patch
25 Patch9: smeserver-zabbix-proxy-0.1-fixe_sudoers_expand_template.patch
26 Patch10: smeserver-zabbix-proxy-0.1-multiple_dbpatches.patch
27 Patch11: smeserver-zabbix-proxy-0.1-hostname_from_db.patch
28 Patch12: smeserver-zabbix-proxy-0.1-fix_proxy_directives.patch
29
30 BuildArchitectures: noarch
31 BuildRequires: e-smith-devtools
32 BuildRoot: /var/tmp/%{name}-%{version}
33 Requires: e-smith-release >= 7.0
34 Requires: fping
35 Requires: zabbix-server-mysql
36 Requires: zabbix-proxy-mysql
37 Requires: smeserver-remoteuseraccess
38 Conflicts: smeserver-zabbix-server
39 AutoReqProv: no
40
41 %description
42 smserver integration of zabbix proxy
43 Zabbix is an entreprise-class open source distributed monitoring
44 solution
45
46 %changelog
47 * Fri Oct 07 2011 Daniel B. <daniel@firewall-services.com> 0.1-11
48 - Fixe 2 directives (needed for Zabbix 1.8.8)
49
50 * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-9
51 - Requires the mysql variant of server and proxy
52
53 * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
54 - Possibility to set Hostname from the DB
55
56 * Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-7
57 - Support multiple dbpatches
58
59 * Mon Sep 28 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
60 - Fixe /etc/sudoers template expension during zabbix-proxy-update event
61
62 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
63 - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
64
65 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
66 - Disable DB cache as it seems to cause IPC problems
67
68 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
69 - enable DB cache with StartDBSyncers directive
70
71 * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
72 - Fix permissions on /var/lib/zabbix/tmp
73
74 * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
75 - Fix createlinks
76
77 * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
78 - initial release
79
80 %prep
81 %setup
82 %patch0 -p1
83 %patch1 -p1
84 %patch2 -p1
85 %patch3 -p1
86 %patch4 -p1
87 %patch5 -p1
88 %patch6 -p1
89 %patch7 -p1
90 #%patch8 -p1
91 %patch9 -p1
92 %patch10 -p1
93 %patch11 -p1
94 %patch12 -p1
95
96 %build
97 perl ./createlinks
98 %{__mkdir_p} root/var/lib/zabbix/tmp
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
103 rm -f %{name}-%{version}-filelist
104 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
105 --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
106 --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
107 --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
108 > %{name}-%{version}-filelist
109
110 %files -f %{name}-%{version}-filelist
111 %defattr(-,root,root)
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116
117 %postun
118 #uninstall
119 if [ $1 = 0 ] ; then
120 /sbin/e-smith/db configuration setprop zabbix-proxy status disabled
121 /etc/init.d/zabbix-proxy stop
122 fi
123
124 true

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed