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