/[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.6 - (hide annotations) (download)
Tue Oct 19 12:00:58 2010 UTC (14 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-8_el4_sme
Changes since 1.5: +7 -2 lines
* Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
- Possibility to set Hostname from the DB

1 vip-ire 1.6 # $Id: smeserver-zabbix-proxy.spec,v 1.5 2010/04/15 11:36:00 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.6 %define release 8
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     Requires: zabbix-server
35     Requires: zabbix-proxy
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.6 * Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8
47     - Possibility to set Hostname from the DB
48    
49 vip-ire 1.5 * Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-7
50     - Support multiple dbpatches
51    
52 vip-ire 1.4 * Mon Sep 28 2009 Daniel B. <daniel@firewall-services.com> 0.1-6
53     - Fixe /etc/sudoers template expension during zabbix-proxy-update event
54    
55 vip-ire 1.3 * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 0.1-5
56     - Add smeserver-remoteuseraccess as a dependencie (sudoers template problem)
57    
58 slords 1.1 * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4
59 vip-ire 1.3 - Disable DB cache as it seems to cause IPC problems
60 slords 1.1
61     * Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-3
62     - enable DB cache with StartDBSyncers directive
63    
64     * Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-2
65     - Fix permissions on /var/lib/zabbix/tmp
66    
67     * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-1
68     - Fix createlinks
69    
70     * Fri Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-0
71     - initial release
72    
73     %prep
74     %setup
75     %patch0 -p1
76     %patch1 -p1
77     %patch2 -p1
78     %patch3 -p1
79     %patch4 -p1
80     %patch5 -p1
81     %patch6 -p1
82     %patch7 -p1
83     #%patch8 -p1
84 vip-ire 1.4 %patch9 -p1
85 vip-ire 1.5 %patch10 -p1
86 vip-ire 1.6 %patch11 -p1
87 slords 1.1
88     %build
89     perl ./createlinks
90     %{__mkdir_p} root/var/lib/zabbix/tmp
91    
92     %install
93     rm -rf $RPM_BUILD_ROOT
94     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
95     rm -f %{name}-%{version}-filelist
96     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
97     --file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \
98     --file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \
99     --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \
100     > %{name}-%{version}-filelist
101    
102     %files -f %{name}-%{version}-filelist
103     %defattr(-,root,root)
104    
105     %clean
106     rm -rf $RPM_BUILD_ROOT
107    
108    
109     %postun
110     #uninstall
111     if [ $1 = 0 ] ; then
112     /sbin/e-smith/db configuration setprop zabbix-proxy status disabled
113     /etc/init.d/zabbix-proxy stop
114     fi
115    
116     true

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