Your message dated Wed, 15 Nov 2006 18:32:07 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#398850: fixed in yada 0.51
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: yada
Version: 0.49
Severity: serious
Tags: etch-ignore patch

Hi,

The postrm files that yada creates unconditionally source the debconf
confmodule:

        . /usr/share/debconf/confmodule
        db_version 2.0 || [ $? -lt 30 ]

Policy stats that packages cannot require the presence of any
non-essential packages in the postrm/purge phase. This means that yada
creates policy violating packages.

I've understood from recent statements of the release team that failing
to purge when debconf is not available is not RC for etch, hence the
etch-ignore tag. However, it would of course make sense to fix yada
quickly so that any package built with yada is as policy compliant as
possible.

The attached patch fixes the issue. It doesn't add pretty whitespace,
that may be something you might want to add to it to complete it.


Thijs
diff -Nru /tmp/vic5eorRM6/yada-0.49/debian/changelog /tmp/AGMh1FzQ0r/yada-0.49/debian/changelog
--- /tmp/vic5eorRM6/yada-0.49/debian/changelog	2006-11-09 13:21:08.000000000 +0100
+++ /tmp/AGMh1FzQ0r/yada-0.49/debian/changelog	2006-11-15 23:29:37.000000000 +0100
@@ -1,3 +1,10 @@
+yada (0.49-0.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Only conditionally include debconf confmodule in postrm.
+
+ -- Thijs Kinkhorst <[EMAIL PROTECTED]>  Wed, 15 Nov 2006 23:10:41 +0100
+
 yada (0.49) unstable; urgency=low
 
   * debian/packages:
diff -Nru /tmp/vic5eorRM6/yada-0.49/debian/yada /tmp/AGMh1FzQ0r/yada-0.49/debian/yada
--- /tmp/vic5eorRM6/yada-0.49/debian/yada	2006-11-09 13:21:08.000000000 +0100
+++ /tmp/AGMh1FzQ0r/yada-0.49/debian/yada	2006-11-15 23:18:25.000000000 +0100
@@ -3329,9 +3329,15 @@
                     if (($_ eq 'postinst' or $_ eq 'postrm' or defined $$par{$_})
                         and defined $$par{'config'})
                     {
+                        if ( $_ 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' ) {
+                            print MAINT "fi\n" or die;
+                        }
                     }
                     if ($_ eq 'preinst' and defined $$par{'diversions'}) {
                         $alt = $$par{'diversions'};

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: yada
Source-Version: 0.51

We believe that the bug you reported is fixed in the latest version of
yada, which is due to be installed in the Debian FTP archive:

yada-doc_0.51_all.deb
  to pool/main/y/yada/yada-doc_0.51_all.deb
yada_0.51.dsc
  to pool/main/y/yada/yada_0.51.dsc
yada_0.51.tar.gz
  to pool/main/y/yada/yada_0.51.tar.gz
yada_0.51_all.deb
  to pool/main/y/yada/yada_0.51_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <[EMAIL PROTECTED]> (supplier of updated yada package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 16 Nov 2006 03:10:01 +0100
Source: yada
Binary: yada-doc yada
Architecture: source all
Version: 0.51
Distribution: unstable
Urgency: low
Maintainer: Piotr Roszatycki <[EMAIL PROTECTED]>
Changed-By: Piotr Roszatycki <[EMAIL PROTECTED]>
Description: 
 yada       - Yet Another Debianisation Aid
 yada-doc   - Yet Another Debianisation Aid - documentation and examples
Closes: 398850
Changes: 
 yada (0.51) unstable; urgency=low
 .
   * Only conditionally include debconf confmodule in postrm.
     Thanks Thijs Kinkhorst for patch. Closes: #398850.
Files: 
 28258fadb1a779ce35af2421cd6fbb70 502 devel optional yada_0.51.dsc
 eed021705772825a58c017fc160c0480 301782 devel optional yada_0.51.tar.gz
 a4705ce421fa853e42a85b9543582b2c 47828 devel optional yada_0.51_all.deb
 7e7f856d12c21c0280e05489b941e0f1 276970 devel optional yada-doc_0.51_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFW8oXhMHHe8CxClsRAkjoAKDZOIyNu8FV4eSwjueHv6mmPpW7zACg1MLH
MMoEAhNqCE+Lg2jwVmQiuD0=
=PCmV
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to