Re: Bug#592839: dpkg-source option to remove files on unpack: debian/source/remove-files
On Fri, 13 Aug 2010 09:58:07 -0700, Russ Allbery wrote:
> Raphael Hertzog <email@example.com> writes:
> > As suggested by Ian on -devel (see attachment), it would be nice to have
> > a way to remove files during unpack of a source package to hide non-free
> > files from our users without stripping them from the original tarball.
> > I also prefer this approach over repacking upstream files so let's
> > implement this feature.
> I'm pretty sure ftp-master isn't going to allow source packages with
> non-free content in the main archive regardless of whether that content is
> hidden on unpack (I certainly wouldn't if I were them), so implementing
> this is kind of pointless for Debian.
What if the list of binary components was part of the watch file
instead; so that new upstream sources could be automatically stripped of
those non-free bits by uscan right after download.