Jo-Philipp Wich
ac5b226735
download.mk: fix packed checkout mirroring support
...
Changeset r48416 broke the downloading of mirrored, packed scm checkouts.
Fix this by removing the "@" sign in front of the download command which is
now executed as part of a larger shell command under flock.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48733
2016-02-17 08:44:37 +00:00
Felix Fietkau
c5db626ac5
build: download.mk: bugfix download.pl argument call order
...
Change wrong download.pl argument call order.
See download.pl argument list.
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
SVN-Revision: 48427
2016-01-21 13:28:18 +00:00
Felix Fietkau
a81ad971df
build: add locking for downloads (fixes race conditions with multiple variants)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48416
2016-01-20 21:31:50 +00:00
Felix Fietkau
883b5b8191
build: add @APACHE download facility
...
The Apache Software Foundation offers diverse download mirros.
For packaging Apache software a new alias @APACHE is defined.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
SVN-Revision: 48270
2016-01-17 10:47:32 +00:00
Felix Fietkau
11b7bc593c
build: add a variable pointing to the main openwrt git repositories (useful if we want to support using a mirror later)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48117
2016-01-04 15:11:43 +00:00
Felix Fietkau
9b68fe961b
build: add support for choosing a different url filename part than the output file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47591
2015-11-22 19:06:33 +00:00
John Crispin
b0a1c7dc0d
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>
SVN-Revision: 42840
2014-10-08 08:01:39 +00:00
Felix Fietkau
d1969d761f
build: add support for packing version control downloads with xz
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40446
2014-04-10 14:43:26 +00:00
Jo-Philipp Wich
97fc11af79
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>
SVN-Revision: 38359
2013-10-10 15:01:50 +00:00
Jo-Philipp Wich
5d253542d7
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.
SVN-Revision: 34460
2012-12-02 18:35:47 +00:00
Felix Fietkau
e8ff034c8b
download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
...
SVN-Revision: 32079
2012-06-06 13:45:53 +00:00
Jens Muecke
6204553450
Enable recursive download of git sources.
...
SVN-Revision: 30967
2012-03-17 21:33:13 +00:00
Felix Fietkau
b568a64f8c
add support for md5sum checks for mirrored tarballs of packages with version control source urls
...
SVN-Revision: 26260
2011-03-21 23:02:06 +00:00
Felix Fietkau
fd0deca65d
download.mk: properly quote download urls
...
SVN-Revision: 26129
2011-03-13 18:38:43 +00:00
Jo-Philipp Wich
8fae8c0a6f
download.mk: support https:// downloads
...
SVN-Revision: 24688
2010-12-18 21:43:10 +00:00
Florian Fainelli
d78a574019
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>
SVN-Revision: 23615
2010-10-24 12:36:44 +00:00
Nicolas Thill
4ba18f5916
download.mk: fix bzr download method
...
SVN-Revision: 20582
2010-03-29 13:06:19 +00:00
Jo-Philipp Wich
40781b7290
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
...
SVN-Revision: 20377
2010-03-23 01:21:50 +00:00
Florian Fainelli
b195af191b
fix svn download with older svn client versions
...
SVN-Revision: 20322
2010-03-20 17:18:47 +00:00
Florian Fainelli
08a790efb6
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.
SVN-Revision: 20299
2010-03-19 13:44:47 +00:00
Travis Kemen
db7082d899
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
...
SVN-Revision: 20222
2010-03-14 21:55:11 +00:00
Travis Kemen
f04ad5bb5f
this patch adds support for bzr in include/download.mk, and fixes whitespace.
...
-Raphael
SVN-Revision: 19769
2010-02-20 04:48:07 +00:00
Jo-Philipp Wich
4d904cf081
allow download urls using the file:// schema ( #6480 )
...
SVN-Revision: 19120
2010-01-13 19:38:53 +00:00
Felix Fietkau
510bdd3f0e
fix download reverse depends
...
SVN-Revision: 14907
2009-03-17 02:37:10 +00:00
Felix Fietkau
7eb1589875
build system refactoring in preparation for allowing packages to do host-build steps
...
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Felix Fietkau
71f2a68d52
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
...
SVN-Revision: 14566
2009-02-19 17:16:25 +00:00
Lars-Peter Clausen
2552e9362b
Add @GNOME download source.
...
SVN-Revision: 12469
2008-09-01 21:46:17 +00:00
Florian Fainelli
a35b2385ae
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>
SVN-Revision: 12433
2008-08-29 13:02:05 +00:00
John Crispin
c1bc95ec34
fixes cvs download, signed-off by Bruno Randolf
...
SVN-Revision: 12401
2008-08-27 15:24:25 +00:00
Felix Fietkau
2311fc9850
replace the deprecated git-* command calls with git *
...
SVN-Revision: 12379
2008-08-24 13:40:21 +00:00
Felix Fietkau
291e775fcd
allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 ( #3815 )
...
SVN-Revision: 12034
2008-07-31 02:43:33 +00:00
Florian Fainelli
ef437f5e67
SVN checkouts should be made non-interactive, so that https repositories with auto-signed repositories can be checked out without user interaction
...
SVN-Revision: 11785
2008-07-12 12:18:36 +00:00
Florian Fainelli
162f0194a1
Fix typo
...
SVN-Revision: 10084
2008-01-02 15:18:24 +00:00
Florian Fainelli
eff65775c4
Add CVS download method #2947
...
SVN-Revision: 10083
2008-01-02 15:14:31 +00:00
Felix Fietkau
5a9cdef549
prefer http downloads over svn/git checkouts, remove git dependency
...
SVN-Revision: 9567
2007-11-16 04:10:01 +00:00
Felix Fietkau
224760dee7
add git checkout support
...
SVN-Revision: 9553
2007-11-16 03:10:40 +00:00
Felix Fietkau
894bd2f7dc
use $(TAR) instead of tar
...
SVN-Revision: 9058
2007-09-29 00:16:33 +00:00
Felix Fietkau
dbeb0fad24
Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
...
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00