]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
7 years agoboard/armadeus: bump apf28 kernel version to 4.4.30 (latest LTS)
Julien BOIBESSOT [Mon, 7 Nov 2016 15:58:04 +0000 (16:58 +0100)]
board/armadeus: bump apf28 kernel version to 4.4.30 (latest LTS)

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/armadeus: bump apf51 kernel to 4.4.30 (latest LTS)
Julien BOIBESSOT [Mon, 7 Nov 2016 15:14:42 +0000 (16:14 +0100)]
board/armadeus: bump apf51 kernel to 4.4.30 (latest LTS)

This will fix:
http://free-electrons.com/~thomas/pub/buildroot-defconfigs/armadeus_apf51_defconfig.log.FAIL

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: disable Qemu user-land emulation for musl toolchains
Romain Naour [Sun, 6 Nov 2016 16:04:48 +0000 (17:04 +0100)]
package/qemu: disable Qemu user-land emulation for musl toolchains

Like for cyclictest (rt-test)[1], linux-user/syscall.c use the
definition of the "struct sigevent" from Glibc/uClibc which doesn't
build with musl libc.

So, disable Qemu user-land emulation for musl toolchains.

Fixes:
http://autobuild.buildroot.net/results/b27/b277e668d9e22b624416bf46f6ccba802acd257e

[1] 43bffa59e7359610c8f00038ddd97795c0ca35e1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoolimex_a20_olinuxino_lime_mali: bump u-boot to 2016.09.01
Francois Perrad [Sun, 6 Nov 2016 14:38:51 +0000 (15:38 +0100)]
olimex_a20_olinuxino_lime_mali: bump u-boot to 2016.09.01

U-Boot KConfig allows to take care of CONFIG_OLD_SUNXI_KERNEL_COMPAT
in order to properly start the kernel (Error: unrecognized/unsupported machine ID)

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/mini2440_defconfig: remove defconfig
Thomas Petazzoni [Sat, 5 Nov 2016 14:24:59 +0000 (15:24 +0100)]
configs/mini2440_defconfig: remove defconfig

This defconfig has not been updated in any significant way since 2011,
when Peter moved it to use a mainline kernel. It's now using an
ancient 3.0 kernel, and a vendor-specific U-Boot version that fails to
build with various "undefined reference" errors:

  undefined reference to `show_boot_progress'
  undefined reference to `image_print_contents'
  undefined reference to `wait_ms'

So it's time to get rid of the defconfig for this platform.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/x265: bump version to 2.1"
Bernd Kuhls [Sun, 6 Nov 2016 16:19:24 +0000 (17:19 +0100)]
Revert "package/x265: bump version to 2.1"

This reverts commit 1ba7b6a4f12977aec994c4f38d5be38cfdb27846.

Adding -DCROSS_COMPILE_ARM=ON to _CONF_OPTS will not fix the build:

/home/buildroot/br2/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gnu/stubs.h:7:29:
  fatal error: gnu/stubs-soft.h: No such file or directory

because cross-compiling x265 is only supported for soft-float abi:
https://bitbucket.org/multicoreware/x265/src/583fc74fc0a29f330187dbd78151c30a3e03d5a7/source/CMakeLists.txt?at=default#CMakeLists.txt-211

Fixes
http://autobuild.buildroot.net/results/6ec/6ec75cc176e05bfc6287dc54fa1a53e0ffc0521d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: Remove opengl headers files if opengl support is disabled
Bernd Kuhls [Sun, 6 Nov 2016 18:11:00 +0000 (19:11 +0100)]
package/mesa3d: Remove opengl headers files if opengl support is disabled

Mesa3d used to install GL/gl.h & co. only if libGL.so was installed.

After this commit
https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=a89faa2022fd995af2019c886b152b49a01f9392

this is no longer the case leading to misdetection of opengl support by
vlc if mesa3d was built before:

http://git.videolan.org/?p=vlc.git;a=blob;f=configure.ac;h=c8900d216540816224e872bef46fbcc93d83ca41;hb=HEAD#l3010

This patch partly re-introduces a mechanism to clean unwanted files
installed by mesa3d which was removed when bumping to 12.0.0:
https://git.buildroot.net/buildroot/commit/package/mesa3d?id=ff3e522e748925f6be5732a6e5df6553468ca0a1

Fixes
http://autobuild.buildroot.net/results/13e/13e7c0f5fc6ae8ba5e62b2597d188496c64090fd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-cmake: Change -DNEBUG to -DNDEBUG
Stefan Nickl [Sun, 6 Nov 2016 20:05:13 +0000 (21:05 +0100)]
pkg-cmake: Change -DNEBUG to -DNDEBUG

Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojamvm: fix build with uClibc on i386/x86_64
Thomas Petazzoni [Sun, 6 Nov 2016 21:19:38 +0000 (22:19 +0100)]
jamvm: fix build with uClibc on i386/x86_64

Commit 0b6b67f34d6d4aeb340bbca579dbf85363c3f4ea ("jamvm: add patch to
fix musl build") introduced a patch to fix the jamvm build with the
musl C library. While the commit log pretends that the build was still
working with uClibc, it is not correct: it no longer builds fine with
uClibc on i386/x86_64, because the Buildroot default configuration for
uClibc doesn't enable <fenv.h> support.

Therefore this commit adapts the patch to use <fenv.h> if available
(which is the case with musl), and otherwise fall back to
<fpu_control.h>, which is available in uClibc.

Thanks to Waldemar for the investigation.

Fixes:

  http://autobuild.buildroot.net/results/325a50d15e1836b31df4e84ba83b296abfb73041/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ser2net: disable threads for toolchains without threads support
Romain Naour [Sun, 6 Nov 2016 13:15:23 +0000 (14:15 +0100)]
package/ser2net: disable threads for toolchains without threads support

ser2net configure script provide an option to disable threads support,
use it.

Fixes:
http://autobuild.buildroot.net/results/6bc/6bc0f99917c2069a1614f4cfcaa98af1b21762e4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: use --{with,without}-pthreads instead of --with-pthreads={yes,no}.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoprivoxy: needs thread support
Thomas Petazzoni [Sun, 6 Nov 2016 14:00:43 +0000 (15:00 +0100)]
privoxy: needs thread support

Even though privoxy has some conditional code to handle configurations
without threads, it is not properly handled everywhere, leading to a
build failure. Since this package is unlikely to be used in
non-threaded environment, just disable it for non-threaded
configurations.

Fixes:

  http://autobuild.buildroot.net/results/fae7a41d110ed6c4d62c77873229d069d8b65986

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnss: add upstream patch to fix uninitialized variable warning
Thomas Petazzoni [Sun, 6 Nov 2016 13:41:11 +0000 (14:41 +0100)]
libnss: add upstream patch to fix uninitialized variable warning

Fixes:

  http://autobuild.buildroot.net/results/47e611036be12844ebca093ddd8fe95c326c6056/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: add patch to 2.27 to fix arm issue with file having no data
Thomas Petazzoni [Sun, 6 Nov 2016 13:12:25 +0000 (14:12 +0100)]
binutils: add patch to 2.27 to fix arm issue with file having no data

This commit adds a patch to binutils 2.27, which fixes the build of
kvmtool on ARM. The fix is taken from the upstream mailing list at
https://lists.gnu.org/archive/html/bug-binutils/2016-08/msg00165.html.

Fixes:

  http://autobuild.buildroot.net/results/bae83d495b46efeec45c8008949c811b6241adaa

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokvm-unit-tests: add patch to remove -Werror
Thomas Petazzoni [Sun, 6 Nov 2016 12:57:51 +0000 (13:57 +0100)]
kvm-unit-tests: add patch to remove -Werror

Fixes:

  http://autobuild.buildroot.net/results/52c02c68be6c0b3e907f7ed645bd2d18476ec4f3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokvm-unit-tests: really use KVM_UNIT_TESTS_ARCH and fix value on x86-64
Thomas Petazzoni [Sun, 6 Nov 2016 12:39:26 +0000 (13:39 +0100)]
kvm-unit-tests: really use KVM_UNIT_TESTS_ARCH and fix value on x86-64

The kvm-unit-tests package defines a KVM_UNIT_TESTS_ARCH variable, but
never used it. Due to this, on PowerPC64, we were passing an incorrect
value, causing a build failure.

In addition, once the KVM_UNIT_TESTS_ARCH is used, it appeared that
its value for x86_64 was incorrect, due a typo: it was x86_84 instead
of x86_64.

Fixes:

  http://autobuild.buildroot.net/results/16836c02f4d1ab5df6b2e21a4fcdbbf4a7542f22/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobinutils: add upstream patch to fix open microblaze issue
Waldemar Brodkorb [Sat, 5 Nov 2016 15:42:19 +0000 (16:42 +0100)]
binutils: add upstream patch to fix open microblaze issue

This reenables the use of 2.27 for microblaze.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pseudo: update version
Yann E. MORIN [Sat, 5 Nov 2016 16:34:54 +0000 (17:34 +0100)]
package/pseudo: update version

Brings in a fix about externded attributes (xattrs).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/kb9202_defconfig: remove defconfig
Thomas Petazzoni [Sat, 5 Nov 2016 13:45:54 +0000 (14:45 +0100)]
configs/kb9202_defconfig: remove defconfig

This configuration for the KwikByte KB9202 was added back in July 2008
(commit e27fef51834042a1b108e04927a2a91742a54327), and was never
updated since then. It still uses a 2.6.38 kernel, with the out of
tree patches from the former AT91 kernel maintainer. The board has
been discontinued according to its page at
http://www.kwikbyte.com/KB9202.html.

This defconfig no longer builds since the switch to gcc 5.x as the
default. Therefore, it's time to get rid of this defconfig.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomakedevs: make device node creation idempotent
Arnout Vandecappelle [Sat, 5 Nov 2016 13:38:12 +0000 (14:38 +0100)]
makedevs: make device node creation idempotent

We use makedevs to create device nodes in the target rootfs. However,
this can be called several times, e.g. when building several filesystem
images or when rebuilding. When makedevs is called the second time, the
device node already exists so mknod() errors out.

This wasn't noticed before because fakeroot's mknod() wrapper
(incorrectly) does _not_ error out when the file exists already. Now
we switched from fakeroot to pseudo, the problem becomes apparent.

Before creating the device node, check if it already exists and if so,
if it has the correct device type and number. Change of mode and
ownership is still done.

This approach was preferred over removing the target files before
creating them, which would be simpler. However, when e.g. a file exists
as a normal file and makedevs specifies it as a device node, that
really is an error so we should detect it.

The other types don't have to be changed. The 'd' (directory) type is
already OK because it already only creates directories if they don't
exist yet. The 'f' (file mode) and 'r' (recursive) types only operate
on files and directories that exist already.

Patch also sent upstream to busybox.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Fabio Estevam <festevam@gmail.com>
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>
7 years agomakedevs: resync device creation with upstream busybox
Arnout Vandecappelle [Sat, 5 Nov 2016 13:38:11 +0000 (14:38 +0100)]
makedevs: resync device creation with upstream busybox

In upstream busbyox, the code to create devices has been simplified:
the code for a single and for multiple devices is no longer duplicated.

Since we are going to change the device creation code next, it's
convenient to have only one copy to modify.

There are two behavioural changes with this, but they were introduced
silently together with other commits in upstream busybox.

- When mknod() fails, the chmod was still done. This is pointless so it
  is no longer done now.

- There was a check for mode != -1; however, a mode of -1 would not
  have worked anyway because all bits would be set for mknod(), which
  would fail. So this check is redundant.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Fabio Estevam <festevam@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibxml2: add upstream security fixes
Baruch Siach [Sat, 5 Nov 2016 19:24:06 +0000 (21:24 +0200)]
libxml2: add upstream security fixes

Fixes: CVE-2016-5131, CVE-2016-4658.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoczmq: fix build with glibc 2.24
Thomas Petazzoni [Sat, 5 Nov 2016 14:35:54 +0000 (15:35 +0100)]
czmq: fix build with glibc 2.24

czmq uses readdir_r(), which has been marked as deprecated in glibc
2.24, and czmq uses -Werror which causes the warning to be turned into
an error that aborts the build.

This commit fixes that by removing -Werror. Long-term, we might want
to upgrade czmq to a newer version, since they've removed the use of
readdir_r() in commit 2594d406d8ec6f54e54d7570d7febba10a6906b2. But
getting rid of -Werror is anyway always a good idea in Buildroot.

Fixes:

  http://autobuild.buildroot.net/results/f6e4b8ed8571fdcf30eecae121dd11dfdef50799

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackages/pseudo: needs attr
Yann E. MORIN [Sat, 5 Nov 2016 12:26:46 +0000 (13:26 +0100)]
packages/pseudo: needs attr

This fixes the build on machines that do not have attr development files
installed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopseudo: fix build for python3 based distros
Gaël PORTAY [Sat, 5 Nov 2016 03:55:49 +0000 (23:55 -0400)]
pseudo: fix build for python3 based distros

Pseudo is not python3 friendly. It causes build failure on distros using
python3 as default python interpretor.

./maketables enums/*.in
  File "./makewrappers", line 327
    return """/* This function is not called if pseudo is configured --enable-force-async */
                                                                                           ^
TabError: inconsistent use of tabs and spaces in indentation
  File "./maketables", line 76
    print "Flags: set for %s" % self.name
                            ^
SyntaxError: Missing parentheses in call to 'print'
make[2]: *** [Makefile:150: wrappers] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:147: tables] Error 1

Those patches make pseudo works with python2 and python3.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
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>
7 years agotinyalsa: avoid install in /usr/local/
Maxime Hadjinlian [Fri, 4 Nov 2016 15:28:42 +0000 (16:28 +0100)]
tinyalsa: avoid install in /usr/local/

Set the PREFIX to avoid installing files in [...]/usr/local/.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: fix static build again
Philippe Proulx [Fri, 4 Nov 2016 16:41:37 +0000 (12:41 -0400)]
lttng-babeltrace: fix static build again

I accidentally removed the static build patch when bumping to v1.4.0,
thinking it was merged upstream as of this version, but it's not the
case (it's merged in master), so let's keep the patch file.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/nanopi-neo: use a more conventional kernel
Yann E. MORIN [Fri, 4 Nov 2016 17:19:40 +0000 (18:19 +0100)]
configs/nanopi-neo: use a more conventional kernel

It turns out that linux-4.9-rc3 has all that is needed for the NanoPi
NEO, so use that rather than the franken-kernel I assembled.

Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: Fix endianess detection with musl-based toolchains
Bernd Kuhls [Fri, 4 Nov 2016 20:20:58 +0000 (21:20 +0100)]
package/mesa3d: Fix endianess detection with musl-based toolchains

Fixes
http://autobuild.buildroot.net/results/e27/e27a9a95f72dba3076549beb2a2ccfdbea2fcfee/
http://autobuild.buildroot.net/results/462/4629ee4813aa36de884bba2576612f909c007264/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoget-developers: fix parentheses for print
Gaël PORTAY [Sat, 5 Nov 2016 04:10:00 +0000 (00:10 -0400)]
get-developers: fix parentheses for print

Python3 complains about missing parentheses.

$ ./support/scripts/get-developers
  File "./support/scripts/get-developers", line 45
    print f
          ^
SyntaxError: Missing parentheses in call to 'print'

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: atmel: genimage: add 1M offset for FAT partition
Ludovic Desroches [Fri, 4 Nov 2016 10:15:17 +0000 (11:15 +0100)]
board: atmel: genimage: add 1M offset for FAT partition

With older SoCs and some SD cards, a 1024-bytes offset is needed to allow
ROM code to read the content of the FAT partition. As it is usual to get
a 1M bytes offset for the first partition, use this value to avoid boot
issues.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/website: update news with 2016.11-rc1 release e-mail link
Thomas Petazzoni [Fri, 4 Nov 2016 09:09:34 +0000 (10:09 +0100)]
docs/website: update news with 2016.11-rc1 release e-mail link

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoUpdate for 2016.11-rc1 2016.11-rc1
Thomas Petazzoni [Thu, 3 Nov 2016 20:54:07 +0000 (21:54 +0100)]
Update for 2016.11-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoCHANGES: mention fakeroot as a removed package
Thomas Petazzoni [Thu, 3 Nov 2016 22:31:53 +0000 (23:31 +0100)]
CHANGES: mention fakeroot as a removed package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/fakeroot: remove
Yann E. MORIN [Thu, 3 Nov 2016 22:21:08 +0000 (23:21 +0100)]
package/fakeroot: remove

We've now entirely switched to using pseudo istead of fakeroot, so it is
time to remove the fakeroot package now.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pseudo: add a legacy symlink to emulate fakeroot
Yann E. MORIN [Thu, 3 Nov 2016 22:21:07 +0000 (23:21 +0100)]
package/pseudo: add a legacy symlink to emulate fakeroot

In case some post-image script want to call fakeroot, add a symlink to
use pseudo instead.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofs/iso9660: drop reference to host-fakeroot
Thomas Petazzoni [Thu, 3 Nov 2016 22:28:01 +0000 (23:28 +0100)]
fs/iso9660: drop reference to host-fakeroot

Since commit 41f0688d9113dd33a5971c5654c7efd022727ed2 ("fs/iso9660:
convert to the filesystem infrastructure"), the is9660 logic uses the
common filesystem infrastructure, so the dependency on host-fakeroot is
no longer needed, and has actually become bogus since we switched to
host-pseudo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pseudo: needs sqlite
Yann E. MORIN [Thu, 3 Nov 2016 22:21:05 +0000 (23:21 +0100)]
package/pseudo: needs sqlite

pseudo uses sqlite to store its state.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: add comment about --libdir.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoCHANGES: final update
Thomas Petazzoni [Thu, 3 Nov 2016 21:56:20 +0000 (22:56 +0100)]
CHANGES: final update

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoCHANGES: extend 2016.11-rc1 changelog
Arnout Vandecappelle [Thu, 3 Nov 2016 21:49:29 +0000 (22:49 +0100)]
CHANGES: extend 2016.11-rc1 changelog

- Longer explanation of multi-BR2_EXTERNAL
- Mention nobody UID 99 -> 65534 change
- Mention removal of BR2_DEPRECATED
- Mention use of system cmake
- Mention new dependency on ExtUtils::MakeMaker. The other perl
  dependencies are not mentioned since they only apply if mpv is built.
- Mention the $(STAGING_DIR)/$(O) check.
- Mention unsafe path detection in -isystem etc.
- Mention linux-tools split.
- Mention changes in legal-info.
- Mention that pseudo is used instead of fakeroot.
- Correct the info of toolchainfile.cmake: it still sets cflags but it
  doesn't force them anymore (doesn't append).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: drop cubieboard_defconfig
Thomas Petazzoni [Wed, 26 Oct 2016 21:53:56 +0000 (23:53 +0200)]
configs: drop cubieboard_defconfig

This defconfig is affected by bug #8516, reported more than a year ago,
and nobody has updated the defconfig since then. In addition, it should
be migrated to the genimage mechanism instead of having its own
mkcubieboard.sh script.

Therefore, let's get rid of this defconfig.

Fixes bug #8516.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Carlo Caione <carlo.caione@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobridge-utils: fix build with musl
Baruch Siach [Thu, 3 Nov 2016 05:53:50 +0000 (07:53 +0200)]
bridge-utils: fix build with musl

Apply a patch that removes direct include of kernel headers to avoid conflict
of definitions.

Fixes:
http://autobuild.buildroot.net/results/4aa/4aaeca4f1fca1794b039d7255a1828ff724f2234/
http://autobuild.buildroot.net/results/b48/b48a70137a4a568b31337f899fd21d05552db5e2/
http://autobuild.buildroot.net/results/bff/bff5767fc7e821a7674ee022111db84e4a9449d0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: atmel: at91sam9x5ek: bump to linux4sam_5.5
Ludovic Desroches [Thu, 3 Nov 2016 14:08:41 +0000 (15:08 +0100)]
configs: atmel: at91sam9x5ek: bump to linux4sam_5.5

Bump at91bootstrap to v3.8.7, U-Boot to linux4sam_5.5, Linux to
linux4sam_5.5 (based on v4.4.x).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: atmel: xplained boards: bump to linux4sam_5.5
Ludovic Desroches [Thu, 3 Nov 2016 14:08:40 +0000 (15:08 +0100)]
configs: atmel: xplained boards: bump to linux4sam_5.5

Bump at91bootstrap to v3.8.7, U-Boot to linux4sam_5.5, Linux to linux4sam_5.5
(based on v4.4.x).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodomoticz: bump to version 3.5837
Fabrice Fontaine [Thu, 3 Nov 2016 15:32:44 +0000 (16:32 +0100)]
domoticz: bump to version 3.5837

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoalsa-lib: fix build on powerpc64 and powerpc64le
Sam bobroff [Thu, 3 Nov 2016 03:25:34 +0000 (14:25 +1100)]
alsa-lib: fix build on powerpc64 and powerpc64le

Fixes linker error
http://autobuild.buildroot.net/results/c6272ac900d1a53b976839ac4f50a210b3e6b354

On powerpc64 (and powerpc64le) the build fails due to linker problems
because of an old (2003) workaround for powerpc64, presumably working
around an old toolchain problem that is no longer present. Removing
the workaround allows the build to succeed. A new patch is added for
this.

Additionally, there was a mistake in patch 3: the patch added a test
for HAVE_LIBDL to include/alsa-symbols.h but it was positioned in the
file before config.h was included, so HAVE_LIBDL is never seen as
defined.  The test was also using HAVE_LIBDL (which indicates the
library) rather than HAVE_DLFCN (which indicates the header).

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: transfer lttng-* and liburcu projects to Philippe Proulx
Philippe Proulx [Wed, 2 Nov 2016 23:23:35 +0000 (19:23 -0400)]
DEVELOPERS: transfer lttng-* and liburcu projects to Philippe Proulx

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibcurl: move site to https
Baruch Siach [Thu, 3 Nov 2016 07:53:13 +0000 (09:53 +0200)]
libcurl: move site to https

Saves a redirect.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonet-tools: add a patch to avoid struct redefinition
Vicente Olivert Riera [Thu, 3 Nov 2016 13:25:46 +0000 (13:25 +0000)]
net-tools: add a patch to avoid struct redefinition

This fixes a struct redefinition problem like this one:

================================
In file included from /usr/include/linux/if_tunnel.h:6:0,
from iptunnel.c:34:
/usr/include/linux/ip.h:85:8: error: redefinition of 'struct iphdr'
struct iphdr {
^
In file included from iptunnel.c:29:0:
/usr/include/netinet/ip.h:45:8: note: originally defined here
struct iphdr
^
================================

iptunnel.c includes netinet/ip.h which contains a definition of the
iphdr struct.

iptunnel.c also includes linux/if_tunnel.h which includes linux/ip.h
which contains a definition of the iphdr struct.

So, both netinet/ip.h and linux/ip.h define the iphdr struct, and both
of them have been included directly or indirectly by iptunnel.c. Because
of that the compilation fails due to a struct redefinition.

The problem can be solved by just not including netinet/ip.h.

The patch has been sent upstream as a merge request:
  https://sourceforge.net/p/net-tools/code/merge-requests/3/

Fixes:
  http://autobuild.buildroot.net/results/dce/dce499da84b2a41bab946d5109a283ccb85c8b81/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoowfs: install python bindings in the correct location
Arnout Vandecappelle [Thu, 3 Nov 2016 20:36:04 +0000 (21:36 +0100)]
owfs: install python bindings in the correct location

The owfs build system has a pretty complicated way of configuring the
Python bindings. It ends up with setting PYSITEDIR to the host-python
site-packages path, and it still prepends DESTDIR to that.

As a simple fix, override PYSITEDIR with the correct value on the make
command line.

Fixes:
http://autobuild.buildroot.net/results/200/200846650641494290aa67d28ea6fb2c9351d4dc
http://autobuild.buildroot.net/results/99c/99c00248dd8b00071bcdbc73336cc276c68a4c16
and many more

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: Add an entry for mx6udoo_defconfig
Fabio Estevam [Thu, 3 Nov 2016 18:40:17 +0000 (16:40 -0200)]
DEVELOPERS: Add an entry for mx6udoo_defconfig

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: Remove udoo_quad_defconfig
Fabio Estevam [Thu, 3 Nov 2016 18:40:16 +0000 (16:40 -0200)]
configs: Remove udoo_quad_defconfig

configs/mx6udoo_defconfig supports the quad and dual-lite variants,
so there is no need to keep udoo_quad_defconfig anymore.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: remove redundant "override O := $(O)"
Arnout Vandecappelle [Thu, 3 Nov 2016 01:55:17 +0000 (02:55 +0100)]
core: remove redundant "override O := $(O)"

The top-level Makefile contains an "override O := $(O)" statement that
is purportedly required to make sure the O flag doesn't leak into the
environment of sub-makes. However, since commit 173135d, there is
already an "override O := ..." a few lines down. Therefore, the first
override is redundant.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: don't reset MAKEOVERRIDES when re-entering make
Arnout Vandecappelle [Thu, 3 Nov 2016 01:55:16 +0000 (02:55 +0100)]
core: don't reset MAKEOVERRIDES when re-entering make

We reset MAKEOVERRIDES to avoid passing down variables that are
overridden on the command line to the package build systems. Indeed,
the variables overridden on the command line will be Buildroot
variables and not relevant to the package build system. In particular
the O option is used by some packages and the value passed in on the
command line is plain wrong for the individual package.

However, in commit 916e614b, MAKEOVERRIDES was moved earlier and it
was reset _before_ re-entering make in the cases when something has
to be fixed up (incorrect umask, non-absolute paths in O or CURDIR).
Therefore, if make is re-entered, any command line overrides are lost.

This particularly bites the autobuilders, because they use
O=<relative path> to specify the output directory, and they add
BR2_JLEVEL=... to avoid starting too many jobs in parallel. The
BR2_JLEVEL override is lost.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: remove invalid email address
Baruch Siach [Thu, 3 Nov 2016 07:59:27 +0000 (09:59 +0200)]
DEVELOPERS: remove invalid email address

Merge the two entries of Richard Braun under the correct address.

Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoCHANGES: additional updates for 2016.11-rc1
Thomas Petazzoni [Thu, 3 Nov 2016 20:46:51 +0000 (21:46 +0100)]
CHANGES: additional updates for 2016.11-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboards: add FriendlyARM Nanopi NEO
Yann E. MORIN [Thu, 3 Nov 2016 20:17:58 +0000 (21:17 +0100)]
boards: add FriendlyARM Nanopi NEO

The FriendlyARM Nanopi NEO is a 4x4cm² board with an Allwiner H3 SoC:
  - quad-core Cortex-A7 @1.2GHz
  - 256 or 512MiB of DDR
  - uSDCard as only storage option
  - 3x USB 2.0 host (one socket, two on expansion pin-holes)
  - 1x USB 2.0 OTG (also used as power source)
  - 10/100 etehrnet MAC
  - GPIOs, SPI, I2c...

Support for the Nanopi NEO in U-Boot and Linux is very recent, so much
so that we have to use an -rc tag for U-Boot and a special Linux tree.

As for Linux, I pushed a git tree on Github with a single tag that
matches what is currently queued in the sunxi-next queued for 4.10,
based on 4.9-rc3. All those commits are from Maxime's tree, the
maintainer for most sunxi stuff.

This also means that we can't use the Linux headers from the kernel
being built (which is what we usually do) because those report 4.9,
while Buildroot currently knows only of 4.8 at best. So this is what we
use.

Unfortunately, support for the ethernet MAC and the USB OTG are not yet
upstream, but are being actively worked on.

The Nanopi NEO is very similar to the Orangepi PC, so I was able to
scanvenge most of its configuration. ;-)

Thanks Maxime for your help on IRC! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofs: use pseudo instead of fakeroot
Yann E. MORIN [Sat, 29 Oct 2016 08:26:42 +0000 (10:26 +0200)]
fs: use pseudo instead of fakeroot

fakeroot misbhaves when there are SElinux contexts, as reported in #9386,
and further detailed in https://bugzilla.redhat.com/show_bug.cgi?id=1238802

A proposal in the FC bug is to use pseudo instead of fakeroot. Pseudo is
a from-scratch re-implementation of fakeroot; it is used in Poky/OE
instead of fakeroot.

Fixes #9386.

Reported-by: Andrey Yurovsky <yurovsky@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Andrey Yurovsky <yurovsky@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pseudo: new package
Yann E. MORIN [Sat, 29 Oct 2016 08:26:41 +0000 (10:26 +0200)]
package/pseudo: new package

Pseudo is a program that can either be used directly or as an
LD_PRELOAD, which allows these operations to succeed as if the
user did have system administrator privileges even though they
are an ordinary user.

Pseudo has a lot of similarities to fakeroot but is a new
implementation that improves on the problems seen using fakeroot.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Andrey Yurovsky <yurovsky@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoCHANGES: prepare for 2016.11-rc1
Thomas Petazzoni [Thu, 3 Nov 2016 20:31:14 +0000 (21:31 +0100)]
CHANGES: prepare for 2016.11-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add David Lechner
David Lechner [Wed, 2 Nov 2016 21:01:12 +0000 (16:01 -0500)]
DEVELOPERS: add David Lechner

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotinyalsa: bump version to 1.0.2
Maxime Hadjinlian [Wed, 2 Nov 2016 17:46:24 +0000 (18:46 +0100)]
tinyalsa: bump version to 1.0.2

tinyalsa has started doing release, so we will use it.

With this release, both our patches were applied mainline:
    - 0001-tinypcminfo-make-function-pcm_get_format_name-static.patch [1]
    - 0002-asound.h-include-time.h-to-get-struct-timespec-proto.patch [2]

The Makefile has changed a lot, so we take advantage of that to simplify
our package.

1. https://github.com/tinyalsa/tinyalsa/commit/7d204edfe87f4e22105bcaeb750d69ac769afdd6
2. https://github.com/tinyalsa/tinyalsa/commit/c8333f8c7a4e4b9549abeef7530b2cd20a18e537

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: add patch to remove doxygen usage.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: add debug info support
Philippe Proulx [Wed, 2 Nov 2016 06:55:08 +0000 (02:55 -0400)]
lttng-babeltrace: add debug info support

Since Babeltrace 1.4, there is support for printing debug information
along with compatible traces and event records. Babeltrace needs
elfutils in this case.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
[Thomas:
 - add better description for
   0002-m4-ax_lib_elfutils.m4-add-cache-variable.patch
 - use automatic dependency on elfutils rather than a very complicated
   Config.in symbol]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: add host Babeltrace as host utility
Philippe Proulx [Wed, 2 Nov 2016 06:55:07 +0000 (02:55 -0400)]
lttng-babeltrace: add host Babeltrace as host utility

Although Babeltrace is available for all major Linux distributions, some
of them have a quite old version of this project.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: bump to version 1.4.0
Philippe Proulx [Wed, 2 Nov 2016 06:55:06 +0000 (02:55 -0400)]
lttng-babeltrace: bump to version 1.4.0

Current patches are dropped because they were merged upstream.

Official upstream site of Babeltrace for the distribution of tarballs
changed from lttng.org to efficios.com (see
<http://diamon.org/babeltrace>).

Official Babeltrace's website changed from
<http://www.efficios.com/babeltrace> to <http://diamon.org/babeltrace>.

I explicitly disable the support for debug informations in this patch to
add it in a separate patch.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: bump to version 2.8.2
Philippe Proulx [Wed, 2 Nov 2016 06:55:05 +0000 (02:55 -0400)]
lttng-tools: bump to version 2.8.2

The current patches are dropped because they were merged upstream.

The new patches exist to fix the build with musl. They were submitted on
the lttng-dev mailing list, but not merged yet, or not merged in 2.8.2.

LTTng-tools now has its man pages written in AsciiDoc and they get
converted to troff at build time. This is not needed in a Buildroot
image anyway.

The --enable-lttng-ust/--disable-lttng-ust configure options are renamed
to --with-lttng-ust/--without-lttng-ust in v2.8.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/lego/ev3: Use ev3dev linux ext for ev3dev drivers
David Lechner [Wed, 2 Nov 2016 03:15:56 +0000 (22:15 -0500)]
board/lego/ev3: Use ev3dev linux ext for ev3dev drivers

This uses the ev3dev linux extension to compile the ev3dev drivers for
LEGO MINDSTORMS EV3.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: add ev3dev extension
David Lechner [Wed, 2 Nov 2016 03:15:55 +0000 (22:15 -0500)]
linux: add ev3dev extension

This adds an ev3dev Linux drivers extension that provides Linux kernel
drivers for LEGO MINDSTORMS EV3 from the ev3dev project.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/lego/ev3: Create images using genimage
David Lechner [Wed, 2 Nov 2016 03:15:54 +0000 (22:15 -0500)]
board/lego/ev3: Create images using genimage

This adds a script to create SD card and flash images for LEGO MINDSTORMS
EV3 using the genimage tool.

The default kernel config had to be modified to add support for squashfs
and to add a ram disk.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/lego_ev3: add U-Boot support
David Lechner [Wed, 2 Nov 2016 03:15:53 +0000 (22:15 -0500)]
configs/lego_ev3: add U-Boot support

This adds U-Boot configuration for LEGO MINDSTORMS EV3. U-Boot has
had support for LEGO MINDSTORMS EV3 since v2016.05.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 13.0.0
Bernd Kuhls [Tue, 1 Nov 2016 19:24:51 +0000 (20:24 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 13.0.0

Udev support was removed upstream:
https://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=13.0&id=f9f7e44c94f7eee4778768adf7afffba6c0581e7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomemcached: security bump to version 1.4.33
Gustavo Zacarias [Tue, 1 Nov 2016 22:59:30 +0000 (19:59 -0300)]
memcached: security bump to version 1.4.33

Fixes:
CVE-2016-8704 - server append/prepend remote code execution
vulnerability.
CVE-2016-8705 - server update remote code execution vulnerability.
CVE-2016-8706 - server SASL authentication remote code execution
vulnerability.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobind: security bump to version 9.11.0-P1
Gustavo Zacarias [Tue, 1 Nov 2016 22:59:14 +0000 (19:59 -0300)]
bind: security bump to version 9.11.0-P1

Fixes:
CVE-2016-8864 - denial-of-service vector which can potentially be
exploited against BIND 9 servers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: fix hash URL in .hash file, noticed by Vicente.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibcurl: bump version to 7.51.0 (security)
Vicente Olivert Riera [Wed, 2 Nov 2016 11:52:31 +0000 (11:52 +0000)]
libcurl: bump version to 7.51.0 (security)

List of fixed CVEs:

CVE-2016-8615: cookie injection for other servers
CVE-2016-8616: case insensitive password comparison
CVE-2016-8617: OOB write via unchecked multiplication
CVE-2016-8618: double-free in curl_maprintf
CVE-2016-8619: double-free in krb5 code
CVE-2016-8620: glob parser write/read out of bounds
CVE-2016-8621: curl_getdate read out of bounds
CVE-2016-8622: URL unescape heap overflow via integer truncation
CVE-2016-8623: Use-after-free via shared cookies
CVE-2016-8624: invalid URL parsing with '#'
CVE-2016-8625: IDNA 2003 makes curl use wrong host

Full ChangeLog:

https://curl.haxx.se/changes.html#7_51_0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard/boundarydevices: remove u-boot from genimage.cfg
Gary Bisson [Wed, 2 Nov 2016 09:17:43 +0000 (10:17 +0100)]
board/boundarydevices: remove u-boot from genimage.cfg

Adding a comment to explain how to update the bootloader since it is
located in NOR flash memory.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosshpass: bump version to 1.06
Gary Bisson [Wed, 2 Nov 2016 09:01:36 +0000 (10:01 +0100)]
sshpass: bump version to 1.06

Changelog:
- Add -P for overriding the password prompt we search for
- Add -v for verbose logging of the prompt detection prompt.
- Allow packagers and compilers to change the default password prompt.
- When giving -V, also print the default password prompt.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for xdriver_xf86-video-imx-viv
Gary Bisson [Wed, 2 Nov 2016 08:59:11 +0000 (09:59 +0100)]
DEVELOPERS: add entry for xdriver_xf86-video-imx-viv

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Sam Bobroff as PowerPC-interested person
Thomas Petazzoni [Tue, 1 Nov 2016 20:19:44 +0000 (21:19 +0100)]
DEVELOPERS: add Sam Bobroff as PowerPC-interested person

This will allow Sam to receive PowerPC64(le) related build failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx-vpuwrap: bump to version 1.0.68
Gary Bisson [Tue, 1 Nov 2016 16:10:05 +0000 (17:10 +0100)]
imx-vpuwrap: bump to version 1.0.68

Changelog:
- Coverity fixes for checkign return values, unused values, null checking
- H.263 encoder invalid frame rate

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/fd160ae9

Implicitly tested through gstreamer as the 0.10 plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx-parser: bump to version 4.1.4
Gary Bisson [Tue, 1 Nov 2016 16:10:04 +0000 (17:10 +0100)]
imx-parser: bump to version 4.1.4

Changelog:
- Update license checksum to align to EULA
- Updates for coverity, memory leaks, corrupted content

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/4bbd9dc4

Implicitly tested through gstreamer as the 0.10 plugin relies on it:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx-codec: bump to version 4.1.4
Gary Bisson [Tue, 1 Nov 2016 16:10:03 +0000 (17:10 +0100)]
imx-codec: bump to version 4.1.4

Changelog
- Upgrade license chksum to v14 EULA
- Check for lib_src_ppp_arm11_elinux.so library before removing
- Fixes for error hadling and robustness

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/78856879

Implicitly tested through gstreamer as the 0.10 plugin relies on it:
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokernel-module-imx-gpu-viv: bump version to 5.0.11.p8.6
Gary Bisson [Tue, 1 Nov 2016 16:10:02 +0000 (17:10 +0100)]
kernel-module-imx-gpu-viv: bump version to 5.0.11.p8.6

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/51148d70

This package has been tested with the following commands:
 # modprobe galcore
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxdriver_xf86-video-imx-viv: bump version to 5.0.11.p8.6
Gary Bisson [Tue, 1 Nov 2016 16:10:01 +0000 (17:10 +0100)]
xdriver_xf86-video-imx-viv: bump version to 5.0.11.p8.6

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/0c40332c

The following xorg.conf was used in order to force the use of the
vivante module:
https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf

Note that the X server must be started with the "noreset" option to
avoid crashes when closing X apps.
Tested with:
 # X -noreset &
 # cd /usr/share/examples/viv_samples/vdk/
 # DISPLAY=:0 ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx-gpu-viv: bump to version 5.0.11.p8.6
Gary Bisson [Tue, 1 Nov 2016 16:10:00 +0000 (17:10 +0100)]
imx-gpu-viv: bump to version 5.0.11.p8.6

Bug Fixes for P8.6 Graphics includes:

3D: MGS-2239 Destroy EGL window surface and makecurrent new surface
cause segmentation fault
3D: MGS-2237 [6Q-SDB] FB met GPU STATE DUMP when testing ES30
Conformance 100%
3D: MGS-2101 EGLImage created with an OpenVG parent image always returns
EGL_BAD_ACCESS
3D: MGS-2086 Met GPU dump when do driver test under dvfs stress test
3D: MGS-2150 optimized vertex copy for attribute upload
3D: MGS-2100 CubeMap sub-texture copy disappears when small size and
small x/y offset
3D: MA-8321 testTextureViewStress200Hz fail on kk4.4.3_2.0.1 with GPU
5.0.11p8
3D: MA-8302 testOpenGlEsVersion fail on kk4.4.3_2.0.1 with GPU 5.0.11p8
3D: MA-8300 Fix antutu3.0.3 2D/3D performance downgrade
3D: MA-8104 fix Antutu6.x benchmark 3D not supported issue
3D: MA-8110 Change NOTIFY_OK to NOTIFY_DONE in task_notify_func.
3D: MGS-1851 fix the integer id resource leak
3D: MGS-1845 refine es11 extension
3D: MGS-1717 display no output when use gplay to do loopback test
Compiler: MGS-1948 Fix UBO in shader can not support by new bsp release.
2D-VG: MGS-2154 VG kernel driver Allocate and Free wrong memory type
2D-VG: MGS-2089 fix gc355 vg freeze with interrupt signal
2D-VG: MGS-2084 fix vg pbuffer memory leak
2D-VG: MGS-1756 Portability issue: OpenVG includes "malloc.h" instead of
"stdlib.h" for malloc() function
2D: MA-8378 Refine g2d and gpu helper functions.
2D: MGS-1847 fix G2D build broken with g2dBUILD_FOR_VIVANTE=1
General: MGS-2243 Fix high impact Coverity issue in GPU kernel driver
General: MGS-2233 fix gpu axi bus error with process kill operations
General: MGS-2188 Fix misleading indents causing errors in gcc6
General: MGS-1624 QNX - port gmem_info tool
General: MGS-1630-1 5.0.11.p8 driver can't pass build with kernel 4.1 on
Android M6.0

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/de26bc15

This package has been tested with both X11 and Framebuffer backends:
 # cd /usr/share/examples/viv_samples/vdk/
 # apitrace trace --api egl ./tutorial7
 # gmem_info
 ... display memory use per PID ...
 # apitrace replay tutorial7.trace
 # eglretrace tutorial7.trace

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx-vpu: bump to version 5.4.35
Gary Bisson [Tue, 1 Nov 2016 16:09:59 +0000 (17:09 +0100)]
imx-vpu: bump to version 5.4.35

Changelog:
Coverity fixes for resources leaks, null dereference, string overflows
and checking return.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/b138b5b0

Implicitly tested through gstreamer as the plugins rely on it:
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
       matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: freescale_imx*: bump to version 4.1.15_2.0.0_ga
Gary Bisson [Tue, 1 Nov 2016 16:09:58 +0000 (17:09 +0100)]
configs: freescale_imx*: bump to version 4.1.15_2.0.0_ga

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/f4e7a140
https://github.com/Freescale/meta-freescale/commit/d4c994cb
https://github.com/Freescale/meta-freescale/commit/7ad6dcc3

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolftp: add patch to fix gcc 6.x build issue
Thomas Petazzoni [Tue, 1 Nov 2016 15:38:49 +0000 (16:38 +0100)]
lftp: add patch to fix gcc 6.x build issue

Fixes:

  http://autobuild.buildroot.net/results/e1e597300ed5b9bf12ceffe028d5f2687a6f07cd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/transmission: fix SITE url
Bernd Kuhls [Sat, 29 Oct 2016 19:14:22 +0000 (21:14 +0200)]
package/transmission: fix SITE url

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogupnp-tools: fix when using latest gupnp-av
Fabrice Fontaine [Sun, 30 Oct 2016 21:47:33 +0000 (22:47 +0100)]
gupnp-tools: fix when using latest gupnp-av

Include gupnp.h ourselves, gupnp-av.h doesn't drag it in anymore

Backported from: e9ec9634207e4c2eea6d268ee29b57e687c1f178
The patch retrieved from the official gnome URL
(https://git.gnome.org/browse/gupnp-tools/patch/?id=e9ec9634207e4c2eea6d268ee29b57e687c1f178)
can not be applied through GUPNP_TOOLS_PATCH as it does not end with the
'.patch*' pattern

Fixes:
  - http://autobuild.buildroot.org/results/329851daa060f23c55f996c1b0f323d41f85ccb2

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomotion: fix static link with gnutls
Fabrice Fontaine [Sun, 30 Oct 2016 20:10:00 +0000 (21:10 +0100)]
motion: fix static link with gnutls

base64_encode is already defined in gnutls so rename it as
motion_base64_encode to prevent a definition clash when linking
statically with gnutls

Fixes:
  - http://autobuild.buildroot.org/results/592672b8826f4c731c50d29725da964d876573c4

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libfribidi: remove optional dependency to libglib
Bernd Kuhls [Sun, 30 Oct 2016 17:29:18 +0000 (18:29 +0100)]
package/libfribidi: remove optional dependency to libglib

Fixes vdr compile error:
http://autobuild.buildroot.net/results/725/7252decffe29e19051eed0554786651aee216573/

Instead of fixing fribidi.pc or adding optional CFLAGS to the vdr
package we remove the optional libglib dependency because it does not
contain "any thing substantial" as pointed out in an pull request sent
upstream: https://github.com/behdad/fribidi/pull/14

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>
7 years agobinutils: add comment with bug report reference
Waldemar Brodkorb [Sun, 30 Oct 2016 13:25:11 +0000 (14:25 +0100)]
binutils: add comment with bug report reference

Add requested bug report

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5websockets: use QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES
Matt Kraai [Tue, 1 Nov 2016 14:55:35 +0000 (07:55 -0700)]
qt5websockets: use QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5webchannel: use QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES
Matt Kraai [Tue, 1 Nov 2016 14:55:34 +0000 (07:55 -0700)]
qt5webchannel: use QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-modules: bump to version 2.8.3
Philippe Proulx [Mon, 31 Oct 2016 07:46:20 +0000 (03:46 -0400)]
lttng-modules: bump to version 2.8.3

LTTng-modules, starting from v2.8, has a mechanism to be built directly
into a Linux kernel image, that is, not as loadable kernel modules. For
this the `CONFIG_LTTNG_CLOCK_PLUGIN_TEST` and `CONFIG_LTTNG` Make
variables were introduced. They need to be explicitly set to `m` here to
build the project as loadable kernel modules.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: remove dependency on host-lttng-babeltrace
Philippe Proulx [Mon, 31 Oct 2016 07:46:19 +0000 (03:46 -0400)]
lttng-tools: remove dependency on host-lttng-babeltrace

We don't need to build Babeltrace for the host here. Any host running
a major Linux distribution can get a recent version of Babeltrace.

See <http://diamon.org/babeltrace/>.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: enable Python agent when Python is available
Philippe Proulx [Mon, 31 Oct 2016 07:46:17 +0000 (03:46 -0400)]
lttng-libust: enable Python agent when Python is available

Add the --enable-python-agent configure option to build the LTTng-UST
Python agent when Python 2 or Python 3 is also part of the BR image. The
LTTng-UST Python agent is a Python package which adds LTTng tracing to
Python's standard logging when imported.

Disable the Python agent otherwise.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: bump to version 2.8.1
Philippe Proulx [Mon, 31 Oct 2016 07:46:16 +0000 (03:46 -0400)]
lttng-libust: bump to version 2.8.1

The two current patches are removed because they were merged upstream.

The new patch is needed to build with uClibc. It was also submitted
upstream, but not merged as is yet. Defining NT_GNU_BUILD_ID to 3 when
it's not defined seems like it's something done in other projects. This
definition's value should never change (number of the build ID note
section in ELF objects).

LTTng-UST now has its man pages written in AsciiDoc and they get
converted to troff at build time. This is not needed in a Buildroot
image anyway.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/imx28evk: Generate the standard sdcard.img
Fabio Estevam [Mon, 31 Oct 2016 14:11:58 +0000 (12:11 -0200)]
configs/imx28evk: Generate the standard sdcard.img

Generate the standard sdcard.img format that can be directly copied
to the SD card.

Remove the custom create-boot-sd.sh script and update the readme.txt
file accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
[Thomas: further tweaks to readme.txt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopostgresql: bump version to 9.6.1
Vicente Olivert Riera [Mon, 31 Oct 2016 16:31:25 +0000 (16:31 +0000)]
postgresql: bump version to 9.6.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonano: bump version to 2.7.1
Vicente Olivert Riera [Mon, 31 Oct 2016 16:31:24 +0000 (16:31 +0000)]
nano: bump version to 2.7.1

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