aboutsummaryrefslogtreecommitdiffstats
path: root/include/download.mk
Commit message (Collapse)AuthorAgeFilesLines
* download: add @GITHUB download facilityJohn Crispin2016-04-091-1/+1
| | | | | | | | Define a new alias (@GITHUB) for downloading raw github repository files Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: improve git submodule handling for packagesFelix Fietkau2016-02-291-2/+3
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* download.mk: fix packed checkout mirroring supportJo-Philipp Wich2016-02-171-1/+1
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: download.mk: bugfix download.pl argument call orderFelix Fietkau2016-01-211-1/+1
| | | | | | | | | Change wrong download.pl argument call order. See download.pl argument list. Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add locking for downloads (fixes race conditions with multiple variants)Felix Fietkau2016-01-201-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add @APACHE download facilityFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a variable pointing to the main openwrt git repositories (useful ↵Felix Fietkau2016-01-041-0/+2
| | | | | | | | if we want to support using a mirror later) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add support for choosing a different url filename part than the ↵Felix Fietkau2015-11-221-2/+3
| | | | | | | | output file Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/download.mk: Add download mirrors for tools from GNU Savannah (bug ↵John Crispin2014-10-081-1/+1
| | | | | | | | | | | #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
* build: add support for packing version control downloads with xzFelix Fietkau2014-04-101-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Incorrect checkout of git submodulesJo-Philipp Wich2013-10-101-1/+1
| | | | | | | | | | | 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
* include: download.mk: correct tar argument order when packing checkoutsJo-Philipp Wich2012-12-021-2/+2
| | | | | | | 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
* download.mk: refuse to download mirror tarballs from packages using version ↵Felix Fietkau2012-06-061-1/+1
| | | | | | control if no mirror md5sum was provided git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Enable recursive download of git sources.Jens Muecke2012-03-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for md5sum checks for mirrored tarballs of packages with version ↵Felix Fietkau2011-03-211-1/+2
| | | | | | control source urls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* download.mk: properly quote download urlsFelix Fietkau2011-03-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] download.mk: support https:// downloadsJo-Philipp Wich2010-12-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add support for darcs repositoriesFlorian Fainelli2010-10-241-1/+18
| | | | | | | | | | | | | | | | | | | | 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
* [include] download.mk: fix bzr download methodNicolas Thill2010-03-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] the svn fallback code added in r20322 is evaluated with each make ↵Jo-Philipp Wich2010-03-231-7/+3
| | | | | | | | | 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
* fix svn download with older svn client versionsFlorian Fainelli2010-03-201-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* accept unknown server certificates by default on svn downloadFlorian Fainelli2010-03-191-1/+1
| | | | | | | 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
* Updated post r19769, integrates the missing dl_method bzr hunk from #6370, ↵Travis Kemen2010-03-141-12/+16
| | | | | | 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
* this patch adds support for bzr in include/download.mk, and fixesTravis Kemen2010-02-201-18/+33
| | | | | | | | whitespace. -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] allow download urls using the file:// schema (#6480)Jo-Philipp Wich2010-01-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix download reverse dependsFelix Fietkau2009-03-171-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-1/+1
| | | | | | host-build steps git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make cvs checkouts more flexible. packages must now specify either -r <tag> ↵Felix Fietkau2009-02-191-1/+1
| | | | | | 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
* Add @GNOME download source.Lars-Peter Clausen2008-09-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* this adds hg (Mercurial) SCM checkout support, very similar to the current gitFlorian Fainelli2008-08-291-2/+20
| | | | | | | | | | 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
* fixes cvs download, signed-off by Bruno Randolf John Crispin2008-08-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace the deprecated git-* command calls with git *Felix Fietkau2008-08-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow packages to forcibly disable the svn/git mirror downloading attempt by ↵Felix Fietkau2008-07-311-1/+2
| | | | | | setting PKG_SOURCE_MIRROR:=0 (#3815) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* SVN checkouts should be made non-interactive, so that https repositories ↵Florian Fainelli2008-07-121-1/+1
| | | | | | 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
* Fix typoFlorian Fainelli2008-01-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add CVS download method #2947Florian Fainelli2008-01-021-2/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prefer http downloads over svn/git checkouts, remove git dependencyFelix Fietkau2007-11-161-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add git checkout supportFelix Fietkau2007-11-161-2/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use $(TAR) instead of tarFelix Fietkau2007-09-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Refactor downloading code into download.mkFelix Fietkau2007-09-291-0/+90
Support multiple file downloads Support svn downloads git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73