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