/[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.3 - (hide annotations) (download)
Tue Mar 3 10:45:16 2009 UTC (15 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-5_el4_sme
Changes since 1.2: +7 -3 lines
Add smeserver-remoteuseraccess as dependencie

1 vip-ire 1.3 # $Id: smeserver-zabbix-proxy.spec,v 1.2 2009/03/02 23:53:30 slords 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.3 %define release 5
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    
26     BuildArchitectures: noarch
27     BuildRequires: e-smith-devtools
28     BuildRoot: /var/tmp/%{name}-%{version}
29     Requires: e-smith-release >= 7.0
30     Requires: fping
31     Requires: zabbix-server
32     Requires: zabbix-proxy
33 vip-ire 1.3 Requires: smeserver-remoteuseraccess
34 slords 1.1 Conflicts: smeserver-zabbix-server
35     AutoReqProv: no
36    
37     %description
38     smserver integration of zabbix proxy
39     Zabbix is an entreprise-class open source distributed monitoring
40     solution
41    
42     %changelog
43 vip-ire 1.3 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
44     - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
45    
46 slords 1.1 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
47 vip-ire 1.3 - Disable DB cache as it seems to cause IPC problems
48 slords 1.1
49     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
50     - enable DB cache with StartDBSyncers directive
51    
52     * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
53     - Fix permissions on /var/lib/zabbix/tmp
54    
55     * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
56     - Fix createlinks
57    
58     * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
59     - initial release
60    
61     %prep
62     %setup
63     %patch0 -p1
64     %patch1 -p1
65     %patch2 -p1
66     %patch3 -p1
67     %patch4 -p1
68     %patch5 -p1
69     %patch6 -p1
70     %patch7 -p1
71     #%patch8 -p1
72    
73     %build
74     perl ./createlinks
75     %{__mkdir_p} root/var/lib/zabbix/tmp
76    
77     %install
78     rm -rf $RPM_BUILD_ROOT
79     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
80     rm -f %{name}-%{version}-filelist
81     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
82     --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
83     --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
84     --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
85     > %{name}-%{version}-filelist
86    
87     %files -f %{name}-%{version}-filelist
88     %defattr(-,root,root)
89    
90     %clean
91     rm -rf $RPM_BUILD_ROOT
92    
93    
94     %postun
95     #uninstall
96     if [ $1 = 0 ] ; then
97     /sbin/e-smith/db configuration setprop zabbix-proxy status disabled
98     /etc/init.d/zabbix-proxy stop
99     fi
100    
101     true

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