On Mon, Sep 13, 2010 at 03:03:00PM +0100, Lars Wirzenius wrote:
From the DEP5 wiki page:Dev-ref §220.127.116.11 recommends that if you have to repackage the original source, that the transformations that are performed be recorded in debian/copyright. While there was recently some discussion on d-devel about whether repackaging just to remove distributable-but-not-dfsg-free material was worth it or not, the case where a source tarball contains non-distributable material still must be dealt with. A field to express what was done would thus fit well with this recommendation. Further discussion as to whether it should/could be a find -delete command, a "see README.Debian-source" comment or some simple description of what was done (e.g. "copy of rfc removed") is sensible. What was done as well as why it was done should probably be included.My opinions: - if the transformation can be expressed as a script, use "debian/rules get-orig-source" - otherwise, debian/README.Source seems like a better place to document this than debian/copyright, since it has other instructions for creating the source package, too Thus I would prefer it if DEP5 was silent on this, and Dev-ref would be changed to point to get-orig-source and README.Source instead. Opinions?
It makes good sense to me that we (continue to) track stripped files at the same place as distributed files.
DEP5 is a concrete benefit here: When official, I intend to adjust CDBS to make its get-orig-source rule consult debian/copyright and repackage the pristine tarball if that file is machine-readable and contains e.g. Stripped: sections.
Currently I maintain 2 lists of stripped files: in debian/copyright (where the - most often legal - reason is needed) and debian/rules (for use by the get-orig-source rule). Moving the information to debian/README.source would loose the ability to use it in scripts.
- Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
Description: Digital signature