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

Annotation 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.2 - (hide annotations) (download)
Mon Mar 2 23:53:30 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-9_el4_sme
Changes since 1.1: +4 -2 lines
Spec updates

1 slords 1.2 # $Id$
2     # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5 slords 1.1 %define name smeserver-zabbix-server
6     %define version 0.1
7     %define release 9
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    
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-web-mysql
36     Requires: sendxmpp
37     AutoReqProv: no
38    
39     %description
40     smserver integration of zabbix server and web front-end.
41     ZAbbix is an entreprise-class open source distributed monitoring
42     solution
43    
44     %changelog
45     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-9
46     - specify path to .sendxmpprc file in the script sendxmpp
47    
48     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-8
49     - move .sendxmpprc template to the correct directory
50    
51     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-7
52     - Move jabber account informations to xmpprc
53    
54     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
55     - Adjust service masq during zabbix-server-update event
56     - Enable DB cache module with StartDBSyncers directive
57    
58     * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
59     - Fix permissions on /var/lib/zabbix/tmp
60    
61     * Tue Feb 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
62     - rename event zabbix-update to zabbix-server-update
63    
64     * Wed Feb 11 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
65     - disable web access (usefull for distributed monitoring)
66     - Use stronger password for mysql database
67     - Use /var/lib/zabbix/bin as default location for scripts
68     - Use /var/lib/zabbix/tmp for temp dir
69    
70     * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
71     - Link template-begin-shell to template-begin for sendxmpp script
72    
73     * Fri Feb 06 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
74     - templatize sendxmpp as zabbix user doesn't have access to SME db
75     - Add JabberTLS option in the db
76    
77     * Mon Feb 02 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    
94     %build
95     perl ./createlinks
96     %{__mkdir_p} root/var/lib/zabbix/tmp
97    
98     %install
99     rm -rf $RPM_BUILD_ROOT
100     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
101     rm -f %{name}-%{version}-filelist
102     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
103     --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
104     --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
105     --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
106     > %{name}-%{version}-filelist
107    
108     %files -f %{name}-%{version}-filelist
109     %defattr(-,root,root)
110    
111     %clean
112     rm -rf $RPM_BUILD_ROOT
113    
114    
115     %postun
116     #uninstall
117     if [ $1 = 0 ] ; then
118     /sbin/e-smith/db configuration setprop zabbix-server status disabled
119     /etc/init.d/zabbix-server stop
120     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
121     /usr/bin/sv h /service/httpd-e-smith
122     fi
123    
124     true

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