/[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.4 - (hide annotations) (download)
Mon Sep 28 07:22:28 2009 UTC (14 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-6_el4_sme
Changes since 1.3: +7 -2 lines
Fixe /etc/sudoers template expension during zabbix-proxy-update

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

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