[Pkg-nagios-devel] nagios-plugins/debian/patches 10_config.h_debiandefaults.dpatch, NONE, 1.1

seanius at haydn.debian.org seanius at haydn.debian.org
Mon Oct 3 07:41:20 UTC 2005


Update of /cvsroot/pkg-nagios/nagios-plugins/debian/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv7773/debian/patches

Added Files:
	10_config.h_debiandefaults.dpatch 
Log Message:
forgot to add this

--- NEW FILE: 10_config.h_debiandefaults.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_config.h_debiandefaults.dpatch by  <seanius at localhost.localdomain>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad sid~/config.h.in sid/config.h.in
--- sid~/config.h.in	2005-10-03 02:50:20.000000000 -0400
+++ sid/config.h.in	2005-10-03 03:36:15.000000000 -0400
@@ -854,3 +854,6 @@
 /* Define to unsigned long or unsigned long long if <inttypes.h> and
    <stdint.h> don't define. */
 #undef uintmax_t
+
+/* include debian-specific hardcoded values */
+#include "np-debian.h"
diff -urNad sid~/np-debian.h sid/np-debian.h
--- sid~/np-debian.h	1969-12-31 19:00:00.000000000 -0500
+++ sid/np-debian.h	2005-10-03 03:37:05.000000000 -0400
@@ -0,0 +1,25 @@
+#ifndef _NP_DEBIAN_H_
+#define _NP_DEBIAN_H_
+
+#undef PATH_TO_MAILQ
+#define PATH_TO_MAILQ "/usr/bin/mailq"
+
+#undef SSH_COMMAND
+#define SSH_COMMAND "/usr/bin/ssh"
+
+#undef PATH_TO_FPING
+#define PATH_TO_FPING "/usr/bin/fping"
+
+#undef PATH_TO_QSTAT
+#define PATH_TO_QSTAT "/usr/bin/quakestat"
+
+#undef PATH_TO_SMBCLIENT
+#define PATH_TO_SMBCLIENT "/usr/bin/smbclient"
+
+#undef PATH_TO_NTPDATE
+#define PATH_TO_NTPDATE "/usr/sbin/ntpdate"
+
+#undef PATH_TO_NTPQ
+#define PATH_TO_NTPQ "/usr/bin/ntpq"
+
+#endif /* _NP_DEBIAN_H_ */




More information about the Pkg-nagios-devel mailing list