Your message dated Mon, 21 Nov 2016 12:33:56 +0000
with message-id <[email protected]>
and subject line Bug#659727: fixed in ttf-staypuft 0.04-7
has caused the Debian Bug report #659727,
regarding ttf-staypuft: use dh_installdeb maintscript support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
659727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ttf-staypuft
Version: 0.04-6
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise

Using 'dpkg-maintscript-helper supports rm_conffile' guards introduces
unreliability into upgrades; it means that the conffile is removed or
not depending on whether dpkg happens to be unpacked before fonts-f500.
This seems generally undesirable; it would be better to enforce a single
code path.  (This is academic for Debian because the version of dpkg in
squeeze supported dpkg-maintscript-helper, hence Severity: wishlist;
Ubuntu's last LTS release didn't have a sufficient version of dpkg for
that which is why I care.)

It would be nice to just use dh_installdeb's support for generating
dpkg-maintscript-helper commands, which was introduced in debhelper
8.1.0.  This would remove duplicate code from your maintainer scripts -
in fact, you'd no longer need to have handwritten maintainer scripts at
all.  Here's a patch:

  * Use maintscript support in dh_installdeb rather than writing out
    dpkg-maintscript-helper commands by hand.  We now simply Pre-Depend on a
    new enough version of dpkg rather than using 'dpkg-maintscript-helper
    supports' guards, leading to more predictable behaviour on upgrades.

diff -Nru ttf-staypuft-0.04/debian/control ttf-staypuft-0.04/debian/control
--- ttf-staypuft-0.04/debian/control    2011-07-22 22:49:49.000000000 +0100
+++ ttf-staypuft-0.04/debian/control    2012-02-13 13:28:28.000000000 +0000
@@ -2,12 +2,13 @@
 Section: fonts
 Priority: optional
 Maintainer: Edgar Antonio Palma de la Cruz <[email protected]>
-Build-Depends: debhelper (>= 8.0.0), fontforge, fontconfig
+Build-Depends: debhelper (>= 8.1.0~), fontforge, fontconfig
 Standards-Version: 3.9.2
 Homepage: http://www.thibault.org/fonts/staypuft/
 
 Package: ttf-staypuft
 Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, fontconfig
 Description: Stay-Puft free TrueType font
  Stay-Puft is a font developed freehand, with minimal splines. It's all
diff -Nru ttf-staypuft-0.04/debian/maintscript 
ttf-staypuft-0.04/debian/maintscript
--- ttf-staypuft-0.04/debian/maintscript        1970-01-01 01:00:00.000000000 
+0100
+++ ttf-staypuft-0.04/debian/maintscript        2012-02-13 13:28:00.000000000 
+0000
@@ -0,0 +1 @@
+rm_conffile /etc/defoma/hints/ttf-staypuft.hints 0.0.4-6
diff -Nru ttf-staypuft-0.04/debian/postinst ttf-staypuft-0.04/debian/postinst
--- ttf-staypuft-0.04/debian/postinst   2011-07-23 20:24:23.000000000 +0100
+++ ttf-staypuft-0.04/debian/postinst   1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-staypuft.hints 
0.0.4-6 -- "$@"
-fi
-
-#DEBHELPER#
diff -Nru ttf-staypuft-0.04/debian/postrm ttf-staypuft-0.04/debian/postrm
--- ttf-staypuft-0.04/debian/postrm     2011-07-23 21:42:11.000000000 +0100
+++ ttf-staypuft-0.04/debian/postrm     1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-staypuft.hints 
0.0.4-6 -- "$@"
-fi
-
-#DEBHELPER#
-
diff -Nru ttf-staypuft-0.04/debian/preinst ttf-staypuft-0.04/debian/preinst
--- ttf-staypuft-0.04/debian/preinst    2011-07-23 20:25:20.000000000 +0100
+++ ttf-staypuft-0.04/debian/preinst    1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
-  dpkg-maintscript-helper rm_conffile /etc/defoma/hints/ttf-staypuft.hints 
0.0.4-6 -- "$@"
-fi
-
-#DEBHELPER#
-

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: ttf-staypuft
Source-Version: 0.04-7

We believe that the bug you reported is fixed in the latest version of
ttf-staypuft, which is due to be installed in the Debian FTP archive.

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.
Daniele Adriana Goulart Lopes <[email protected]> (supplier of updated 
ttf-staypuft 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: SHA256

Format: 1.8
Date: Tue, 08 Nov 2016 21:29:21 -0200
Source: ttf-staypuft
Binary: ttf-staypuft
Architecture: source
Version: 0.04-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Daniele Adriana Goulart Lopes <[email protected]>
Description:
 ttf-staypuft - Free TrueType font
Closes: 659727
Changes:
 ttf-staypuft (0.04-7) unstable; urgency=medium
 .
   * QA upload.
   * Set Debian QA Group as maintainer. (See #834309)
   * Removed a postinst, postrm, preinst scripts. Using dh_installdeb
     maintscript support.
     Thanks to Colin Watson <[email protected]>. (Closes: #659727)
   * Updated DH level to 10.
   * debian/control: bumped Standards-Version to 3.9.8.
   * debian/copyright:
       - Using 1.0 format.
       - Updated all data.
   * debian/dirs: useless. removed.
   * debian/README.Debian: added a title to section that explains
     how to report bugs.
   * debian/ttf-staypuft.bug-presubj: removed because the content
     is already in README.Debian.
   * debian/ttf-staypuft.bug-script: removed because it is a very
     common and useless information.
   * debian/watch:
       - Updated.
       - Added a fake site to explain about the current status
         of the original upstream homepage.
Checksums-Sha1:
 61ce3e616f111056db16baa1de8eaf2c7fa40312 1769 ttf-staypuft_0.04-7.dsc
 e57cdf637e07fa41ef01877153e1424cb662cc74 3764 ttf-staypuft_0.04-7.debian.tar.xz
Checksums-Sha256:
 cb2a555164d6aff049924e5aa561afede5218fb17a920a6d6743768240bb65f2 1769 
ttf-staypuft_0.04-7.dsc
 b8355b756c03ce71d0050f4f3a9b7993e72984fb6bac6d2735748abbdb6cc544 3764 
ttf-staypuft_0.04-7.debian.tar.xz
Files:
 644bd0658396c33c751adc48364d32e8 1769 fonts optional ttf-staypuft_0.04-7.dsc
 fcc567d434e86389924f973a8728a44d 3764 fonts optional 
ttf-staypuft_0.04-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAlgy5lgACgkQ3mO5xwTr
6e+0tQ//SJYBSkGCuk0do9woEGIXC5myU4CV4mhIJYcBPIdi89jxjN0v4M3epV9x
O1yMfHmVtuV0AEiA+Sv8Pk6X28w/5n0D1PihGXq0Y1Cx+e9GHjrNXQv0Cf476dN+
weJpwpQQabqj8yIFDLg01GbU+ozZpyJ4lptbvwBeiDwhlIi3QkP1ccc34jPjAdyh
RP9xkAs3lDmLTBwPcwudjJEqURYd4mCR1DaVYgZ9RwmlxYkt7j1PwwwbvfOYPwcP
W7Q08yIP6tkUPDp/AJKTA+6xwP8E++uZ2U5uh3ulrTci0oB9RgPmq/TPRwwyjQqy
/WC0UN8KEWqYpsQ275o/rSBf0Q0rM7A5um+3sJFXY3RVAmtoN3yoxeYxg9z+bPTi
3Dwsnk1QmiylmAyoB6M9WXQuZg98/dTQf6Be92X/7Yeyqc6xZqkRhIUK2wQReY81
W09uFWMye8++k8eMnPoTysnXibi7Mwh1JREWirrWIlGmyDsDCgVTY3xQLlWjOWn4
HPcwwHiFVchAg8MUBhebHj2uSly0dNbdB5vV/GYZg5Br99j2T0ErKKhUCJGScYYQ
7RxtX5GqDcBodv0jkzH+K0Tf94SAbRLwBckwxWg3FoDtPGCkY3gyVcacJLrkbnv4
1lNJeCm44ODTvvvkpFTdZPYwpk107GVw0ma8FF6iGM6E3GULk4c=
=frbZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to