[Pkg-nagios-changes] [pkg-nagios-plugins] 325/413: Adjusting path of rpcbind to /usr/sbin and recommend rpcbind, droping ubuntu specific adjustments

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:38 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-plugins.

commit 3ca020224ce311e27fd4adb30d60c6f9f2849adf
Author: Jan Wagner <waja at cyconet.org>
Date:   Mon Jun 24 13:35:52 2013 +0000

    Adjusting path of rpcbind to /usr/sbin and recommend rpcbind, droping ubuntu specific adjustments
---
 debian/README.Debian.plugins.in |  3 +++
 debian/changelog                |  3 ++-
 debian/control                  |  4 ++--
 debian/rules                    | 10 +---------
 4 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/debian/README.Debian.plugins.in b/debian/README.Debian.plugins.in
index 482c1cb..7b135fc 100644
--- a/debian/README.Debian.plugins.in
+++ b/debian/README.Debian.plugins.in
@@ -51,6 +51,9 @@ check_mailq:
 check_oracle:
   * procps
 
+check_rpc:
+  * rpcbind
+
 check_wave:
   * snmp
 
diff --git a/debian/changelog b/debian/changelog
index 441347a..e10dcaf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ nagios-plugins (1.4.16-2) UNRELEASED; urgency=low
   * Add versioned dependency to inetutils-ping (Closes: #680416), thanks to
     Robert Millan
   * Move nagios-plugins-contrib from Recommends to Suggests
-  * Define the path for rpcinfo on ubuntu to /usr/sbin and depended on rpcbind
+  * Define the path for rpcinfo to /usr/sbin and recommend rpcbind
     - LP: #1086151
+    - Closes: #713839, thanks to Russell Sim
 
  -- Jan Wagner <waja at cyconet.org>  Wed, 27 Jun 2012 23:14:40 +0200
 
diff --git a/debian/control b/debian/control
index d954fcb..54d61a2 100644
--- a/debian/control
+++ b/debian/control
@@ -65,8 +65,8 @@ Package: nagios-plugins-standard
 Architecture: any
 Conflicts: nagios-plugins (<= 1.4.2-3)
 Replaces: nagios-plugins
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${dist:Depends}, ucf, nagios-plugins-basic (>= 1.4.5-2)
-Recommends: ${shlibs:Recommends}, fping, snmp, libnet-snmp-perl, dnsutils, bind9-host | host, smbclient, whois, qstat
+Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, nagios-plugins-basic (>= 1.4.5-2)
+Recommends: ${shlibs:Recommends}, fping, snmp, libnet-snmp-perl, dnsutils, bind9-host | host, smbclient, whois, qstat, rpcbind
 Suggests: nagios3 | icinga, postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light
 Description: Plugins for nagios compatible monitoring systems
  Plugins for nagios compatible monitoring systems like Nagios and Icinga. It
diff --git a/debian/rules b/debian/rules
index 5e409dc..0fd528f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,14 +29,6 @@ NP_BASIC_TEMPLATES:=$(NP_BASIC_DIR)/usr/share/nagios-plugins/templates-basic
 NP_STD_DIR:=$(DEBIANDIR)/nagios-plugins-standard
 NP_STD_TEMPLATES:=$(NP_STD_DIR)/usr/share/nagios-plugins/templates-standard
 
-ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
-	DEPSUBSTVARS = -Vdist:Depends="rpcbind"
-	RPCINFO_CONFIGURE_ARGS = /usr/sbin/rpcinfo
-else
-	DEPSUBSTVARS = -Vdist:Depends=""
-	RPCINFO_CONFIGURE_ARGS = /usr/bin/rpcinfo
-endif
-
 std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \
 	check_rpc check_snmp check_wave check_fping check_game \
 	check_radius check_mysql check_mysql_query check_pgsql \
@@ -109,7 +101,7 @@ config.status: configure
 		$(PING_CONFIGURE_ARGS) \
 		--with-nslookup-command="/usr/bin/nslookup -sil" \
 		--with-uptime-command="/usr/bin/uptime" \
-		--with-rpcinfo-command=${RPCINFO_CONFIGURE_ARGS} \
+		--with-rpcinfo-command="/usr/sbin/rpcinfo" \
 		--with-smbclient-command="/usr/bin/smbclient" \
 		--with-snmpget-command="/usr/bin/snmpget" \
 		--with-snmpgetnext-command="/usr/bin/snmpgetnext" \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git



More information about the Pkg-nagios-changes mailing list