[Pkg-nagios-devel] Bug#304795: nagios-common: 9999_nsca_pathfix patch - correct path to /usr/bin/printf
Filip Sneppe
Filip Sneppe <filip.sneppe@uptime.be>, 304795@bugs.debian.org
Fri, 15 Apr 2005 16:30:34 +0200
This is a multi-part MIME message sent by reportbug.
--===============1351916571==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: nagios-common
Version: 2:1.3-cvs.20050402-1
Severity: minor
I think this patch is needed so 9999_nsca_pathfix.dpatch sets the
correct path to /usr/bin/printf:
--- orig/nagios-1.3-cvs.20050402/debian/patches/9999_nsca_pathfix.dpatch 2005-04-14 10:35:45.000000000 +0200
+++ finalmod/nagios-1.3-cvs.20050402/debian/patches/9999_nsca_pathfix.dpatch 2005-04-15 16:08:37.000000000 +0200
@@ -20,14 +20,17 @@
diff -urNad nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca /home/seanius/tmp/dpep.VqnkWQ/nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
--- nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2004-12-06 18:17:43.000000000 -0500
+++ /home/seanius/tmp/dpep.VqnkWQ/nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2004-12-06 18:17:43.000000000 -0500
-@@ -28,8 +28,8 @@
+@@ -26,10 +26,10 @@
+ # IP address of the central server that has the nsca
+ # daemon running.
- printfcmd="/usr/bin/printf"
+-printfcmd="/bin/printf"
++printfcmd="/usr/bin/printf"
-NscaBin="/usr/local/nagios/libexec/send_nsca"
-NscaCfg="/usr/local/nagios/etc/send_nsca.cfg"
+NscaBin="/usr/sbin/send_nsca"
-+NscaCfg="/etc/send_nsca.cfg"
++NscaCfg="/etc/send_nsca.cfg"
NagiosHost="nagioshost"
# Fire the data off to the NSCA daemon using the send_nsca script
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.30-net-patches
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages nagios-common depends on:
ii adduser 3.63 Add and remove users and groups
ii apache2-mpm-pref 2.0.53-5 traditional model for Apache2
ii coreutils [fileu 5.2.1-2 The GNU core utilities
ii debconf [debconf 1.4.30.11 Debian configuration management sy
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii nagios-plugins 1.3.1.0-12 Plugins for the nagios network mon
ii nagios-text [nag 2:1.3-cvs.20050402-1 A host/service/network monitoring
-- debconf information:
* nagios/wwwsuid: true
nagios/upgradefromnetsaint:
* nagios/configapache: Apache2
--===============1351916571==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="better_9999_nsca_pathfix.dpatch"
--- orig/nagios-1.3-cvs.20050402/debian/patches/9999_nsca_pathfix.dpatch 2005-04-14 10:35:45.000000000 +0200
+++ finalmod/nagios-1.3-cvs.20050402/debian/patches/9999_nsca_pathfix.dpatch 2005-04-15 16:08:37.000000000 +0200
@@ -20,14 +20,17 @@
diff -urNad nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca /home/seanius/tmp/dpep.VqnkWQ/nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca
--- nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2004-12-06 18:17:43.000000000 -0500
+++ /home/seanius/tmp/dpep.VqnkWQ/nagios-1.3/contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca 2004-12-06 18:17:43.000000000 -0500
-@@ -28,8 +28,8 @@
+@@ -26,10 +26,10 @@
+ # IP address of the central server that has the nsca
+ # daemon running.
- printfcmd="/usr/bin/printf"
+-printfcmd="/bin/printf"
++printfcmd="/usr/bin/printf"
-NscaBin="/usr/local/nagios/libexec/send_nsca"
-NscaCfg="/usr/local/nagios/etc/send_nsca.cfg"
+NscaBin="/usr/sbin/send_nsca"
-+NscaCfg="/etc/send_nsca.cfg"
++NscaCfg="/etc/send_nsca.cfg"
NagiosHost="nagioshost"
# Fire the data off to the NSCA daemon using the send_nsca script
--===============1351916571==--