It looks like the first patch was too big to make it to the list, so I've pushed the tree to https://gitlab.com/mjg59/dpkg/commits/master