Source: nsca Version: 2.9.1-3.1 Severity: normal Tags: patch User: pkg-nagios-de...@lists.alioth.debian.org Usertags: nagios3-rm
Dear Maintainer, Please update your package to deal with the nagios3 removal from Debian (#845765). Consider applying the attached patch. Kind Regards, Bas
diff -u nsca-2.9.1/debian/changelog nsca-2.9.1/debian/changelog --- nsca-2.9.1/debian/changelog +++ nsca-2.9.1/debian/changelog @@ -1,3 +1,10 @@ +nsca (2.9.1-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use Icinga instead of Nagios (nagios3 removed from Debian). + + -- Bas Couwenberg <sebas...@debian.org> Sat, 03 Dec 2016 21:15:19 +0100 + nsca (2.9.1-3.1) unstable; urgency=low * Non-maintainer upload. diff -u nsca-2.9.1/debian/config nsca-2.9.1/debian/config --- nsca-2.9.1/debian/config +++ nsca-2.9.1/debian/config @@ -24,7 +24,7 @@ ;; # anything else is "undefined", so we then use our defaults *) - if which nagios >/dev/null 2>&2 || which nagios2 >/dev/null; then + if which icinga >/dev/null 2>&1 || which nagios >/dev/null 2>&2 || which nagios2 >/dev/null; then echo "true" else echo "false" diff -u nsca-2.9.1/debian/control nsca-2.9.1/debian/control --- nsca-2.9.1/debian/control +++ nsca-2.9.1/debian/control @@ -9,7 +9,7 @@ Package: nsca Architecture: any Depends: ${shlibs:Depends}, debconf (>> 0.5) | debconf-2.0, nsca-client, ${misc:Depends}, confget -Suggests: nagios3, nagios-plugins-basic | nagios-plugins +Suggests: icinga, monitoring-plugins-basic | monitoring-plugins Description: Nagios service monitor agent This addon allows you to send service check results to a central monitoring server running Nagios in a reasonably secure manner. diff -u nsca-2.9.1/debian/patches/04_nsca.cfg_nagios_vs_nagios.dpatch nsca-2.9.1/debian/patches/04_nsca.cfg_nagios_vs_nagios.dpatch --- nsca-2.9.1/debian/patches/04_nsca.cfg_nagios_vs_nagios.dpatch +++ nsca-2.9.1/debian/patches/04_nsca.cfg_nagios_vs_nagios.dpatch @@ -18,9 +18,9 @@ +# Note to debian users: icinga and nagios3 have +# different default locations for this file. this is the +# default location for icinga -+# command_file=/var/lib/icinga/rw/icinga.cmd ++command_file=/var/lib/icinga/rw/icinga.cmd +# and this is the default location for nagios3: -+command_file=/var/lib/nagios3/rw/nagios.cmd ++#command_file=/var/lib/nagios3/rw/nagios.cmd # ALTERNATE DUMP FILE # This is used to specify an alternate file the daemon should diff -u nsca-2.9.1/debian/postinst nsca-2.9.1/debian/postinst --- nsca-2.9.1/debian/postinst +++ nsca-2.9.1/debian/postinst @@ -44,7 +44,7 @@ ;; # anything else is "undefined", so we then use our defaults *) - if which nagios >/dev/null 2>&1 || which nagios3 >/dev/null 2>&1 || which nagios2 >/dev/null 2>&1 ; then + if which icinga >/dev/null 2>&1 || which nagios >/dev/null 2>&1 || which nagios3 >/dev/null 2>&1 || which nagios2 >/dev/null 2>&1 ; then echo "true" else echo "false"