[Pkg-nagios-changes] [pkg-nagios-plugins] 16/413: * make package build fail if /proc is not mounted, before I end up filing that bug a fourth time. Closes: #344389, #354215, #372316

Jan Wagner waja at moszumanska.debian.org
Tue Nov 26 23:13:01 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 37db2d68a0c423bb6a06ff33f178bd378eae7639
Author: Marc Haber <mh+debian-packages at zugschlus.de>
Date:   Fri Jun 9 13:43:27 2006 +0000

      * make package build fail if /proc is not mounted, before I end up
        filing that bug a fourth time. Closes: #344389, #354215, #372316
---
 debian/changelog | 4 +++-
 debian/rules     | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 09eaf2c..86814bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
 
diff --git a/debian/rules b/debian/rules
index 3928fa6..25c82e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,14 @@ endif
 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

-- 
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