/[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.6 - (show annotations) (download)
Tue Oct 19 12:00:58 2010 UTC (13 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-8_el4_sme
Changes since 1.5: +7 -2 lines
* Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
- Possibility to set Hostname from the DB

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

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