summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* Package downloads: allow restricting to primary site onlyThomas De Schampheleire2012-07-221-2/+5
| | | | | | | | | | | | | | | | | | | This patch adds a new config option BR2_PRIMARY_SITE_ONLY that, when set, restricts package downloads to the specified BR2_PRIMARY_SITE. If the package is not present on the primary site, the download fails. This is useful for project developers who want to ensure that the project can be built even if the upstream tarball locations disappear. [thomas.petazzoni@free-electrons.com: Extend config option help message with more details coming from the commit log. Added a dependency on the fact that a primary site has been defined. Without any primary site (the default configuration), this new option does not make any sense.] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-download.mk: support detection of URI schemes in DOWNLOADThomas De Schampheleire2012-07-221-1/+6
| | | | | | | | | | | | | | | | | When using one of the package infrastructures, the DOWNLOAD function uses $(PKG)_SITE_METHOD to determine the appropriate download method, which is autodetected based on the URI if none was explicitly set. When the DOWNLOAD function is called directly, for example when downloading a toolchain, or from a package that does not use one of the package infrastructures, the SITE_METHOD is not autodetected, and thus the download defaults to wget. This patch adds URI scheme detection directly to the DOWNLOAD method, in case no SITE_METHOD was detected yet. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-download.mk: use stripurischeme function in localfiles download methodThomas De Schampheleire2012-07-221-2/+2
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-download.mk: allow using localfiles outside of package infrastructureThomas De Schampheleire2012-07-221-4/+4
| | | | | | | | | | | | | | The localfiles download method uses $($(PKG)_SITE))) and $($(PKG)_SOURCE) instead of $(1) and $(2). This means that it can only be used for package downloads (through gentargets, autotargets, ...) and not for other downloads like external toolchains. This patch changes localfiles to allow this, just as the wget and scp download methods already did. For the version control download methods, nothing changes. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: fix typoThomas Petazzoni2012-07-221-1/+1
| | | | | | | Commit c8da6d1dd656caf5454c50ee5dddb4beead60326 introduced a stupid typo. Fix it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add (Freescale) elftosb host packageEric Jarrige2012-07-212-0/+44
| | | | | | | | | | | | | | | Elftosb is a Freescale toolset to build binary image files (like U-Boot.sb) to be used with CPUs imx23, imx28, stp37xx thomas.petazzoni@free-electrons.com: * Add -m 0755 when installing binaries * the _CLEAN_CMDS is not supposed to uninstall things from the HOST_DIR. * Use 'host-generic-package' instead of 'GENTARGETS,host' Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* memtester: bump to version 4.3.0Simon Dawson2012-07-202-1/+1
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* owl-linux: new packageSimon Dawson2012-07-205-0/+74
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sound-theme-borealis: new packageSimon Dawson2012-07-203-0/+28
| | | | | | | | | [thomas.petazzoni@free-electrons.com: slightly adjust the installation process to just do a loop of calls to $(INSTALL).] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-nfc: new packageSimon Dawson2012-07-204-0/+59
| | | | | | | | | | | | | [thomas.petazzoni@free-electrons.com: add patch that creates a standard setup.py file. This allows the .pyc files to be generated at build time, and installed into the target. This is important because by default, Buildroot removes all .py files from the target, to keep only the .pyc files. The python-nfc.mk file was changed to use this setup.py standard build process.] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dfu-util: cosmetic fixThomas Petazzoni2012-07-201-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dfu-util: new packagegregory hermant2012-07-203-0/+22
| | | | | Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: use install -D everywhereThomas Petazzoni2012-07-201-25/+25
| | | | | | | | | Installation of host-lua was failing because it was the first package to be built, and $(HOST_DIR)/usr/lib didn't exist. Therefore, use install -D everywhere so that intermediate directories are created as needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: fix build issue with gcc 4.6Thomas Petazzoni2012-07-202-2/+2
| | | | | | | | | | | gcc 4.6 has become more sensitive about option ordering, especially libraries. It requires the -l flags to be placed after the object files that need that library. See for example http://nick.zoic.org/art/etc/gcc-linker-libs.html. We had -llua at the beginning of the link command line, causing build issues (here on gcc 4.6 with host-lua). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: ensure that host-lua does not depend on host-readline and host-ncursesThomas Petazzoni2012-07-201-0/+3
| | | | | | | | | | | | | | Commit ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that commit, the dependencies of host-lua are automatically computed from the dependencies of lua. Since lua can depend on readline and ncurses, it means that host-lua can depend on host-readline and host-ncurses, and the host-readline package does not exist in Buildroot. Since there is no reason to build host-lua with readline/ncurses support, just re-add the HOST_LUA_DEPENDENCIES variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Francois Perrad <fperrad@gmail.com>
* libnfc-llcp: new packageSimon Dawson2012-07-203-0/+23
| | | | | | | | | | | This patch adds the libnfc-llcp package. This package requires a minium libnfc version of 1.6. A separate patch has been submitted to bump the libnfc version; that patch should be regarded as a prerequisite for the present patch. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libfreefare: bump version to 0.3.4Simon Dawson2012-07-201-1/+1
| | | | | | | | | | | This patch bumps the libfreefare package from version 0.3.2 to version 0.3.4. Version 0.3.4 requires a minium libnfc version of 1.6. A separate patch has been submitted to bump the libnfc version; that patch should be regarded as a prerequisite for the present patch. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bwm-ng: move bwm-ng from "Networking applications" to "System tools".Kelvin Cheung2012-07-191-1/+1
| | | | | | | | bwm-ng can monitor not only network bandwidth but also disk-io bandwidth, so it is more appropriate to put bwm-ng into System tools. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sam-ba: only propose it if the host is x86 or x86_64Jean-Christophe PLAGNIOL-VILLARD2012-07-181-0/+1
| | | | | | | As sam-ba is delivered as a binary for x86 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* lua: refactor without sedFrancois Perrad2012-07-181-9/+7
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* luajit: fix dependencies of Lua modulesFrancois Perrad2012-07-186-6/+0
| | | | | | | BR2_PACKAGE_LUA_SHARED_LIBRARY is an internal of lua package Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* luajit: new packageFrancois Perrad2012-07-187-1/+179
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libexif: security bump to version 0.6.21Gustavo Zacarias2012-07-181-1/+1
| | | | | | | | Fixes CVE-2012-2812, CVE-2012-2813, CVE-2012-2814, CVE-2012-2836, CVE-2012-2837, CVE-2012-2840, CVE-2012-2841 and CVE-2012-2845. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libnfc: bump version to recent svn revisionSimon Dawson2012-07-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The libnfc package is currently at version 1.5.1 in Buildroot. This patch bumps the version to a recent svn revision, for the following reasons. * Version 1.5.1 is marked as "unstable" on the libnfc download site. * The nfc-tools project at http://code.google.com/p/nfc-tools/ includes a library that extends libnfc with LLCP functionality. Unfortunately, to build this requires a libnfc version no lower than 1.6. The version 1.6.0-rc1 Release Candidate does not build; svn commits to fix the build problems have not yet been back-ported into a Release Candidate. * The libfreefare package is currently at version 0.3.2 in Buildroot. To bump this to the most recent version (0.3.4) also requires a libnfc version no lower than 1.6. I suggest that this patch be regarded as a temporary fix, pending the release of libnfc 1.6, which will allow other dependent packages to be progressed in the interim. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/usbutils: bump to version 006Daniel Mack2012-07-181-3/+3
| | | | | | | | | | Also, as the kernel.org archives are back up, use them as official site again. [thomas.petazzoni@free-electrons.com: use BR2_KERNEL_MIRROR] Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sqlite: do not assume thread support is availableThomas Petazzoni2012-07-181-1/+6
| | | | | | | | | | | | The --enable-threadsafe option was unconditionally passed, without taking into account whether the underlying toolchain had thread support or not. Now, we properly pass --enable-threadsafe or --disable-threadsafe depending on the availability of thread support. Fixes http://autobuild.buildroot.net/results/defdc098cff293baabf2f89587476eba71f1c0d0/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libnss: fix 64-bit buildArnout Vandecappelle (Essensium/Mind)2012-07-171-0/+4
| | | | | | | | | On some architectures (found on x86_64, but probably others too), libnss builds with -m32 unless it is configured for 64-bit build. So force 64-bit build on 64-bit architectures. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libnspr: fix 64-bit buildArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+3
| | | | | | | | | On some architectures (found on x86_64, but probably others too), libnspr builds with -m32 unless it is configured for 64-bit build. So force 64-bit build on 64-bit architectures. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* new package: luacjsonDanomi Manchego2012-07-173-0/+46
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* new package: LuaExpatDanomi Manchego2012-07-173-0/+46
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: embed sub-options into a if...endif instead of depends onThomas Petazzoni2012-07-171-3/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: refactor root path tuningFrancois Perrad2012-07-172-2/+24
| | | | | | | Use a patch rather than sed'ing files in the build process. Signed-off-by: Francois Perrad <fperrad@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lua: split and rename patchesFrancois Perrad2012-07-173-68/+66
| | | | | Signed-off-by: Francois Perrad <fperrad@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Clean up naming of old GENTARGETS infrastructureArnout Vandecappelle (Essensium/Mind)2012-07-174-3/+3
| | | | | | | | | | | | | | | | | | | | With the renaming of XXXTARGETS to xxx-package, the names of the pkg-xxx.mk files is inconsistent, as well as some internal names in the documentation. These inconsistencies are cleaned up here. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> ...kages-autotargets.txt => adding-packages-autotools.txt} | 4 ++-- ...packages-cmaketargets.txt => adding-packages-cmake.txt} | 4 ++-- docs/manual/adding-packages-directory.txt | 12 ++++++------ ...packages-gentargets.txt => adding-packages-generic.txt} | 4 ++-- docs/manual/adding-packages.txt | 6 +++--- package/Makefile.in | 6 +++--- package/{pkg-autotargets.mk => pkg-autotools.mk} | 0 package/{pkg-cmaketargets.mk => pkg-cmake.mk} | 0 package/{pkg-gentargets.mk => pkg-generic.mk} | 0 9 files changed, 18 insertions(+), 18 deletions(-) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-17812-812/+812
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-173-26/+20
| | | | | | | | With the introduction of a specific macro for host targets, it was decided to also make the names of the macros more intuitive: generic-package, autotools-package and cmake-package. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-17122-122/+123
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-infra: add host-xxx-package macroArnout Vandecappelle (Essensium/Mind)2012-07-173-22/+7
| | | | | | | | | | | | | | | Create host-generic-package, host-autotools-package and host-cmake-package macros. Such a macro is more intuitive to use than the $(call ...,host) construct. Also it speeds things up by having one less $(call ...) evaluation. Also includes documentation update, but not for buildroot.html. This brings the time for 'make -qp' (which is used by bash-completion) down from 1.85s to 1.35s on my laptop. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nasm: bump version to 2.10.01, remove dummy target packageThomas Petazzoni2012-07-171-10/+3
| | | | | | | | | The target package was only present because at the time 'nasm' was packaged, there was a bug in the package infrastructure that prevented a package from having a host only variant. This has been fixed since then, so we can get rid of the useless dummy target package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* berkeleydb: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* netsnmp: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pcre: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libusb: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lzop: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lzo: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iostat: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* directfb: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bzip2: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fakeroot: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mpc: define licenseLuca Ceresoli2012-07-171-0/+2
| | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>