Hi,

so a while back, i already had the problem. And just now, i ran into the
problem again:

In an ebuild, i'd like to specify an "download as"-filename. That means,
out there, there is a file called "http://host/myprogram-1.2.3/patch01";
which i'd like to download as "myprogram-1.2.3-patch01".

Of course, there are multiple files out there:
  http://host/myprogram-1.2.1/patch01
  http://host/myprogram-1.2.3/patch01
  http://other.host/other-program-2.1.3/patch01

But current portage versions would download them all to
/usr/portage/distfiles/patch01 which leads to a conflict.

Of course, some collisions are intentional. But some are not, but cannot
be avoided.


Of course, this features needs some new SRC_URI-Syntax. Maybe something
like SRC_URI="http://host/filename|download-as-finename".


Do you think, this feature makes sense?
(I want to discuss, before i make an RFE in BugZilla)



Greetings,
  Sven

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to