[PATCH] Use new Dpkg::Checksums module

2008-01-26 Thread Frank Lichtenheld
* scripts/dpkg-genchanges.pl, scripts/dpkg-source.pl: Use new Dpkg::Checksums module. Adds new 'Checksums-{Sha1,Sha256}' field to .changes and .dsc files. Increase changes format to 1.8. --- scripts/dpkg-genchanges.pl | 55 ++--- scripts/dpkg-source.pl | 64

[PATCH] Dpkg::Checksums: New module for checksum handling in .dsc and .changes files

2008-01-26 Thread Frank Lichtenheld
--- debian/dpkg-dev.install |1 + scripts/Dpkg/Checksums.pm | 105 + scripts/Makefile.am |1 + scripts/po/POTFILES.in|1 + 4 files changed, 108 insertions(+), 0 deletions(-) create mode 100644 scripts/Dpkg/Checksums.pm diff --g

[PATCH v3] Enhance Checksums support

2008-01-26 Thread Frank Lichtenheld
So this is the version of the patch that implements aj's suggestions. I still like my format better, but really only for aesthetic reasons. The "Files" parsing should probably be factored out somehow, but I didn't really know where to put it. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> -

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Michael Biebl
Joey Hess wrote: Michael Biebl wrote: Hm, when you rename the conffile to *.dpkg-bak in pre-inst, dpkg does no longer track the conffile (as the original conffile does no longer exist). So how do you think, dpkg should handle that? dpkg does continue to remember that there was an obsolete c

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Frank Lichtenheld
On Fri, Jan 25, 2008 at 03:15:49PM -0500, Joey Hess wrote: > index 000..6bd8bf6 > --- /dev/null > +++ b/man/dpkg-conffile.8 > @@ -0,0 +1,132 @@ > +.\" This is an -*- nroff -*- source file. > +.\" dpkg-conffile and this manpage are Copyright 2008 by Joey Hess. > +.\" > +.\" This is free software

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Joey Hess
Michael Biebl wrote: > Hm, when you rename the conffile to *.dpkg-bak in pre-inst, dpkg does no > longer track the conffile (as the original conffile does no longer > exist). So how do you think, dpkg should handle that? dpkg does continue to remember that there was an obsolete conffile, even

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Michael Biebl
Joey Hess wrote: Michael Biebl wrote: It was discussed briefly on debian-devel, but there is also the case that the backup files should be cleaned up on purge. dpkg tracks obsolete conffiles, but on removal/purge, it does not remove the obsolete conffile. If it did, it would make sense for it

Re: [RFC] Enhance checksum support

2008-01-26 Thread Frank Lichtenheld
On Sun, Jan 20, 2008 at 01:45:35PM +1000, Anthony Towns wrote: > On Sat, Jan 19, 2008 at 06:15:45PM +0100, Frank Lichtenheld wrote: > The advantage of having all that in one place means you can verify the > hash properly with a simple script like: Ok, I can see that. > > So maybe keep the Checksu

Accepted dpkg 1.14.16.6 (source i386 all)

2008-01-26 Thread Raphael Hertzog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Format: 1.7 Date: Sat, 26 Jan 2008 19:20:40 +0100 Source: dpkg Binary: dpkg dpkg-dev dselect Architecture: source i386 all Version: 1.14.16.6 Distribution: unstable Urgency: medium Maintainer: Dpkg Developers Changed-By: Raphael Hertzog <[EMAIL PROTEC

dpkg_1.14.16.6_i386.changes ACCEPTED

2008-01-26 Thread Debian Installer
Accepted: dpkg-dev_1.14.16.6_all.deb to pool/main/d/dpkg/dpkg-dev_1.14.16.6_all.deb dpkg_1.14.16.6.dsc to pool/main/d/dpkg/dpkg_1.14.16.6.dsc dpkg_1.14.16.6.tar.gz to pool/main/d/dpkg/dpkg_1.14.16.6.tar.gz dpkg_1.14.16.6_i386.deb to pool/main/d/dpkg/dpkg_1.14.16.6_i386.deb dselect_1.14.16.

Processing of dpkg_1.14.16.6_i386.changes

2008-01-26 Thread Archive Administrator
dpkg_1.14.16.6_i386.changes uploaded successfully to localhost along with the files: dpkg_1.14.16.6.dsc dpkg_1.14.16.6.tar.gz dpkg_1.14.16.6_i386.deb dselect_1.14.16.6_i386.deb dpkg-dev_1.14.16.6_all.deb Greetings, Your Debian queue daemon -- To UNSUBSCRIBE, email to [EMAIL P

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Joey Hess
Michael Biebl wrote: > It was discussed briefly on debian-devel, but there is also the case > that the backup files should be cleaned up on purge. dpkg tracks obsolete conffiles, but on removal/purge, it does not remove the obsolete conffile. If it did, it would make sense for it to also remove

Re: [PATCH] add dpkg-conffile, based upon http://wiki.debian.org/DpkgConffileHandling

2008-01-26 Thread Michael Biebl
Joey Hess wrote: As discussed on debian-devel, different versions of these conffile handling shell functions on the wiki are being copied into maintainer scripts repeatedly, and adding a program to dpkg that handles things is a more maintainable approach. It was discussed briefly on debian-dev