Commit Graph

39 Commits (05d73a2a73794f8a978300eac75e25deae6d0626)

Author SHA1 Message Date
Felix Fietkau 59121fdd69 buildroot: improve git submodule handling for packages
Move the `--recursive` switch from `git clone` to `git submodule`
so that submodules are cloned for upstream branches where the
PKG_SOURCE_VERSION commit-ish has a different .gitmodules
configuration than the repository default.

This is, for example, required when the master branch for a source
package does not use submodules, but its topic branch for OpenWRT
does.

This changes the buildroot dependency from git-1.6.2 to git 1.7.12.2,
which was released September 2012.

Signed-off-by: Darik Horn <dajhorn@vanadac.com>
Signed-off-by: Karl Palsson <karlp@tweak.net.au>

SVN-Revision: 48830
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
9 years ago
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
10 years ago
Felix Fietkau d1969d761f build: add support for packing version control downloads with xz
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40446
10 years ago
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
11 years ago
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
12 years ago
Felix Fietkau e8ff034c8b download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
SVN-Revision: 32079
12 years ago
Jens Muecke 6204553450 Enable recursive download of git sources.
SVN-Revision: 30967
12 years ago
Felix Fietkau b568a64f8c add support for md5sum checks for mirrored tarballs of packages with version control source urls
SVN-Revision: 26260
13 years ago
Felix Fietkau fd0deca65d download.mk: properly quote download urls
SVN-Revision: 26129
13 years ago
Jo-Philipp Wich 8fae8c0a6f download.mk: support https:// downloads
SVN-Revision: 24688
14 years ago
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
14 years ago
Nicolas Thill 4ba18f5916 download.mk: fix bzr download method
SVN-Revision: 20582
14 years ago
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
14 years ago
Florian Fainelli b195af191b fix svn download with older svn client versions
SVN-Revision: 20322
14 years ago
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
14 years ago
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
14 years ago
Travis Kemen f04ad5bb5f this patch adds support for bzr in include/download.mk, and fixes whitespace.
-Raphael

SVN-Revision: 19769
14 years ago
Jo-Philipp Wich 4d904cf081 allow download urls using the file:// schema (#6480)
SVN-Revision: 19120
15 years ago
Felix Fietkau 510bdd3f0e fix download reverse depends
SVN-Revision: 14907
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
15 years ago
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
15 years ago
Lars-Peter Clausen 2552e9362b Add @GNOME download source.
SVN-Revision: 12469
16 years ago
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
16 years ago
John Crispin c1bc95ec34 fixes cvs download, signed-off by Bruno Randolf
SVN-Revision: 12401
16 years ago
Felix Fietkau 2311fc9850 replace the deprecated git-* command calls with git *
SVN-Revision: 12379
16 years ago
Felix Fietkau 291e775fcd allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
SVN-Revision: 12034
16 years ago
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
16 years ago
Florian Fainelli 162f0194a1 Fix typo
SVN-Revision: 10084
17 years ago
Florian Fainelli eff65775c4 Add CVS download method #2947
SVN-Revision: 10083
17 years ago
Felix Fietkau 5a9cdef549 prefer http downloads over svn/git checkouts, remove git dependency
SVN-Revision: 9567
17 years ago
Felix Fietkau 224760dee7 add git checkout support
SVN-Revision: 9553
17 years ago
Felix Fietkau 894bd2f7dc use $(TAR) instead of tar
SVN-Revision: 9058
17 years ago
Felix Fietkau dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
17 years ago