repoforge/rpms — pull request #169 by dnsmichi (2012-05-15 15:32:59+00:00)
Title: new icinga 1.7.0 upstream release

please note the most important changes:

- moved bindir/idomod.o to libdir/idomod.so (requires config update)
- moved /var/icinga to /var/spool/icinga in icinga.spec (upgrade safe)
- renamed icinga-idoutils rpm to icinga-idoutils-libdbi-mysql|pgsql in
icinga.spec

these changes have been provided in order to make packaging more easy as
well as allow clean upstream packages. the move from /var/icinga to
/var/spool/icinga is made upgrade safe, so on package upgrade
retention.dat and objects.precache will be safely copied if existing.

upcoming icinga-web package will recognize and depend on these changes
as well.

below is the full changelog, for the exact changes on icinga itsself,
please refer to the official upstream Changelog.

* Sun May 06 2012 Michael Friedrich -
* 1.7.0-1
- drop idoutils, add idoutils-libdbi-mysql and idoutils-libdbi-pgsql
- add requires for libdbi drivers mysql and pgsql
- add conflicts vice versa to mysql and pgsql libdbi package
- sed ido2db.cfg for idoutils-libdbi-pgsql to match pgsql config on
upgrade
- log info message for idoutils to create db
- use the _sbindir macro instead of hardcoded /usr/sbin
- move pid file to _localstatedir/run/icinga.pid
- use name macro instead of hardcoded "icinga" everywhere
- introduce plugindir macro for global usage
- install icinga.logrotate example
- move ext cmd file location to
_localstatedir/spool/icinga/cmd/icinga.cmd
- set icinga user's home to _localstatedir/spool/icinga
- move checkresults to _localstatedir/spool/icinga/checkresults
- use --with-http-auth-file from #2533
- add default /etc/icinga/passwd with icingaadmin:icingaadmin default
login
- use ido2db.lock, ido.sock, idomod.tmp, icinga.chk location change from
configure params #1856
- use --with-state-dir=$spooldir for status.dat, objects.cache etc
- kick provides: nagios again, as this will cause dependency problems.
addons must be fixed.
- copy old retention.dat and objects.precache if found #2585
- add most valuable changes to README.RHEL*
- delete old bindir/idomod.o if found

* Sat Feb 25 2012 Michael Friedrich -
* 1.6.1-5
- add README.RHEL README.RHEL.idoutils to docs, thx Michael Gruener,
Stefan Marx #2212
- use newly introduced --with-eventhandler-dir and make
install-eventhandlers
- install sample eventhandlers to {_libdir}/icinga/eventhandlers
- use --enable-cgi-log from upstream instead of manual sed
- add {_sysconfdir}/icinga/conf.d because upstream will include that
with cfg_dir

* Fri Feb 24 2012 Michael Friedrich -
* 1.6.1-4
- rename idomod.o to idomod.so - see #2354
- use --libdir={_libdir}/icinga to install idomod.so instead of
{_bindir} - see #2346
- list {_libdir}/icinga/cgi/ cgis one by one, removing build warnings
- remove macros in changelog warnings from rpmlint
- use custom revision macro, don't forget that on spec updates
- drop webuser/group, was used only by deprecated icinga-api (thx
Michael Gruener) #2356
- change ownership of docs to root (thx Michael Gruener)
- add "README LICENSE Changelog UPGRADING" to all packages as docs (thx
Michael Gruener) #2212
- change permissions of resource.cfg to icinga:icinga 640 (thx Michael
Gruener)
- users who use cgi.cfg authorized_for_full_command_resolution must add
apache user to group themselves (security risk)
- put module/idoutils/db into docs instead of manually copying to
/etc/icinga/idoutils (thx Michael Gruener) #2357
- revamp the file permissions based on proposals by Michael Gruener

* Thu Feb 23 2012 Michael Friedrich -
* 1.6.1-3
- use --with-plugin-dir instead of --libexexdir for nagios plugins dir
introduced in #2344