buildroot.git
9 years agolinux/linux.mk: added https:// pattern for kernel patches
Ivo Slanina [Mon, 12 Jan 2015 16:37:25 +0000 (17:37 +0100)]
linux/linux.mk: added https:// pattern for kernel patches

Patches located at https:// scheme URL were threated as directories,
causing build failures.

Fixed by adding https:// pattern.

Signed-off-by: Ivo Slanina <ivo.slanina@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobootstrap: install production files only
Yegor Yefremov [Mon, 12 Jan 2015 23:30:37 +0000 (00:30 +0100)]
bootstrap: install production files only

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoomniorb: remove redundant INSTALL_TARGET
Baruch Siach [Tue, 13 Jan 2015 12:36:07 +0000 (14:36 +0200)]
omniorb: remove redundant INSTALL_TARGET

INSTALL_TARGET defaults to YES.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibgtk2: remove redundant INSTALL_TARGET
Baruch Siach [Tue, 13 Jan 2015 12:36:06 +0000 (14:36 +0200)]
libgtk2: remove redundant INSTALL_TARGET

INSTALL_TARGET defaults to YES.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobotan: remove redundant INSTALL_TARGET
Baruch Siach [Tue, 13 Jan 2015 12:36:05 +0000 (14:36 +0200)]
botan: remove redundant INSTALL_TARGET

INSTALL_TARGET defaults to YES.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoread-edid: make available for !x86
Peter Korsgaard [Wed, 14 Jan 2015 15:30:58 +0000 (16:30 +0100)]
read-edid: make available for !x86

It is only the get-edid tool that is x86 specific, parse-edid builds and
works fine on other architectures so make it available everywhere.

Also drop the custom install step as 'make install' does the right thing.
This does cause us to install into /usr/sbin instead of /sbin, but as that
is what upstream wants we can consider that a bugfix.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopoppler: fix select of Qt4 GUI module
Thomas Petazzoni [Tue, 13 Jan 2015 09:10:49 +0000 (10:10 +0100)]
poppler: fix select of Qt4 GUI module

For some silly reason, the option is named BR2_PACKAGE_QT_GUI_MODULE
and not BR2_PACKAGE_QT_QUI.

Hopefully fixes:

  http://autobuild.buildroot.org/results/47d/47dee003b29f156496492757cbaa4208b002ab65/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agostart-stop-daemon: new package
Gustavo Zacarias [Thu, 27 Nov 2014 17:00:30 +0000 (14:00 -0300)]
start-stop-daemon: new package

We don't use the 1.17.x series because it has issues when
cross-compiling.

[Thomas:
  - change license to GPLv2+, and the license file to COPYING. While
    start-stop-daemon.c itself is under the Public Domain, the compat
    library against which it is linked is GPLv2+.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoifupdown: new package
Gustavo Zacarias [Thu, 27 Nov 2014 17:00:29 +0000 (14:00 -0300)]
ifupdown: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton/S40network: tweak for debian ifupdown
Gustavo Zacarias [Thu, 27 Nov 2014 17:00:28 +0000 (14:00 -0300)]
skeleton/S40network: tweak for debian ifupdown

Make the S40network script create the /run/network directory for the
debian variant of ifupdown which uses it as a lock directory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobind: Add systemd unit file and install it to run at startup.
Nathaniel Roach [Sun, 11 Jan 2015 05:31:36 +0000 (13:31 +0800)]
bind: Add systemd unit file and install it to run at startup.

The unit file is taken from debian, but tested working.
We'll call it named.service to match the sysV initscript.

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/glmark2: Fix mesa3d dependency
Bernd Kuhls [Sat, 10 Jan 2015 19:16:40 +0000 (20:16 +0100)]
package/glmark2: Fix mesa3d dependency

Compilation fails with this defconfig, provided by Thomas

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2014.11.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17=y
BR2_TOOLCHAIN_EXTERNAL_LARGEFILE=y
BR2_TOOLCHAIN_EXTERNAL_INET_IPV6=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_GLMARK2=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_RPI_USERLAND=y

because rpi-userland is used a provider for libegl/gles.
Fix this by depending on the corresponding mesa3d suboptions.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: fix hard float error
Jörg Krause [Mon, 12 Jan 2015 20:52:01 +0000 (21:52 +0100)]
package/nodejs: fix hard float error

Add support for building nodejs with hard floating ABI if supported by the
target and remove bogus comment. Buildroot does propose this tuning.

Basically, you have three cases of floating point strategies:

 * soft float, i.e 'soft' in nodejs speak. This is enabled in Buildroot
   when BR2_ARM_EABI=y and BR2_SOFT_FLOAT=y.

 * hard float using integer registers to pass floating point arguments,
   i.e 'softfp' in nodejs speak. This is enabled in Buildroot when
   BR2_ARM_EABI=y and BR2_SOFT_FLOAT is disabled.

 * hard float using floating pointer registers to pass floating point
   arguments, i.e 'hard' in nodejs speak. This is enabled in Buildroot
   when BR2_ARM_EABIHF=y.

This patch fixes "[Buildroot] Float error on SAMA5D3 Xplained using nodejs":
http://lists.busybox.net/pipermail/buildroot/2014-December/114254.html

Tested at run-time by me on a TI Beaglebone Black.

[Thomas: add qstrip call when using the BR2_GCC_TARGET_FLOAT_ABI
variable.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reported-by: Cédric Heyman <c.heyman@til-technologies.fr>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: fix automake breakage
Gustavo Zacarias [Thu, 8 Jan 2015 01:09:27 +0000 (22:09 -0300)]
squid: fix automake breakage

Squid bundles a copy of libltdl (from libtool) which autoreconfigures on
its own.
For some odd reason when automake was bumped to version 1.15 and if the host
system has another automake version, for example 1.14, the ACLOCAL and
AUTOMAKE variables don't expand properly when the internal autoreconf is
triggered hence calling the missing handler which in turn tries to use
an incorrect automake version.
The solution is to pass unexpanded ACLOCAL and AUTOMAKE variables that
defer the evaluation to a later moment and avoid the issue.

Fixes:
http://autobuild.buildroot.net/results/73f/73fcffafbea320f8c64378bbe8a96922b5e7c6b5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: bump version to 9.4.0
Nathaniel Roach [Sun, 11 Jan 2015 05:31:35 +0000 (13:31 +0800)]
postgresql: bump version to 9.4.0

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibcurl: drop curl* aliases
Gustavo Zacarias [Mon, 12 Jan 2015 11:17:16 +0000 (08:17 -0300)]
libcurl: drop curl* aliases

They're unused hence not useful.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosamba4: bump to version 4.1.15
Gustavo Zacarias [Mon, 12 Jan 2015 10:53:31 +0000 (07:53 -0300)]
samba4: bump to version 4.1.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobandwidthd: Add systemd unit file and install it to run at startup.
Nathaniel Roach [Sun, 11 Jan 2015 05:31:34 +0000 (13:31 +0800)]
bandwidthd: Add systemd unit file and install it to run at startup.

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenntpd: needs NPTL
Gustavo Zacarias [Sun, 11 Jan 2015 11:10:02 +0000 (08:10 -0300)]
openntpd: needs NPTL

Openntpd in fact needs nptl threads, basic threads aren't enough. Fixes:
http://autobuild.buildroot.net/results/f4d/f4dd964231a5dbbc12a7237127fa9c45d6aa0d06/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: add systemd service file
Peter Seiderer [Tue, 20 May 2014 21:16:51 +0000 (23:16 +0200)]
postgresql: add systemd service file

[Thomas: indent using tabs.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxtables-addons: enable necessary kernel options
Gustavo Zacarias [Tue, 21 Oct 2014 21:10:52 +0000 (18:10 -0300)]
xtables-addons: enable necessary kernel options

Enable the required conntrack/netfilter options, otherwise
xtables-addons will fail to build.
The basic iptables options are already covered by the iptables package
which is a required dependency anyway.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiptables: enable basic kernel options
Gustavo Zacarias [Tue, 21 Oct 2014 21:10:51 +0000 (18:10 -0300)]
iptables: enable basic kernel options

Enable the basic kernel options for iptables to be useful at least to
filter incoming connections.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxtables-addons: new package
Gustavo Zacarias [Tue, 21 Oct 2014 21:10:50 +0000 (18:10 -0300)]
xtables-addons: new package

The geoip "helpers" are basically scripts that download and reformat
the geoip database in a form usable by xt_geoip.

The netfilter (kernel & userland) sides of it are built and installed.
Since there are many considerations to geoip databases (free,
commercial and variants for each) it's left to the user to deal with
that if they plan to use the extension which is only one among many.

[Thomas:
 - Take into account the rename of BR2_PREFER_STATIC_LIB to
   BR2_STATIC_LIBS
 - Remove "depends on BR2_LINUX_KERNEL" as suggested by Arnout.
 - Move XTABLES_ADDONS_CONF_OPTS a bit further down, with newlines
   around it, and adjust the indentation of the first line. Just to
   make it slightly more readable.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt: split script and webkit supported arches in two different variables
Vicente Olivert Riera [Thu, 4 Dec 2014 16:59:59 +0000 (16:59 +0000)]
qt: split script and webkit supported arches in two different variables

Currently in Buildroot we have a BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
variable indicating which architectures support Qt Webkit. We also make
Qt Script depending on that variable, so we are assuming that Qt Script
is supported for exactly the same architectures which support Qt Webkit,
and that's not true.

For instance, Qt Webkit is not supported for MIPS64 when
using the n32 ABI, but Qt Script is actually supported. So, if we make
BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT depending on !BR2_MIPS_NABI32 we
will also disable Qt Script, because as I said before, Qt Script depends
on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT, and we don't want that because
Qt Script works.

We fix this by creating another variable called
BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT to state which architectures support
Qt Script, so now we can differentiate them from the ones supporting Qt
Webkit.

Related:
  http://lists.busybox.net/pipermail/buildroot/2014-November/112605.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: split target installation from staging installation
Thomas Petazzoni [Mon, 1 Dec 2014 21:41:37 +0000 (22:41 +0100)]
toolchain-external: split target installation from staging installation

Currently, all the installation work of the toolchain-external package
is done during the install-staging step. However, in order to be able
to properly collect the size added by each package to the target
filesystem, we need to make sure that toolchain-external installs its
files to $(TARGET_DIR) during the install-target step.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Jérôme Pouiller <jezz@sysmic.org>
9 years agolzma: repair build
Vincent [Wed, 3 Dec 2014 21:02:29 +0000 (22:02 +0100)]
lzma: repair build

The build of host-lzma is broken since commit 97703978ac870ce2
("support/libtool: make -static behave like -all-static").

Lzma forces '-static' in its LDFLAGS, which contradicts what buildroot tries to
achieve by patching libtool scripts and configuring host packages with
'--disable-static'.

We add a patch to remove lzma's hardcoded LDFLAGS, to fix the build.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoruby: fix verconf.h related build failure
Peter Seiderer [Fri, 5 Dec 2014 23:23:35 +0000 (00:23 +0100)]
ruby: fix verconf.h related build failure

See [1] for failure analysis.

Fixes:
   http://autobuild.buildroot.net/results/c94fef5d2cfb00a336905ae3c110d7680f6d5416/
   http://autobuild.buildroot.net/results/4375cb1e325a336dbf59f22f975be9165ad0648a/

[1] http://lists.busybox.net/pipermail/buildroot/2014-December/114273.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonftables: making interactive console optional
Alexander Clouter [Sat, 6 Dec 2014 23:21:53 +0000 (23:21 +0000)]
nftables: making interactive console optional

This lets you (by default enabled) compile out its readline
dependency.

[Thomas:
  - remove the patch, which is now unneeded, since we've bumped to
    nftables 0.4, which as the patch to make readline optional.
  - remove the new Config.in option, just enable the interactive
    console when the readline package is enabled.]

Signed-off-by: Alexander Clouter <alex+buildroot@digriz.org.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglmark2: new package
Spenser Gilliland [Sun, 14 Dec 2014 10:30:22 +0000 (11:30 +0100)]
glmark2: new package

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystem: run getty on boot console by default
Alexey Brodkin [Tue, 23 Dec 2014 12:06:13 +0000 (15:06 +0300)]
system: run getty on boot console by default

We used to specify explicitly serial port with all its settings
for init to instantiate getty.

This limits usecases when the same one rootfs could be used.

For example following cases won't work well with hardcoded
serial console settings:
 * On the same board other serial port is expected to be used
 * The same rootfs is intended to be used on different boards with
   different serial ports (like ttySx vs ttyAMAx or even ttyx)

With this change by default we rely on "console" specified in
kernel's boot command line.

What is important getty will be set on the last console
specified in bootargs.

For example is a kernel comand line:
--->---
bootargs="... console=tty0 console=ttyS3,115200n8..."
--->---

This now will instantiate serial console on ttyS3 but not on tty0.

Tested with both Busybox and SysV init.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: Remove obsolete CONFIG_NOSOFTFLOAT flag
Jörg Krause [Sat, 10 Jan 2015 13:47:20 +0000 (14:47 +0100)]
boot/uboot: Remove obsolete CONFIG_NOSOFTFLOAT flag

This flag seems to be obsolete. There is no piece of code in the U-Boot source
tree referencing CONFIG_NOSOFTFLOAT.

Unfortunatly the use of this flag is not documented here. Maybe it's about this
old workaround:
http://lists.denx.de/pipermail/u-boot/2007-March/020282.html

However, this patch has been declined:
http://www.denx.de/wiki/view/U-Boot/PatchStatus?rev=1.27

Since no other configure options are used, remove also UBOOT_CONFIGURE_OPTS.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/sane-backends: rename patches to the new naming convention
Romain Naour [Sat, 10 Jan 2015 15:11:00 +0000 (16:11 +0100)]
package/sane-backends: rename patches to the new naming convention

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython3: make the ossaudiodev module optional
Thomas Petazzoni [Sat, 10 Jan 2015 15:32:48 +0000 (16:32 +0100)]
python3: make the ossaudiodev module optional

Like was done for the 'python' package, also make the ossaudiodev
module optional for 'python3'. ossaudiodev is always disabled for
host-python3, and a new option is added to enable it for the target
python3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython: add an option to make the ossaudiodev module optional for the target
Thomas Petazzoni [Sat, 10 Jan 2015 15:19:26 +0000 (16:19 +0100)]
python: add an option to make the ossaudiodev module optional for the target

Now that we have a configure option in Python to enable/disable the
ossaudiodev module, this commit adds a configuration option to the
target Python to explicitly enable/disable this module.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython: disable building ossaudiodev module for host-python
Zoltan Gyarmati [Thu, 8 Jan 2015 10:49:28 +0000 (11:49 +0100)]
python: disable building ossaudiodev module for host-python

This module is not needed to build the target Python, and can cause
some build issues on certain systems (when <linux/soundcard.h> does
not contain the OSS related definitions).

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython: add patch to make ossaudiodev module optional
Zoltan Gyarmati [Thu, 8 Jan 2015 10:49:27 +0000 (11:49 +0100)]
python: add patch to make ossaudiodev module optional

This module causes some build failures in certain setups and is not
very useful.

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboards/raspberrypi: update readme with Device Tree instructions
Yann E. MORIN [Sat, 10 Jan 2015 13:14:58 +0000 (14:14 +0100)]
boards/raspberrypi: update readme with Device Tree instructions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add a DT-enabled Raspberry Pi defconfig
Yann E. MORIN [Sat, 10 Jan 2015 13:14:57 +0000 (14:14 +0100)]
configs: add a DT-enabled Raspberry Pi defconfig

This is an example of a Device-Tree-enabled Raspberry Pi defconfig.

We have to use a 3.18-based kernel for that, but there are a few
limitations:

  - we can not use the minimalist RPi defconfig bundled with the kernel,
    namely bcmrpi_quick_defconfig, because it is not DT-enabled, and
    sets CONFIG_ARM_PATCH_PHYS_VIRT to 'n', which prompts a value for
    CONFIG_PHYS_OFFSET, as it as no default for the bcm familly;

  - most importantly, the rpi-3.18.y branch is constantly rebased, so
    there is no guarantee that the sha1 I use today will still be usable
    in the long term. Using the name of hte branch is not better either.

So, we bundle our own DT-enabled linux defconfig that is based on
bcmrpi_quick_defconfig, with just CONFIG_ARM_PATCH_PHYS_VIRT set and the
Device TRee enabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vnstat: New package
Bernd Kuhls [Sat, 10 Jan 2015 13:38:46 +0000 (14:38 +0100)]
package/vnstat: New package

[Thomas:
  - Rename the VNSTAT_INSTALL_VNSTATI to VNSTAT_INSTALL_VNSTATI_CMDS,
    and use 'define ... endef'.
  - Use full paths for the destinations when using $(INSTALL)]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodillo: remove poisoned paths from configure
Alex Suykov [Sat, 10 Jan 2015 13:34:26 +0000 (15:34 +0200)]
dillo: remove poisoned paths from configure

Fixes http://autobuild.buildroot.net/results/10f/10f7ba386a13753c942139b8bc13ca74d8932f3a/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gd: Add explicit support for tiff
Bernd Kuhls [Sat, 10 Jan 2015 14:25:24 +0000 (15:25 +0100)]
package/gd: Add explicit support for tiff

This ensures reproducible builds.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: add fbtft kernel extension
Peter Seiderer [Sat, 3 Jan 2015 20:01:47 +0000 (21:01 +0100)]
linux: add fbtft kernel extension

Tested with RaspberryPi B+ and PiTFT Mini Kit - 320x240 2.8" TFT
(see [1] and [2]) and the following target configuration changes:
- cmdline.txt: add 'fbcon=map:10 fbcon=font:VGA8x8'
- add /etc/modules-load.d/fbtft.conf with 'fbtft_device'
- add /etc/modprobe.d/00-fbtft.conf with 'options fbtft_device name=adafruit28 rotate=90 gpios=dc:25'

[1] http://h65951.serverkompetenz.net/PeterSeiderer/upload/PiTFT_2_8_ct/Image9893.jpg
[2] http://h65951.serverkompetenz.net/PeterSeiderer/upload/PiTFT_2_8_ct/Image9897.jpg

[Thomas:
  - Rename prompt of the Linux extension to "FB TFT drivers"
  - Remove the full name of the kernel config options in the help
    text. Giving their CONFIG_<foo> name is enough.
  - Remove the mention of CONFIG_SPI_BCM2708, since this makes the
    description RaspberryPi specific, while these drivers can work
    with any SPI controller.
  - Refactor the code in linux-ext-fbtft.mk to avoid duplication
    between the < 3.15 and >= 3.15 cases.
  - Make the fbtft package a promptless package, since there is no
    point in selecting only this package, without the kernel
    extension.
  - Change the license to GPLv2, since it's kernel code.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version
Bernd Kuhls [Sat, 10 Jan 2015 12:33:24 +0000 (13:33 +0100)]
package/ffmpeg: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyftpdlib: new package
Yegor Yefremov [Thu, 8 Jan 2015 21:28:55 +0000 (22:28 +0100)]
python-pyftpdlib: new package

[Thomas: remove empty new line at end of .mk file.]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenntpd: bump to version 5.7p1
Gustavo Zacarias [Thu, 8 Jan 2015 23:06:37 +0000 (20:06 -0300)]
openntpd: bump to version 5.7p1

Also:

* Add hash file
* Tweak the initscript to use a pidfile to avoid nasty warnings

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/olimex_imx233_olinuxino: bump kernel to version 3.18.2
Gustavo Zacarias [Fri, 9 Jan 2015 12:41:29 +0000 (09:41 -0300)]
configs/olimex_imx233_olinuxino: bump kernel to version 3.18.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsvgtiny: update source url
Fabio Porcedda [Fri, 9 Jan 2015 07:14:03 +0000 (08:14 +0100)]
libsvgtiny: update source url

As source url use the git repository instead of the unavaiable svn
repository.

Also because the git repository does not include the netsurf core
buildsystem source that are needed to build this package add as
dependency the netsurf-buildsystem package and use those files through a
symbolink link.

This fix the following error:

svn: E670002: Unable to connect to a repository at URL 'svn://svn.netsurf-browser.org/trunk/libsvgtiny'
svn: E670002: Unknown hostname 'svn.netsurf-browser.org'

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetsurf-buildsystem: new package
Fabio Porcedda [Fri, 9 Jan 2015 07:14:02 +0000 (08:14 +0100)]
netsurf-buildsystem: new package

This is the NetSurf project shared build system, used by various NetSurf
sub-projects like the libsvgtiny project.

[Thomas: use cp -dpfr instead of just cp -r, to match what we do in
other Buildroot packages.]

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: install DTB blobs
Yann E. MORIN [Fri, 9 Jan 2015 22:46:20 +0000 (23:46 +0100)]
package/rpi-firmware: install DTB blobs

Add an option to install all the DTBs:
  - standard DTBs for standalon A/B and A+/B+ models;
  - overlay DTBs for the 'hats' addon boards.

Install the DTBs as per the traditional layout expected by all RPi
users, that is:
  - base DTBs alongside the other boot files;
  - overlay DTBs in a sub-directory.

This requires the user provide a specially configured Linux defconfig
file, as the default ones do not enable USE_OF.

[Thomas: adjust comment explaining why we use a different version when
installing the DTBs is selected.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: add DT-aware marking script
Yann E. MORIN [Fri, 9 Jan 2015 22:46:19 +0000 (23:46 +0100)]
package/rpi-firmware: add DT-aware marking script

The Raspberry Pi can boot a kernel with device tree support. But at the
same time, the RPi folks wante to keep the old-fashioned, ATAG-based way
of booting (don't ask...).

So, the bootloader needs to know whether the kernel it is loading has DT
support or not. For that, it looks at the end of the kernel image for a
magic footer. If found, it loads a device tree and sets the registers
appropriately so that the kernel finds the DTB. If not found, it loads
the kernel with the traditional ATAGS.

Where it becomes a bit tricky, is that the DTB is different for models
A/B and A+/B+ (that is A and B use the same DTB, while the A+ and B+ use
a second DTB). The bootloader is capable to load the correct DTB from a
specially named file. That is:
  - on A/B, it loads bcm2708-rpi-b.dtb
  - on A+/B+, it loads bcm2708-rpi-b-plus.dtb

If the DTB is differently named, the bootloader won't find it, will not
load any DTB at all, and revert to booting with ATAGS.

It is possible to specify what DTB to load, by adding an new config
option 'device_tree=file.dtb' in config.txt, but then the firmware on
the SDcard is no longer bootable on both the original models and the
Plus models.

So, add a script that appends the appropriate footer to the kernel
image. The script is vampirised from the RPi's tools repository, but a
new package is *not* added just for that script: the whole repository is
300+ MiB, and a checkout is 600+ MiB; it is not pertinent to add this as
a new package for a script that weights a few KiB...

Install that script as a host utility, too.

Notes: lots of information is available in this thread on the RPi forums:
    http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=93015

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboards/raspberrypi: don't document non-existent files
Yann E. MORIN [Fri, 9 Jan 2015 22:46:21 +0000 (23:46 +0100)]
boards/raspberrypi: don't document non-existent files

Those files were previously installed, but that's no longer the case
since we select in the menuconfig which version of the bootloader we
install.

[Thomas: fix minor typo in commit log.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobootstrap: new package
Yegor Yefremov [Fri, 9 Jan 2015 21:13:38 +0000 (22:13 +0100)]
bootstrap: new package

[Thomas: add 'cp -dpfr' instead of a convuluted use of 'tar c' + 'tar
x' do not a copy.]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobtrfs-progs: bump to version 3.18.1
Gustavo Zacarias [Sat, 10 Jan 2015 10:32:43 +0000 (07:32 -0300)]
btrfs-progs: bump to version 3.18.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonewt: cleanup patches
Thomas Petazzoni [Sat, 10 Jan 2015 10:58:36 +0000 (11:58 +0100)]
newt: cleanup patches

This commit slightly cleans up the newt patches: use Git formatted
patches, improve title and description. This was done in preparation
for the upstream submission of those patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonewt: bump version to 0.52.18
Thomas Petazzoni [Sat, 10 Jan 2015 10:49:51 +0000 (11:49 +0100)]
newt: bump version to 0.52.18

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonewt: avoid poisoned paths
Alex Suykov [Sat, 10 Jan 2015 08:10:48 +0000 (10:10 +0200)]
newt: avoid poisoned paths

Fixes http://autobuild.buildroot.net/results/cb908f73b14e1510bea890167b3927afbf708d6f/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua: add a upstream patch
Francois Perrad [Sat, 10 Jan 2015 08:30:53 +0000 (09:30 +0100)]
lua: add a upstream patch

[Thomas: fix minor typo in commit title.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xz-utils: does not require threads
Yann E. MORIN [Fri, 9 Jan 2015 17:03:25 +0000 (18:03 +0100)]
package/xz-utils: does not require threads

Commit 799c12e (xz-utils: needs threads) tried to fix an autobuild
failure by requiring threads. But xz-utils can be configured without
thread support (even though it is one of the most prominent
selling-points of the latest release!).

[Thomas: use --{enable,disable}-threads instead of
--enable-threads={yes,no}, to match what we generally do in most
autotools packages.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agojpeg-turbo: bump version
Peter Korsgaard [Fri, 9 Jan 2015 21:52:22 +0000 (22:52 +0100)]
jpeg-turbo: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxz-utils: needs threads
Gustavo Zacarias [Fri, 9 Jan 2015 10:40:55 +0000 (07:40 -0300)]
xz-utils: needs threads

It's one of the major features of the 5.2.0 release. Fixes:
http://autobuild.buildroot.net/results/e86/e86e97ff7887f1bdc6bf913498392ff50f56ea88/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxz: fix stray hash
Gustavo Zacarias [Fri, 9 Jan 2015 06:44:14 +0000 (03:44 -0300)]
xz: fix stray hash

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 3.18.2
Gustavo Zacarias [Fri, 9 Jan 2015 06:43:34 +0000 (03:43 -0300)]
linux: bump default to version 3.18.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{18, 17, 14, 10}.x series
Gustavo Zacarias [Fri, 9 Jan 2015 06:43:33 +0000 (03:43 -0300)]
linux-headers: bump 3.{18, 17, 14, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years ago(e)glibc: add security patches for CVE-2014-9402
Gustavo Zacarias [Thu, 8 Jan 2015 20:45:39 +0000 (17:45 -0300)]
(e)glibc: add security patches for CVE-2014-9402

Fixes CVE-2014-9402 - denial of service in getnetbyname function.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years ago(e)glibc: add security patches for CVE-2014-6040
Gustavo Zacarias [Thu, 8 Jan 2015 20:45:38 +0000 (17:45 -0300)]
(e)glibc: add security patches for CVE-2014-6040

Fixes CVE-2014-6040 - crash in code page decoding functions (IBM933,
IBM935, IBM937, IBM939, IBM1364).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocheckpolicy: new package
Clayton Shotwell [Wed, 7 Jan 2015 17:10:36 +0000 (11:10 -0600)]
checkpolicy: new package

[Thomas:
 - Indicate in the Config.in help text that this policy compiler is
   SELinux related.
 - Rewrap Config.in help text and remove trailing white space.
 - Add a comment in the .mk file to indicate why we're passing
   DESTDIR= at build time.]

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoirqbalance: new package
Karoly Kasza [Thu, 8 Jan 2015 15:43:56 +0000 (16:43 +0100)]
irqbalance: new package

Irqbalance is a daemon to help balance the cpu load generated by
interrupts across all of a systems cpus.

[Thomas:
 - Add upstream URL in Config.in help text.
 - Fix indentation of init script.]

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-tornado: bump to 4.0.2
Yegor Yefremov [Wed, 7 Jan 2015 22:50:14 +0000 (23:50 +0100)]
python-tornado: bump to 4.0.2

Add a hash file. Also remove obsolete Python dependency statement.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibqmi: bump to 1.10.6
Yegor Yefremov [Wed, 7 Jan 2015 22:45:16 +0000 (23:45 +0100)]
libqmi: bump to 1.10.6

Add locally computed hash file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibmbim: bump to 1.10.2
Yegor Yefremov [Wed, 7 Jan 2015 22:45:15 +0000 (23:45 +0100)]
libmbim: bump to 1.10.2

Add locally computed hash file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang
Bjørn Forsman [Thu, 8 Jan 2015 20:31:19 +0000 (21:31 +0100)]
package/mke2img: "/bin/bash" => "/usr/bin/env bash" shebang

For portability. All other Buildroot scripts (i.e. scripts that run on
host) already use the "/usr/bin/env bash" shebang.

This change is needed for NixOS, which lacks a global /bin/bash.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssl: security bump to version 1.0.1k
Gustavo Zacarias [Thu, 8 Jan 2015 19:18:22 +0000 (16:18 -0300)]
openssl: security bump to version 1.0.1k

Fixes:
CVE-2014-3571 - DTLS segmentation fault in dtls1_get_record
CVE-2015-0206 - DTLS memory leak in dtls1_buffer_record
CVE-2014-3569 - no-ssl3 configuration sets method to NULL
CVE-2014-3572 - ECDHE silently downgrades to ECDH [Client]
CVE-2015-0204 - RSA silently downgrades to EXPORT_RSA [Client]
CVE-2015-0205 - DH client certificates accepted without verification
[Server]
CVE-2014-8275 - Certificate fingerprints can be modified
CVE-2014-3570 - Bignum squaring may produce incorrect results

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agompfr: security bump to patchlevel 11
Gustavo Zacarias [Thu, 8 Jan 2015 19:16:27 +0000 (16:16 -0300)]
mpfr: security bump to patchlevel 11

Fixes CVE-2014-9474 - buffer overflow in mpfr_strtofr.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodillo: zlib is a mandatory dependency
Gustavo Zacarias [Thu, 8 Jan 2015 18:18:58 +0000 (15:18 -0300)]
dillo: zlib is a mandatory dependency

Fixes:
http://autobuild.buildroot.net/results/10f/10f7ba386a13753c942139b8bc13ca74d8932f3a/

Also reorder variables a bit and ditch duplicate addition.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibiio: Drop requirement of threading support in the toolchain
Paul Cercueil [Thu, 8 Jan 2015 09:57:51 +0000 (10:57 +0100)]
libiio: Drop requirement of threading support in the toolchain

The libiio library will compile fine with a toolchain that doesn't
support threads (tested with br-arm-full-nothread.config).
Only the IIOD program requires support for threading.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowireshark: security bump to version 1.12.3
Gustavo Zacarias [Thu, 8 Jan 2015 17:29:35 +0000 (14:29 -0300)]
wireshark: security bump to version 1.12.3

Fixes:
CVE-2015-0559, CVE-2015-0560 - The WCCP dissector could crash.
CVE-2015-0561 - The LPP dissector could crash.
CVE-2015-0562 - The DEC DNA Routing Protocol dissector could crash.
CVE-2015-0563 - The SMTP dissector could crash.
CVE-2015-0564 - Wireshark could crash while decypting TLS/SSL sessions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibcurl: security bump to version 7.40.0
Gustavo Zacarias [Thu, 8 Jan 2015 17:29:16 +0000 (14:29 -0300)]
libcurl: security bump to version 7.40.0

Fixes:
CVE-2014-8150 - When libcurl sends a request to a server via a HTTP
proxy, it copies the entire URL into the request and sends if off.
If the given URL contains line feeds and carriage returns those will be
sent along to the proxy too, which allows the program to for example
send a separate HTTP request injected embedded in the URL.

CVE-2014-8151 - libcurl stores TLS Session IDs in its associated Session
ID cache when it connects to TLS servers. In subsequent connects it
re-uses the entry in the cache to resume the TLS connection faster than
when doing a full TLS handshake. The actual implementation for the
Session ID caching varies depending on the underlying TLS backend.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoguile: needs autorecof
Gustavo Zacarias [Thu, 8 Jan 2015 17:32:07 +0000 (14:32 -0300)]
guile: needs autorecof

It's patching configure.ac and triggering an automatic autoreconf which
doesn't end well. Fixes:
http://autobuild.buildroot.net/results/14f/14f502687f6344a85e67b37efe9b00b8c586a266/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglibc: add debug symbols when BR2_ENABLE_DEBUG
Baruch Siach [Thu, 1 Jan 2015 10:16:43 +0000 (12:16 +0200)]
glibc: add debug symbols when BR2_ENABLE_DEBUG

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodmalloc: bump version to 5.5.2
Alex Suykov [Wed, 7 Jan 2015 13:03:09 +0000 (15:03 +0200)]
dmalloc: bump version to 5.5.2

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: add hashes for all remaining external toolchains
Yann E. MORIN [Thu, 1 Jan 2015 16:12:27 +0000 (17:12 +0100)]
toolchain: add hashes for all remaining external toolchains

Getting the hashes from upstream is not always possible:
  - Mentor's Sourcery: seems to require an account
  - TI's Arago: not able to locate the upstream.
  - Linaro: only signatures
  - Misc other toolchains.

So, all hashes were locally computed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: hide custom patches when using a local tree
Vivien Didelot [Wed, 7 Jan 2015 21:15:28 +0000 (16:15 -0500)]
linux: hide custom patches when using a local tree

When using a custom local tree, we're using the OVERRIDE_SRCDIR
internally, which means we do not apply patches. Since this is the
expected behavior, make BR2_LINUX_KERNEL_PATCH and
BR2_LINUX_KERNEL_CUSTOM_LOCAL options exclusive.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/git: fix dependency against curl
Yann E. MORIN [Wed, 7 Jan 2015 21:03:23 +0000 (22:03 +0100)]
package/git: fix dependency against curl

Our curl package is really named libcurl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokconfig/lxdialog: get ncurses CFLAGS with pkg-config
Bjørn Forsman [Fri, 2 Jan 2015 23:58:48 +0000 (00:58 +0100)]
kconfig/lxdialog: get ncurses CFLAGS with pkg-config

This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

This patch changes ccflags() so that it tries pkg-config first, and only
if pkg-config fails does it go back to the fallback/manual checks. This
is the same algorithm that ldflags() already uses.

[This patch is already applied upstream (is part of linux v3.18):
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=be8af2d54a66911693eddc556e4f7a866670082b

I'm adding this instead of doing a full upstream kconfig sync because
there was a conflict in one of the Buildroot kconfig patches (against
linux 3.18-rc1), which I was unable to resolve. Just drop this patch next time
Buildroot kconfig is synced against upstream.
]

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: pass host PKG_CONFIG_PATH at "make menuconfig" time
Bjørn Forsman [Fri, 2 Jan 2015 23:58:47 +0000 (00:58 +0100)]
Makefile: pass host PKG_CONFIG_PATH at "make menuconfig" time

Buildroot unexports PKG_CONFIG_PATH in the top-level Makefile for purity
reasons. But it has an unfortunate side-effect in that "make menuconfig"
will not (necessarily) be able to pick up ncurses via host pkg-config,
breaking "make menuconfig" on systems where ncurses is installed in a
non-standard location.

This patch saves the original PKG_CONFIG_PATH variable in
HOST_PKG_CONFIG_PATH and restores the original PKG_CONFIG_PATH variable
only in the sub-processes that builds the various menuconfig/nconfig/...
targets.

(PKG_CONFIG_PATH has to be placed in front of the make command so that it
propagates to sub-processes. If given as an argument, it doesn't work.)

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoautomake: bump version to 1.15
Vicente Olivert Riera [Tue, 6 Jan 2015 09:07:47 +0000 (09:07 +0000)]
automake: bump version to 1.15

-Bump version to 1.15
-Add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lockdev: use LOCKDEV_MAJOR to create symbolic links
Romain Naour [Tue, 6 Jan 2015 23:06:04 +0000 (00:06 +0100)]
package/lockdev: use LOCKDEV_MAJOR to create symbolic links

Thanks to Baruch Siach for the suggestion.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lockdev: handle static/shared only build
Romain Naour [Tue, 6 Jan 2015 23:06:03 +0000 (00:06 +0100)]
package/lockdev: handle static/shared only build

Add a patch to install headers and static library separately.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dvb-app: handle static/shared only build
Romain Naour [Tue, 6 Jan 2015 22:29:37 +0000 (23:29 +0100)]
package/dvb-app: handle static/shared only build

Also remove tests since they require static libraries.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5cinex: Add new Qt5CinematicExperience package.
Pierre Le Magourou [Wed, 7 Jan 2015 14:22:21 +0000 (15:22 +0100)]
qt5cinex: Add new Qt5CinematicExperience package.

[Thomas:
 - Change the dependency logic in the Config.in file. We don't want to
   have a 'depends on BR2_PACKAGE_QT5GRAPHICALEFFECTS': it should be
   selected automatically. Instead, let's have a dependency on Qt5 and
   OpenGL, and select everything else automatically. A comment is
   added, shown only when Qt5 is available, on the right platforms
   (which have JSCore support), to explain that we need an OpenGL
   backend.
 - Change the prompt of the package to be qt5cinex, to match the
   package name.
 - Replace "High-definition support" by "High-definition version".
 - Fix a typo in the Config.in help text: definifition -> definition.
 - Add a comment in the .mk file explaining why we install a wrapper
   shell script (explanation taken from Pierre's e-mail).
 - Fix indentation in the install target commands.
 - Keep only sha256 hashes, those are sufficient. Replace the comment
   in the hash file by the more traditional "Locally computed".]

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Needs BR2_PACKAGE_FFMPEG_SWSCALE
Bernd Kuhls [Wed, 7 Jan 2015 15:42:48 +0000 (16:42 +0100)]
package/kodi: Needs BR2_PACKAGE_FFMPEG_SWSCALE

Fixes
http://autobuild.buildroot.net/results/8ab/8ab84a0e690b4e778aee5ac8ee7835da5737cfb4/
http://autobuild.buildroot.net/results/2b6/2b6a6ffb4ac464bcd41ad51c17d8a34f1967819f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevent: security bump to version 2.0.22
Gustavo Zacarias [Wed, 7 Jan 2015 14:43:31 +0000 (11:43 -0300)]
libevent: security bump to version 2.0.22

Fixes CVE-2014-6272 - integer overflow bugs in evbuffer_add() and
related functions.

Also file hash file (was stale) and switch to sourceforge for a
stable/proper hash.

Patch 0002-Avoid-using-top_srcdir-in-TESTS.patch is upstream so remove.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovim: also install xxd
Peter Korsgaard [Wed, 7 Jan 2015 14:44:20 +0000 (15:44 +0100)]
vim: also install xxd

Quite a number of scripts use xxd, so install it as well.

Install it unconditionally as the size is trivial compared to vim (~10kb vs
~1.5MB).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxz: revert back to using a .bz2 archive
Thomas Petazzoni [Wed, 7 Jan 2015 08:31:42 +0000 (09:31 +0100)]
xz: revert back to using a .bz2 archive

On machines where xzcat/unxz is not available, we build host-xz. So if
host-xz is itself downloaded as a xz-compressed archive, it doesn't
work. Revert back to a .bz2 archive.

Fixes:

  http://autobuild.buildroot.org/results/79e/79ecba46f353546ba60ae86dd3898b4d86c056a0/
  (and many similar failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofluxbox: bump version to 1.3.6
Vicente Olivert Riera [Tue, 6 Jan 2015 17:42:34 +0000 (17:42 +0000)]
fluxbox: bump version to 1.3.6

- Bump version to 1.3.6
- Update the hash value

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofluxbox: do not autoreconf
Vicente Olivert Riera [Tue, 6 Jan 2015 17:42:33 +0000 (17:42 +0000)]
fluxbox: do not autoreconf

There is no need to have "AUTORECONF = YES" since the patch which
modified the "configure.in" file was removed in the last version bump.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoelfutils: bump version to 0.161
Vicente Olivert Riera [Tue, 6 Jan 2015 12:02:06 +0000 (12:02 +0000)]
elfutils: bump version to 0.161

- Bump version to 0.161
- Remove the portability patch. We don't need to have it in Buildroot
  since it includes the version number so we can download it safely
  without having collisions between versions.
- Adapt the patches that need to be adapted.
- Rename patches to start from 0001.
- Update the hash value and add a new value for the portability patch.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: add hash file
Jörg Krause [Mon, 5 Jan 2015 16:35:37 +0000 (17:35 +0100)]
package/nodejs: add hash file

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: bump to version 0.10.35
Jörg Krause [Mon, 5 Jan 2015 16:35:36 +0000 (17:35 +0100)]
package/nodejs: bump to version 0.10.35

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolftp: bump version to 4.6.1
Vicente Olivert Riera [Mon, 5 Jan 2015 15:02:25 +0000 (15:02 +0000)]
lftp: bump version to 4.6.1

-Bump version to 4.6.1
-Add a hash file
-Use xz tarball to save space and bandwidth

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>