buildroot.git
9 years agopackage/nodejs: Define NPM command for other packages to use
Martin Bark [Thu, 2 Jul 2015 09:43:27 +0000 (10:43 +0100)]
package/nodejs: Define NPM command for other packages to use

Other nodejs-related packages will need to call npm with the same set of
arguments as is currently used by the nodejs package itself.

To avoid duplicating this code, set the NPM variable so those packages can
re-use it.

Signed-off-by: Martin Bark <martin@barkynet.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Fixes for node-pre-gyp
Martin Bark [Thu, 2 Jul 2015 09:43:26 +0000 (10:43 +0100)]
package/nodejs: Fixes for node-pre-gyp

Many packages use node-pre-gyp as a way of deploying precompiled binary
dependencies with fall back to compilation for other targets.  Currently
installing node modules that use node-pre-gyp can fail to use the correct
binary for the target.  This patch fixes this issue by correctly
configuring node-pre-gyp.

Firstly, node-gyp uses the option --arch to determine its target
architecture (which is already set correctly), however, node-pre-gyp uses
--target-arch.  Without this set node.js packages that uses node-pre-gyp
will pick the wrong target architecture.

Secondly, the use of precompiled binary packages is not desirable due to
potential security and licensing issues.  To solve this we use the
--build-from-source option to force node-pre-gyp to always build the C++
code.

This patch passes npm_config_target_arch and npm_config_build_from_source
to npm which causes --target-arch and --build-from-source to be passed to
node-pre-gyp.

I have tested this using the node.js package serialport which now
successfully builds and runs.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin
Martin Bark [Thu, 2 Jul 2015 09:43:25 +0000 (10:43 +0100)]
package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin

This patch symlinks all executables in /usr/lib/node_modules/.bin
to /usr/bin so that node.js modules installed using
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL are accessible from the command line.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: Add node.js v0.12.5 and set as the default version
Martin Bark [Thu, 2 Jul 2015 09:43:24 +0000 (10:43 +0100)]
package/nodejs: Add node.js v0.12.5 and set as the default version

The version of the V8 JavaScript engine used by node.js v0.12.5 requires
at least an ARMv6 architecture with VFPv2.  For this reason v0.10.39
remains the default for ARMv5 targets, all other targets now default to
v0.12.5.

Signed-off-by: Martin Bark <martin@barkynet.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltrace: enable for mips/mipsel
Vicente Olivert Riera [Fri, 3 Jul 2015 11:05:24 +0000 (13:05 +0200)]
ltrace: enable for mips/mipsel

ltrace was disabled for MIPS due to a build failure on this
architecture. Now that problem has been fixed so we can enable this
package again.

Related:
http://git.buildroot.net/buildroot/commit/?id=dfaa18af00dfcff71a0159adaafb0880e58fa6a1
http://anonscm.debian.org/cgit/collab-maint/ltrace.git/commit/?id=a8ff0ff2b6e6c229f8a9242828fb47f1a5a78967

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltrace: update to current master
Vicente Olivert Riera [Fri, 3 Jul 2015 11:05:23 +0000 (13:05 +0200)]
ltrace: update to current master

Lots of fixes have been made to ltrace, including the ones for fixing a
build failure for MIPS architecture. Updating to current master will
allow us to re-enable this package for MIPS and also remove some
upstreamed patches.

At the same time we add a patch made by Jérôme Pouiller to fix a bug
introduced by 5ba9e10 ("Split type definitions from the bundled configs
into their own files"). Two new configuration files are not installed.
Therefore, ltrace fail with messages like :

/usr/share/ltrace/libm.so.conf:333: error: unknown type around 'ldouble
erfl(ldouble);

That patch has been sent upstream.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openvmtools: bump to version 9.10.2
Karoly Kasza [Thu, 2 Jul 2015 11:18:47 +0000 (13:18 +0200)]
package/openvmtools: bump to version 9.10.2

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdrm: fix building if GCC's C standard is not gnu99
Bernd Kuhls [Thu, 2 Jul 2015 18:05:02 +0000 (20:05 +0200)]
package/libdrm: fix building if GCC's C standard is not gnu99

Fixes
checking for /home/fli4l/buildroot/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc option to accept ISO C99... unsupported
configure: error: Building libdrm requires C99 enabled compiler

using this defconfig
BR2_KERNEL_HEADERS_4_0=y
BR2_BINUTILS_VERSION_2_25=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_LIBDRM=y

Patch inspired by
http://git.buildroot.net/buildroot/commit/?id=5cf5b390385fb6325485e37dc9d38e1e3ac1f091

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocryptsetup: remove e2fsprogs dependency
Baruch Siach [Thu, 2 Jul 2015 13:18:44 +0000 (16:18 +0300)]
cryptsetup: remove e2fsprogs dependency

cryptsetup does not actually depend on e2fsprogs, but on libuuid that is a
dependency of e2fsprogs. Remove the e2fsprogs dependency, and add a direct
dependency on util-linux (libuuid provider).

Cc: Martin Hicks <mort@bork.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystem: allow/disallow root login, accept encoded passwords
Lorenzo Catucci [Thu, 2 Jul 2015 20:00:05 +0000 (22:00 +0200)]
system: allow/disallow root login, accept encoded passwords

Currently, there are only two possibilities regarding the root account:
  - it is enabled with no password (the default)
  - it is enabled, using a clear-text, user-provided password

This is deemed insufficient in many cases, especially when the .config
file has to be published (e.g. for the GPL compliance, or any other
reason.).

Fix that in two ways:

  - add a boolean option that allows/disallows root login altogether,
    which defaults to 'y' to keep backward compatibility;

  - accept already-encoded passwords, which we recognise as starting
    with either of $1$, $5$ or $6$ (resp. for md5, sha256 or sha512).

Signed-off-by: Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
[yann.morin.1998@free.fr:
  - don't add a choice to select between clear-text/encoded password,
    use a single prompt;
  - differentiate in the password hook itself;
  - rewrite parts of the help entry;
  - rewrite and expand the commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it>
Acked-by: "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtool: disable makeinfo
Sam bobroff [Fri, 3 Jul 2015 01:14:38 +0000 (11:14 +1000)]
package/libtool: disable makeinfo

host-libtool can fail to build if the host is missing makeinfo, so
disable it.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Fix egl/gles compilation with mesa3d and disabled X.org
Bernd Kuhls [Thu, 2 Jul 2015 18:52:32 +0000 (20:52 +0200)]
package/kodi: Fix egl/gles compilation with mesa3d and disabled X.org

In this case -DMESA_EGL_NO_X11_HEADERS is needed during compilation.

Fixes this build error

make[1]: Entering directory `/home/fli4l/br8_kodi/output/build/kodi-14.2-Helix/xbmc/cores/dvdplayer'
CPP     xbmc/cores/dvdplayer/DVDPlayerVideo.o
In file included from /home/fli4l/br8_kodi/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/include/EGL/egl.h:36:0,
                 from /home/fli4l/br8_kodi/output/build/kodi-14.2-Helix/xbmc/windowing/egl/WinSystemEGL.h:28,
                 from /home/fli4l/br8_kodi/output/build/kodi-14.2-Helix/xbmc/windowing/WindowingFactory.h:39,
                 from DVDPlayerVideo.cpp:23:
/home/fli4l/br8_kodi/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/include/EGL/eglplatform.h:118:22: fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>
                      ^
using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Remove hyperflous option --disable-dvdcss
Bernd Kuhls [Thu, 2 Jul 2015 18:50:53 +0000 (20:50 +0200)]
package/kodi: Remove hyperflous option --disable-dvdcss

The option is controlled later on inside this if-clause

ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibv4l: fix uclibc-ng configure/compile
Peter Seiderer [Thu, 2 Jul 2015 21:26:32 +0000 (23:26 +0200)]
libv4l: fix uclibc-ng configure/compile

With raspberrypi_defconfig:

  libv4l2rds.c:256:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
    for (int i = 0; i < tuning->station_cnt; i++) {
    ^
  libv4l2rds.c:256:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

>From build/libv4l-1.6.2/config.log:

configure:4709: checking for .../host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc option to accept ISO C99
configure:4858: .../host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c:54:9: error: unknown type name 'wchar_t'
   const wchar_t *name;

The C99 detection problem seems more related to missing wchar_t type support than the compiler option?

Adding LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' gives a lot of compile errors like:

libv4lconvert.c: In function 'dev_ioctl':
processing/../libv4lsyscall-priv.h:85:10: error: 'SYS_ioctl' undeclared (first use in this function)
  syscall(SYS_ioctl, (int)(fd), (unsigned long)(cmd), (void *)(arg))
          ^
libv4lconvert.c:43:9: note: in expansion of macro 'SYS_IOCTL'
  return SYS_IOCTL(fd, cmd, arg);
         ^
processing/../libv4lsyscall-priv.h:85:10: note: each undeclared identifier is reported only once for each function it appears in
  syscall(SYS_ioctl, (int)(fd), (unsigned long)(cmd), (void *)(arg))
          ^
libv4lconvert.c:43:9: note: in expansion of macro 'SYS_IOCTL'
  return SYS_IOCTL(fd, cmd, arg);
         ^

Adding LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' solves all configure/compile errors.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibv4l: bump version to 1.6.3
Peter Seiderer [Thu, 2 Jul 2015 21:26:31 +0000 (23:26 +0200)]
libv4l: bump version to 1.6.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopowerpc: disable binutils 2.24 for little endian
Sam bobroff [Fri, 3 Jul 2015 01:22:34 +0000 (11:22 +1000)]
powerpc: disable binutils 2.24 for little endian

Binutils 2.24 produces broken code when compiling the kernel for
ppc64le, so prevent this combination. See:

https://sourceware.org/ml/binutils/2013-12/msg00200.html

The problem manifests early in the boot process with "Kernel access of
bad area, sig: 11" in arch_match_cpu_phys_id().

The fix has been merged upstream as commit
57fa7b8c7e59e35bced580f9bcb9668af43fdbce, which is available since
Binutils 2.25.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoDisable gcc-4.8.x + binutils-2.25 + MIPS combination
Vicente Olivert Riera [Thu, 2 Jul 2015 15:19:08 +0000 (17:19 +0200)]
Disable gcc-4.8.x + binutils-2.25 + MIPS combination

This combination causes a compilation failure of the host-gcc-final
recipe like this one:

/br/output/host/usr/mips-buildroot-linux-gnu/bin/ld:
.libs/gload.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not
be used when making a shared object; recompile with -fPIC

The problem is the file 'libatomic/gload.c' is compiled without -fPIC
when using binutils-2.25. All gcc (with libatomic) versions below 4.9.3
are affected by this issue.

Here is a summary of affected/unaffected versions in Buildroot:

4.7.x: unaffected (doesn't have libatomic)
4.8.x: affected
4.9.x: unaffected (we have 4.9.3 which is fixed)
5.1.x: unaffected

The fix can be found here:

  https://github.com/gcc-mirror/gcc/commit/57f5c0954f95cb37f995d60167ddde06c7d6e697

However, given the following reasons...

- Upstream gcc 4.8 branch is closed.
- The fix is very hard to backport from 4.9 to 4.8.
- This stuff is insanely sensitive and not working at all could be
  better than looking like it works but not quite.

...I think the best choice is to disable that combination in Buildroot.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: explain why we use -std=gnu99
Peter Korsgaard [Fri, 3 Jul 2015 07:02:47 +0000 (09:02 +0200)]
tor: explain why we use -std=gnu99

[Missed from 5cf5b390 (fix building if GCC's C standard is not gnu99)]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-networkmanager: bump to version 0.9.13
Petr Vorel [Fri, 3 Jul 2015 04:22:12 +0000 (06:22 +0200)]
python-networkmanager: bump to version 0.9.13

[Peter: fix upstream hash link]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gcc: fix ARC failure to build in 2 phases.
Tal Zilcer [Thu, 2 Jul 2015 14:44:54 +0000 (17:44 +0300)]
package/gcc: fix ARC failure to build in 2 phases.

When working with GCC initial at override source dir mode the
HOST_GCC_INITIAL_POST_PATCH_HOOKS is not called and compilation failes.
The solution is to use HOST_GCC_INITIAL_POST_RSYNC_HOOKS since this hook
is being called at override source dir mode.

Signed-off-by: Tal Zilcer <talz@ezchip.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorapidjson: update site URL in package description
Danomi Manchego [Thu, 2 Jul 2015 02:59:12 +0000 (22:59 -0400)]
rapidjson: update site URL in package description

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorapidjson: bump to version 1.0.2
Danomi Manchego [Thu, 2 Jul 2015 02:59:11 +0000 (22:59 -0400)]
rapidjson: bump to version 1.0.2

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocryptsetup: update homepage link
Baruch Siach [Thu, 2 Jul 2015 11:50:54 +0000 (14:50 +0300)]
cryptsetup: update homepage link

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocryptsetup: bump to version 1.6.7
Baruch Siach [Thu, 2 Jul 2015 11:50:53 +0000 (14:50 +0300)]
cryptsetup: bump to version 1.6.7

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agovalgrind: install to staging
Vicente Olivert Riera [Thu, 2 Jul 2015 15:52:13 +0000 (17:52 +0200)]
valgrind: install to staging

This is necessary for some packages depending on valgrind, such as
libdrm which will fail with an error like this one:

checking for VALGRIND... no
checking whether to enable Valgrind support... configure: error:
Valgrind support required but not present
package/pkg-generic.mk:146: recipe for target
'/br/output/build/libdrm-2.4.62/.stamp_configured' failed

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: fix building if GCC's C standard is not gnu99
Alexey Brodkin [Thu, 2 Jul 2015 10:14:15 +0000 (13:14 +0300)]
tor: fix building if GCC's C standard is not gnu99

Up to date tor (at least starting from 0.2.6) requires compiler with C99
plus some extensions support.

If default GCC's C standard < c99 (that's the case at least for ARC)
you'll see this on attempt to build tor:
----------------------->8--------------------
src/common/address.c: In function ''tor_addr_parse_PTR_name':
src/common/address.c:502:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < 16; ++i) {
     ^
src/common/address.c:502:5: note: use option -std=c99 or -std=gnu99 to compile your code
----------------------->8--------------------

Once you follow compiler advice and enable c99 support with "-std=c99"
you'll pass that failure but will see tons of other errors, see
https://www.mail-archive.com/tor-dev@lists.torproject.org/msg06273.html

And only g99 resolves all problems at once.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agognupg: add option for AES cipher
Peter Korsgaard [Thu, 2 Jul 2015 15:30:24 +0000 (17:30 +0200)]
gnupg: add option for AES cipher

Similar to our RSA option. Enabling this adds ~17K to the gpg binary (ARMv7):

ls -lah output/target/usr/bin/gpg{.orig,}
-rwxr-xr-x 1 peko peko 532K Jul  2 17:29 output/target/usr/bin/gpg
-rwxr-xr-x 1 peko peko 515K Jul  2 17:29 output/target/usr/bin/gpg.orig

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/modem-manager: init script for systemV-like init systems
Petr Vorel [Wed, 1 Jul 2015 20:11:12 +0000 (22:11 +0200)]
package/modem-manager: init script for systemV-like init systems

ModemManager get started by NetworkManager, in case of systemd init
system. In case of other systems it needs to be started by init script.

Debian [1] solved it by detection in code. For Buildroot it's IMHO
enough to install init script for systemV-like init systems.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770871

[Thomas:
 - slightly simplify the script by removing the MODEMMANAGER_BIN
   variable which was used at only one place, and use directly $?
   instead of an intermediate $ret variable.
 - split the too long line added in the .mk file.]

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/eudev: bump version to 3.1.2
Bernd Kuhls [Wed, 1 Jul 2015 19:58:53 +0000 (21:58 +0200)]
package/eudev: bump version to 3.1.2

[Thomas: added locally calculated sha256 hash, as suggested by Yann.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdrm: bump version to 2.4.62
Bernd Kuhls [Wed, 1 Jul 2015 19:54:56 +0000 (21:54 +0200)]
package/libdrm: bump version to 2.4.62

Added support for newly added optional valgrind support:
http://cgit.freedesktop.org/mesa/drm/commit/?id=47a2de27a0f087908e3063fdd6dfdececd2db75b

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libva-intel-driver: bump version to 1.6.0
Bernd Kuhls [Wed, 1 Jul 2015 19:54:55 +0000 (21:54 +0200)]
package/libva-intel-driver: bump version to 1.6.0

Upstream hash is in sha1 format, like before. It is wrongly announced
as md5 in the release mail, so I added a note to the hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libva: bump version to 1.6.0
Bernd Kuhls [Wed, 1 Jul 2015 19:54:54 +0000 (21:54 +0200)]
package/libva: bump version to 1.6.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 10.6.1
Bernd Kuhls [Wed, 1 Jul 2015 19:54:53 +0000 (21:54 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 10.6.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: add option to install vcdbg
Yann E. MORIN [Wed, 1 Jul 2015 17:40:28 +0000 (19:40 +0200)]
package/rpi-firmware: add option to install vcdbg

vcdbg is a tool to help debug the communication with the GPU.
It comes as a binary-only, and in two flavours: one for the hard
floating point ABI, one for the software floating point ABI.

Unfortunately, we have no source code for that tool, only a binary that
was dynamically linked with glibc and libraries from rpi-userland.

So, just install that executable, and let's hope there is no symbol
issue at runtime.

Note: vcdbg needs glibc, threads and !static. Since glibc already
implies threads and !static, we only need to depend on glibc.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc; Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenldap: bump to version 2.4.41
Vicente Olivert Riera [Wed, 1 Jul 2015 13:22:22 +0000 (15:22 +0200)]
openldap: bump to version 2.4.41

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolvm2: disable PIE on ARC
Alexey Brodkin [Wed, 1 Jul 2015 12:35:51 +0000 (15:35 +0300)]
lvm2: disable PIE on ARC

Even though ARC gcc understands "-pie" option and attempts to generate
PIE binaries as of today PIE is not really supported for user-space
applications.

So we disable PIE detection if building for ARC.
That first fixes http://autobuild.buildroot.net/results/988/9888a7a30538c9851f4910c16674d8dbb8edeb8f/
and also prevents execution of non-supported PIE binary in runtime.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolvm2: bump to version 2.02.123
Vicente Olivert Riera [Wed, 1 Jul 2015 11:39:35 +0000 (13:39 +0200)]
lvm2: bump to version 2.02.123

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogit: bump to version 2.4.5
Vicente Olivert Riera [Wed, 1 Jul 2015 11:39:34 +0000 (13:39 +0200)]
git: bump to version 2.4.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/olimex_a20_olinuxino_micro: new board
Luca Ceresoli [Wed, 1 Jul 2015 10:48:07 +0000 (12:48 +0200)]
configs/olimex_a20_olinuxino_micro: new board

Add a defconfig for the Olimex A20-OLinuXino-Micro board, reusing most
of the A20-OLinuXino-Lime files.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agontp: security bump to version 4.2.8p3
Gustavo Zacarias [Wed, 1 Jul 2015 10:47:15 +0000 (07:47 -0300)]
ntp: security bump to version 4.2.8p3

Fixes:
CVE-2015-5146 - ntpd control message crash: Crafted NUL-byte in
configuration directive.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssh: bump to version 6.9p1
Gustavo Zacarias [Wed, 1 Jul 2015 10:44:32 +0000 (07:44 -0300)]
openssh: bump to version 6.9p1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowmctrl/Config.in: update site URL
Jerzy Grzegorek [Wed, 1 Jul 2015 08:33:57 +0000 (10:33 +0200)]
wmctrl/Config.in: update site URL

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agovim: selinux support
Matt Weber [Tue, 2 Jun 2015 13:28:31 +0000 (08:28 -0500)]
vim: selinux support

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogoogle-material-design-icons: new package
James Knight [Wed, 1 Jul 2015 03:22:59 +0000 (23:22 -0400)]
google-material-design-icons: new package

[Thomas: simplify condition on
$(BR2_PACKAGE_GOOGLE_MATERIAL_DESIGN_ICONS_TYPE_PNG) and
$(BR2_PACKAGE_GOOGLE_MATERIAL_DESIGN_ICONS_TYPE_SVG).]

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowmctrl: update URL address
Jerzy Grzegorek [Tue, 30 Jun 2015 21:58:11 +0000 (23:58 +0200)]
wmctrl: update URL address

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowmctrl: add hash file
Jerzy Grzegorek [Tue, 30 Jun 2015 21:58:10 +0000 (23:58 +0200)]
wmctrl: add hash file

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoARC: update folders with patches for arc-2015.06-rc1 release
Alexey Brodkin [Wed, 1 Jul 2015 06:49:24 +0000 (09:49 +0300)]
ARC: update folders with patches for arc-2015.06-rc1 release

In buildroot we maintain a couple off-the-tree patches.
In particular for binutils and gcc packages.

Because we have many versions of mentioned packages patches for each
particular version reside in a folder which name matches full version
name of the package.

For example we used to have patches for binutils distributed as part of
arc-2014.12 tools in folder ""package/binutils/arc-2014.12". Now with
bump of ARC tools version we need to rename folder with patches to
"arc-2015.06-rc1".

The same applies to gcc.

Should fix http://autobuild.buildroot.net/results/2b2/2b27a4a64c0b225ae479ecfccf7a97f5ea95598c/
As discussed before it's not possible to reproduce reported problem on recent
Fedora 21/22 distros (at least we know about them) but I may confirm that
patches were applied fine and everything was built well. Hopefully reported
build failure goes away now.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/i2c-tools: bump to version 3.1.2
Angelo Compagnucci [Thu, 18 Jun 2015 08:12:28 +0000 (10:12 +0200)]
package/i2c-tools: bump to version 3.1.2

This patch bumps version to 3.1.2 and adds support for the recently
introduced python3 support for py-smbus.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/network-manager: add patches to build with kernel headers 3.2
Petr Vorel [Mon, 22 Jun 2015 10:43:50 +0000 (12:43 +0200)]
package/network-manager: add patches to build with kernel headers 3.2

+ lower kernel headers dependency

According to upstream [1], there is no known minimal kernel-version, nor
minimal required feature-set.

Experimentally tested, that 1.0.2 is works with 3.2 kernel headers, even
some features will be missing [2].

[1] https://mail.gnome.org/archives/networkmanager-list/2015-April/msg00039.html
[2] https://mail.gnome.org/archives/networkmanager-list/2015-April/msg00041.html

[Thomas: add comment in Config.in to indicate that it may work with
earlier kernel versions.]

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/exim: use libnsl only with glibc
Bernd Kuhls [Sun, 12 Apr 2015 14:21:46 +0000 (16:21 +0200)]
package/exim: use libnsl only with glibc

Only (e)glibc provides libnsl, uclibc provides only a stub, and musl
doesn't implement it at all.

Fixes compilation using this defconfig

    BR2_arm=y
    BR2_cortex_a7=y
    BR2_STATIC_LIBS=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_PACKAGE_OPENSSL=y
    BR2_PACKAGE_EXIM=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: fix license according to README file
Vicente Olivert Riera [Tue, 30 Jun 2015 20:52:30 +0000 (22:52 +0200)]
systemd: fix license according to README file

Fixes:
  http://autobuild.buildroot.org/results/6e3/6e3dace5892a589225a93c896917833ebc8028f3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolimex_a20_olinuxino_lime: rename board dir to remove _lime suffix
Luca Ceresoli [Mon, 29 Jun 2015 22:05:22 +0000 (00:05 +0200)]
olimex_a20_olinuxino_lime: rename board dir to remove _lime suffix

The files in board/olimex/a20_olinuxino_lime/ work with minimal or no
modifications for the Olimex A20-OLinuXino-Micro board, whose support is
going to be added in a later commit.

Rename the directory to clarify it's not restricted to the Lime anymore.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoa20_olinuxino_micro/readme.txt: add link to linux-sunxi.org
Luca Ceresoli [Mon, 29 Jun 2015 22:05:21 +0000 (00:05 +0200)]
a20_olinuxino_micro/readme.txt: add link to linux-sunxi.org

Explicitly state where this information comes from.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoa20_olinuxino_lime/readme.txt: fix a typo
Luca Ceresoli [Mon, 29 Jun 2015 22:05:20 +0000 (00:05 +0200)]
a20_olinuxino_lime/readme.txt: fix a typo

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosunxi-mali: fix linking of malitest
Francois Perrad [Tue, 30 Jun 2015 15:48:17 +0000 (17:48 +0200)]
sunxi-mali: fix linking of malitest

Fixes:

  http://autobuild.buildroot.net/results/a15/a152beb56cdc4591868e14cce9a60e51cbfb0abc/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssl: support building the binary without MMU
Benoît Thébaudeau [Fri, 19 Jun 2015 10:54:33 +0000 (12:54 +0200)]
openssl: support building the binary without MMU

The commit 720893b62510438237b9923d744dd079ddb4f67d "openssl: disable
apps for NOMMU" prevented the openssl binary from being built without
MMU in order to fix a build failure without fork(). However, openssl is
designed to support the lack of fork() with -DHAVE_FORK=0, so allow the
openssl binary to be enabled without MMU thanks to this option.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdiver_xf86-input-tslib: update download url and add hash file
Romain Naour [Sun, 14 Jun 2015 15:02:02 +0000 (17:02 +0200)]
package/x11r7/xdiver_xf86-input-tslib: update download url and add hash file

The old url fallback to http://www.pengutronix.de/software/ptxdist/ instead
of http://www.pengutronix.de/software/xf86-input-tslib/download/ breaking
the download.

To avoid such problems in the future, we also add a hash file to this
package.

[Thomas: add hash file.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsemanage: cleanup python use and license definition
Matt Weber [Tue, 2 Jun 2015 13:28:35 +0000 (08:28 -0500)]
libsemanage: cleanup python use and license definition

The original package supported python on target, now we just use
it as part of the host tools.  The license was also mis-assigned.

[Thomas: add removed option to Config.in.legacy.]

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoatmel: add a flashing helper and documentation
Alexandre Belloni [Tue, 19 May 2015 14:21:47 +0000 (16:21 +0200)]
atmel: add a flashing helper and documentation

Provide a flashing helper to properly select the sam-ba configuration
and reuse the sam-ba tcl script provided by Atmel with minimal
modifications.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: rename atmel_xplained_defconfig
Alexandre Belloni [Tue, 19 May 2015 14:21:48 +0000 (16:21 +0200)]
configs: rename atmel_xplained_defconfig

For consistency, rename atmel_xplained_defconfig to
atmel_sama5d3_xplained_mmc_defconfig as this configuration supports
booting the sama5d3 Xplained with an MMC card (as opposed to the NAND
flash).

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel sama5d3 Xplained
Alexandre Belloni [Tue, 19 May 2015 14:21:46 +0000 (16:21 +0200)]
configs: add defconfig for Atmel sama5d3 Xplained

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel sama5d4 Xplained Ultra
Alexandre Belloni [Tue, 19 May 2015 14:21:45 +0000 (16:21 +0200)]
configs: add defconfig for Atmel sama5d4 Xplained Ultra

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel sama5d4ek
Alexandre Belloni [Tue, 19 May 2015 14:21:44 +0000 (16:21 +0200)]
configs: add defconfig for Atmel sama5d4ek

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel sama5d3xek
Alexandre Belloni [Tue, 19 May 2015 14:21:43 +0000 (16:21 +0200)]
configs: add defconfig for Atmel sama5d3xek

This supports:
 - sama5d31ek
 - sama5d33ek
 - sama5d34ek
 - sama5d35ek
 - sama5d36ek

with or without the PDA4 or PDA7 screens.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel at91sam9x5ek
Alexandre Belloni [Tue, 19 May 2015 14:21:42 +0000 (16:21 +0200)]
configs: add defconfig for Atmel at91sam9x5ek

This supports:
 - at91sam9g15ek
 - at91sam9g25ek
 - at91sam9g35ek
 - at91sam9x25ek
 - at91sam9x35ek

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add defconfig for Atmel at91sam9rlek
Alexandre Belloni [Tue, 19 May 2015 14:21:41 +0000 (16:21 +0200)]
configs: add defconfig for Atmel at91sam9rlek

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: update at91sam9g45m10ek defconfig
Alexandre Belloni [Tue, 19 May 2015 14:21:40 +0000 (16:21 +0200)]
configs: update at91sam9g45m10ek defconfig

Use kernel (3.18) and u-boot (2015.01) from Atmel's repositories.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboards/raspberrypi: update instructions
Yann E. MORIN [Mon, 29 Jun 2015 22:07:46 +0000 (00:07 +0200)]
boards/raspberrypi: update instructions

Now that we have a sanitised set of defconfig files, and we no longer
support non-DT setups, update and simplify the board readme file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfig/raspberrypi: rename our non-DT defconfig file
Yann E. MORIN [Mon, 29 Jun 2015 22:07:45 +0000 (00:07 +0200)]
config/raspberrypi: rename our non-DT defconfig file

Since we no longer have a non-DT defconfig, and we no longer want to
advertise such a possibility (non-DT is being phased out), just rename
the DT-enabled defconfig file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfig/raspberrypi: remove non-DT defconfig
Yann E. MORIN [Mon, 29 Jun 2015 22:07:44 +0000 (00:07 +0200)]
config/raspberrypi: remove non-DT defconfig

The RPi is slowly but surely dropping support for booting without a DTB,
so just ditch our old defconfig now that we have up-to-date DT-enabled
defconfigs for all RPi models (save for the compute module).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/raspberrypi2: update our defconfig
Yann E. MORIN [Mon, 29 Jun 2015 22:07:43 +0000 (00:07 +0200)]
configs/raspberrypi2: update our defconfig

Update to the latest stable kernel version (4.0.y); build an in-tree DTB.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/raspberrypi: update the DT-enabled config
Yann E. MORIN [Mon, 29 Jun 2015 22:07:42 +0000 (00:07 +0200)]
configs/raspberrypi: update the DT-enabled config

Update to the latest stable kernel version; build an in-tree DTB; use
a in-tree defconfig; enable C++ (to match what we have in the non-DT
variant); do not install DTB overlays (this minimalist config does not
make use of them).

Generate the DTBs for both the "original" variant (A and B) and the
"Plus" variant (A+ and B+).

Drop our custom linux defconfig file now we use an in-tree one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.1
Gustavo Zacarias [Tue, 30 Jun 2015 11:07:24 +0000 (08:07 -0300)]
linux: bump default to version 4.1.1

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.{10, 14, 18}.x and 4.{0, 1}.x series
Gustavo Zacarias [Tue, 30 Jun 2015 11:07:23 +0000 (08:07 -0300)]
linux-headers: bump 3.{10, 14, 18}.x and 4.{0, 1}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: fix building with debugging symbols
Bartosz Golaszewski [Tue, 30 Jun 2015 10:55:20 +0000 (12:55 +0200)]
monkey: fix building with debugging symbols

Fix a typo in the monkey package - should be MONKEY_CONF_OPTS
instead of MONKEY_CONF_OPT.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopulseview: bump commit hash
Bartosz Golaszewski [Tue, 30 Jun 2015 10:41:14 +0000 (12:41 +0200)]
pulseview: bump commit hash

Include commit ec6cc07f which fixes an issue causing build failures
on several architectures.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsigrok: bump commit hash
Bartosz Golaszewski [Tue, 30 Jun 2015 10:41:13 +0000 (12:41 +0200)]
libsigrok: bump commit hash

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogdbm: handle optional dependency gettext
Francois Perrad [Wed, 27 May 2015 19:39:39 +0000 (21:39 +0200)]
gdbm: handle optional dependency gettext

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: update to the latest ARC version by default
Thomas Petazzoni [Tue, 30 Jun 2015 10:36:34 +0000 (12:36 +0200)]
binutils: update to the latest ARC version by default

Following commit 36555b4c8dce27822ecbbed58798f887ad452b18 ("ARC:
switch to RC1 of upcoming arc-2015.06 tools"), the binutils package
only contains the hash information for the 2015.06-rc1 ARC version of
binutils (which is in fact no hash). However, when an external
toolchain is used, and binutils is built for the target, it's still
the old 2014.11 binutils version that gets used in binutils.mk,
causing a build failure because there is no hash available for this
version.

This commit fixes that by using 2015.06-rc1 as the default binutils
version on ARC, which is used when no host-binutils has been built.

Fixes:

  http://autobuild.buildroot.org/results/8f7/8f772e6fccb4f918120a7bb814da2224432d1c09/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc-ng: fix parallel build issue for arm/xtensa when LOCALE support is enabled
Waldemar Brodkorb [Tue, 30 Jun 2015 04:33:36 +0000 (06:33 +0200)]
uclibc-ng: fix parallel build issue for arm/xtensa when LOCALE support is enabled

This patch should fix any parallel build issues found
by autobuilder lately, f.e.:
http://autobuild.buildroot.net/results/43dd5c5da0d003b654fd252c989d49c2e5872827/
http://autobuild.buildroot.net/results/cfb438f933ff7385d612d65798b0b8ed833a6476/
and many more.
Will be committed upstream, if autobuilders are working.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopure-ftpd: fix hash and use .bz2 tarball
Thomas Petazzoni [Tue, 30 Jun 2015 10:25:50 +0000 (12:25 +0200)]
pure-ftpd: fix hash and use .bz2 tarball

For some reason, the hash file added in commit
ee6c9f5a1bc1995d968214345c011a44a3c145c8 by Gustavo turns out to be
wrong, so this commit replaces it with the proper hash, also added
after checking the GPG signature.

While at it, we switch to using a .bz2 tarball.

Fixes:

  http://autobuild.buildroot.org/results/c44/c441f35119191f47dd5fae96fd76827024e50329/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: new package
Morgan Delestre [Mon, 29 Jun 2015 09:02:43 +0000 (09:02 +0000)]
monkey: new package

Monkey is a small, fast and lightweight open source Web Server for
GNU/Linux.  It has been designed with focus in embedded devices,
therefore its scalable by nature having a low memory and CPU
consumption and an excellent performance.

[Thomas:
  - Add missing dependency on !BR2_STATIC_LIBS (the source code uses
    dlopen) and BR2_USE_MMU (the source code uses fork)
  - Slightly adjust/reword the description of the
    BR2_PACKAGE_MONKEY_SHARED option.
  - Remove all the complicated installation logic for the target, and
    just use "make install" instead.
  - Pass --no-backtrace when uClibc is used, otherwise the build fails
    because <execinfo.h> is not available in uClibc.
  - Pass $(TARGET_CONFIGURE_OPTS) in the environment of the configure
    script., otherwise monkey gets built for the host and not for the
    target.
  - Add a post install target hook to remove a broken symlink
    libmonkey.so installed by Monkey's Makefile when the shared
    library is not enabled.
  - Use TARGET_MAKE_ENV when calling make, just because we should.
  - Pass --malloc-libc so that the libc malloc() is used instead of
    the builtin jemalloc allocator, which requires more work to
    cross-compile properly.
  - Add missing empty line after the .mk header and before the first
    variable definition.]

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-userland: bump version
Yann E. MORIN [Sun, 28 Jun 2015 22:25:14 +0000 (00:25 +0200)]
package/rpi-userland: bump version

Misc fixes and improvements all over the place...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Sun, 28 Jun 2015 22:25:13 +0000 (00:25 +0200)]
package/rpi-firmware: bump version

Misc enhancements and fixes all over the place, most notably:
  - FW: fix overclocking, better prioritise sound, fix CMA L1 cache,
        improved DTB/DTB-overlay support, SDcard freq fixes,
        voltages...
  - video: fix decoding weird stuff, fix stereo output...
  - camera: raw image capture, HDR (really?)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-firmware: add option to install DTB overlays
Yann E. MORIN [Sun, 28 Jun 2015 22:25:11 +0000 (00:25 +0200)]
package/rpi-firmware: add option to install DTB overlays

Currently, Buildroot does not support building the overlays that are
bundled in the Linux kernel, so all we can do is install the ones
pre-built in rpi-firmware.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-firmware: allow disabling installation of binary DTBs
Floris Bos [Sun, 28 Jun 2015 22:25:10 +0000 (00:25 +0200)]
rpi-firmware: allow disabling installation of binary DTBs

The binary .dtb files are not suitable for everyone as they are
kernel-version specific.

Reintroduce BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS option.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
[yann.morin.1998@free.fr: don't install DTBs if kernel builds
 its own; fix default; rephrase help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: bump to version 221
Vicente Olivert Riera [Mon, 29 Jun 2015 13:14:43 +0000 (15:14 +0200)]
systemd: bump to version 221

- Bump to version 221
- Update hash file

- Add --disable-gnuefi to configure options to avoid a failure like this
  one:

  checking for /usr/lib/gnuefi/elf_ia32_efi.lds... configure: error:
  cannot check for file existence when cross compiling

- Remove gudev logic since it has been removed from the systemd tree and
  it is now an external project.

Announcement URL:

  http://lists.freedesktop.org/archives/systemd-devel/2015-June/033170.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: enable for aarch64
Gustavo Zacarias [Mon, 29 Jun 2015 14:13:34 +0000 (11:13 -0300)]
qemu: enable for aarch64

Enable the target qemu for aarch64 since it works just fine.
Only tested using userland CPU emulation (no HYP) with a
qemu_aarch64_virt_defconfig image inside a qemu_aarch64_virt_defconfig
instance.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-cross: bump to version 0.9.7
Francois Perrad [Mon, 29 Jun 2015 07:03:17 +0000 (09:03 +0200)]
perl-cross: bump to version 0.9.7

fix some build failures,
see https://github.com/arsv/perl-cross/issues/17

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolive555: bump to version 2015.06.25
Jerzy Grzegorek [Mon, 29 Jun 2015 06:01:09 +0000 (08:01 +0200)]
live555: bump to version 2015.06.25

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiproute2: tipc support needs 3.18+ headers
Gustavo Zacarias [Mon, 29 Jun 2015 12:45:54 +0000 (09:45 -0300)]
iproute2: tipc support needs 3.18+ headers

Fixes:
http://autobuild.buildroot.net/results/173/173c9dbed6422a3cc4f9d1f998bc25ce2e9538c7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotor: needs thread support
Thomas Petazzoni [Mon, 29 Jun 2015 15:43:13 +0000 (17:43 +0200)]
tor: needs thread support

Fixes:

  http://autobuild.buildroot.org/results/4f7/4f758978f6820ecceaad57385f3c104011180c4d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibpng: rebase ignore-symbol-prefix patch to apply cleanly
Danomi Manchego [Thu, 25 Jun 2015 03:23:48 +0000 (23:23 -0400)]
libpng: rebase ignore-symbol-prefix patch to apply cleanly

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonginx: bump to 1.8.0 (latest stable version)
Danomi Manchego [Thu, 25 Jun 2015 04:14:20 +0000 (00:14 -0400)]
nginx: bump to 1.8.0 (latest stable version)

Patches refreshed to apply with no shift or fuzz.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonginx: fix nginx.old clean-up
Danomi Manchego [Thu, 25 Jun 2015 03:32:49 +0000 (23:32 -0400)]
nginx: fix nginx.old clean-up

The bin path for nginx is configured for /usr/sbin, so deleting
the nginx.old back-up from /usr/bin never works.  Fix path, and
also use "$(RM)" instead of "-$(RM)", as "rm -f" never fails.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Add libsidplay2 as optional dependency
Bernd Kuhls [Thu, 18 Jun 2015 20:19:41 +0000 (22:19 +0200)]
package/vlc: Add libsidplay2 as optional dependency

vlc has a sid plugin:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a
  output/target/usr/lib/vlc/plugins/demux/libsid_plugin.so |
  grep NEEDED | grep sid
 0x00000001 (NEEDED)     Shared library: [libsidplay2.so.1]
 0x00000001 (NEEDED)     Shared library: [libresid-builder.so.0]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: added linux-pam support
Matt Weber [Tue, 2 Jun 2015 13:28:26 +0000 (08:28 -0500)]
busybox: added linux-pam support

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
9 years agoglog: disable on blackfin external toolchains
Rahul Bedarkar [Thu, 25 Jun 2015 13:43:24 +0000 (19:13 +0530)]
glog: disable on blackfin external toolchains

With following blackfin toolchains

BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2

when BR2_BINFMT_FDPIC=y

../usr/include/bits/elf-fdpic.h: In function 'void* __reloc_pointer(void*, const elf32_fdpic_loadmap*)':
../usr/include/bits/elf-fdpic.h:95: error: invalid use of 'void'

code snippet at line 95 in elf-fdpic.h
-------------------------------------------------------
unsigned long offset = p - (void*)map->segs[c].p_vaddr;
-------------------------------------------------------

void pointer addition and subtraction is not allowed in C++ as it has undetermined size,
however in C with language extension it is possible because sizeof void is treated
as one byte.

This is toolchain-specific issue. So disable package on these external toolchains.

fixes:
http://autobuild.buildroot.net/results/c70/c704c70ae2f066f85dd6a5fa6a73789bc358d368/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglog: add dependency on dynamic library
Rahul Bedarkar [Thu, 25 Jun 2015 13:43:23 +0000 (19:13 +0530)]
glog: add dependency on dynamic library

when BR2_STATIC_LIBS=y

src/symbolize.cc:110:19: error: dlfcn.h: No such file or directory

glog requires dlfcn.h header. So add dependency on dynamic library

fixes:
http://autobuild.buildroot.net/results/75d/75d17ceb764c2c1136047c089a0c554770ca98a4/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/olimex_a20_olinuxino_lime_mali_defconfig: new board
Francois Perrad [Fri, 26 Jun 2015 10:06:57 +0000 (12:06 +0200)]
configs/olimex_a20_olinuxino_lime_mali_defconfig: new board

This commit adds a new defconfig for the Olimex A20 OLinuxino Lime
board, based on the 3.4.x vendor specific kernel, which allows to use
the Mali 3D acceleration for OpenGL support.

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>