Bug 1297 - Add ability to give additional args to $(DOWNLOAD) for sourceforge pkgs
Summary: Add ability to give additional args to $(DOWNLOAD) for sourceforge pkgs
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2010.02
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks: 1303
  Show dependency treegraph
 
Reported: 2010-03-16 00:23 UTC by Chris Seawood
Modified: 2010-03-22 15:59 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
v1.0 (1.30 KB, patch)
2010-03-16 00:23 UTC, Chris Seawood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Seawood 2010-03-16 00:23:43 UTC
Created attachment 1273 [details]
v1.0

It appears that sourceforge has changed their download scheme for some packages (librsync at least). The new scheme is

http://downloads.sourceforge.net/$PROJECT_PATH/$FILE_TO_DOWNLOAD?use_mirror=$MIRROR_NAME

The attached patch lets the package optionally append a '?$($(PKG_SITE)_SITE_ARGS)' to the existing download url.
Comment 1 Peter Korsgaard 2010-03-22 15:59:28 UTC
Thanks, but this isn't needed if the direct download URLS (like the other packages using sourceforge) is used. See package/haserl/haserl.mk for an example.