1 |
jpp |
1.1 |
# $Id: zabbix.spec,v 1.11 2010/04/08 09:19:02 vip-ire Exp $ |
2 |
|
|
# Authority: vip-ire |
3 |
|
|
# Name: Daniel Berteaud |
4 |
|
|
|
5 |
|
|
Name: zabbix |
6 |
|
|
Version: 1.6.9 |
7 |
|
|
Release: 2%{?dist} |
8 |
|
|
Summary: Open-source monitoring solution for your IT infrastructure |
9 |
|
|
|
10 |
|
|
Group: Applications/Internet |
11 |
|
|
License: GPL |
12 |
|
|
URL: http://www.zabbix.com/ |
13 |
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
14 |
|
|
Source1: zabbix-web.conf |
15 |
|
|
Source2: zabbix-server.init |
16 |
|
|
Source3: zabbix-agent.init |
17 |
|
|
Source4: zabbix-proxy.init |
18 |
|
|
Source5: zabbix-logrotate.in |
19 |
|
|
|
20 |
|
|
Patch0: zabbix-1.6.3-curl_centos4.patch |
21 |
|
|
#Patch1: zabbix-1.6.6-ZBX-1027.patch |
22 |
|
|
|
23 |
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
24 |
|
|
|
25 |
|
|
BuildRequires: mysql-devel |
26 |
|
|
BuildRequires: postgresql-devel |
27 |
|
|
BuildRequires: net-snmp-devel |
28 |
|
|
BuildRequires: openldap-devel |
29 |
|
|
BuildRequires: gnutls-devel |
30 |
|
|
BuildRequires: iksemel-devel |
31 |
|
|
BuildRequires: curl-devel |
32 |
|
|
BuildRequires: sqlite-devel |
33 |
|
|
BuildRequires: unixODBC-devel |
34 |
|
|
|
35 |
|
|
Requires: logrotate |
36 |
|
|
Requires(pre): /usr/sbin/useradd |
37 |
|
|
|
38 |
|
|
%description |
39 |
|
|
ZABBIX is software that monitors numerous parameters of a |
40 |
|
|
network and the health and integrity of servers. ZABBIX |
41 |
|
|
uses a flexible notification mechanism that allows users |
42 |
|
|
to configure e-mail based alerts for virtually any event. |
43 |
|
|
This allows a fast reaction to server problems. ZABBIX |
44 |
|
|
offers excellent reporting and data visualisation features |
45 |
|
|
based on the stored data. This makes ZABBIX ideal for |
46 |
|
|
capacity planning. |
47 |
|
|
|
48 |
|
|
ZABBIX supports both polling and trapping. All ZABBIX |
49 |
|
|
reports and statistics, as well as configuration |
50 |
|
|
parameters are accessed through a web-based front end. A |
51 |
|
|
web-based front end ensures that the status of your network |
52 |
|
|
and the health of your servers can be assessed from any |
53 |
|
|
location. Properly configured, ZABBIX can play an important |
54 |
|
|
role in monitoring IT infrastructure. This is equally true |
55 |
|
|
for small organisations with a few servers and for large |
56 |
|
|
companies with a multitude of servers. |
57 |
|
|
|
58 |
|
|
%package server |
59 |
|
|
Summary: Zabbix server common files |
60 |
|
|
Group: Applications/Internet |
61 |
|
|
Requires: zabbix = %{version}-%{release} |
62 |
|
|
Requires: zabbix-server-implementation = %{version}-%{release} |
63 |
|
|
Requires: fping |
64 |
|
|
Requires: net-snmp |
65 |
|
|
Requires(post): /sbin/chkconfig |
66 |
|
|
Requires(preun): /sbin/chkconfig |
67 |
|
|
Requires(preun): /sbin/service |
68 |
|
|
|
69 |
|
|
%description server |
70 |
|
|
Zabbix server common files |
71 |
|
|
|
72 |
|
|
%package server-mysql |
73 |
|
|
Summary: Zabbix server compiled to use MySQL |
74 |
|
|
Group: Applications/Internet |
75 |
|
|
Requires: zabbix = %{version}-%{release} |
76 |
|
|
Requires: zabbix-server = %{version}-%{release} |
77 |
|
|
Provides: zabbix-server-implementation = %{version}-%{release} |
78 |
|
|
Obsoletes: zabbix <= 1.5.3-0.1 |
79 |
|
|
Conflicts: zabbix-server-pgsql |
80 |
|
|
Conflicts: zabbix-server-sqlite3 |
81 |
|
|
|
82 |
|
|
%description server-mysql |
83 |
|
|
Zabbix server compiled to use MySQL |
84 |
|
|
|
85 |
|
|
%package server-pgsql |
86 |
|
|
Summary: Zabbix server compiled to use PostgresSQL |
87 |
|
|
Group: Applications/Internet |
88 |
|
|
Requires: zabbix = %{version}-%{release} |
89 |
|
|
Requires: zabbix-server = %{version}-%{release} |
90 |
|
|
Provides: zabbix-server-implementation = %{version}-%{release} |
91 |
|
|
Conflicts: zabbix-server-mysql |
92 |
|
|
Conflicts: zabbix-server-sqlite3 |
93 |
|
|
|
94 |
|
|
%description server-pgsql |
95 |
|
|
Zabbix server compiled to use PostgresSQL |
96 |
|
|
|
97 |
|
|
%package server-sqlite3 |
98 |
|
|
Summary: Zabbix server compiled to use SQLite |
99 |
|
|
Group: Applications/Internet |
100 |
|
|
Requires: zabbix = %{version}-%{release} |
101 |
|
|
Requires: zabbix-server = %{version}-%{release} |
102 |
|
|
Provides: zabbix-server-implementation = %{version}-%{release} |
103 |
|
|
Conflicts: zabbix-server-mysql |
104 |
|
|
Conflicts: zabbix-server-pgsql |
105 |
|
|
|
106 |
|
|
%description server-sqlite3 |
107 |
|
|
Zabbix server compiled to use SQLite |
108 |
|
|
|
109 |
|
|
%package agent |
110 |
|
|
Summary: Zabbix Agent |
111 |
|
|
Group: Applications/Internet |
112 |
|
|
Requires: zabbix = %{version}-%{release} |
113 |
|
|
Requires(post): /sbin/chkconfig |
114 |
|
|
Requires(preun): /sbin/chkconfig |
115 |
|
|
Requires(preun): /sbin/service |
116 |
|
|
|
117 |
|
|
%description agent |
118 |
|
|
The Zabbix client agent, to be installed on monitored systems. |
119 |
|
|
|
120 |
|
|
%package proxy |
121 |
|
|
Summary: Zabbix Proxy |
122 |
|
|
Group: Applications/Internet |
123 |
|
|
Requires: zabbix = %{version}-%{release} |
124 |
|
|
Requires: zabbix-proxy-implementation = %{version}-%{release} |
125 |
|
|
Requires(post): /sbin/chkconfig |
126 |
|
|
Requires(preun): /sbin/chkconfig |
127 |
|
|
Requires(preun): /sbin/service |
128 |
|
|
Requires: fping |
129 |
|
|
|
130 |
|
|
%description proxy |
131 |
|
|
The Zabbix proxy |
132 |
|
|
|
133 |
|
|
%package proxy-mysql |
134 |
|
|
Summary: Zabbix proxy compiled to use MySQL |
135 |
|
|
Group: Applications/Internet |
136 |
|
|
Requires: zabbix-proxy = %{version}-%{release} |
137 |
|
|
Provides: zabbix-proxy-implementation = %{version}-%{release} |
138 |
|
|
|
139 |
|
|
%description proxy-mysql |
140 |
|
|
The Zabbix proxy compiled to use MySQL |
141 |
|
|
|
142 |
|
|
%package proxy-pgsql |
143 |
|
|
Summary: Zabbix proxy compiled to use PostgreSQL |
144 |
|
|
Group: Applications/Internet |
145 |
|
|
Requires: zabbix-proxy = %{version}-%{release} |
146 |
|
|
Provides: zabbix-proxy-implementation = %{version}-%{release} |
147 |
|
|
|
148 |
|
|
%description proxy-pgsql |
149 |
|
|
The Zabbix proxy compiled to use PostgreSQL |
150 |
|
|
|
151 |
|
|
%package proxy-sqlite3 |
152 |
|
|
Summary: Zabbix proxy compiled to use SQLite |
153 |
|
|
Group: Applications/Internet |
154 |
|
|
Requires: zabbix-proxy = %{version}-%{release} |
155 |
|
|
Provides: zabbix-proxy-implementation = %{version}-%{release} |
156 |
|
|
|
157 |
|
|
%description proxy-sqlite3 |
158 |
|
|
The Zabbix proxy compiled to use SQLite |
159 |
|
|
|
160 |
|
|
%package web |
161 |
|
|
Summary: Zabbix Web Frontend |
162 |
|
|
Group: Applications/Internet |
163 |
|
|
Requires: php |
164 |
|
|
Requires: php-gd |
165 |
|
|
#Requires: php-bcmath |
166 |
|
|
Requires: zabbix = %{version}-%{release} |
167 |
|
|
Requires: zabbix-web-database = %{version}-%{release} |
168 |
|
|
|
169 |
|
|
%description web |
170 |
|
|
The php frontend to display the zabbix web interface. |
171 |
|
|
|
172 |
|
|
%package web-mysql |
173 |
|
|
Summary: Zabbix web frontend for MySQL |
174 |
|
|
Group: Applications/Internet |
175 |
|
|
Requires: zabbix-web = %{version}-%{release} |
176 |
|
|
Requires: php-mysql |
177 |
|
|
Provides: zabbix-web-database = %{version}-%{release} |
178 |
|
|
Obsoletes: zabbix-web <= 1.5.3-0.1 |
179 |
|
|
|
180 |
|
|
%description web-mysql |
181 |
|
|
Zabbix web frontend for MySQL |
182 |
|
|
|
183 |
|
|
%package web-pgsql |
184 |
|
|
Summary: Zabbix web frontend for PostgreSQL |
185 |
|
|
Group: Applications/Internet |
186 |
|
|
Requires: zabbix-web = %{version}-%{release} |
187 |
|
|
Requires: php-pgsql |
188 |
|
|
Provides: zabbix-web-database = %{version}-%{release} |
189 |
|
|
|
190 |
|
|
%description web-pgsql |
191 |
|
|
Zabbix web frontend for PostgreSQL |
192 |
|
|
|
193 |
|
|
%package web-sqlite3 |
194 |
|
|
Summary: Zabbix web frontend for SQLite |
195 |
|
|
Group: Applications/Internet |
196 |
|
|
Requires: zabbix-web = %{version}-%{release} |
197 |
|
|
Provides: zabbix-web-database = %{version}-%{release} |
198 |
|
|
|
199 |
|
|
%description web-sqlite3 |
200 |
|
|
Zabbix web frontend for SQLite |
201 |
|
|
|
202 |
|
|
%prep |
203 |
|
|
%setup0 -q |
204 |
|
|
%patch0 -p1 |
205 |
|
|
|
206 |
|
|
chmod -R a+rX . |
207 |
|
|
|
208 |
|
|
# nuke erronious executable permissions |
209 |
|
|
#chmod -x src/zabbix_agent/eventlog.c |
210 |
|
|
|
211 |
|
|
# fix up some lib64 issues |
212 |
|
|
%{__perl} -pi.orig -e 's|_LIBDIR=/usr/lib|_LIBDIR=%{_libdir}|g' \ |
213 |
|
|
configure |
214 |
|
|
|
215 |
|
|
%build |
216 |
|
|
|
217 |
|
|
%configure \ |
218 |
|
|
--enable-server \ |
219 |
|
|
--enable-agent \ |
220 |
|
|
--enable-proxy \ |
221 |
|
|
--enable-ipv6 \ |
222 |
|
|
--with-mysql \ |
223 |
|
|
--with-net-snmp \ |
224 |
|
|
--with-ldap \ |
225 |
|
|
--with-libcurl \ |
226 |
|
|
--with-jabber \ |
227 |
|
|
--with-unixodbc |
228 |
|
|
|
229 |
|
|
make %{?_smp_mflags} |
230 |
|
|
|
231 |
|
|
mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_mysql |
232 |
|
|
mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_mysql |
233 |
|
|
|
234 |
|
|
%configure \ |
235 |
|
|
--enable-server \ |
236 |
|
|
--enable-agent \ |
237 |
|
|
--enable-proxy \ |
238 |
|
|
--enable-ipv6 \ |
239 |
|
|
--with-pgsql \ |
240 |
|
|
--with-net-snmp \ |
241 |
|
|
--with-ldap \ |
242 |
|
|
--with-libcurl \ |
243 |
|
|
--with-jabber \ |
244 |
|
|
--with-unixodbc |
245 |
|
|
|
246 |
|
|
make %{?_smp_mflags} |
247 |
|
|
mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_pgsql |
248 |
|
|
mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_pgsql |
249 |
|
|
|
250 |
|
|
%configure \ |
251 |
|
|
--enable-server \ |
252 |
|
|
--enable-agent \ |
253 |
|
|
--enable-proxy \ |
254 |
|
|
--enable-ipv6 \ |
255 |
|
|
--with-sqlite3 \ |
256 |
|
|
--with-net-snmp \ |
257 |
|
|
--with-ldap \ |
258 |
|
|
--with-libcurl \ |
259 |
|
|
--with-jabber \ |
260 |
|
|
--with-unixodbc |
261 |
|
|
|
262 |
|
|
make %{?_smp_mflags} |
263 |
|
|
mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_sqlite3 |
264 |
|
|
mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_sqlite3 |
265 |
|
|
|
266 |
|
|
touch src/zabbix_server/zabbix_server |
267 |
|
|
touch src/zabbix_proxy/zabbix_proxy |
268 |
|
|
|
269 |
|
|
%install |
270 |
|
|
rm -rf $RPM_BUILD_ROOT |
271 |
|
|
# set up some required directories |
272 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
273 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d |
274 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d |
275 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d |
276 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir} |
277 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name} |
278 |
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/%{name} |
279 |
|
|
|
280 |
|
|
#rm create/Makefile* |
281 |
|
|
#rm create/data/images_oracle.sql |
282 |
|
|
#rm create/schema/oracle.sql |
283 |
|
|
#rm -r upgrades/dbpatches/1.6/oracle |
284 |
|
|
|
285 |
|
|
#pushd %{name}-%{version}-mysql |
286 |
|
|
# php frontend |
287 |
|
|
cp -a frontends/php $RPM_BUILD_ROOT%{_datadir}/%{name} |
288 |
|
|
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/include/db.inc.php \ |
289 |
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}/ |
290 |
|
|
ln -s ../../../..%{_sysconfdir}/%{name}/db.inc.php \ |
291 |
|
|
$RPM_BUILD_ROOT%{_datadir}/%{name}/include/db.inc.php |
292 |
|
|
cat << __EOF__ >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix.conf.php |
293 |
|
|
# This file is a place-holder. When you run through the zabbix |
294 |
|
|
# web setup, a proper configuration file should be generated |
295 |
|
|
# for you to drop in this location. |
296 |
|
|
__EOF__ |
297 |
|
|
ln -s ../../../..%{_sysconfdir}/%{name}/zabbix.conf.php \ |
298 |
|
|
$RPM_BUILD_ROOT%{_datadir}/%{name}/conf/zabbix.conf.php |
299 |
|
|
# kill off .htaccess files, options set in SOURCE1 |
300 |
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/include/.htaccess |
301 |
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/include/classes/.htaccess |
302 |
|
|
# drop config files in place |
303 |
|
|
install -m 0644 -p misc/conf/zabbix_agent.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
304 |
|
|
cat misc/conf/zabbix_agentd.conf | sed \ |
305 |
|
|
-e 's|PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix_agentd.pid|g' \ |
306 |
|
|
-e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_agentd.log|g' \ |
307 |
|
|
-e 's|#LogFileSize=.*|LogFileSize=0|g' \ |
308 |
|
|
> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_agentd.conf |
309 |
|
|
cat misc/conf/zabbix_server.conf | sed \ |
310 |
|
|
-e 's|PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix.pid|g' \ |
311 |
|
|
-e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_server.log|g' \ |
312 |
|
|
-e 's|#LogFileSize=.*|LogFileSize=0|g' \ |
313 |
|
|
-e 's|AlertScriptsPath=/home/zabbix/bin/|AlertScriptsPath=%{_localstatedir}/lib/zabbix/|g' \ |
314 |
|
|
-e 's|DBUser=root|DBUser=zabbix|g' \ |
315 |
|
|
-e 's|DBSocket=/tmp/mysql.sock|DBSocket=%{_localstatedir}/lib/mysql/mysql.sock|g' \ |
316 |
|
|
> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_server.conf |
317 |
|
|
cat misc/conf/zabbix_proxy.conf | sed \ |
318 |
|
|
-e 's|PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix_proxy.pid|g' \ |
319 |
|
|
-e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_proxy.log|g' \ |
320 |
|
|
-e 's|#LogFileSize=.*|LogFileSize=0|g' \ |
321 |
|
|
-e 's|AlertScriptsPath=/home/zabbix/bin/|AlertScriptsPath=%{_localstatedir}/lib/zabbix/|g' \ |
322 |
|
|
-e 's|DBUser=root|DBUser=zabbix|g' \ |
323 |
|
|
-e 's|DBSocket=/tmp/mysql.sock|DBSocket=%{_localstatedir}/lib/mysql/mysql.sock|g' \ |
324 |
|
|
> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_proxy.conf |
325 |
|
|
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf |
326 |
|
|
# log rotation |
327 |
|
|
cat %{SOURCE5} | sed -e 's|COMPONENT|server|g' > \ |
328 |
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-server |
329 |
|
|
cat %{SOURCE5} | sed -e 's|COMPONENT|agentd|g' > \ |
330 |
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent |
331 |
|
|
cat %{SOURCE5} | sed -e 's|COMPONENT|proxy|g' > \ |
332 |
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-proxy |
333 |
|
|
# init scripts |
334 |
|
|
install -m 0755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-server |
335 |
|
|
install -m 0755 -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent |
336 |
|
|
install -m 0755 -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-proxy |
337 |
|
|
|
338 |
|
|
# set up config dir |
339 |
|
|
|
340 |
|
|
# install |
341 |
|
|
make DESTDIR=$RPM_BUILD_ROOT install |
342 |
|
|
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_server |
343 |
|
|
install -m 0755 -p src/zabbix_server/zabbix_server_* $RPM_BUILD_ROOT%{_sbindir}/ |
344 |
|
|
rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy |
345 |
|
|
install -m 0755 -p src/zabbix_proxy/zabbix_proxy_* $RPM_BUILD_ROOT%{_sbindir}/ |
346 |
|
|
|
347 |
|
|
# nuke static libs and empty oracle upgrade sql |
348 |
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/libzbx*.a |
349 |
|
|
# nuke extraneous sql files |
350 |
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/create |
351 |
|
|
|
352 |
|
|
%clean |
353 |
|
|
rm -rf $RPM_BUILD_ROOT |
354 |
|
|
|
355 |
|
|
%pre |
356 |
|
|
# Add the "zabbix" user |
357 |
|
|
/usr/sbin/useradd -c "Zabbix Monitoring System" \ |
358 |
|
|
-s /sbin/nologin -r -d %{_localstatedir}/lib/%{name} zabbix 2> /dev/null || : |
359 |
|
|
|
360 |
|
|
%post server |
361 |
|
|
/sbin/chkconfig --add zabbix-server |
362 |
|
|
|
363 |
|
|
%post agent |
364 |
|
|
/sbin/chkconfig --add zabbix-agent |
365 |
|
|
|
366 |
|
|
%post proxy |
367 |
|
|
/sbin/chkconfig --add zabbix-proxy |
368 |
|
|
|
369 |
|
|
%preun server |
370 |
|
|
if [ "$1" = 0 ] |
371 |
|
|
then |
372 |
|
|
/sbin/service zabbix-server stop >/dev/null 2>&1 || : |
373 |
|
|
/sbin/chkconfig --del zabbix-server |
374 |
|
|
fi |
375 |
|
|
|
376 |
|
|
%preun agent |
377 |
|
|
if [ "$1" = 0 ] |
378 |
|
|
then |
379 |
|
|
/sbin/service zabbix-agent stop >/dev/null 2>&1 || : |
380 |
|
|
/sbin/chkconfig --del zabbix-agent |
381 |
|
|
fi |
382 |
|
|
|
383 |
|
|
%preun proxy |
384 |
|
|
if [ "$1" = 0 ] |
385 |
|
|
then |
386 |
|
|
/sbin/service zabbix-proxy stop >/dev/null 2>&1 || : |
387 |
|
|
/sbin/chkconfig --del zabbix-proxy |
388 |
|
|
fi |
389 |
|
|
|
390 |
|
|
%files |
391 |
|
|
%defattr(-,root,root,-) |
392 |
|
|
%dir %{_sysconfdir}/zabbix |
393 |
|
|
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix |
394 |
|
|
%attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix |
395 |
|
|
|
396 |
|
|
%files server |
397 |
|
|
%defattr(-,root,root,-) |
398 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
399 |
|
|
%doc docs/*.pdf upgrades/dbpatches create/data create/schema |
400 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_server.conf |
401 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-server |
402 |
|
|
%{_sysconfdir}/init.d/zabbix-server |
403 |
|
|
|
404 |
|
|
%files server-mysql |
405 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
406 |
|
|
%defattr(-,root,root,-) |
407 |
|
|
%{_sbindir}/zabbix_server_mysql |
408 |
|
|
|
409 |
|
|
%files server-pgsql |
410 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
411 |
|
|
%defattr(-,root,root,-) |
412 |
|
|
%{_sbindir}/zabbix_server_pgsql |
413 |
|
|
|
414 |
|
|
%files server-sqlite3 |
415 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
416 |
|
|
%defattr(-,root,root,-) |
417 |
|
|
%{_sbindir}/zabbix_server_sqlite3 |
418 |
|
|
|
419 |
|
|
%files agent |
420 |
|
|
%defattr(-,root,root,-) |
421 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
422 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agent.conf |
423 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agentd.conf |
424 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent |
425 |
|
|
%{_sysconfdir}/init.d/zabbix-agent |
426 |
|
|
%{_sbindir}/zabbix_agent |
427 |
|
|
%{_sbindir}/zabbix_agentd |
428 |
|
|
%{_sbindir}/zabbix_sender |
429 |
|
|
%{_sbindir}/zabbix_get |
430 |
|
|
|
431 |
|
|
%files proxy |
432 |
|
|
%defattr(-,root,root,-) |
433 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
434 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_proxy.conf |
435 |
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-proxy |
436 |
|
|
%{_sysconfdir}/init.d/zabbix-proxy |
437 |
|
|
|
438 |
|
|
%files proxy-mysql |
439 |
|
|
%defattr(-,root,root,-) |
440 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
441 |
|
|
%{_sbindir}/zabbix_proxy_mysql |
442 |
|
|
|
443 |
|
|
%files proxy-pgsql |
444 |
|
|
%defattr(-,root,root,-) |
445 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
446 |
|
|
%{_sbindir}/zabbix_proxy_pgsql |
447 |
|
|
|
448 |
|
|
%files proxy-sqlite3 |
449 |
|
|
%defattr(-,root,root,-) |
450 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
451 |
|
|
%{_sbindir}/zabbix_proxy_sqlite3 |
452 |
|
|
|
453 |
|
|
%files web |
454 |
|
|
%defattr(-,root,root,-) |
455 |
|
|
%doc AUTHORS ChangeLog COPYING FAQ NEWS README |
456 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix.conf.php |
457 |
|
|
%config(noreplace) %{_sysconfdir}/zabbix/db.inc.php |
458 |
|
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/zabbix.conf |
459 |
|
|
%{_datadir}/zabbix |
460 |
|
|
|
461 |
|
|
%files web-mysql |
462 |
|
|
%defattr(-,root,root,-) |
463 |
|
|
|
464 |
|
|
%files web-pgsql |
465 |
|
|
%defattr(-,root,root,-) |
466 |
|
|
|
467 |
|
|
%files web-sqlite3 |
468 |
|
|
%defattr(-,root,root,-) |
469 |
|
|
|
470 |
|
|
%changelog |
471 |
|
|
* Thu Apr 08 2010 Daniel B. <daniel@firewall-services.com> 1.6.9-2 |
472 |
|
|
- Upstream upgrade to 1.6.9 |
473 |
|
|
|
474 |
|
|
* Mon Jan 25 2010 Daniel B. <daniel@firewall-services.com> 1.6.8-2 |
475 |
|
|
- Upstream upgrade to 1.6.8 |
476 |
|
|
|
477 |
|
|
* Fri Nov 13 2009 Daniel B. <daniel@firewall-services.com> 1.6.7-2 |
478 |
|
|
- Upstream upgrade to 1.6.7 |
479 |
|
|
|
480 |
|
|
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 1.6.6-2 |
481 |
|
|
- Fix trigger verification (ZBX-1027) |
482 |
|
|
|
483 |
|
|
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 1.6.6-1 |
484 |
|
|
- Upstream upgrade to 1.6.6 |
485 |
|
|
|
486 |
|
|
* Tue Jun 16 2009 Daniel B. <daniel@firewall-services.com> 1.6.5-1 |
487 |
|
|
- Upstream upgrade to 1.6.5 |
488 |
|
|
|
489 |
|
|
* Mon Apr 06 2009 Daniel B. <daniel@firewall-services.com> 1.6.4-1 |
490 |
|
|
- Upstream upgrade to 1.6.4 |
491 |
|
|
|
492 |
|
|
* Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> 1.6.3-0 |
493 |
|
|
- Upstream upgrade to 1.6.3 |
494 |
|
|
- Remove CPUstat patch |
495 |
|
|
- Remove snmp fixes (not needed anymore) |
496 |
|
|
|
497 |
|
|
* Thu Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.6.2-4 |
498 |
|
|
- Comment hard-coded php-bcmath dependencie as php4 includes this module |
499 |
|
|
|
500 |
|
|
* Wed Jan 30 2009 Daniel B. <daniel@firewall-services.com> 1.6.2-3 |
501 |
|
|
- Added patch so it can compile on CentOS 4 (curl 7.12.1) |
502 |
|
|
|
503 |
|
|
* Fri Jan 23 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-2 |
504 |
|
|
- Rebuild for MySQL 5.1.X |
505 |
|
|
|
506 |
|
|
* Fri Jan 16 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-1 |
507 |
|
|
- Update to 1.6.2: http://www.zabbix.com/rn1.6.2.php |
508 |
|
|
|
509 |
|
|
* Thu Dec 4 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.1-1 |
510 |
|
|
- Fix BZ#474593 by adding a requires. |
511 |
|
|
|
512 |
|
|
* Wed Nov 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.1-1 |
513 |
|
|
- Update to 1.6.1 |
514 |
|
|
|
515 |
|
|
* Tue Sep 30 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6-1.1 |
516 |
|
|
- Bump release because forgot to add some new files. |
517 |
|
|
|
518 |
|
|
* Thu Sep 30 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6-1 |
519 |
|
|
- Update to final 1.6 |
520 |
|
|
|
521 |
|
|
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.4.6-2 |
522 |
|
|
- Fix license tag. |
523 |
|
|
|
524 |
|
|
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.6-1 |
525 |
|
|
- Update to 1.4.6 |
526 |
|
|
|
527 |
|
|
* Mon Jul 07 2008 Dan Horak <dan[at]danny.cz> - 1.4.5-4 |
528 |
|
|
- add LSB headers into init scripts |
529 |
|
|
- disable internal log rotation |
530 |
|
|
|
531 |
|
|
* Fri May 02 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.5-3 |
532 |
|
|
- Seems the zabbix folks replaced the original 1.4.5 tarball with |
533 |
|
|
an updated tarball or something -- it actually does contain a |
534 |
|
|
tiny bit of additional code... So update to newer 1.4.5. |
535 |
|
|
|
536 |
|
|
* Tue Apr 08 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.5-2 |
537 |
|
|
- Fix building w/postgresql (#441456) |
538 |
|
|
|
539 |
|
|
* Tue Mar 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.5-1 |
540 |
|
|
- Update to 1.4.5 |
541 |
|
|
|
542 |
|
|
* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.4-2 |
543 |
|
|
- Bump and rebuild with gcc 4.3 |
544 |
|
|
|
545 |
|
|
* Mon Dec 17 2007 Jarod Wilson <jwilson@redhat.com> - 1.4.4-1 |
546 |
|
|
- New upstream release |
547 |
|
|
- Fixes two crasher bugs in 1.4.3 release |
548 |
|
|
|
549 |
|
|
* Wed Dec 12 2007 Jarod Wilson <jwilson@redhat.com> - 1.4.3-1 |
550 |
|
|
- New upstream release |
551 |
|
|
|
552 |
|
|
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.4.2-5 |
553 |
|
|
- Rebuild for deps |
554 |
|
|
|
555 |
|
|
* Sat Dec 01 2007 Dan Horak <dan[at]danny.cz> 1.4.2-4 |
556 |
|
|
- add security fix (#407181) |
557 |
|
|
|
558 |
|
|
* Thu Sep 20 2007 Dan Horak <dan[at]danny.cz> 1.4.2-3 |
559 |
|
|
- Add a patch to clean a warning during compile |
560 |
|
|
- Add a patch to fix cpu load computations |
561 |
|
|
|
562 |
|
|
* Tue Aug 21 2007 Jarod Wilson <jwilson@redhat.com> 1.4.2-2 |
563 |
|
|
- Account for binaries moving from %%_bindir to %%_sbindir |
564 |
|
|
|
565 |
|
|
* Tue Aug 21 2007 Jarod Wilson <jwilson@redhat.com> 1.4.2-1 |
566 |
|
|
- New upstream release |
567 |
|
|
|
568 |
|
|
* Mon Jul 02 2007 Jarod Wilson <jwilson@redhat.com> 1.4.1-1 |
569 |
|
|
- New upstream release |
570 |
|
|
|
571 |
|
|
* Fri Jun 29 2007 Jarod Wilson <jwilson@redhat.com> 1.4-3 |
572 |
|
|
- Install correct sql init files (#244991) |
573 |
|
|
- Add Requires: php-bcmath to zabbix-web (#245767) |
574 |
|
|
|
575 |
|
|
* Wed May 30 2007 Jarod Wilson <jwilson@redhat.com> 1.4-2 |
576 |
|
|
- Add placeholder zabbix.conf.php |
577 |
|
|
|
578 |
|
|
* Tue May 29 2007 Jarod Wilson <jwilson@redhat.com> 1.4-1 |
579 |
|
|
- New upstream release |
580 |
|
|
|
581 |
|
|
* Fri Mar 30 2007 Jarod Wilson <jwilson@redhat.com> 1.1.7-1 |
582 |
|
|
- New upstream release |
583 |
|
|
|
584 |
|
|
* Wed Feb 07 2007 Jarod Wilson <jwilson@redhat.com> 1.1.6-1 |
585 |
|
|
- New upstream release |
586 |
|
|
|
587 |
|
|
* Thu Feb 01 2007 Jarod Wilson <jwilson@redhat.com> 1.1.5-1 |
588 |
|
|
- New upstream release |
589 |
|
|
|
590 |
|
|
* Tue Jan 02 2007 Jarod Wilson <jwilson@redhat.com> 1.1.4-5 |
591 |
|
|
- Add explicit R:php to zabbix-web (#220676) |
592 |
|
|
|
593 |
|
|
* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-4 |
594 |
|
|
- Fix snmp polling buffer overflow (#218065) |
595 |
|
|
|
596 |
|
|
* Wed Nov 29 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-3 |
597 |
|
|
- Rebuild for updated libnetsnmp |
598 |
|
|
|
599 |
|
|
* Thu Nov 16 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-2 |
600 |
|
|
- Fix up pt_br |
601 |
|
|
- Add Req-pre on useradd |
602 |
|
|
|
603 |
|
|
* Wed Nov 15 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-1 |
604 |
|
|
- Update to 1.1.4 |
605 |
|
|
|
606 |
|
|
* Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-3 |
607 |
|
|
- Add BR: gnutls-devel, R: net-snmp-libs |
608 |
|
|
|
609 |
|
|
* Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-2 |
610 |
|
|
- Fix php-pgsql Requires |
611 |
|
|
|
612 |
|
|
* Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-1 |
613 |
|
|
- Update to 1.1.3 |
614 |
|
|
|
615 |
|
|
* Mon Oct 02 2006 Jarod Wilson <jwilson@redhat.com> 1.1.2-1 |
616 |
|
|
- Update to 1.1.2 |
617 |
|
|
- Enable alternate building with postgresql support |
618 |
|
|
|
619 |
|
|
* Thu Aug 17 2006 Jarod Wilson <jwilson@redhat.com> 1.1.1-2 |
620 |
|
|
- Yank out Requires: mysql-server |
621 |
|
|
- Add Requires: for php-gd and fping |
622 |
|
|
|
623 |
|
|
* Tue Aug 15 2006 Jarod Wilson <jwilson@redhat.com> 1.1.1-1 |
624 |
|
|
- Update to 1.1.1 |
625 |
|
|
- More macroification |
626 |
|
|
- Fix up zabbix-web Requires: |
627 |
|
|
- Prep for enabling postgres support |
628 |
|
|
|
629 |
|
|
* Thu Jul 27 2006 Jarod Wilson <jwilson@redhat.com> 1.1-2 |
630 |
|
|
- Add Requires: on chkconfig and service |
631 |
|
|
- Remove openssl-devel from BR, mysql-devel pulls it in |
632 |
|
|
- Alter scriptlets to match Fedora conventions |
633 |
|
|
|
634 |
|
|
* Tue Jul 11 2006 Jarod Wilson <jwilson@redhat.com> 1.1-1 |
635 |
|
|
- Initial build for Fedora Extras |