/[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.7 - (show annotations) (download)
Thu Nov 25 11:08:50 2010 UTC (14 years ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-9_el4_sme
Changes since 1.6: +7 -4 lines
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-9
- Requires the mysql variant of server and proxy

1 # $Id: smeserver-zabbix-proxy.spec,v 1.6 2010/10/19 12:00:58 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 9
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
29 BuildArchitectures: noarch
30 BuildRequires: e-smith-devtools
31 BuildRoot: /var/tmp/%{name}-%{version}
32 Requires: e-smith-release >= 7.0
33 Requires: fping
34 Requires: zabbix-server-mysql
35 Requires: zabbix-proxy-mysql
36 Requires: smeserver-remoteuseraccess
37 Conflicts: smeserver-zabbix-server
38 AutoReqProv: no
39
40 %description
41 smserver integration of zabbix proxy
42 Zabbix is an entreprise-class open source distributed monitoring
43 solution
44
45 %changelog
46 * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-9
47 - Requires the mysql variant of server and proxy
48
49 * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
50 - Possibility to set Hostname from the DB
51
52 * Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-7
53 - Support multiple dbpatches
54
55 * Mon Sep 28 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
56 - Fixe /etc/sudoers template expension during zabbix-proxy-update event
57
58 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
59 - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
60
61 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
62 - Disable DB cache as it seems to cause IPC problems
63
64 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
65 - enable DB cache with StartDBSyncers directive
66
67 * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
68 - Fix permissions on /var/lib/zabbix/tmp
69
70 * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
71 - Fix createlinks
72
73 * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
74 - initial release
75
76 %prep
77 %setup
78 %patch0 -p1
79 %patch1 -p1
80 %patch2 -p1
81 %patch3 -p1
82 %patch4 -p1
83 %patch5 -p1
84 %patch6 -p1
85 %patch7 -p1
86 #%patch8 -p1
87 %patch9 -p1
88 %patch10 -p1
89 %patch11 -p1
90
91 %build
92 perl ./createlinks
93 %{__mkdir_p} root/var/lib/zabbix/tmp
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
98 rm -f %{name}-%{version}-filelist
99 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
100 --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
101 --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
102 --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
103 > %{name}-%{version}-filelist
104
105 %files -f %{name}-%{version}-filelist
106 %defattr(-,root,root)
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111
112 %postun
113 #uninstall
114 if [ $1 = 0 ] ; then
115 /sbin/e-smith/db configuration setprop zabbix-proxy status disabled
116 /etc/init.d/zabbix-proxy stop
117 fi
118
119 true

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