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

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

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


Revision 1.5 - (show annotations) (download)
Mon Apr 29 20:23:57 2013 UTC (11 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-13_el4_sme, HEAD
Changes since 1.4: +7 -2 lines
* Mon Apr 29 2013 Daniel B. <daniel@firewall-services.com> 0.1-13
- Increase PHP mem limit to 128M

1 # $Id: smeserver-zabbix-server.spec,v 1.4 2010/03/08 07:41:27 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 %define name smeserver-zabbix-server
6 %define version 0.1
7 %define release 13
8 Summary: sme server integration of zabbix server and web front-end
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GNU GPL version 2
13 URL: http://www.zabbix.com/
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
16
17 Patch0: smeserver-zabbix-server-0.1-sendxmpp_template.patch
18 Patch1: smeserver-zabbix-server-0.1-sendxmpp_shell_script_header.patch
19 Patch2: smeserver-zabbix-server-0.1-disable_web_access.patch
20 Patch3: smeserver-zabbix-server-0.1-mysql_db_pass.patch
21 Patch4: smeserver-zabbix-server-0.1-script_and_tmp_location.patch
22 Patch5: smeserver-zabbix-server-0.1-event_zabbix-server-update.patch
23 Patch6: smeserver-zabbix-server-0.1-enable_db_cache.patch
24 Patch7: smeserver-zabbix-server-0.1-adjust_masq.patch
25 Patch8: smeserver-zabbix-server-0.1-sendxmpprc.patch
26 Patch9: smeserver-zabbix-server-0.1-sendxmpprc_template_fix.patch
27 Patch10: smeserver-zabbix-server-0.1-path2sendxmpprc.patch
28 Patch11: smeserver-zabbix-server-0.1-multiple_dbpatches.patch
29 Patch12: smeserver-zabbix-server-0.1-use_global_tz.patch
30 Patch13: smeserver-zabbix-server-0.1-php_mem_limit.patch
31
32 BuildArchitectures: noarch
33 BuildRequires: e-smith-devtools
34 BuildRoot: /var/tmp/%{name}-%{version}
35 Requires: e-smith-release >= 7.0
36 Requires: fping
37 Requires: zabbix-server-mysql
38 Requires: zabbix-web-mysql
39 Requires: sendxmpp
40 Requires: smeserver-remoteuseraccess
41 AutoReqProv: no
42
43 %description
44 smserver integration of zabbix server and web front-end.
45 ZAbbix is an entreprise-class open source distributed monitoring
46 solution
47
48 %changelog
49 * Mon Apr 29 2013 Daniel B. <daniel@firewall-services.com> 0.1-13
50 - Increase PHP mem limit to 128M
51
52 * Mon Mar 8 2010 Daniel B. <daniel@firewall-services.com> 0.1-12
53 - Use global TimeZone
54
55 * Wed Dec 2 2009 Daniel B. <daniel@firewall-services.com> 0.1-11
56 - Support several mysql DB patches
57
58 * Tue Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-10
59 - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
60
61 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-9
62 - specify path to .sendxmpprc file in the script sendxmpp
63
64 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-8
65 - move .sendxmpprc template to the correct directory
66
67 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-7
68 - Move jabber account informations to xmpprc
69
70 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
71 - Adjust service masq during zabbix-server-update event
72 - Enable DB cache module with StartDBSyncers directive
73
74 * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
75 - Fix permissions on /var/lib/zabbix/tmp
76
77 * Tue Feb 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
78 - rename event zabbix-update to zabbix-server-update
79
80 * Wed Feb 11 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
81 - disable web access (usefull for distributed monitoring)
82 - Use stronger password for mysql database
83 - Use /var/lib/zabbix/bin as default location for scripts
84 - Use /var/lib/zabbix/tmp for temp dir
85
86 * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
87 - Link template-begin-shell to template-begin for sendxmpp script
88
89 * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
90 - templatize sendxmpp as zabbix user doesn't have access to SME db
91 - Add JabberTLS option in the db
92
93 * Mon Feb 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
94 - initial release
95
96 %prep
97 %setup
98 %patch0 -p1
99 %patch1 -p1
100 %patch2 -p1
101 %patch3 -p1
102 %patch4 -p1
103 %patch5 -p1
104 %patch6 -p1
105 %patch7 -p1
106 %patch8 -p1
107 %patch9 -p1
108 %patch10 -p1
109 %patch11 -p1
110 %patch12 -p1
111 %patch13 -p1
112
113 %build
114 perl ./createlinks
115 %{__mkdir_p} root/var/lib/zabbix/tmp
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
120 rm -f %{name}-%{version}-filelist
121 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
122 --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
123 --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
124 --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
125 > %{name}-%{version}-filelist
126
127 %files -f %{name}-%{version}-filelist
128 %defattr(-,root,root)
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133
134 %postun
135 #uninstall
136 if [ $1 = 0 ] ; then
137 /sbin/e-smith/db configuration setprop zabbix-server status disabled
138 /etc/init.d/zabbix-server stop
139 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
140 /usr/bin/sv h /service/httpd-e-smith
141 fi
142
143 true

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