Zabbix monitoring RPM
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

1229 lignes
40KB

  1. Name: zabbix
  2. Version: 4.2.8
  3. Release: 2%{?dist}
  4. Summary: Open-source monitoring solution for your IT infrastructure
  5. Group: Applications/Internet
  6. License: GPLv2
  7. URL: http://www.zabbix.com/
  8. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  9. Source1: zabbix-web.conf
  10. Source2: zabbix_server
  11. Source3: zabbix_proxy
  12. Source5: zabbix-logrotate.in
  13. Source6: zabbix-server.te
  14. Source7: zabbix-proxy.te
  15. Source100: zabbix-server.init
  16. Source101: zabbix-server.service
  17. Source102: zabbix-agent.init
  18. Source103: zabbix-agent.service
  19. Source104: zabbix-proxy.init
  20. Source105: zabbix-proxy.service
  21. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  22. BuildRequires: mysql-devel
  23. BuildRequires: postgresql-devel
  24. BuildRequires: net-snmp-devel
  25. BuildRequires: openldap-devel
  26. BuildRequires: gnutls-devel
  27. BuildRequires: curl-devel
  28. BuildRequires: sqlite-devel
  29. BuildRequires: unixODBC-devel
  30. BuildRequires: OpenIPMI-devel
  31. BuildRequires: libevent-devel
  32. BuildRequires: pcre-devel
  33. BuildRequires: zlib-devel
  34. %if 0%{?rhel} >= 6
  35. BuildRequires: libssh2-devel
  36. BuildRequires: selinux-policy-devel
  37. BuildRequires: checkpolicy
  38. BuildRequires: bzip2
  39. BuildRequires: libxml2-devel
  40. BuildRequires: openssl-devel
  41. %endif
  42. %if 0%{?rhel} >= 7
  43. BuildRequires: systemd
  44. %{?systemd_requires}
  45. %endif
  46. Requires: logrotate
  47. Requires(pre): /usr/sbin/useradd
  48. AutoReqProv: no
  49. %description
  50. ZABBIX is software that monitors numerous parameters of a
  51. network and the health and integrity of servers. ZABBIX
  52. uses a flexible notification mechanism that allows users
  53. to configure e-mail based alerts for virtually any event.
  54. This allows a fast reaction to server problems. ZABBIX
  55. offers excellent reporting and data visualization features
  56. based on the stored data. This makes ZABBIX ideal for
  57. capacity planning.
  58. ZABBIX supports both polling and trapping. All ZABBIX
  59. reports and statistics, as well as configuration
  60. parameters are accessed through a web-based front end. A
  61. web-based front end ensures that the status of your network
  62. and the health of your servers can be assessed from any
  63. location. Properly configured, ZABBIX can play an important
  64. role in monitoring IT infrastructure. This is equally true
  65. for small organizations with a few servers and for large
  66. companies with a multitude of servers.
  67. %package server
  68. Summary: Zabbix server common files
  69. Group: Applications/Internet
  70. Requires: zabbix = %{version}-%{release}
  71. Requires: zabbix-server-implementation = %{version}-%{release}
  72. Requires: fping
  73. Requires: net-snmp
  74. Requires(post): /sbin/chkconfig
  75. Requires(preun): /sbin/chkconfig
  76. Requires(preun): /sbin/service
  77. %if 0%{?rhel} >= 6
  78. Requires(post): /usr/sbin/semodule
  79. Requires(postun): /usr/sbin/semodule
  80. %endif
  81. %description server
  82. Zabbix server common files
  83. %package server-mysql
  84. Summary: Zabbix server compiled to use MySQL
  85. Group: Applications/Internet
  86. Requires: zabbix = %{version}-%{release}
  87. Requires: zabbix-server = %{version}-%{release}
  88. Provides: zabbix-server-implementation = %{version}-%{release}
  89. Obsoletes: zabbix <= 1.5.3-0.1
  90. Conflicts: zabbix-server-pgsql
  91. Conflicts: zabbix-server-sqlite3
  92. %description server-mysql
  93. Zabbix server compiled to use MySQL
  94. %package server-pgsql
  95. Summary: Zabbix server compiled to use PostgresSQL
  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-sqlite3
  102. %description server-pgsql
  103. Zabbix server compiled to use PostgresSQL
  104. %package agent
  105. Summary: Zabbix Agent
  106. Group: Applications/Internet
  107. Requires: zabbix = %{version}-%{release}
  108. Requires(post): /sbin/chkconfig
  109. Requires(preun): /sbin/chkconfig
  110. Requires(preun): /sbin/service
  111. %if 0%{?rhel} >= 6
  112. Requires(post): policycoreutils-python
  113. Requires(postun): policycoreutils-python
  114. %endif
  115. %description agent
  116. The Zabbix client agent, to be installed on monitored systems.
  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. Requires: net-snmp
  127. %if 0%{?rhel} >= 6
  128. Requires(post): /usr/sbin/semodule
  129. Requires(postun):/usr/sbin/semodule
  130. %endif
  131. %description proxy
  132. The Zabbix proxy
  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. %description proxy-mysql
  139. The Zabbix proxy compiled to use MySQL
  140. %package proxy-pgsql
  141. Summary: Zabbix proxy compiled to use PostgreSQL
  142. Group: Applications/Internet
  143. Requires: zabbix-proxy = %{version}-%{release}
  144. Provides: zabbix-proxy-implementation = %{version}-%{release}
  145. %description proxy-pgsql
  146. The Zabbix proxy compiled to use PostgreSQL
  147. %package proxy-sqlite3
  148. Summary: Zabbix proxy compiled to use SQLite
  149. Group: Applications/Internet
  150. Requires: zabbix-proxy = %{version}-%{release}
  151. Provides: zabbix-proxy-implementation = %{version}-%{release}
  152. %description proxy-sqlite3
  153. The Zabbix proxy compiled to use SQLite
  154. %if 0%{?rhel} >= 6
  155. %package web
  156. Summary: Zabbix Web Frontend
  157. Group: Applications/Internet
  158. Requires: php-common
  159. Requires: php-gd
  160. Requires: php-bcmath
  161. Requires: php-mbstring
  162. Requires: php-xml
  163. Requires: zabbix = %{version}-%{release}
  164. Requires: zabbix-web-database = %{version}-%{release}
  165. %description web
  166. The php frontend to display the zabbix web interface.
  167. %package web-mysql
  168. Summary: Zabbix web frontend for MySQL
  169. Group: Applications/Internet
  170. Requires: zabbix-web = %{version}-%{release}
  171. Requires: php-mysql
  172. Provides: zabbix-web-database = %{version}-%{release}
  173. Obsoletes: zabbix-web <= 1.5.3-0.1
  174. %description web-mysql
  175. Zabbix web frontend for MySQL
  176. %package web-pgsql
  177. Summary: Zabbix web frontend for PostgreSQL
  178. Group: Applications/Internet
  179. Requires: zabbix-web = %{version}-%{release}
  180. Requires: php-pgsql
  181. Provides: zabbix-web-database = %{version}-%{release}
  182. %description web-pgsql
  183. Zabbix web frontend for PostgreSQL
  184. %endif
  185. %package devel
  186. Summary: Zabbix development headers
  187. Group: Application/Internet
  188. Requires: zabbix = %{version}-%{release}
  189. %description devel
  190. Developpment and headers file for Zabbix
  191. %prep
  192. %setup -q
  193. mkdir SELinux
  194. mv %{SOURCE6} %{SOURCE7} SELinux
  195. chmod -R a+rX .
  196. # fix up some lib64 issues
  197. sed -i -e 's|_LIBDIR=/usr/lib|_LIBDIR=%{_libdir}|g' \
  198. -e 's|_LDFLAGS=-L/usr/lib|_LDFLAGS=-L%{_libdir}|g' \
  199. configure
  200. %build
  201. %configure \
  202. --sysconfdir=%{_sysconfdir}/zabbix \
  203. --enable-dependency-tracking \
  204. --enable-agent \
  205. --enable-proxy \
  206. --enable-ipv6 \
  207. --with-sqlite3 \
  208. --with-net-snmp \
  209. --with-ldap \
  210. --with-libcurl \
  211. --with-openipmi \
  212. --with-unixodbc \
  213. %if 0%{?rhel} >= 6
  214. --with-openssl \
  215. --with-ssh2 \
  216. --with-libxml2
  217. %endif
  218. make %{?_smp_mflags}
  219. mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_sqlite3
  220. %configure \
  221. --sysconfdir=%{_sysconfdir}/zabbix \
  222. --enable-dependency-tracking \
  223. --enable-server \
  224. --enable-agent \
  225. --enable-proxy \
  226. --enable-ipv6 \
  227. --with-postgresql \
  228. --with-net-snmp \
  229. --with-ldap \
  230. --with-libcurl \
  231. --with-openipmi \
  232. --with-unixodbc \
  233. %if 0%{?rhel} >= 6
  234. --with-openssl \
  235. --with-ssh2 \
  236. --with-libxml2
  237. %endif
  238. make %{?_smp_mflags}
  239. mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_pgsql
  240. mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_pgsql
  241. %configure \
  242. --sysconfdir=%{_sysconfdir}/zabbix \
  243. --enable-dependency-tracking \
  244. --enable-server \
  245. --enable-agent \
  246. --enable-proxy \
  247. --enable-ipv6 \
  248. --with-mysql \
  249. --with-net-snmp \
  250. --with-ldap \
  251. --with-libcurl \
  252. --with-openipmi \
  253. --with-unixodbc \
  254. %if 0%{?rhel} >= 6
  255. --with-openssl \
  256. --with-ssh2 \
  257. --with-libxml2
  258. %endif
  259. make %{?_smp_mflags}
  260. mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_server_mysql
  261. mv src/zabbix_proxy/zabbix_proxy src/zabbix_proxy/zabbix_proxy_mysql
  262. touch src/zabbix_server/zabbix_server
  263. touch src/zabbix_proxy/zabbix_proxy
  264. %if 0%{?rhel} >= 6
  265. cd SELinux
  266. make NAME=targeted -f %{_datadir}/selinux/devel/Makefile
  267. bzip2 zabbix-server.pp
  268. bzip2 zabbix-proxy.pp
  269. cd -
  270. %endif
  271. %install
  272. rm -rf $RPM_BUILD_ROOT
  273. # set up some required directories
  274. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
  275. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.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. mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
  280. %if 0%{?rhel} >= 6
  281. mkdir -p $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix
  282. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
  283. %endif
  284. %if 0%{?rhel} >= 7
  285. mkdir -p $RPM_BUILD_ROOT%{_unitdir}
  286. mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
  287. %else
  288. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
  289. %endif
  290. mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}
  291. %if 0%{?rhel} >= 6
  292. # php frontend
  293. cp -a frontends/php $RPM_BUILD_ROOT%{_datadir}/%{name}
  294. mv $RPM_BUILD_ROOT%{_datadir}/%{name}/include/db.inc.php \
  295. $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
  296. ln -s ../../../..%{_sysconfdir}/%{name}/db.inc.php \
  297. $RPM_BUILD_ROOT%{_datadir}/%{name}/include/db.inc.php
  298. cat << '__EOF__' >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix.conf.php
  299. <?php
  300. /*
  301. ** ZABBIX
  302. ** Copyright (C) 2000-2016 SIA Zabbix
  303. **
  304. ** This program is free software; you can redistribute it and/or modify
  305. ** it under the terms of the GNU General Public License as published by
  306. ** the Free Software Foundation; either version 2 of the License, or
  307. ** (at your option) any later version.
  308. **
  309. ** This program is distributed in the hope that it will be useful,
  310. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  311. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  312. ** GNU General Public License for more details.
  313. **
  314. ** You should have received a copy of the GNU General Public License
  315. ** along with this program; if not, write to the Free Software
  316. ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  317. **/
  318. global $DB;
  319. $DB["TYPE"] = "MYSQL";
  320. $DB["SERVER"] = "localhost";
  321. $DB["PORT"] = "0";
  322. $DB["DATABASE"] = "zabbixdb";
  323. $DB["USER"] = "zabbixuser";
  324. $DB["PASSWORD"] = "password";
  325. $ZBX_SERVER = "localhost";
  326. $ZBX_SERVER_PORT = "10051";
  327. $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
  328. ?>
  329. __EOF__
  330. ln -s ../../../..%{_sysconfdir}/%{name}/zabbix.conf.php \
  331. $RPM_BUILD_ROOT%{_datadir}/%{name}/conf/zabbix.conf.php
  332. # kill off .htaccess files, options set in SOURCE1
  333. rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/include/.htaccess
  334. rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/include/classes/.htaccess
  335. install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/%{name}.conf
  336. %endif
  337. # drop config files in place
  338. cat conf/zabbix_agentd.conf | sed \
  339. -e 's|# PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix_agentd.pid|g' \
  340. -e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_agentd.log|g' \
  341. -e 's|# LogFileSize=.*|LogFileSize=5|g' \
  342. -e 's|ServerActive=.*|ServerActive=|g' \
  343. -e 's|Hostname=Zabbix.*|# Hostname=Zabbix_Agent|g' \
  344. -e 's|# HostnameItem=.*|HostnameItem=system.hostname|g' \
  345. -e 's|/usr/local/etc/|%{_sysconfdir}/zabbix/|g' \
  346. -e 's|# Include=/etc/zabbix/zabbix_agentd.conf.d/\*\.conf|Include=%{_sysconfdir}/zabbix/zabbix_agentd.conf.d/*.conf|g' \
  347. -e 's|# LoadModulePath=.*|LoadModulePath=%{_libdir}/zabbix/modules|g' \
  348. > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_agentd.conf
  349. cat conf/zabbix_server.conf | sed \
  350. -e 's|# PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix_server.pid|g' \
  351. -e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_server.log|g' \
  352. -e 's|# SocketDir=.*|SocketDir=%{_localstatedir}/run/zabbix/|g' \
  353. -e 's|# LogFileSize=.*|LogFileSize=5|g' \
  354. -e 's|# ExternalScripts=.*|# ExternalScripts==%{_localstatedir}/lib/zabbix/bin|g' \
  355. -e 's|DBUser=root|DBUser=zabbix|g' \
  356. -e 's|# DBSocket=/tmp/mysql.sock|DBSocket=%{_localstatedir}/lib/mysql/mysql.sock|g' \
  357. -e 's|/usr/local/etc/|%{_sysconfdir}/zabbix/|g' \
  358. -e 's|# LoadModulePath=.*|LoadModulePath=%{_libdir}/zabbix/modules|g' \
  359. > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_server.conf
  360. cat conf/zabbix_proxy.conf | sed \
  361. -e 's|# PidFile=.*|PidFile=%{_localstatedir}/run/zabbix/zabbix_proxy.pid|g' \
  362. -e 's|LogFile=.*|LogFile=%{_localstatedir}/log/zabbix/zabbix_proxy.log|g' \
  363. -e 's|# LogFileSize=.*|LogFileSize=5|g' \
  364. -e 's|# ExternalScripts=.*|# ExternalScripts==%{_localstatedir}/lib/zabbix/bin|g' \
  365. -e 's|DBUser=root|DBUser=zabbix|g' \
  366. -e 's|# DBSocket=/tmp/mysql.sock|DBSocket=%{_localstatedir}/lib/mysql/mysql.sock|g' \
  367. -e 's|/usr/local/etc/|%{_sysconfdir}/zabbix/|g' \
  368. -e 's|# LoadModulePath=.*|LoadModulePath=%{_libdir}/zabbix/modules|g' \
  369. > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/zabbix_proxy.conf
  370. # log rotation
  371. cat %{SOURCE5} | sed -e 's|COMPONENT|server|g' > \
  372. $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-server
  373. cat %{SOURCE5} | sed -e 's|COMPONENT|agentd|g' > \
  374. $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-agent
  375. cat %{SOURCE5} | sed -e 's|COMPONENT|proxy|g' > \
  376. $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/zabbix-proxy
  377. %if 0%{?rhel} >= 7
  378. # Using systemd, install the wrapper and the unit files
  379. install -m 0644 -p %{SOURCE101} $RPM_BUILD_ROOT%{_unitdir}/
  380. install -m 0644 -p %{SOURCE103} $RPM_BUILD_ROOT%{_unitdir}/
  381. install -m 0644 -p %{SOURCE105} $RPM_BUILD_ROOT%{_unitdir}/
  382. echo "d /var/run/zabbix 0755 zabbix zabbix" >> $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
  383. %else
  384. # Using traditional init, install init scripts
  385. install -m 0755 -p %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-server
  386. install -m 0755 -p %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-agent
  387. install -m 0755 -p %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/zabbix-proxy
  388. %endif
  389. # set up config dir
  390. # install
  391. make DESTDIR=$RPM_BUILD_ROOT install
  392. rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
  393. install -m 0755 -p src/zabbix_server/zabbix_server_* $RPM_BUILD_ROOT%{_sbindir}/
  394. rm $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
  395. install -m 0755 -p src/zabbix_proxy/zabbix_proxy_* $RPM_BUILD_ROOT%{_sbindir}/
  396. %if 0%{?rhel} >= 7
  397. install -m 0755 -p %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/
  398. install -m 0755 -p %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}/
  399. %endif
  400. # nuke static libs and empty oracle upgrade sql
  401. rm -rf $RPM_BUILD_ROOT%{_libdir}/libzbx*.a
  402. # nuke extraneous sql files
  403. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/create
  404. # nuke database Makefiles
  405. rm -f database/Makefile*
  406. # Install SELinux policies
  407. %if 0%{?rhel} >= 6
  408. install -m 644 SELinux/zabbix-server.pp.bz2 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix/
  409. install -m 644 SELinux/zabbix-proxy.pp.bz2 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix/
  410. %endif
  411. # Install include files
  412. cp -pr include/* $RPM_BUILD_ROOT%{_includedir}/%{name}/
  413. %clean
  414. rm -rf $RPM_BUILD_ROOT
  415. %pre
  416. # Add the "zabbix" user
  417. /usr/sbin/useradd -c "Zabbix Monitoring System" \
  418. -s /sbin/nologin -r -d %{_localstatedir}/lib/%{name} zabbix 2> /dev/null || :
  419. %post server
  420. %if 0%{?rhel} >= 7
  421. %triggerun -- zabbix-server < 2.2.7
  422. if /sbin/chkconfig --level 3 zabbix-server; then
  423. /bin/systemctl --no-reload enable zabbix-server.service >/dev/null 2>&1 || :
  424. fi
  425. %systemd_post zabbix-server.service
  426. %else
  427. /sbin/chkconfig --add zabbix-server
  428. %endif
  429. /usr/sbin/semodule -s targeted -i \
  430. %{_datadir}/selinux/packages/zabbix/zabbix-server.pp.bz2 &> /dev/null || :
  431. %preun server
  432. %if 0%{?rhel} >= 7
  433. %systemd_preun zabbix-server.service
  434. %else
  435. if [ $1 -eq 0 ]; then
  436. /sbin/service zabbix-server stop >/dev/null 2>&1 || :
  437. /sbin/chkconfig --del zabbix-server
  438. fi
  439. %endif
  440. %postun server
  441. %if 0%{?rhel} >= 7
  442. %systemd_postun
  443. %endif
  444. if [ $1 -eq 0 ] ; then
  445. /usr/sbin/semodule -s targeted -r zabbix-server &> /dev/null || :
  446. fi
  447. %post agent
  448. %if 0%{?rhel} >= 7
  449. %triggerun -- zabbix-agent < 2.2.7
  450. if /sbin/chkconfig --level 3 zabbix-agent; then
  451. /bin/systemctl --no-reload enable zabbix-agent.service >/dev/null 2>&1 || :
  452. fi
  453. %systemd_post zabbix-agent.service
  454. %else
  455. /sbin/chkconfig --add zabbix-agent
  456. %endif
  457. semanage fcontext -a -t bin_t '%{_sbindir}/zabbix_agentd' 2>/dev/null || :
  458. restorecon -R %{_sbindir}/zabbix_agentd || :
  459. %preun agent
  460. %if 0%{?rhel} >= 7
  461. %systemd_preun zabbix-agent.service
  462. %else
  463. if [ $1 -eq 0 ]; then
  464. /sbin/service zabbix-agent stop >/dev/null 2>&1 || :
  465. /sbin/chkconfig --del zabbix-agent
  466. fi
  467. %endif
  468. %postun agent
  469. %if 0%{?rhel} >= 7
  470. %systemd_postun
  471. %endif
  472. if [ $1 -eq 0 ] ; then
  473. /usr/sbin/semanage fcontext -d -t bin_t '%{_sbindir}/zabbix_agentd' 2>/dev/null || :
  474. fi
  475. %post proxy
  476. %if 0%{?rhel} >= 7
  477. %triggerun -- zabbix-proxy < 2.2.7
  478. if /sbin/chkconfig --level 3 zabbix-proxy; then
  479. /bin/systemctl --no-reload enable zabbix-proxy.service >/dev/null 2>&1 || :
  480. fi
  481. %systemd_post zabbix-proxy.service
  482. %else
  483. /sbin/chkconfig --add zabbix-proxy
  484. %endif
  485. /usr/sbin/semodule -s targeted -i \
  486. %{_datadir}/selinux/packages/zabbix/zabbix-proxy.pp.bz
  487. %preun proxy
  488. %if 0%{?rhel} >= 7
  489. %systemd_preun zabbix-proxy.service
  490. %else
  491. if [ $1 -eq 0 ]; then
  492. /sbin/service zabbix-proxy stop >/dev/null 2>&1 || :
  493. /sbin/chkconfig --del zabbix-proxy
  494. fi
  495. %endif
  496. %postun proxy
  497. %if 0%{?rhel} >= 7
  498. %systemd_postun
  499. %endif
  500. if [ $1 -eq 0 ] ; then
  501. /usr/sbin/semodule -s targeted -r zabbix-proxy &> /dev/null || :
  502. fi
  503. %files
  504. %defattr(-,root,root,-)
  505. %doc AUTHORS ChangeLog COPYING NEWS README
  506. %dir %{_sysconfdir}/zabbix
  507. %attr(0750,zabbix,zabbix) %dir %{_localstatedir}/log/zabbix
  508. %attr(0755,zabbix,zabbix) %dir %{_localstatedir}/run/zabbix
  509. %dir %{_libdir}/%{name}/modules
  510. %if 0%{?rhel} >= 7
  511. %{_tmpfilesdir}/%{name}.conf
  512. %endif
  513. %files server
  514. %defattr(-,root,root,-)
  515. %doc AUTHORS ChangeLog COPYING NEWS README
  516. %doc database
  517. %config(noreplace) %attr(0640,root,zabbix) %{_sysconfdir}/zabbix/zabbix_server.conf
  518. %dir %attr(0750,root,zabbix) %{_sysconfdir}/zabbix/zabbix_server.conf.d
  519. %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-server
  520. %{_mandir}/man8/zabbix_server.8.gz
  521. %if 0%{?rhel} >= 6
  522. %{_datadir}/selinux/packages/zabbix/zabbix-server.pp.bz2
  523. %endif
  524. %if 0%{?rhel} >= 7
  525. %{_sbindir}/zabbix_server
  526. %{_unitdir}/zabbix-server.service
  527. %else
  528. %{_sysconfdir}/init.d/zabbix-server
  529. %endif
  530. %files server-mysql
  531. %defattr(-,root,root,-)
  532. %{_sbindir}/zabbix_server_mysql
  533. %files server-pgsql
  534. %defattr(-,root,root,-)
  535. %{_sbindir}/zabbix_server_pgsql
  536. %files agent
  537. %defattr(-,root,root,-)
  538. %config(noreplace) %attr(0640,root,zabbix) %{_sysconfdir}/zabbix/zabbix_agentd.conf
  539. %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-agent
  540. %dir %{_sysconfdir}/zabbix/zabbix_agentd.conf.d
  541. %{_sbindir}/zabbix_agentd
  542. %{_bindir}/zabbix_sender
  543. %{_bindir}/zabbix_get
  544. %{_mandir}/man1/zabbix_get.1.gz
  545. %{_mandir}/man1/zabbix_sender.1.gz
  546. %{_mandir}/man8/zabbix_agentd.8.gz
  547. %if 0%{?rhel} >= 7
  548. %{_unitdir}/zabbix-agent.service
  549. %else
  550. %{_sysconfdir}/init.d/zabbix-agent
  551. %endif
  552. %files proxy
  553. %defattr(-,root,root,-)
  554. %config(noreplace) %attr(0640,root,zabbix) %{_sysconfdir}/zabbix/zabbix_proxy.conf
  555. %dir %attr(0750,root,zabbix) %{_sysconfdir}/zabbix/zabbix_proxy.conf.d
  556. %config(noreplace) %{_sysconfdir}/logrotate.d/zabbix-proxy
  557. %{_mandir}/man8/zabbix_proxy.8.gz
  558. %if 0%{?rhel} >= 6
  559. %{_datadir}/selinux/packages/zabbix/zabbix-proxy.pp.bz2
  560. %endif
  561. %if 0%{?rhel} >= 7
  562. %{_sbindir}/zabbix_proxy
  563. %{_unitdir}/zabbix-proxy.service
  564. %else
  565. %{_sysconfdir}/init.d/zabbix-proxy
  566. %endif
  567. %files proxy-mysql
  568. %defattr(-,root,root,-)
  569. %{_sbindir}/zabbix_proxy_mysql
  570. %files proxy-pgsql
  571. %defattr(-,root,root,-)
  572. %{_sbindir}/zabbix_proxy_pgsql
  573. %files proxy-sqlite3
  574. %defattr(-,root,root,-)
  575. %{_sbindir}/zabbix_proxy_sqlite3
  576. %if 0%{?rhel} >= 6
  577. %files web
  578. %defattr(-,root,root,-)
  579. %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/zabbix/zabbix.conf.php
  580. %{_sysconfdir}/zabbix/db.inc.php
  581. %config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/httpd/conf.d/zabbix.conf
  582. %{_datadir}/zabbix
  583. %files web-mysql
  584. %defattr(-,root,root,-)
  585. %files web-pgsql
  586. %defattr(-,root,root,-)
  587. %endif
  588. %files devel
  589. %defattr(-,root,root,-)
  590. %{_includedir}/%{name}
  591. %changelog
  592. * Wed Oct 30 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.8-2
  593. - Update to 4.2.8 (daniel@firewall-services.com)
  594. * Fri Oct 04 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.7-1
  595. - Update to 4.2.7 (daniel@firewall-services.com)
  596. * Mon Sep 02 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.6-1
  597. - Update to 4.2.6 (daniel@firewall-services.com)
  598. * Wed Jul 31 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.5-1
  599. - Update to 4.2.5 (daniel@firewall-services.com)
  600. * Thu Jun 27 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.4-1
  601. - Update to 4.2.4 (daniel@firewall-services.com)
  602. * Tue Jun 11 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.3-1
  603. - Update to 4.2.3 (daniel@firewall-services.com)
  604. * Fri May 31 2019 Daniel Berteaud <daniel@firewall-services.com> 4.2.2-1
  605. - Update to 4.2.2 (daniel@firewall-services.com)
  606. * Fri May 31 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.8-1
  607. - Update to 4.0.8 (daniel@firewall-services.com)
  608. * Mon May 13 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.7-1
  609. - Update to 4.0.7 (daniel@firewall-services.com)
  610. * Fri Mar 29 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.6-1
  611. - Update to 4.0.6 (daniel@firewall-services.com)
  612. * Tue Feb 26 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.5-1
  613. - Update to 4.0.5 (daniel@firewall-services.com)
  614. * Mon Feb 04 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.4-1
  615. - Update to 4.0.4 (daniel@firewall-services.com)
  616. * Mon Jan 07 2019 Daniel Berteaud <daniel@firewall-services.com> 4.0.3-1
  617. - Update to upstream 4.0.3
  618. * Tue Dec 04 2018 Daniel Berteaud <daniel@firewall-services.com> 4.0.2-5
  619. - NoNewPrivileges can't be used, we need it for fping (daniel@firewall-
  620. services.com)
  621. * Tue Dec 04 2018 Daniel Berteaud <daniel@firewall-services.com> 4.0.2-4
  622. - Run Proxy and Server as zabbix right from the start (daniel@firewall-
  623. services.com)
  624. * Tue Dec 04 2018 Daniel Berteaud <daniel@firewall-services.com> 4.0.2-3
  625. - Typo in zabbix-proxy.service (daniel@firewall-services.com)
  626. * Tue Dec 04 2018 Daniel Berteaud <daniel@firewall-services.com> 4.0.2-2
  627. - Update service units (use Type=simple and add --foreground, better
  628. resources limits, better system protection for proxy and server
  629. (daniel@firewall-services.com)
  630. * Thu Nov 29 2018 Daniel Berteaud <daniel@firewall-services.com> 4.0.2-1
  631. - Update to upstream 4.0.2 (daniel@firewall-services.com)
  632. - Remove upgrages/dbpatches as it's not in archive anymore (daniel@firewall-
  633. services.com)
  634. - Remove previous archives (daniel@firewall-services.com)
  635. - Add BuildReq zlib-devel (daniel@firewall-services.com)
  636. - Configure tito to build using GitLfsBuilder (daniel@firewall-services.com)
  637. - Track tar.gz files with git lfs (daniel@firewall-services.com)
  638. * Wed Nov 14 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.15-1
  639. - Update to 3.4.15
  640. * Sat Sep 22 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.14-2
  641. - Don't use FS namespaces for the agent While they are a bit better security
  642. wise, it makes false vfs.fs.discovery results, including duplicated entries
  643. (for /tmp for example) (daniel@firewall-services.com)
  644. * Mon Sep 17 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.14-0.beta1
  645. - Update to 3.4.14
  646. * Wed Aug 29 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.13-1
  647. - Upgrade to 3.4.13
  648. * Wed Aug 01 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.12-1
  649. - Stop building with jabber support as iksemel is removed from EPEL
  650. (unmaintained and using insecure GnuTLS param)
  651. * Wed Aug 01 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.12-0.beta1
  652. - Update to 3.4.12
  653. * Mon Jul 09 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.11-2
  654. - Create a zabbix-devel package (daniel@firewall-services.com)
  655. * Tue Jun 26 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.11-1
  656. - Remove useless and ugly hack for socket removal (daniel@firewall-
  657. services.com)
  658. * Tue Jun 26 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.11-0.beta2
  659. - Allow unlinking sockets on shutdown (daniel@firewall-services.com)
  660. * Tue Jun 26 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.11-0.beta1
  661. - Upgrade to 3.4.11
  662. * Tue Jun 26 2018 Daniel Berteaud <daniel@firewall-services.com>
  663. - Upgrade to 3.4.11
  664. * Wed Jun 06 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.10-1
  665. - Update to 3.4.10
  666. - Remove local patch to fix editing dependant item prototypes
  667. * Tue May 29 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.9-3.beta0
  668. - Fix patch spacing issue (daniel@firewall-services.com)
  669. * Tue May 29 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.9-3
  670. - Backport fix for ZBX13712 (daniel@firewall-services.com)
  671. * Tue May 22 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.9-2
  672. - Update zabbix-proxy SELinux policy for EL 7.5 (daniel@firewall-services.com)
  673. * Mon May 14 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.9-1
  674. - Update to 3.4.9
  675. * Mon Apr 09 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.8-1
  676. - git-annex in dani@germaine.lapiole.org:~/src/zabbix (daniel@firewall-
  677. services.com)
  678. * Mon Mar 05 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.7-2
  679. - Delete spurious sock files before starting the proxy (daniel@firewall-
  680. services.com)
  681. * Mon Feb 19 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.7-1
  682. - Update to 3.4.7
  683. - git-annex in dani@germaine.lapiole.org:~/src/zabbix (daniel@firewall-
  684. services.com)
  685. * Wed Jan 31 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.6-3
  686. - Don't restrict access to db.conf.php as it's just code, not config
  687. * Mon Jan 29 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.6-2
  688. - Fix zabbix-proxy SELinux module loading and unloading on install
  689. (daniel@firewall-services.com)
  690. * Tue Jan 16 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.6-1
  691. - Upgrade to 3.4.6 (daniel@firewall-services.com)
  692. - git-annex in dani@germaine.lapiole.org:~/src/zabbix (daniel@firewall-
  693. services.com)
  694. * Mon Jan 8 2018 Daniel Berteaud <daniel@firewall-services.com> 3.4.5-1
  695. - Upgrade to 3.4.5
  696. * Fri Dec 15 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.4-4
  697. - Fix SELinux policy for proxy (daniel@firewall-services.com)
  698. * Thu Nov 30 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.4-3
  699. - Make sure socket files are removed before starting (daniel@firewall-
  700. services.com)
  701. - Remove useless changelog entry (daniel@firewall-services.com)
  702. - Symlink tito's releasers.conf to the global one (daniel@firewall-
  703. services.com)
  704. * Mon Nov 13 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.4-2
  705. - new package built with tito
  706. * Mon Nov 13 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.4-1
  707. - Remove fastcgi auth patch (daniel@firewall-services.com)
  708. * Wed Oct 18 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.3-1
  709. - Upgrade to 3.4.3
  710. * Tue Sep 26 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.2-1
  711. - Upgrade to 3.4.2
  712. * Mon Aug 28 2017 Daniel Berteaud <daniel@firewall-services.com> 3.4.1-1
  713. - Upgrade to 3.4.1
  714. - Stop building server and web components with SQLite3 as it's not
  715. supported anymore
  716. * Thu Jul 20 2017 Daniel Berteaud <daniel@firewall-services.com> 3.2.7-1
  717. - Upgrade to 3.2.7
  718. * Tue Jun 27 2017 Daniel Berteaud <daniel@firewall-services.com> 3.2.6-2
  719. - Put SELinux policies in /usr/share/selinux/packages/zabbix
  720. * Wed May 10 2017 Daniel Berteaud <daniel@firewall-services.com> 3.2.6-1
  721. - Upgrade to 3.2.6
  722. * Mon Apr 24 2017 Daniel Berteaud <daniel@firewall-services.com> 3.2.5-1
  723. - Upgrade to 3.2.5
  724. * Mon Feb 27 2017 Daniel Berteaud <daniel@firewall-services.com> 3.2.4-1
  725. - Upgrade to 3.2.4
  726. * Thu Dec 29 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.3-1
  727. - Upgrade to 3.2.3
  728. - Adjust SELinux policy for proxy to work on EL 7.3
  729. * Wed Dec 7 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.2-1
  730. - Upgrade to 3.2.2
  731. * Mon Oct 3 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.1-1
  732. - Upgrade to 3.2.1
  733. * Wed Sep 14 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.0-1
  734. - Upgrade to 3.2.0
  735. * Mon Jul 25 2016 Daniel Berteaud <daniel@firewall-services.com> 3.0.4-1
  736. - Update to 3.0.4
  737. * Mon May 23 2016 Daniel Berteaud <daniel@firewall-services.com> 3.0.3-1
  738. - Update to 3.0.3
  739. * Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 3.0.2-1
  740. - Update to 3.0.2
  741. * Thu Mar 24 2016 Daniel Berteaud <daniel@firewall-services.com> 3.0.1-2
  742. - Drop config_path patch and use --sysconfdir option to configure instead
  743. * Wed Mar 23 2016 Daniel Berteaud <daniel@firewall-services.com> 3.0.1-1
  744. - Upstream upgrade to 3.0.1
  745. - Stop building the web packages for el5
  746. * Wed Mar 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.7-2
  747. - Make auth working with FastCGI by also checking REDIRECT_PHP_AUTH_USER
  748. * Thu Nov 12 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.7-1
  749. - Update to 2.4.7
  750. * Tue Sep 1 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.6-1
  751. - Update to 2.4.6
  752. * Fri Jul 24 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.5-2
  753. - Rise mem limit to 150M for the agent
  754. * Wed Apr 22 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.5-1
  755. - Update to 2.4.5
  756. * Tue Mar 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.4-1
  757. - Update to 2.4.4
  758. - Create zabbix_agent.conf.d
  759. - Fix dupplicated Include directives
  760. * Tue Feb 10 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.3-2
  761. - Don't include conf.d fragments two times
  762. * Mon Feb 9 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.3-1
  763. - Update to 2.4.3
  764. * Fri Dec 12 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.2-1
  765. - Update to 2.4.2
  766. * Wed Dec 3 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.7-4
  767. - Rise mem limit for the agent as some external scripts
  768. require more than 10M
  769. * Tue Nov 4 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.7-3
  770. - Fix server postun scriplet
  771. - Fix SELinux policy for the server component on EL6.6
  772. * Wed Oct 29 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.7-2
  773. - Fix agent restart under systemd
  774. - Restart the agent if it exits (under systemd)
  775. - Add resources limits (CPU, memory and IO)
  776. - Make /etc and /usr read only (systemd only)
  777. - Prevent access to /home (systemd only)
  778. * Tue Oct 28 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.7-1
  779. - Update to 2.2.7
  780. - Provide systemd unit for RHEL >= 7
  781. - Include a tmpfiles.d fragment to create rundir for RHEL >= 7
  782. - Various cleanups
  783. * Tue Sep 9 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.6-3
  784. - Adapt httpd conf to work with apache 2.4
  785. - Stop using /etc/sysconfig/network
  786. * Tue Sep 9 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.6-2
  787. - Build with libxml2
  788. * Mon Sep 1 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.6-1
  789. - Update to 2.2.6
  790. * Tue Jul 22 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.5-1
  791. - Update to 2.2.5
  792. * Tue Jun 24 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.4-1
  793. - Update to 2.2.4
  794. * Thu Jun 12 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.3-2
  795. - Fix some SELinux AVC on server side
  796. * Mon Apr 14 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.3-1
  797. - Upgrade to 2.2.3
  798. * Thu Feb 13 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.2-1
  799. - Upgrade to 2.2.2
  800. * Fri Jan 17 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.1-2
  801. - Add missing dependency on net-snmp for proxy packages
  802. * Thu Dec 12 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.1-1
  803. - update to 2.2.1
  804. * Sun Dec 8 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-4
  805. - Fix SELinux related dependencies for EL5
  806. * Fri Dec 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3
  807. - Set bin_t context for zabbix_agentd
  808. - Provide a SELinux policy for server and proxy (for EL6 and above)
  809. * Thu Nov 28 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2
  810. - Fix permissions on db.inc.ph and zabbix.conf.php
  811. * Wed Nov 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-1
  812. - upgrade to 2.2.0
  813. - Improve default config
  814. - Restrict access to config files
  815. - Build with OpenIPMI support
  816. - Build with libssh2 support on EL6
  817. - Cleanup the spec file (rpmlint)
  818. * Wed Oct 9 2013 Daniel Berteaud <daniel@firewall-services.com> 2.0.9-1
  819. - upgrade to 2.0.9
  820. * Wed Aug 21 2013 Daniel Berteaud <daniel@firewall-services.com> 2.0.8-1
  821. - upgrade to 2.0.8
  822. * Tue Aug 20 2013 Daniel Berteaud <daniel@firewall-services.com> 2.0.7-1
  823. - upgrade to 2.0.7
  824. * Mon May 13 2013 Daniel Berteaud <daniel@firewall-services.com> 2.0.6-1
  825. - upgrade to 2.0.6
  826. * Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 2.0.5-1
  827. - upgrade to 2.0.5
  828. * Tue Dec 11 2012 Daniel Berteaud <daniel@firewall-services.com> 2.0.4-1
  829. - upgrade to 2.0.4
  830. * Thu Oct 4 2012 Daniel Berteaud <daniel@firewall-services.com> 2.0.3-1
  831. - upgrade to 2.0.3
  832. * Thu Aug 16 2012 Daniel Berteaud <daniel@firewall-services.com> 2.0.2-1
  833. - upgrade to 2.0.2
  834. * Sat Jun 30 2012 Daniel Berteaud <daniel@firewall-services.com> 2.0.1-9
  835. - upgrade to 2.0.1
  836. * Wed May 23 2012 Daniel Berteaud <daniel@firewall-services.com> 2.0.0-9
  837. - upgrade to 2.0.0
  838. * Mon May 14 2012 Daniel Berteaud <daniel@firewall-services.com> 1.8.13-9
  839. - upstream upgrade to 1.8.13
  840. * Thu Apr 26 2012 Daniel B. <daniel@firewall-services.com> 1.8.12-9
  841. - upstream upgrade to 1.8.12
  842. * Fri Mar 30 2012 Daniel B. <daniel@firewall-services.com> 1.8.11-9
  843. - upstream upgrade to 1.8.11
  844. - drop patches and support for EL4
  845. * Tue Feb 07 2012 Daniel B. <daniel@firewall-services.com> 1.8.10-8
  846. - upstream upgrade to 1.8.10
  847. * Tue Nov 22 2011 Daniel B. <daniel@firewall-services.com> 1.8.9-8
  848. - upstream upgrade to 1.8.9
  849. * Fri Oct 28 2011 Daniel B. <daniel@firewall-services.com> 1.8.8-7
  850. - Rebuild against correct sqlite-devel package
  851. * Wed Sep 28 2011 Daniel B. <daniel@firewall-services.com> 1.8.8-6
  852. - upstream upgrade to 1.8.8
  853. * Thu Sep 01 2011 Daniel B. <daniel@firewall-services.com> 1.8.7-6
  854. - upstream upgrade to 1.8.7
  855. * Wed May 11 2011 Daniel B. <daniel@firewall-services.com> 1.8.5-5
  856. - upstream upgrade to 1.8.5
  857. * Thu Jan 06 2011 Daniel B. <daniel@firewall-services.com> 1.8.4-4
  858. - Fix include path for schema.inc.php
  859. * Tue Jan 04 2011 Daniel B. <daniel@firewall-services.com> 1.8.4-3
  860. - upstream upgrade to 1.8.4
  861. * Tue Aug 24 2010 Daniel B. <daniel@firewall-services.com> 1.8.3-3
  862. - upstream upgrade to 1.8.3
  863. * Sun Jun 6 2010 Daniel B. <daniel@firewall-services.com> 1.8.2-3
  864. - just a release bump
  865. * Thu Apr 29 2010 Daniel B. <daniel@firewall-services.com> 1.8.2-2
  866. - fixe regression for mysql users (ZBX-1126)
  867. - re-add php-bcmath dependency
  868. * Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 1.8.2-1
  869. - no change
  870. * Tue Feb 16 2010 Daniel B. <daniel@firewall-services.com> 1.8.2-0.beta0
  871. - upstream upgrade to 1.8.2
  872. * Tue Feb 16 2010 Daniel B. <daniel@firewall-services.com> 1.8.1-0.beta0
  873. - upstream upgrade to 1.8.1
  874. * Tue Dec 1 2009 Daniel B. <daniel@firewall-services.com> 1.7.3-0.beta0
  875. - upstream upgrade to 1.7.3
  876. * Fri Nov 13 2009 Daniel B. <daniel@firewall-services.com> 1.6.7-1
  877. - Upstream upgrade to 1.6.7
  878. * Mon Sep 21 2009 Daniel B. <daniel@firewall-services.com> 1.6.6-1
  879. - Upstream upgrade to 1.6.6
  880. - remove compatibility patch for el4
  881. * Tue Jun 16 2009 Daniel B. <daniel@firewall-services.com> 1.6.5-1
  882. - Upstream upgrade to 1.6.5
  883. * Mon Apr 06 2009 Daniel B. <daniel@firewall-services.com> 1.6.4-1
  884. - Upstream upgrade to 1.6.4
  885. * Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> 1.6.3-0
  886. - Upstream upgrade to 1.6.3
  887. - Remove CPUstat patch
  888. - Remove snmp fixes (not needed anymore)
  889. * Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 1.6.2-4
  890. - Comment hard-coded php-bcmath dependencie as php4 includes this module
  891. * Fri Jan 30 2009 Daniel B. <daniel@firewall-services.com> 1.6.2-3
  892. - Added patch so it can compile on CentOS 4 (curl 7.12.1)
  893. * Fri Jan 23 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-2
  894. - Rebuild for MySQL 5.1.X
  895. * Fri Jan 16 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.2-1
  896. - Update to 1.6.2: http://www.zabbix.com/rn1.6.2.php
  897. * Thu Dec 4 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.1-1
  898. - Fix BZ#474593 by adding a requires.
  899. * Wed Nov 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6.1-1
  900. - Update to 1.6.1
  901. * Tue Sep 30 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6-1.1
  902. - Bump release because forgot to add some new files.
  903. * Tue Sep 30 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.6-1
  904. - Update to final 1.6
  905. * Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.4.6-2
  906. - Fix license tag.
  907. * Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.6-1
  908. - Update to 1.4.6
  909. * Mon Jul 07 2008 Dan Horak <dan[at]danny.cz> - 1.4.5-4
  910. - add LSB headers into init scripts
  911. - disable internal log rotation
  912. * Fri May 02 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.5-3
  913. - Seems the zabbix folks replaced the original 1.4.5 tarball with
  914. an updated tarball or something -- it actually does contain a
  915. tiny bit of additional code... So update to newer 1.4.5.
  916. * Tue Apr 08 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.5-2
  917. - Fix building w/postgresql (#441456)
  918. * Tue Mar 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.4.5-1
  919. - Update to 1.4.5
  920. * Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 1.4.4-2
  921. - Bump and rebuild with gcc 4.3
  922. * Mon Dec 17 2007 Jarod Wilson <jwilson@redhat.com> - 1.4.4-1
  923. - New upstream release
  924. - Fixes two crasher bugs in 1.4.3 release
  925. * Wed Dec 12 2007 Jarod Wilson <jwilson@redhat.com> - 1.4.3-1
  926. - New upstream release
  927. * Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.4.2-5
  928. - Rebuild for deps
  929. * Sat Dec 01 2007 Dan Horak <dan[at]danny.cz> 1.4.2-4
  930. - add security fix (#407181)
  931. * Thu Sep 20 2007 Dan Horak <dan[at]danny.cz> 1.4.2-3
  932. - Add a patch to clean a warning during compile
  933. - Add a patch to fix cpu load computations
  934. * Tue Aug 21 2007 Jarod Wilson <jwilson@redhat.com> 1.4.2-2
  935. - Account for binaries moving from %%_bindir to %%_sbindir
  936. * Tue Aug 21 2007 Jarod Wilson <jwilson@redhat.com> 1.4.2-1
  937. - New upstream release
  938. * Mon Jul 02 2007 Jarod Wilson <jwilson@redhat.com> 1.4.1-1
  939. - New upstream release
  940. * Fri Jun 29 2007 Jarod Wilson <jwilson@redhat.com> 1.4-3
  941. - Install correct sql init files (#244991)
  942. - Add Requires: php-bcmath to zabbix-web (#245767)
  943. * Wed May 30 2007 Jarod Wilson <jwilson@redhat.com> 1.4-2
  944. - Add placeholder zabbix.conf.php
  945. * Tue May 29 2007 Jarod Wilson <jwilson@redhat.com> 1.4-1
  946. - New upstream release
  947. * Fri Mar 30 2007 Jarod Wilson <jwilson@redhat.com> 1.1.7-1
  948. - New upstream release
  949. * Wed Feb 07 2007 Jarod Wilson <jwilson@redhat.com> 1.1.6-1
  950. - New upstream release
  951. * Thu Feb 01 2007 Jarod Wilson <jwilson@redhat.com> 1.1.5-1
  952. - New upstream release
  953. * Tue Jan 02 2007 Jarod Wilson <jwilson@redhat.com> 1.1.4-5
  954. - Add explicit R:php to zabbix-web (#220676)
  955. * Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-4
  956. - Fix snmp polling buffer overflow (#218065)
  957. * Wed Nov 29 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-3
  958. - Rebuild for updated libnetsnmp
  959. * Thu Nov 16 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-2
  960. - Fix up pt_br
  961. - Add Req-pre on useradd
  962. * Wed Nov 15 2006 Jarod Wilson <jwilson@redhat.com> 1.1.4-1
  963. - Update to 1.1.4
  964. * Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-3
  965. - Add BR: gnutls-devel, R: net-snmp-libs
  966. * Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-2
  967. - Fix php-pgsql Requires
  968. * Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 1.1.3-1
  969. - Update to 1.1.3
  970. * Mon Oct 02 2006 Jarod Wilson <jwilson@redhat.com> 1.1.2-1
  971. - Update to 1.1.2
  972. - Enable alternate building with postgresql support
  973. * Thu Aug 17 2006 Jarod Wilson <jwilson@redhat.com> 1.1.1-2
  974. - Yank out Requires: mysql-server
  975. - Add Requires: for php-gd and fping
  976. * Tue Aug 15 2006 Jarod Wilson <jwilson@redhat.com> 1.1.1-1
  977. - Update to 1.1.1
  978. - More macroification
  979. - Fix up zabbix-web Requires:
  980. - Prep for enabling postgres support
  981. * Thu Jul 27 2006 Jarod Wilson <jwilson@redhat.com> 1.1-2
  982. - Add Requires: on chkconfig and service
  983. - Remove openssl-devel from BR, mysql-devel pulls it in
  984. - Alter scriptlets to match Fedora conventions
  985. * Tue Jul 11 2006 Jarod Wilson <jwilson@redhat.com> 1.1-1
  986. - Initial build for Fedora Extras