32 Commits

Author SHA1 Message Date
John Crispin
978b39ca1f include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 08:01:39 +00:00
Felix Fietkau
c1160880a7 build: add support for packing version control downloads with xz
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 14:43:26 +00:00
Jo-Philipp Wich
743a74e2a6 Incorrect checkout of git submodules
When checking out git packages, buildroot doesn't seem to track the revisions
correctly of any submodules referenced by that project. As a result, the
submodule stays at whatever revision was referenced by the head of the master
branch. Running a 'git submodule update' after the checkout fixes this problem.

Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 15:01:50 +00:00
Jo-Philipp Wich
ab24863321 include: download.mk: correct tar argument order when packing checkouts
GNU TAR v1.26 will fail with "no such file or directory" errors when the
output file does not immediately follow the -f switch.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:35:47 +00:00
Felix Fietkau
c0f8e04165 download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:45:53 +00:00
Jens Muecke
8e1dbb32a7 Enable recursive download of git sources.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 21:33:13 +00:00
Felix Fietkau
17057a805e add support for md5sum checks for mirrored tarballs of packages with version control source urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 23:02:06 +00:00
Felix Fietkau
5a435bdd3c download.mk: properly quote download urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:43 +00:00
Jo-Philipp Wich
fcc75bd8e7 [include] download.mk: support https:// downloads
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 21:43:10 +00:00
Florian Fainelli
0ae16236fa [buildroot] add support for darcs repositories
This patch adds support for darcs repositories (as sources of packages).

It does *not* add support for darcs:// URI scheme because such a scheme
do not exist (AFAIK).  You must therefore manually set PKG_SOURCE_PROTO
to darcs in your Makefile (and use a regular http:// URI). You also have
to set PKG_SOURCE_VERSION to a string matching a tag contained in the
repository, and PKG_SOURCE_SUBDIR to something sensible
($(PACKAGE_NAME)-$(PACKAGE_SOURCE_VERSION) for instance).

Same rationale as for the previous patch ("useless to most, but small
and straightforward so why no add it?).

Best regards,

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 12:36:44 +00:00
Nicolas Thill
ef4f1d04ce [include] download.mk: fix bzr download method
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 13:06:19 +00:00
Jo-Philipp Wich
693fc7f10f [include] the svn fallback code added in r20322 is evaluated with each make invocation and produces a lot of spurious "svn: broken pipe" error -
replace it with a more efficient version


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 01:21:50 +00:00
Florian Fainelli
01b98b8f2b fix svn download with older svn client versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-20 17:18:47 +00:00
Florian Fainelli
34109ec127 accept unknown server certificates by default on svn download
Some packages sources need to be checked out from server with unknown
certificates, silently accept by default in order not to stop builds, thanks rhk.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 13:44:47 +00:00
Travis Kemen
e70ffc568c Updated post r19769, integrates the missing dl_method bzr hunk from #6370, uses the export subcommand for the vcs' that provide a usable version (hg archive doesn't work remotely, git archive isn't enabled on github), from #6700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:55:11 +00:00
Travis Kemen
37e505be46 this patch adds support for bzr in include/download.mk, and fixes
whitespace.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 04:48:07 +00:00
Jo-Philipp Wich
d9e4e0db49 [buildroot] allow download urls using the file:// schema (#6480)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 19:38:53 +00:00
Felix Fietkau
2f5a8c4214 fix download reverse depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:37:10 +00:00
Felix Fietkau
b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Felix Fietkau
93eaab1b2d make cvs checkouts more flexible. packages must now specify either -r <tag> or -D <date> in their source revision specification. previously date based checkouts were not supported
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:16:25 +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
Florian Fainelli
7aed24bf67 this adds hg (Mercurial) SCM checkout support, very similar to the current git
or svn checkout support; potential use is for building em28xx-new driver (USB
hybrid DVB-T device) which lives in a Mercurial repo. (#3229)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-29 13:02:05 +00:00
John Crispin
b367895583 fixes cvs download, signed-off by Bruno Randolf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 15:24:25 +00:00
Felix Fietkau
a251aef656 replace the deprecated git-* command calls with git *
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:40:21 +00:00
Felix Fietkau
4b3284e017 allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:43:33 +00:00
Florian Fainelli
1a1d24802c SVN checkouts should be made non-interactive, so that https repositories with auto-signed repositories can be checked out without user interaction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 12:18:36 +00:00
Florian Fainelli
cbd197015c Fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02 15:18:24 +00:00
Florian Fainelli
1c37815b88 Add CVS download method #2947
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02 15:14:31 +00:00
Felix Fietkau
cff9b75e6a prefer http downloads over svn/git checkouts, remove git dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 04:10:01 +00:00
Felix Fietkau
6fe9aab05a add git checkout support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:10:40 +00:00
Felix Fietkau
c1e4663769 use $(TAR) instead of tar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:16:33 +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