Re: Multiple orig archives, unpacking to a sub-subdirectory

Simon Richter <[email protected]> Fri, 12 Sep 2025 15:42:52 +0900
Newsgroups gmane.linux.debian.devel.dpkg.general
Message-ID <[email protected]>
Hi,

On 9/12/25 1:44 PM, Guillem Jover wrote:

> At least from what you are describing this should already be supported
> as part of «3.0 (quilt)» with its multi upstream tarball support,
> known in some places as MUT, or now as addon original tarballs. See
> the dpkg-source(1) man page for .orig-<addon>.tar.<ext> (or previously
> .orig-<component>.tar.<ext>), where each addon orig.tar is extracted
> into <addon>/.

Yes, but for this package, this needs to go below "lib/addon", with the 
additional complication that "lib" is a separate tarball as well 
(because it is a git submodule). So basically I have .orig.tar, 
.orig-lib.tar and .orig-lib-addon.tar, except that that doesn't quite do 
what I want.

For now, I just concatenate all the tarballs, with adjusted paths, 
because that is what uscan does, but in the long run I'd like to 
separate these out (and teach uscan how to do that), because it makes 
the files more verifiable.

    Simon