On Tue, 18 Feb 2014 09:24:57 +0100, Simon Kainz wrote: > I worked up a patch to hopefully fix this issue. > > Now each multiline entry is added to it's respective key by appending > a line break and the following multiline entries.
I looked into this issue now (finally, sorry). It seems that - Parse::Debian::Packages breaks on all multi-line entries, not just the first one (tested with random packages, which have a multiline Tag: field and nothing else) - Parse::Debian::Packages assumes a body, probably the description, wich doesn't exist anymore in the Packages file So this look quite broken :/ I've now adjusted your patch a bit (replaced tabs with whitespace, removed debug output) and tested it with several packages. The patch is committed to the package's git repo: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libparse-debian-packages-perl.git I'd like to have some more review to see if this is the best way to fix it, and if there are some cases where this might cause problems. (E.g. I'm no sure when the description was dropped from the Packages file.) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Peg Leg Sam: Joshua Fit The Battle Of Jericho
signature.asc
Description: Digital signature

