[Pkg-nagios-changes] [SCM] Debian packaging for Nagios3 branch, master, updated. 3.2.0-5-14-gfb11e31
Alexander Wirt
formorer at debian.org
Thu Mar 18 13:34:13 UTC 2010
The following commit has been merged in the master branch:
commit 5f758b8e3685d10b59e0caddb58cb1c532cf4f86
Author: Alexander Wirt <formorer at debian.org>
Date: Thu Mar 18 11:58:27 2010 +0100
Fix paths
diff --git a/debian/rules b/debian/rules
index fcf8112..9165541 100755
--- a/debian/rules
+++ b/debian/rules
@@ -111,10 +111,10 @@ install-stamp: build-stamp fix-configs-stamp
# zero out INSTALL_OPTS to prevent chowning at build-time
make install-unstripped DESTDIR=$b/tmp INSTALL_OPTS=""
# move some arch-indep stuff to the other packages
- chgrp www-data ${bnc}/var/cache/nagios3
- chmod g+s ${bnc}/var/cache/nagios3
- chown root:www-data ${bnc}/var/lib/nagios3/rw
- chmod 700 ${bnc}/var/lib/nagios3/rw
+ chgrp www-data ${b}/nagios3-common/var/cache/nagios3
+ chmod g+s ${b}/nagios3-common/var/cache/nagios3
+ chown root:www-data ${b}/nagios3-common/var/lib/nagios3/rw
+ chmod 700 ${b}/nagios3-common/var/lib/nagios3/rw
dh_link -i
dh_lintian
dh_installdocs -i
@@ -129,7 +129,7 @@ install-stamp: build-stamp fix-configs-stamp
-e 's,^#\(ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3\),\1,' \
-e 's,^#\(Alias /nagios /usr/share/nagios3/htdocs\),\1,' \
-e 's,^ #\(AuthUserFile /etc/nagios/htpasswd.users\), \1,' \
- ${bnc}/usr/share/doc/nagios3-common/examples/apache2.conf > ${bnc}/usr/share/doc/nagios3-common/examples/apache2.nagios1.conf
+ ${b}/nagios3-common//usr/share/doc/nagios3-common/examples/apache2.conf > ${bnc}/usr/share/doc/nagios3-common/examples/apache2.nagios1.conf
chmod 755 ${b}/nagios3-common/var/lib/icinga
rm ${b}/nagios3-common/etc/icinga/cgi.cfg
touch install-stamp
--
Debian packaging for Nagios3
More information about the Pkg-nagios-changes
mailing list