On Sunday 24 August 2008 03:42:05 Xavier wrote:
[...] For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992.
I've tried the above feature with a modified version of my eclipse-subversive-svn-connector package (attached). I've got the following behavior from makepkg: After clearing my local makepkg source cache I try to run: $ makepkg -g ==> Retrieving Sources... -> Downloading feature.jar... --2008-08-24 10:22:46-- http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site... Resolving www.polarion.org... 212.227.210.100 Connecting to www.polarion.org|212.227.210.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 16510 (16K) [application/java-archive] Saving to: `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar' 100%[======================================>] 16,510 --.-K/s in 0.1s 2008-08-24 10:22:47 (109 KB/s) - `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar' saved [16510/16510] -> Downloading plugin.jar... --2008-08-24 10:22:47-- http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site... Resolving www.polarion.org... 212.227.210.100 Connecting to www.polarion.org|212.227.210.100|:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. ==> Generating checksums for source files... md5sums=(==> ERROR: Unable to find source file feature.jar to generate checksum. Aborting... The "Saving to" Part indicates where the problem seems to occur. The content of my source directory after that: $ ls -l $srcdir feature.jar -> $SRCDEST/feature.jar plugin.jar -> $SRCDEST/plugin.jar If I then take a look at my local makepkg source cache...: $ ls $SRCDEST org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar Therefore makepkg -g cannot find feature.jar or plugin.jar and so it still cannot distinguish between the two source files. Hope the info helps!