1 |
Hi, |
2 |
|
3 |
so a while back, i already had the problem. And just now, i ran into the |
4 |
problem again: |
5 |
|
6 |
In an ebuild, i'd like to specify an "download as"-filename. That means, |
7 |
out there, there is a file called "http://host/myprogram-1.2.3/patch01" |
8 |
which i'd like to download as "myprogram-1.2.3-patch01". |
9 |
|
10 |
Of course, there are multiple files out there: |
11 |
http://host/myprogram-1.2.1/patch01 |
12 |
http://host/myprogram-1.2.3/patch01 |
13 |
http://other.host/other-program-2.1.3/patch01 |
14 |
|
15 |
But current portage versions would download them all to |
16 |
/usr/portage/distfiles/patch01 which leads to a conflict. |
17 |
|
18 |
Of course, some collisions are intentional. But some are not, but cannot |
19 |
be avoided. |
20 |
|
21 |
|
22 |
Of course, this features needs some new SRC_URI-Syntax. Maybe something |
23 |
like SRC_URI="http://host/filename|download-as-finename". |
24 |
|
25 |
|
26 |
Do you think, this feature makes sense? |
27 |
(I want to discuss, before i make an RFE in BugZilla) |
28 |
|
29 |
|
30 |
|
31 |
Greetings, |
32 |
Sven |