tags 603456 + patch tags 603456 + pending thanks Dear maintainer,
I've prepared an NMU for nagiosgrapher (versioned as 1.7.1-2.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Some explanations for the bug: The lenny package installed all templates to /usr/share/nagiosgrapher/debian/cfg/ngraph.d/ and used ucf to install them to /etc. The current squeeze package does so for all disabled templates, leaving the enabled templates (standard/check_disk.ncfg, standard/check_swap.ncfg, standard//check_ping.ncfg, standard/check_load.ncfg, standard//check_procs.ncfg, and standard/check_users.ncfg) to be installed as real files in /etc/.... As these files already exist on upgraded, that failes. Appearently the part of debian/rules handling the move of files from debian/nagiosgrapher/etc/ to debian/nagiosgrapher/usr/share has been rewriten in the meantime. I couldn't find a hint in the changelog, that the files mentioned are anything special, so I guess, they should still be shipped in usr/share and installed via ucf. The least intrusive way to do this (and the fastest) is to do it by hand, which I have done with this NMU. Note, that it doesn't address the core of the problem (the broken part of debian/rules), but I didn't want to rewrite that in an NMU. Regards.
diff -u nagiosgrapher-1.7.1/debian/rules nagiosgrapher-1.7.1/debian/rules --- nagiosgrapher-1.7.1/debian/rules +++ nagiosgrapher-1.7.1/debian/rules @@ -33,6 +33,13 @@ cp debian/commands.cfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/nagios3/ # install service perf. templates + tmpl_cfgs="standard//check_disk.ncfg standard//check_swap.ncfg standard//check_ping.ncfg standard//check_load.ncfg standard//check_procs.ncfg standard//check_users.ncfg" \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_disk.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_disk.ncfg; \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_swap.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_swap.ncfg; \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_ping.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_ping.ncfg; \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_load.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_load.ncfg; \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_procs.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_procs.ncfg; \ + mv $(PKG_TMP)/etc/$(PKG)/ngraph.d/templates/standard/check_users.ncfg $(PKG_TMP)/usr/share/$(PKG)/debian/cfg/ngraph.d/standard/check_users.ncfg; \ tmpl_root=$(PKG_TMP)/etc/$(PKG)/ngraph.d/templates; \ for tmpl_dir in $(TMPL_DIR); do \ for tmpl in $$tmpl_root/$$tmpl_dir/*.ncfg_disabled; do \ diff -u nagiosgrapher-1.7.1/debian/changelog nagiosgrapher-1.7.1/debian/changelog --- nagiosgrapher-1.7.1/debian/changelog +++ nagiosgrapher-1.7.1/debian/changelog @@ -1,3 +1,14 @@ +nagiosgrapher (1.7.1-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: install standard//check_disk.ncfg + standard//check_swap.ncfg standard//check_ping.ncfg + standard//check_load.ncfg standard//check_procs.ncfg via ucf instead of + directly in the package (as it was done before) (Closes: #603456) + * Set urgency to medium due to rc bug fix + + -- Alexander Reichle-Schmehl <toli...@debian.org> Fri, 26 Nov 2010 17:29:27 +0100 + nagiosgrapher (1.7.1-2) unstable; urgency=low [ Hendrik Frenzel ]