Fixed patch in attachment...

2007/5/3, Piotr Roszatycki <[EMAIL PROTECTED]>:
package phpmyadmin
tags 417739 pending patch etch
thanks

2007/5/1, Piotr Roszatycki <[EMAIL PROTECTED]>:
> Oooops. I was sure that the problem is already fixed. See #398850.
>
> It is really easy to fix the problem. I'm going to upload new new
> package ASAP. Do you know how to release the package from stable
> distribution?
>
> Thanks.
>
> 2007/5/1, Thijs Kinkhorst <[EMAIL PROTECTED]>:
> > Hi Piotr,
> >
> > This RC bug has now been open for a month but has seen no response yet.
> > Since it causes other packages that use yada to be RC-buggy aswell I think
> > there's a good incentive to fix it quickly.
> >
> > Please fix the bug in yada - the other packages will then be fixed by a
> > simple rebuild.
> >
> >
> > thanks
> > Thijs
> >
> >
> >
>
>
> --
>  .''`.    Piotr Roszatycki
> : :' :    mailto:[EMAIL PROTECTED]
> `. `'     mailto:[EMAIL PROTECTED]
>   `-
>


--
 .''`.    Piotr Roszatycki
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
  `-




--
.''`.    Piotr Roszatycki
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
 `-
diff -Nru yada-0.52/debian/changelog yada-0.52.1/debian/changelog
--- yada-0.52/debian/changelog	2006-12-08 13:09:14.000000000 +0100
+++ yada-0.52.1/debian/changelog	2007-05-03 23:37:35.000000000 +0200
@@ -1,3 +1,11 @@
+yada (0.52.1) stable; urgency=medium
+
+  * debian/yada:
+    - Do not use Debconf in postrm if it is not available. It fixes serious
+      bug. Closes: #417739.
+
+ -- Piotr Roszatycki <[EMAIL PROTECTED]>  Thu,  3 May 2007 23:27:15 +0200
+
 yada (0.52) unstable; urgency=low
 
   * debian/yada:
diff -Nru yada-0.52/debian/rules yada-0.52.1/debian/rules
--- yada-0.52/debian/rules	2006-12-08 13:11:08.000000000 +0100
+++ yada-0.52.1/debian/rules	2007-05-04 00:07:44.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 # Generated automatically from debian/packages
-# by yada v0.52, of Fri,  8 Dec 2006
+# by yada v0.52.1, of Thu, 03 May 2007
 
 DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
 DEB_HOST_ARCH_OS     := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
diff -Nru yada-0.52/debian/yada yada-0.52.1/debian/yada
--- yada-0.52/debian/yada	2006-12-08 13:09:14.000000000 +0100
+++ yada-0.52.1/debian/yada	2007-05-04 00:07:16.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 ## yada -- Yet Another Debianisation Aid
 ## Copyright 1999 Charles Briscoe-Smith
-## Copyright 1999-2006 Piotr Roszatycki
+## Copyright 1999-2007 Piotr Roszatycki
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ##
-## $Id: /svn/trunk/debian/yada 356 2006-12-08T12:09:32.373520Z dexter  $
+## $Id: /svn/trunk/debian/yada 355 2007-05-03T22:07:12.406613Z dexter  $
 
 $modified = "";
 
@@ -25,10 +25,10 @@
 $project = "yada";
 
 ## $Format: "$projectversion = \"$ProjectVersion$\";"$
-$projectversion = "0.52";
+$projectversion = "0.52.1";
 
 ## $Format: "$projectdate = \"$ProjectDate$\";"$
-$projectdate = "Fri,  8 Dec 2006 12:57:09 +0100";
+$projectdate = "Thu, 03 May 2007 23:25:20 +0200";
 
 ## If you modify this file (e.g. for an NMU) please add a version line:
 #$modified .=
@@ -39,7 +39,7 @@
 $yadaversion =
   "Yet Another Debianization Aid ($project v$projectversion, of $projectdate)\n"
   . "${modified}Copyright 1999 Charles Briscoe-Smith.\n"
-  . "Copyright 1999-2006 Piotr Roszatycki.\n"
+  . "Copyright 1999-2007 Piotr Roszatycki.\n"
   . "Released as free software under the terms of the GNU General Public License.";
 
 ########################################################################
@@ -3340,13 +3340,13 @@
                     if (($_ eq 'postinst' or $_ eq 'postrm' or defined $$par{$_})
                         and defined $$par{'config'})
                     {
-                        if ( $_ eq 'postrm' ) {
+                        if ( $_ eq 'prerm' or $_ eq 'postrm' ) {
                             print MAINT "\nif [ -f /usr/share/debconf/confmodule ]; then" or die;
                         }
                         print MAINT "\n. /usr/share/debconf/confmodule\n"
                           . "db_version 2.0 || [ \$? -lt 30 ]\n"
                           or die;
-                        if ( $_ eq 'postrm' ) {
+                        if ( $_ eq 'prerm' or $_ eq 'postrm' ) {
                             print MAINT "fi\n" or die;
                         }
                     }
@@ -3610,7 +3610,7 @@
                     }
                     if ($_ eq 'postrm' and defined $$par{'config'}) {
                         print MAINT
-                          "\nif [ \"\$1\" = purge ] && [ -e /usr/share/debconf/confmodule ]; then\n"
+                          "\nif [ \"\$1\" = purge ] && [ -f /usr/share/debconf/confmodule ]; then\n"
                           . "    db_purge\n"
                           . "fi\n"
                           or die;
@@ -3618,7 +3618,11 @@
                     if (($_ eq 'postinst' or $_ eq 'postrm')
                         and defined $$par{'config'})
                     {
-                        print MAINT "\ndb_stop\n" or die;
+                        print MAINT
+                          "\nif [ -f /usr/share/debconf/confmodule ]; then\n"
+                          . "    db_stop\n"
+                          . "fi\n"
+                          or die;
                     }
                     if ($_ eq 'postinst' and defined $$par{'init'}) {
                         $alt = $$par{'init'};

Reply via email to