Currently the Manifest files only store the checksums of the compressed versions of the distfiles. As long as users just download the original archives from distfiles.gentoo.org (or other sources, which provide the same files) this is not really a problem. But since the existance of the dynamic deltup network, it could be very useful, to have the checksums of the uncompressed together with a configuration variable to instruct portage to check the uncompressed file instead of the compressed one. This way, the work around of having bzip2-1.0.2 and bzip2-1.0.3 installed can be dropped. Also, it happens that different lzma implementations (including different versions of the same packages) create different files (which obviously means different checksums). The Manifest file could store the checksums of the uncompressed distfiles as UDIST entry and if that entry is missing, the checkdums of the compressed version is used instead. The configuration option could be the FEATURE "check-uncompressed" with having it switched off by default (users of the dynamic deltup network will then be instructed to switch it on, other users may switch it on as well for other reasons). Additionally, this feature could be a prearrangement to allow a user to recompress his *.gz or *.bz2 files in $DISTFILES to *.lzma without changing the ebuilds - however that may be discussed at another time ;) BTW: I'm willing to volunteer to implement this change, if it's consensus among the portage maintainers to get a working patch included in one of the next releases of portage. Reproducible: Always
There was a related summer of code project this summer: http://dev.gentoo.org/~rafaelmartins/distpatch/
PMS doesn't say anything about the format of Manifest files. Reassigning to bug-wranglers.
It seems odd that PMS doesn't cover the manifest format.
@Rafael: What do you think about including uncompressed checksums in manifests?
Manifest2 was done as a GLEP: http://www.gentoo.org/proj/en/glep/glep-0044.html if other PM's dont care, then we should rip out the relevant parts from the GLEP and into a spec we keep with portage so that things stay clear
(In reply to comment #4) > @Rafael: What do you think about including uncompressed checksums in manifests? This would heavily reduce the amount of hacks needed to make distpatch works with portage and other package managers, if they also implement uncompressed checksums for manifests. And would reduce ~70% of the delta.db size, splitting part of his content in minor files (the Manifests itself) and avoiding us to have a single point of failure, making the distribution easier, at least for distpatch, not sure about other downsides.
We could use metadata/layout.conf to specify that the manifests should contain digests of uncompressed distfiles, similar to the manifest-hashes setting that we're using to roll out GLEP 59.