[Build-common-hackers] Bug#772429: cdbs: Does not support case-insensitve field names

Guillem Jover guillem at debian.org
Thu Dec 11 02:43:00 UTC 2014


Control: tag -1 patch

Hi!

On Sat, 2014-12-06 at 22:06:22 +0100, Guillem Jover wrote:
> On Sat, 2014-12-06 at 21:15:29 +0100, folkert wrote:
> > > > Package: dpkg-build
> > > > Version: any
> > > > Severity: important

> At least Debian::Debhelper::Dh_Lib, /usr/share/cdbs/1/rules/buildcore.mk,
> /usr/share/cdbs/1/rules/buildvars.mk and /usr/lib/cdbs/list-packages
> do parse control files but do not handle the field names in a
> case-insensitive way. There might be other instances on those packages.

Attached an untested patch that should hopefully fix all instances of
this. And another one to simplify the other dpkg-parsechangelog calls
that I noticed when I changed the first one.

Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Parse-control-file-fields-case-insensitively.patch
Type: text/x-diff
Size: 3471 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20141211/120873f1/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Simplify-dpkg-parsechangelog-calls-by-using-the-show.patch
Type: text/x-diff
Size: 1947 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20141211/120873f1/attachment-0001.patch>


More information about the Build-common-hackers mailing list