[Pkg-nagios-changes] [pkg-nagios] r952 - nagios-plugins/trunk/debian

Marc Haber zugschlus at costa.debian.org
Fri Jun 9 13:43:29 UTC 2006


Author: zugschlus
Date: 2006-06-09 13:43:27 +0000 (Fri, 09 Jun 2006)
New Revision: 952

Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/rules
Log:
  * make package build fail if /proc is not mounted, before I end up
    filing that bug a fourth time. Closes: #344389, #354215, #372316



Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2006-06-07 20:35:41 UTC (rev 951)
+++ nagios-plugins/trunk/debian/changelog	2006-06-09 13:43:27 UTC (rev 952)
@@ -1,8 +1,10 @@
 nagios-plugins (1.4.3-1.0) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * make package build fail if /proc is not mounted, before I end up
+    filing that bug a fourth time. Closes: #344389, #354215
 
- -- sean finney <sean at localhost.localdomain>  Sun, 28 May 2006 21:40:55 +0200
+ -- Marc Haber <mh+debian-packages at zugschlus.de>  Fri,  9 Jun 2006 13:18:50 +0000
 
 nagios-plugins (1.4.3-1) unstable; urgency=low
 

Modified: nagios-plugins/trunk/debian/rules
===================================================================
--- nagios-plugins/trunk/debian/rules	2006-06-07 20:35:41 UTC (rev 951)
+++ nagios-plugins/trunk/debian/rules	2006-06-09 13:43:27 UTC (rev 952)
@@ -44,6 +44,14 @@
 config.status: configure
 	export PATH=$(PATH)
 	dh_testdir
+	
+	# if /proc is not mounted, check_nagios and check_procs are
+	# silently omitted from build.
+	@if ! [ -d /proc/1 ]; then \
+	  echo "nagios-plugins needs a mounted /proc to correctly build"; \
+	  exit 1; \
+	fi
+	
 	ln -sf /usr/share/misc/config.sub .
 	ln -sf /usr/share/misc/config.guess .
 	rm -f config.cache




More information about the Pkg-nagios-changes mailing list