Commit Graph

53 Commits (aa6eaba62356b2d4fe46400d326d68f05f205c4b)

Author SHA1 Message Date
Felix Fietkau 752239ae40 scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 16:43:07 +00:00
Mirko Vogt 525118266d [scripts/downloads.pl] remove broken mirrors for linux kernel
ftp.de.kernel.org / ftp.fr.kernel.org don't resolv anymore,
ftp.all.kernel.org is DNS round robin anyway

Signed-off-by: Mirko Vogt <mirko@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 21:26:35 +00:00
Felix Fietkau f56e626514 scripts/download.pl: use HTTP instead of FTP for the default GNU site
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-09 12:52:12 +00:00
Luka Perkov 394130b00e scripts: update GNU mirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 23:49:36 +00:00
Jo-Philipp Wich 20e29580ae [scripts] download.pl:
- cleanup cache handling code
	- use alternative m// and s/// delimiters to get rid of tedious slash escaping
	- use multi-argument form of system() where possible to avoid quoting & escaping issues
	- avoid a temporary variable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-11 18:17:15 +00:00
John Crispin d1918e0f5b [scripts] allow arbitary folder layout when using localmirrors
Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 14:11:45 +00:00
Felix Fietkau 0a48bb3437 Revert "scripts/download.pl: fix sourceforge url"
To use the new url, the project name would need to be appended multiple times,
let's hope the old redirect will continue to work in the future

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 09:29:53 +00:00
Felix Fietkau d2d9abec24 scripts/download.pl: fix sourceforge url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 20:44:02 +00:00
Jo-Philipp Wich acd9bb6f8d [scripts] download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-29 19:28:12 +00:00
John Crispin 2e3b0f7f91 ignore empty lines in scripts/localmirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 19:33:24 +00:00
Jo-Philipp Wich 32523a2688 [scripts] download.pl: cope with potential two-digit linux versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:00:24 +00:00
Jo-Philipp Wich dc90adbe1f [scripts] download.pl: adjust kernel download urls for longterm and testing releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 15:41:00 +00:00
Jo-Philipp Wich 4ccce484c2 [scripts] download.pl: pass --no-check-certificate to wget
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 20:54:53 +00:00
Travis Kemen 6bc3f81729 add geodns addresses for the kernel, closes #6574
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-13 01:07:44 +00:00
Ralph Hempel 40c23796b7 add multiple download mirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:16:47 +00:00
Felix Fietkau 0f823928b6 use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 18:29:44 +00:00
Lars-Peter Clausen 96b13eef6b Add @GNOME download source.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 21:46:17 +00:00
Matteo Croce 3fcc17ed61 use the european kernel.org mirror too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 14:48:32 +00:00
Ralph Hempel 7aea009621 adding the possibility of local file cache
specify file://path_to_file_cache within localmirrors file to add new local file cache


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-18 21:07:22 +00:00
Andy Boyett f99db54b4b Increased to five download attempts in download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-18 21:05:24 +00:00
Felix Fietkau 6d6bd1779f show md5sums on mismatch in download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 15:30:16 +00:00
Felix Fietkau 8d169cc962 Refactor downloading code into download.mk
Support multiple file downloads
Support svn downloads


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Nicolas Thill 0c962366e6 add a '@KERNEL' download facility, tweak script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-26 18:21:24 +00:00
Felix Fietkau d9e746e0b0 add a menuconfig option for specifying a local download mirror
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 23:15:39 +00:00
Felix Fietkau a34f8e311f fix download.pl (#1257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-25 13:58:52 +00:00
Tim Yardley 52d3bc0ccf add functionality to provide local mirrors for development purposes.
* any URLs in scripts/localmirrors will be prepended to the mirror list
 * this facilitates local builds and recompilations
 * will also be useful for the buildbot and auto-build of images



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-24 22:38:02 +00:00
Felix Fietkau 8bf94ced4e update sourceforge downloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 12:44:26 +00:00
Felix Fietkau 5272c784c1 strip trailing / from download urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 19:29:11 +00:00
Tim Yardley 5b524506f8 correct trailing slash (cosmetic rather than functional)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-26 20:40:10 +00:00
Felix Fietkau 7f2f0bc577 sync whiterussian download.pl with trunk, allow the user to specify additional wget options by using the WGET_OPTIONS env var
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-16 00:24:43 +00:00
Felix Fietkau 17b2276724 fix download.pl for weird 'which' implementations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 00:07:19 +00:00
Felix Fietkau d0de82ba87 real fix for download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:17:16 +00:00
Felix Fietkau 80b2417210 add workaround for freebsd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:08:25 +00:00
Felix Fietkau 575100f02f add support for bsd md5 as a md5sum replacement
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:01:49 +00:00
Felix Fietkau 732e5d3837 disable mirror1.openwrt.org for now - doesn't seem to be active
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 11:24:23 +00:00
Felix Fietkau 6734cea98f change path for mirror2.openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-06 00:26:15 +00:00
Felix Fietkau c575171407 add mirror2 to download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 19:21:05 +00:00
Mike Baker f9e5c1b1d5 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Waldemar Brodkorb 5cbf281a46 add mirror1 again. sponsored by FH BRS, Lab for telecommunications
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-20 18:08:46 +00:00
Florian Fainelli 36b4529af9 Fit new sourceforge.net download page layout, thanks to Fabian Deutsch for reporting the bug and submitting the patch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-05 16:14:04 +00:00
Felix Fietkau d300ebcaaf fix download script for sourceforge urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-20 02:43:15 +00:00
Nicolas Thill 10c81f0a91 add a last resort SF round-robin url and some GNU mirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-07 15:35:14 +00:00
Waldemar Brodkorb 8719c13b85 fix sourceforge mirrors, thx d1mag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-06 22:39:53 +00:00
Waldemar Brodkorb 95fb23cbf4 temporarily disabled mirrors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-06 09:15:20 +00:00
Felix Fietkau 6a0c747820 move target/default/target_skeleton into package/base-files, put all the default files in ipkg packages, cleanup some junk in toolchain/, toolchain/ no longer changes build_mipsel/root
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-17 22:52:59 +00:00
Felix Fietkau 2160b88d31 update master mirror url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-01 15:16:46 +00:00
Waldemar Brodkorb b2e16a03a3 added mirror1 and mirror2, which dayly rsyncing the distfiles from openwrt.org/downloads/sources, so please add packages there via rsync
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-06-12 19:03:53 +00:00
Nicolas Thill e7e81ce718 Add GNU download facility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-06-08 06:48:19 +00:00
Felix Fietkau f666c1082c fix mirror order in download script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-30 19:47:17 +00:00
Felix Fietkau 24c4f9fd5a add master mirror to download script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-27 16:46:15 +00:00