[Pkg-mono-svn-commits] rev 3584 - in cli-common/trunk: . debian

Mirco Bauer meebey at alioth.debian.org
Thu Jan 10 23:43:18 UTC 2008


Author: meebey
Date: 2008-01-10 23:43:17 +0000 (Thu, 10 Jan 2008)
New Revision: 3584

Added:
   cli-common/trunk/cli.make
Modified:
   cli-common/trunk/debian/changelog
   cli-common/trunk/debian/cli-common-dev.install
   cli-common/trunk/dh_clideps
   cli-common/trunk/dh_cligacpolicy
   cli-common/trunk/postinst-cligac
   cli-common/trunk/postrm-cligacpolicy
   cli-common/trunk/prerm-cligac
Log:
cli-common 0.5.6 release



Added: cli-common/trunk/cli.make
===================================================================
--- cli-common/trunk/cli.make	                        (rev 0)
+++ cli-common/trunk/cli.make	2008-01-10 23:43:17 UTC (rev 3584)
@@ -0,0 +1 @@
+export MONO_SHARED_DIR=$(CURDIR)

Modified: cli-common/trunk/debian/changelog
===================================================================
--- cli-common/trunk/debian/changelog	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/debian/changelog	2008-01-10 23:43:17 UTC (rev 3584)
@@ -1,3 +1,18 @@
+cli-common (0.5.6) unstable; urgency=low
+
+  * debian/postrm-cligacpolicy:
+    + Only remove the GAC policy file in "remove" stage, else we try to remove
+      the file it again in "purge" stage, which fails of course.
+      (Closes: #460039, thanks to Varun Hiremath <varunhiremath at gmail.com> for
+      the investigation)
+  * debian/prerm-cligac:
+    + Only remove GAC assemblies in "remove" and "upgrade" stage, we don't
+      support error unwind here.
+  * debian/dh_clideps:
+    + Require cli-common >= 0.5.6 for packages that use dh_cligacpolicy.
+
+ -- Mirco Bauer <meebey at debian.org>  Thu, 10 Jan 2008 22:52:38 +0100
+
 cli-common (0.5.5) unstable; urgency=low
 
   * debian/control:

Modified: cli-common/trunk/debian/cli-common-dev.install
===================================================================
--- cli-common/trunk/debian/cli-common-dev.install	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/debian/cli-common-dev.install	2008-01-10 23:43:17 UTC (rev 3584)
@@ -1,4 +1,6 @@
 ildasm-monodis		/usr/share/cli-common/
+#cli.make		/usr/share/cli-common/
+
 dh_makeclilibs		/usr/bin/
 dh_clideps		/usr/bin/
 dh_clifixperms		/usr/bin/

Modified: cli-common/trunk/dh_clideps
===================================================================
--- cli-common/trunk/dh_clideps	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/dh_clideps	2008-01-10 23:43:17 UTC (rev 3584)
@@ -276,7 +276,8 @@
     # this package uses late GAC install, thus we need cli-common at package install time
     if (-f "debian/cligacpolicy" || -f "debian/$package.cligacpolicy") {
       # if this package uses dh_cligacpolicy then we need 0.5.4 for the policy-remove script in .postrm
-      $dh_ref = "cli-common (>= 0.5.4), ";
+      # and 0.5.6 to get a working .postrm script (tried also to remove on purge)
+      $dh_ref = "cli-common (>= 0.5.6), ";
     } else {
       # we still need at least 0.5.1, as older versions silently missed installing policy files
       $dh_ref = "cli-common (>= 0.5.1), ";

Modified: cli-common/trunk/dh_cligacpolicy
===================================================================
--- cli-common/trunk/dh_cligacpolicy	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/dh_cligacpolicy	2008-01-10 23:43:17 UTC (rev 3584)
@@ -86,8 +86,8 @@
   open(FILE, 'debian/control');
   my @filedata = <FILE>;
   close(FILE);
-  if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.5\.4\)/)) {
-      warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.4)!");
+  if (!($filedata[0] =~ /Build-Depends(-Indep)?: .*cli-common-dev \(>= 0\.5\.5\)/)) {
+      warning("Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.5)!");
   }
 }
 

Modified: cli-common/trunk/postinst-cligac
===================================================================
--- cli-common/trunk/postinst-cligac	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/postinst-cligac	2008-01-10 23:43:17 UTC (rev 3584)
@@ -1,4 +1,3 @@
-if [ "$1" = "configure" ] && [ -x /usr/share/cli-common/gac-package-install ]
-then
+if [ "$1" = "configure" ] && [ -x /usr/share/cli-common/gac-package-install ]; then
 	/usr/share/cli-common/gac-package-install #PACKAGE#
 fi

Modified: cli-common/trunk/postrm-cligacpolicy
===================================================================
--- cli-common/trunk/postrm-cligacpolicy	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/postrm-cligacpolicy	2008-01-10 23:43:17 UTC (rev 3584)
@@ -1,3 +1,3 @@
-if [ -x /usr/share/cli-common/policy-remove ]; then
+if [ "$1" = "remove" ] && [ -x /usr/share/cli-common/policy-remove ]; then
 	/usr/share/cli-common/policy-remove #ASSEMBLY# #VERSION#
 fi

Modified: cli-common/trunk/prerm-cligac
===================================================================
--- cli-common/trunk/prerm-cligac	2008-01-10 14:30:05 UTC (rev 3583)
+++ cli-common/trunk/prerm-cligac	2008-01-10 23:43:17 UTC (rev 3584)
@@ -1,3 +1,3 @@
-if [ -x /usr/share/cli-common/gac-package-remove ] ; then
+if [ "$1" = "remove" ] || [ "$1" = "upgrade" ] && [ -x /usr/share/cli-common/gac-package-remove ]; then
 	/usr/share/cli-common/gac-package-remove #PACKAGE#
 fi




More information about the Pkg-mono-svn-commits mailing list