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

Annotation 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 - (hide annotations) (download)
Thu Nov 25 11:08:50 2010 UTC (13 years, 5 months 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 vip-ire 1.7 # $Id: smeserver-zabbix-proxy.spec,v 1.6 2010/10/19 12:00:58 vip-ire Exp $
2 slords 1.2 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5 slords 1.1 %define name smeserver-zabbix-proxy
6     %define version 0.1
7 vip-ire 1.7 %define release 9
8 slords 1.1 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 vip-ire 1.4 Patch9: smeserver-zabbix-proxy-0.1-fixe_sudoers_expand_template.patch
26 vip-ire 1.5 Patch10: smeserver-zabbix-proxy-0.1-multiple_dbpatches.patch
27 vip-ire 1.6 Patch11: smeserver-zabbix-proxy-0.1-hostname_from_db.patch
28 slords 1.1
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 vip-ire 1.7 Requires: zabbix-server-mysql
35     Requires: zabbix-proxy-mysql
36 vip-ire 1.3 Requires: smeserver-remoteuseraccess
37 slords 1.1 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 vip-ire 1.7 * Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-9
47     - Requires the mysql variant of server and proxy
48    
49 vip-ire 1.6 * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
50     - Possibility to set Hostname from the DB
51    
52 vip-ire 1.5 * Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-7
53     - Support multiple dbpatches
54    
55 vip-ire 1.4 * 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 vip-ire 1.3 * 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 slords 1.1 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
62 vip-ire 1.3 - Disable DB cache as it seems to cause IPC problems
63 slords 1.1
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 vip-ire 1.4 %patch9 -p1
88 vip-ire 1.5 %patch10 -p1
89 vip-ire 1.6 %patch11 -p1
90 slords 1.1
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