[Pkg-nagios-changes] [pkg-nagios] r1234 - ndoutils/trunk/debian

Hendrik Frenzel hfrenzel-guest at alioth.debian.org
Thu Sep 27 19:00:25 UTC 2007


Author: hfrenzel-guest
Date: 2007-09-27 19:00:25 +0000 (Thu, 27 Sep 2007)
New Revision: 1234

Modified:
   ndoutils/trunk/debian/changelog
   ndoutils/trunk/debian/ndoutils-NG-DB.config.in
   ndoutils/trunk/debian/ndoutils-NG-DB.postinst.in
   ndoutils/trunk/debian/ndoutils-NG-DB.postrm.in
   ndoutils/trunk/debian/ndoutils-NG-DB.prerm.in
   ndoutils/trunk/debian/rules
Log:
fixed dbconfig's debconf


Modified: ndoutils/trunk/debian/changelog
===================================================================
--- ndoutils/trunk/debian/changelog	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/changelog	2007-09-27 19:00:25 UTC (rev 1234)
@@ -1,3 +1,9 @@
+ndoutils (1.4b6-2) unstable; urgency=low
+
+  * Fixed dbconfig-common's debconf packagename
+
+ -- Hendrik Frenzel <hfrenzel at scunc.net>  Thu, 27 Sep 2007 20:43:13 +0200
+
 ndoutils (1.4b6-1) unstable; urgency=low
 
   * New upstream release

Modified: ndoutils/trunk/debian/ndoutils-NG-DB.config.in
===================================================================
--- ndoutils/trunk/debian/ndoutils-NG-DB.config.in	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/ndoutils-NG-DB.config.in	2007-09-27 19:00:25 UTC (rev 1234)
@@ -7,7 +7,7 @@
 
 if [ -f /usr/share/dbconfig-common/dpkg/config.@@DB@@ ]; then
 	. /usr/share/dbconfig-common/dpkg/config.@@DB@@
-	dbc_go @@PACKAGE@@ $@
+	dbc_go @@PKG_SHORT@@ $@
 fi
 db_stop
 

Modified: ndoutils/trunk/debian/ndoutils-NG-DB.postinst.in
===================================================================
--- ndoutils/trunk/debian/ndoutils-NG-DB.postinst.in	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/ndoutils-NG-DB.postinst.in	2007-09-27 19:00:25 UTC (rev 1234)
@@ -11,7 +11,7 @@
 	dbc_generate_include='template:/etc/nagios2/ndo2db.cfg'
 	dbc_generate_include_owner='nagios:nagios'
 	dbc_generate_include_args='--ucf -o template_infile=/usr/share/@@PACKAGE@@/tmpl/ndo2db.cfg '
-	dbc_go @@PACKAGE@@ $@
+	dbc_go @@PKG_SHORT@@ $@
 fi
 db_stop
 

Modified: ndoutils/trunk/debian/ndoutils-NG-DB.postrm.in
===================================================================
--- ndoutils/trunk/debian/ndoutils-NG-DB.postrm.in	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/ndoutils-NG-DB.postrm.in	2007-09-27 19:00:25 UTC (rev 1234)
@@ -11,7 +11,7 @@
 
 if [ -f /usr/share/dbconfig-common/dpkg/postrm.@@DB@@ ]; then
 	. /usr/share/dbconfig-common/dpkg/postrm.@@DB@@
-	dbc_go @@PACKAGE@@ $@
+	dbc_go @@PKG_SHORT@@ $@
 fi
 
 if [ "$1" = "purge" ]; then

Modified: ndoutils/trunk/debian/ndoutils-NG-DB.prerm.in
===================================================================
--- ndoutils/trunk/debian/ndoutils-NG-DB.prerm.in	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/ndoutils-NG-DB.prerm.in	2007-09-27 19:00:25 UTC (rev 1234)
@@ -7,7 +7,7 @@
 
 . /usr/share/debconf/confmodule
 . /usr/share/dbconfig-common/dpkg/prerm.@@DB@@
-dbc_go @@PACKAGE@@ $@
+dbc_go @@PKG_SHORT@@ $@
 
 # summary of how this script can be called:
 #        * <prerm> `remove'

Modified: ndoutils/trunk/debian/rules
===================================================================
--- ndoutils/trunk/debian/rules	2007-09-27 18:11:19 UTC (rev 1233)
+++ ndoutils/trunk/debian/rules	2007-09-27 19:00:25 UTC (rev 1234)
@@ -118,7 +118,7 @@
 	@echo " ### Doing $@"
 	for script in dirs ndoutils.{default,init} config {pre,post}{rm,inst} manpages; do \
 		test -e debian/ndoutils-NG-DB.$${script}.in && \
-			sed "s/@@NG@@/nagios2/g;s/@@DB@@/mysql/g;s/@@PACKAGE@@/$@/g;s/@@DBPORT@@/3306/g" \
+			sed "s/@@NG@@/nagios2/g;s/@@DB@@/mysql/g;s/@@PACKAGE@@/$@/g;s/@@PKG_SHORT@@/ndoutils-mysql/g;s/@@DBPORT@@/3306/g" \
 				< debian/ndoutils-NG-DB.$${script}.in > debian/$@.$${script}; \
 	done
 	dh_installdirs -p$@ -P$(b)/$@




More information about the Pkg-nagios-changes mailing list