Please add the patch to gzip which can be found here: https://aur.archlinux.org/packages.php?ID=41802
It adds the "--rsyncable" option to gzip which greatly improve the possibility to create deltas of gzipped version of the same file which has small changes (usefull for rsync and for delta backups). It reduces the amount of data that needs to be transfered for things like gzipped sql dumps or log files.
I suggest to add a use flag "rsync-patch" or always-enable this patch (since it does not affect the packaging unless specified on command line).
After the patch is added, the maintainer of dpkg should be notified because afaik dpkg by default uses "--rsyncable" to improve handling of the packages via rsync.
Why don't you contact upstream for that? It is not that sane to add such patch without letting upstream knows about them
and dpkg? really?
Sorry, i don't know about upstream and thought i can add feature requests here like I use to add bugs here.
The dkpg stuff had noting to do with my original intend but while searching for aboud this patch, I found the changelog: http://packages.gentoo.org/package/app-arch/dpkg
(In reply to comment #2)
> Sorry, i don't know about upstream and thought i can add feature requests here
> like I use to add bugs here.
> The dkpg stuff had noting to do with my original intend but while searching for
> aboud this patch, I found the changelog:
Yeah but it is not sane to apply patches and features without letting upstream know about them. Anyway. Better discuss this with the maintainer even though I am pretty sure they will point you to upstream too
I ran into this issue trying to use dpkg too. Until upstream adds the --rsyncable option, I suggest patching dpkg to not use the option instead of patching gzip to implement the option. See bug #420813 .
There are recent upstream thoughts on the subject:
Basic suggestion is to use pigz.
What about patching conditionally depending on the USE flag?
the next release (1.7) will have support merged upstream, so we'll just wait for that