[Pkg-nagios-changes] [pkg-nagios] r1672 - nagios-nrpe/trunk/debian

Alexander Wirt formorer at alioth.debian.org
Mon Jul 6 05:49:45 UTC 2009


tags 535737 pending
thanks

Author: formorer
Date: 2009-07-06 05:49:43 +0000 (Mon, 06 Jul 2009)
New Revision: 1672

Modified:
   nagios-nrpe/trunk/debian/changelog
   nagios-nrpe/trunk/debian/rules
Log:
Add config.{guess,sub]


Modified: nagios-nrpe/trunk/debian/changelog
===================================================================
--- nagios-nrpe/trunk/debian/changelog	2009-07-06 05:44:44 UTC (rev 1671)
+++ nagios-nrpe/trunk/debian/changelog	2009-07-06 05:49:43 UTC (rev 1672)
@@ -5,6 +5,7 @@
   * Remove 'last modified header' from nrpe config (Closes: #499280)
   * Create /etc/nagios/nrpe.d (Closes: #505700, #474333)
   * Fix pidfile handling (Closes: #411046)
+  * Add newer config.{guess,sub} if available (Closes: #535737)
 
  -- Alexander Wirt <formorer at debian.org>  Mon, 06 Jul 2009 07:08:26 +0200
 

Modified: nagios-nrpe/trunk/debian/rules
===================================================================
--- nagios-nrpe/trunk/debian/rules	2009-07-06 05:44:44 UTC (rev 1671)
+++ nagios-nrpe/trunk/debian/rules	2009-07-06 05:49:43 UTC (rev 1672)
@@ -23,6 +23,12 @@
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
+	ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+		cp -f /usr/share/misc/config.sub config.sub
+	endif
+	ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+		cp -f /usr/share/misc/config.guess config.guess
+	endif
 	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/nagios/plugins --libdir=/usr/lib/nagios --enable-command-args
 	$(MAKE) all
 	touch build-stamp
@@ -32,6 +38,7 @@
 	dh_testroot
 	if test -f Makefile; then $(MAKE) distclean; fi
 	dh_clean
+	rm -f config.sub config.guess
 	rm -f build-stamp install-stamp fix-configs-stamp
 
 install: install-stamp




More information about the Pkg-nagios-changes mailing list