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

Bastien Roucaries <[email protected]> Fri, 12 Sep 2025 12:38:13 +0200
Newsgroups gmane.linux.debian.devel.dpkg.general
Message-ID <4932850.G7SD5HZVK5@debian-ei>
Le vendredi 12 septembre 2025, 08:42:52 heure d’été d’Europe centrale Simon Richter a écrit :
> 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.

Under debian js we use MUT extensivly

In this case we create the correct directory with symlink at configure time:
- rename MUT tarball with unique name like extra-lib-something1 extra-lib-something2
- at configure time do symlink or rsync to correct location

touca
> 
>     Simon
> 
>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmjD9/kACgkQADoaLapB
CF/xxA//d/+Hie1uYa++KdYtbY5n23EljonDzHAG5mLB6xPbJoLHdP6fqyZNWTll
R6w329VX1uxnLoFoyJmKEOvWvxREyjQqLGOSHUMPYqJiBgrpFsLCbU+01HbMGIOH
xz7hyfiwgdAjmyW06Wdik//BB1rvcVomE1x8qXDmasQzDN65D2f+zTSkCx3V6+ka
97bh09/Lp47FSB+ZvlC5fRNjeuy18bHIp2R7xGGcvg29UIg5mIJUHCaC3DkV2Vb8
CKNx0xVs06QYB/8Es8TI0Q2qy22gjcbPuAsBIiXXcOMBO8Ou9wKIErXpIudDKPKv
N/H18R88h9nDrj16+FQtKYm5R2GNhuZzOdu/jJ++scjHNJa9BL6suA09Cd2EjxOv
cmK8uAORo9F7anfoMdkAIAHa1jt8ykYYMNapIJ+BotUxkD5uky2SthI0ExNRmkE/
/frykXWdiXuRj6AL1Yot6NCur6XneS7QMZcag534046/cw4c+avlv4Heicu/WZen
8Oi14kT7MJBh+f+W+xn3jChH42/dr1/MXB3QJHXFX+BCXf8/5Es+jw2GdntBPMG6
PNEQeKW7YyslZv3HhYveyQ0XIDzg5vRhaeyXADt5YTjU7Rop7RXbpXYJnDH1vMuQ
JeKTQhH8MC269Pf0KZe7/CsRTW1qxj4AQRqaoKqdoXK7wg+Js6I=
=JYkV
-----END PGP SIGNATURE-----