1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 20:05:31 +02:00
Commit Graph

49 Commits

Author SHA1 Message Date
jow
afc8169ea7 [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
blogic
9de6816b61 [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
nbd
9c02796660 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
nbd
dde0871987 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
jow
145008f98d [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
blogic
8ec391bb0b 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
jow
2aa5b50fe0 [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
jow
b5fbb296ba [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
jow
3373d2dda9 [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
thepeople
ea0f6ae1f0 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
bb7f835f4b 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
nbd
59108c0617 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
015124ea4f 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
e54d9e35f2 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
65b632d241 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
agb
8e3a5f9732 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
nbd
052222fc5f 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
nbd
900c05f6e1 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
nico
34d7258a8a 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
nbd
39093d7cdd 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
nbd
3a8cc06c51 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
pavlov
347bed4dab 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
nbd
c0dd042eef 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
nbd
4c859c6468 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
pavlov
50e59347b4 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
nbd
26448e3894 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
nbd
4665bf1d2c 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
nbd
86a9a13757 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
nbd
65cfd58a27 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
nbd
32f133780b 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
nbd
85c84eceb3 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
nbd
54eb02cada 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
nbd
08a37b31c4 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
mbm
02cdebbb91 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
wbx
1911c67d0b 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
dc145baad0 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
nbd
350b643ec5 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
nico
63471e4788 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
wbx
782b6debb8 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
wbx
cb8b2d915d 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
nbd
7619fe0848 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
nbd
196faec139 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
wbx
ccbb63927d 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
nico
7e963960fd 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
nbd
e889c18363 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
nbd
f684c40a58 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
nbd
f685109f4b change wget timeout options to --timeout= for compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-06 17:13:52 +00:00
nbd
b7f006cdab remove md5sum file after successful download
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-19 23:52:32 +00:00
nbd
0d52ac0f6a add downloading script (with md5sum checking and sourceforge downloading support)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-19 22:51:51 +00:00