On Fri, 15 Jun 2012, Jonas Smedegaard wrote:
> however, that upstream minification should be used, as it raise the risk
> of flaws or mallice passed on unnoticed from upstream to Debian: changes
> to minified files cannot be checked with simple "git diff" as is the
> case for most upstream preferred source formats.
Right. At least it would be nice to use the same minifier tool than
upstream in the hope to generate the same minified file then.
> Perhaps dh-linktree could be extended to check against hashes too, and a
> packaging helper tool could be developed to generate lists of
> (alternative) hashes for files shipped with binary packages.
Can you elaborate?
How would you generate those hashes?
Would you try to minify the original file with all the possible
minifiers and store the list of hashes?
Raphaël Hertzog ◈ Debian Developer
Get the Debian Administrator's Handbook: