Author: rra Date: 2007-12-04 03:59:33 +0100 (Tue, 04 Dec 2007) New Revision: 1015
Modified: trunk/debian/changelog trunk/unpack/list-srcpkg Log: * unpack/list-srcpkg: + [RA] Escape ; and newline characters in all package fields before writing them to the index (uncovered when someone accidentally appended a package description to Standards-Version). Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2007-12-04 02:58:16 UTC (rev 1014) +++ trunk/debian/changelog 2007-12-04 02:59:33 UTC (rev 1015) @@ -64,6 +64,11 @@ * debian/control: + [TK] Add Vcs-* fields to point to Lintian's repository. + * unpack/list-srcpkg: + + [RA] Escape ; and newline characters in all package fields before + writing them to the index (uncovered when someone accidentally + appended a package description to Standards-Version). + -- Russ Allbery <[EMAIL PROTECTED]> Wed, 28 Nov 2007 20:48:12 -0800 lintian (1.23.36) unstable; urgency=low Modified: trunk/unpack/list-srcpkg =================================================================== --- trunk/unpack/list-srcpkg 2007-12-04 02:58:16 UTC (rev 1014) +++ trunk/unpack/list-srcpkg 2007-12-04 02:59:33 UTC (rev 1015) @@ -154,6 +154,9 @@ } # write entry to output file + for (qw/version maintainer architecture standards-version binary files/) { + $data->{$_} =~ tr/;\n/__/; + } print OUT join(';', $pkg, $data->{'version'}, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]