[Pkg-nagios-changes] [SCM] debian packaging of PNP4Nagios branch, master, updated. v_0_6_11-2-12-g4935556

Sebastian Harl sh at tokkee.org
Wed Apr 27 07:37:07 UTC 2011


The following commit has been merged in the master branch:
commit b90e417fec9ba80a7a88ace4908a00dcaea908ca
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Apr 26 14:25:26 2011 +0200

    rules: Do not install config_local.php and config.php.$PKG_VERSION.

diff --git a/debian/changelog b/debian/changelog
index d5e228a..2022d91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,11 +11,12 @@ pnp4nagios (0.6.12-1) unstable; urgency=low
       prefix is set by layout=debian and cannot be overwritten, thus do not
       pretend this is possible. Also, do not use $prefix when setting man-/
       infodir but specify the complete path.
+    - Do not install config_local.php and config.php.$PKG_VERSION.
   * debian/rules, debian/pnp4nagios-bin.install:
     - Do not install npcd.8 using dh_installman; this is done by the upstream
       Makefile now.
 
- -- Sebastian Harl <tokkee at debian.org>  Tue, 26 Apr 2011 13:50:53 +0200
+ -- Sebastian Harl <tokkee at debian.org>  Tue, 26 Apr 2011 14:25:01 +0200
 
 pnp4nagios (0.6.11-2) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index f2ecca3..149f56e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -137,6 +137,10 @@ install: build
 
 	cp -av sample-config/httpd.conf debian/tmp/etc/pnp4nagios/apache.conf
 
+	# Remove unnecessary config files (duplicates)
+	rm -f debian/tmp/etc/pnp4nagios/config_local.php
+	rm -f debian/tmp/etc/pnp4nagios/config.php.0.6*
+
 	# Add subdirs to /var/spool/pnp4nagios/ to prepare for different modes
 	mkdir debian/tmp/var/spool/pnp4nagios/nagios
 	mkdir debian/tmp/var/spool/pnp4nagios/npcd

-- 
debian packaging of PNP4Nagios



More information about the Pkg-nagios-changes mailing list