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

Annotation of /rpms/smeserver-zabbix-server/contribs9/smeserver-zabbix-server.spec

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


Revision 1.3 - (hide annotations) (download)
Wed Mar 29 17:59:12 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-16_el6_sme
Changes since 1.2: +12 -3 lines
* Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-16.sme
- fix sql init not finding default sql dump to import [SME: 9569]
- NodeID support droped as per zabbix 2.4.0 and higher
- requires smeserver-php-scl as Zabbix-server 3.2.4 requires php 5.4 or higher

1 unnilennium 1.3 # $Id: smeserver-zabbix-server.spec,v 1.2 2016/06/13 16:53:08 unnilennium Exp $
2 stephdl 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     %define name smeserver-zabbix-server
6     %define version 0.1
7 unnilennium 1.3 %define release 16
8 stephdl 1.1 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 unnilennium 1.2 Patch14: smeserver-zabbix-server-0.1-sme9db.patch
32 unnilennium 1.3 Patch15: smeserver-zabbix-server-0.1-sme9zabb3.2.4.patch
33 stephdl 1.1
34     BuildArchitectures: noarch
35     BuildRequires: e-smith-devtools
36     BuildRoot: /var/tmp/%{name}-%{version}
37 unnilennium 1.3 Requires: e-smith-release >= 9.0
38 stephdl 1.1 Requires: fping
39     Requires: zabbix-server-mysql
40     Requires: zabbix-web-mysql
41     Requires: sendxmpp
42     Requires: smeserver-remoteuseraccess
43 unnilennium 1.3 Requires: smeserver-php-scl
44 stephdl 1.1 AutoReqProv: no
45    
46     %description
47     smserver integration of zabbix server and web front-end.
48     ZAbbix is an entreprise-class open source distributed monitoring
49     solution
50    
51     %changelog
52 unnilennium 1.3 * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-16.sme
53     - fix sql init not finding default sql dump to import [SME: 9569]
54     - NodeID support droped as per zabbix 2.4.0 and higher
55     - requires smeserver-php-scl as Zabbix-server 3.2.4 requires php 5.4 or higher
56    
57 unnilennium 1.2 * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-15.sme
58     - finitial import [SME: 9569]
59     - fix php requirement
60     - fix add path to new db
61    
62 stephdl 1.1 * Wed Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-14.sme
63     - New roll for sme9
64    
65     * Mon Apr 29 2013 Daniel B. <daniel@firewall-services.com> 0.1-13
66     - Increase PHP mem limit to 128M
67    
68     * Mon Mar 8 2010 Daniel B. <daniel@firewall-services.com> 0.1-12
69     - Use global TimeZone
70    
71     * Wed Dec 2 2009 Daniel B. <daniel@firewall-services.com> 0.1-11
72     - Support several mysql DB patches
73    
74     * Tue Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-10
75     - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
76    
77     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-9
78     - specify path to .sendxmpprc file in the script sendxmpp
79    
80     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-8
81     - move .sendxmpprc template to the correct directory
82    
83     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-7
84     - Move jabber account informations to xmpprc
85    
86     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
87     - Adjust service masq during zabbix-server-update event
88     - Enable DB cache module with StartDBSyncers directive
89    
90     * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
91     - Fix permissions on /var/lib/zabbix/tmp
92    
93     * Tue Feb 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
94     - rename event zabbix-update to zabbix-server-update
95    
96     * Wed Feb 11 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
97     - disable web access (usefull for distributed monitoring)
98     - Use stronger password for mysql database
99     - Use /var/lib/zabbix/bin as default location for scripts
100     - Use /var/lib/zabbix/tmp for temp dir
101    
102     * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
103     - Link template-begin-shell to template-begin for sendxmpp script
104    
105     * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
106     - templatize sendxmpp as zabbix user doesn't have access to SME db
107     - Add JabberTLS option in the db
108    
109     * Mon Feb 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
110     - initial release
111    
112     %prep
113     %setup
114     %patch0 -p1
115     %patch1 -p1
116     %patch2 -p1
117     %patch3 -p1
118     %patch4 -p1
119     %patch5 -p1
120     %patch6 -p1
121     %patch7 -p1
122     %patch8 -p1
123     %patch9 -p1
124     %patch10 -p1
125     %patch11 -p1
126     %patch12 -p1
127     %patch13 -p1
128 unnilennium 1.2 %patch14 -p1
129 unnilennium 1.3 %patch15 -p1
130    
131 stephdl 1.1
132     %build
133     perl ./createlinks
134     %{__mkdir_p} root/var/lib/zabbix/tmp
135    
136     %install
137     rm -rf $RPM_BUILD_ROOT
138     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
139     rm -f %{name}-%{version}-filelist
140     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
141     --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
142     --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
143     --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
144     > %{name}-%{version}-filelist
145    
146     %files -f %{name}-%{version}-filelist
147     %defattr(-,root,root)
148    
149     %clean
150     rm -rf $RPM_BUILD_ROOT
151    
152    
153     %postun
154     #uninstall
155     if [ $1 = 0 ] ; then
156     /sbin/e-smith/db configuration setprop zabbix-server status disabled
157     /etc/init.d/zabbix-server stop
158     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
159     /usr/bin/sv h /service/httpd-e-smith
160     fi
161    
162     true

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