Re: Bug#592839: dpkg-source option to remove files on unpack: debian/source/remove-files
On 19/08/10 07:02, Goswin von Brederlow wrote:
> David Claughton <email@example.com> writes:
>>> Legally that should be the same. And practically you would have the
>>> useless files on the initial source unpack but they would be gone when
>>> debian/rules is invoked the first time. dpkg-source -x could run the
>>> clean target by default to make the files disapear directly.
>> Well it wasn't my intention to address the original use case of non-free
>> files. But to an extent the same argument applies - if FTP Masters were
>> to allow this (and as Russ says, it's a big IF) - I would imagine they
>> would want a way to ensure that you really were deleting the files, and
>> I don't expect they would want to check debian/rules in every upload for
>> appropriate 'rm' commands.
> No. The files must be legal to be included. They are distributed in the
> tarball after all. So deleting or not deleting makes absolutely no
> difference to ftp-master. This only works for things we don't WANT to
> use, not for things we CAN'T use. Convenience copies are a perfect
> example for this. The deleting is there to make sure we don't
> accidentally use them. Not to make the tarball legal. Only repackaging
> will make a tarball with truely non-free stuff usable.
Sorry, I was taking that as read ... to be clear I meant non-free but