buildroot.git
7 years agolibpjsip: bump to 2.7
Adam Duskett [Fri, 13 Oct 2017 02:42:17 +0000 (22:42 -0400)]
libpjsip: bump to 2.7

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: security bump version to 1.19.5
Bernd Kuhls [Sat, 14 Oct 2017 11:37:28 +0000 (13:37 +0200)]
package/x11r7/xserver_xorg-server: security bump version to 1.19.5

Fixes

xfixes: unvalidated lengths (CVE-2017-12183)

Xi: fix wrong extra length check in ProcXIChangeHierarchy
 (CVE-2017-12178)

dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo
 (CVE-2017-12177)

Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.84
Bernd Kuhls [Sat, 14 Oct 2017 11:37:27 +0000 (13:37 +0200)]
package/libdrm: bump version to 2.4.84

Changed _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libXres: bump version to 1.2.0
Bernd Kuhls [Sat, 14 Oct 2017 11:37:26 +0000 (13:37 +0200)]
package/x11r7/xlib_libXres: bump version to 1.2.0

Added all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libXfont2: bump version to 2.0.2
Bernd Kuhls [Sat, 14 Oct 2017 11:37:25 +0000 (13:37 +0200)]
package/x11r7/xlib_libXfont2: bump version to 2.0.2

Removed patches applied upstream, added all upstream hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/mx6udoo: Bump kernel and U-Boot versions
Fabio Estevam [Fri, 13 Oct 2017 22:01:16 +0000 (19:01 -0300)]
configs/mx6udoo: Bump kernel and U-Boot versions

Bump the kernel to version 4.13.5 and U-Boot to 2017.09.

While at it, remove the custom scripts for generating the SD card image
and use the standard scripts instead.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowireguard: bump to version 0.0.20171011
Peter Korsgaard [Fri, 13 Oct 2017 20:39:52 +0000 (22:39 +0200)]
wireguard: bump to version 0.0.20171011

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python: bump version to 2.7.14
Bernd Kuhls [Sat, 14 Oct 2017 12:40:00 +0000 (14:40 +0200)]
package/python: bump version to 2.7.14

Rebased patch 0016, changed _SITE to https.

Release notes:
https://raw.githubusercontent.com/python/cpython/84471935ed2f62b8c5758fd544c7d37076fe0fa5/Misc/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python3: bump version to 3.6.3
Bernd Kuhls [Sat, 14 Oct 2017 12:39:59 +0000 (14:39 +0200)]
package/python3: bump version to 3.6.3

Changed _SITE to https.

Release notes:
https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-3-final

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/zstd: bump version to 1.3.2
Bernd Kuhls [Sat, 14 Oct 2017 11:50:36 +0000 (13:50 +0200)]
package/zstd: bump version to 1.3.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libhdhomerun: bump version to 20170930
Bernd Kuhls [Sat, 14 Oct 2017 12:31:31 +0000 (14:31 +0200)]
package/libhdhomerun: bump version to 20170930

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: fix BR2_EXTERNAL path typo
Cam Hutchison [Sun, 15 Oct 2017 00:55:07 +0000 (11:55 +1100)]
docs/manual: fix BR2_EXTERNAL path typo

Signed-off-by: Cam Hutchison <camh@xdna.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoifupdown-scripts: do not install .empty files
Cam Hutchison [Sun, 15 Oct 2017 00:57:19 +0000 (11:57 +1100)]
ifupdown-scripts: do not install .empty files

ifupdown-scripts has some .empty files to maintain empty directories
in git. Previously this package used to be part of the skeleton which
used SYSTEM_RSYNC to copy the directories to the target. When it was
split into a separate package, cp -a was used to do the copy instead,
which copies the .empty files.

Change to SYSTEM_RSYNC which excludes .empty files.

Signed-off-by: Cam Hutchison <camh@xdna.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoluksmeta: new package
Peter Korsgaard [Thu, 12 Oct 2017 19:34:29 +0000 (21:34 +0200)]
luksmeta: new package

[Peter: add DEVELOPERS entry]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/prosody: new package
Dushara Jayasinghe [Sat, 30 Sep 2017 22:13:03 +0000 (09:13 +1100)]
package/prosody: new package

As stated by the upstream developers, Prosody only supports
lua-5.1 or luajit (which is a lua-5.1 interpreter):

> Response from zash at zash.se:
>
>> I pegged the package to lua 5,1 based on the contents of the
>> INSTALL file. Is this a hard requirement?
>
> Up until Prosody 0.9 Lua 5.1 is required. However LuaJIT
> implements Lua 5.1 so it works.

The license terms are not very consistent: the source files all
state to be "MIT/X11 licensed" and defer to the COPYING file for
details, but that file only has the text for the MIT license.
Thus, we believe the license to be MIT/X11, as stated in the source
files.

This installs the base system with certificates for two domains:
localhost and example.com

The default runtime configuration is tweaked during installation
to properly setup logging and pid-file directories.

Prosody doesn't like being executed as root, and thus the daemon
is executed as the user prosody. The startup script creates the
pid file write location with appropriate permissions.

Signed-off-by: Dushara Jayasinghe <nidujay@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopencv3: enable pthreads parallel for loops
bradford barr [Fri, 29 Sep 2017 20:47:24 +0000 (16:47 -0400)]
opencv3: enable pthreads parallel for loops

The WITH_PTHREADS_PF option was errantly categorized as a Windows only option.
WITH_PTHREADS_PF actually enables a parallelization framework that utilizes
pthreads to optimize some inner for loops of different OpenCV operations. This
optimization is available on any platform that has pthreads.

Signed-off-by: bradford barr <bradford@density.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs
Peter Korsgaard [Thu, 12 Oct 2017 20:23:56 +0000 (22:23 +0200)]
configs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs

The "virt" machine supports disk emulation, so use a ext4 rootfs instead of
initramfs for consistency with the other qemu defconfigs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6
Peter Korsgaard [Thu, 12 Oct 2017 20:23:55 +0000 (22:23 +0200)]
configs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua: refactor with a common template lua.pc.in
Francois Perrad [Mon, 21 Aug 2017 16:37:23 +0000 (18:37 +0200)]
lua: refactor with a common template lua.pc.in

lua.pc is generated from a common template in the build step.
install steps are restored like in BR 2017.05

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarm-trusted-firmware: bump to version 1.4
Peter Korsgaard [Thu, 12 Oct 2017 19:54:16 +0000 (21:54 +0200)]
arm-trusted-firmware: bump to version 1.4

The license file got reformatted as reStructuredText, but the license itself
didn't change.

Drop unneeded md5sum and add license hash.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarm-trusted-firmware: fix comment typo
Peter Korsgaard [Thu, 12 Oct 2017 19:54:15 +0000 (21:54 +0200)]
arm-trusted-firmware: fix comment typo

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoflex: rework patches to avoid host/target difference
Thomas Petazzoni [Sun, 8 Oct 2017 21:44:23 +0000 (23:44 +0200)]
flex: rework patches to avoid host/target difference

Currently, the target and host flex packages do not behave the same in
terms of patching: the target variant has a patch hook that disables
building the programs (because they are not needed, and do not build
on no-MMU platforms). However, this hook is obviously not executed for
host-flex, because we really want the host flex binary to be built.

In preparation for the introduction of out-of-tree package build, it
is important that we don't do different things in the patch hooks for
the target and host variant of a given package, because the source
tree will be shared between the target and host builds.

To solve this, we introduce a --disable-program configure option,
through a patch to the flex configure.ac and Makefile.am. This patch
makes the current 0001-flex-disable-documentation.patch no longer
needed.

Furthermore, building the documentation is a PITA: flex.1 depends on
configure.ac and a few other files generated during the build. Touching
flex.1 does not work, because automake will forcibly remove the files
when its prerequisites are too old, so pre-requisites of flex.1 will
always be more recent than flex.1. So, we add a patch that adds a
--disable-doc configure option.

Fixes:
    http://autobuild.buildroot.org/results/f70/f70b39632535bb9692d0a032166b2f4104532967/
    http://autobuild.buildroot.org/results/525/52567afdfe7992b3518de0e01227ba14aa300f21/
    [...]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr:
  - rebase on-top of master,
  - add patch to not build the documentation, because simply touching
    flex.1 is no longer enough.
  - keep install in target/, for shared builds
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Adrian Perez de Castro <aperez@igalia.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-http: new package
Francois Perrad [Wed, 11 Oct 2017 13:19:56 +0000 (15:19 +0200)]
lua-http: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-lpeg-patterns: new package
Francois Perrad [Wed, 11 Oct 2017 13:19:55 +0000 (15:19 +0200)]
lua-lpeg-patterns: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowiringpi: bump version to 96344ff7125182989f98d3be8d111952a8f74e15
Peter Seiderer [Wed, 11 Oct 2017 13:15:39 +0000 (15:15 +0200)]
wiringpi: bump version to 96344ff7125182989f98d3be8d111952a8f74e15

Upstream wiringpi apparently has some issues with their release
process: their 2.42 and 2.44 tags point to the exact same commit. And
at the 2.44 tag, the VERSION file was not updated to indicate that
it's version 2.44.

A follow-up commit added support for the RPi Zero-W, and fixed the
VERSION file to contain 2.44. So let's use this follow-up commit as
the new version for wiringpi.

This will hopefully clarify things, and avoid confusion such as the
one reported in bug #10391 [1].

[1] https://bugs.busybox.net/show_bug.cgi?id=10391

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: rewrite commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoevemu: fix PATH_MAX related compile failure
Peter Seiderer [Wed, 11 Oct 2017 09:14:52 +0000 (11:14 +0200)]
evemu: fix PATH_MAX related compile failure

Fixes [1] when building with musl:

  find_event_devices.c: In function 'find_event_devices':
find_event_devices.c:60:14: error: 'PATH_MAX' undeclared (first use in this function)
   char fname[PATH_MAX];
              ^~~~~~~~

[1] http://autobuild.buildroot.net/results/607/607bb29231f80a138e1b5423bc01c89e36efe78c/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibtomcrypt: bump to version 1.18.0
Francois Perrad [Wed, 11 Oct 2017 13:15:56 +0000 (15:15 +0200)]
libtomcrypt: bump to version 1.18.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomesa3d: allow the VC4 driver to be selected on AArch64
Olivier Schonken [Wed, 11 Oct 2017 15:42:11 +0000 (17:42 +0200)]
mesa3d: allow the VC4 driver to be selected on AArch64

Neon is compulsory on AArch64, and BR2_ARM_CPU_HAS_NEON is false on
AArch64. Therefore, this change is needed to enable building VC4
gallium driver for Rpi3 using AArch64.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibdrm: VC4 change dependency to arm OR aarch64
Olivier Schonken [Wed, 11 Oct 2017 15:42:10 +0000 (17:42 +0200)]
libdrm: VC4 change dependency to arm OR aarch64

Enable selection of VC4 driver when compiling for Rpi3 using aarch64

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinuxptp: bump to the latest version
Petr Kulhavy [Mon, 11 Sep 2017 10:50:19 +0000 (12:50 +0200)]
linuxptp: bump to the latest version

Update Linuxptp to the latest version from 1. September 2017
This update brings bugfixes and minor enhancements.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agohostapd: fix upstream URL
Alexander Mukhin [Thu, 14 Sep 2017 15:11:14 +0000 (18:11 +0300)]
hostapd: fix upstream URL

hostapd project URL has been changed to w1.fi/hostapd.
The old domain epitest.fi has expired.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/run-tests: export download dir
Yann E. MORIN [Sun, 17 Sep 2017 09:20:28 +0000 (11:20 +0200)]
support/run-tests: export download dir

Currently, the download directory, when specified with the -d option, is
only used to store the files downloaded by the testing infra, not those
downloaded by Buildroot.

So, we end up with this situation:

    BR2_DL_DIR  | -d DIR   | test downloads   | BR downloads
    ------------+----------+------------------+--------------
    unset       | unset    | [error]          | [error]
    unset       | set      | in $(DIR)        | in $(TOP_DIR)/dl
    set         | unset    | in $(BR2_DL_DIR) | in $(BR2_DL_DIR)
    set         | set      | in $(DIR)        | in $(BR2_DL_DIR)

This is not very consistent.

We change the behaviour so that the value of -d always takes precedence,
and is used by Buildroot as well, giving this new behaviour:

    BR2_DL_DIR  | -d DIR   | test downloads   | BR downloads
    ------------+----------+------------------+--------------
    unset       | unset    | [error]          | [error]
    unset       | set      | in $(DIR)        | in $(DIR)
    set         | unset    | in $(BR2_DL_DIR) | in $(BR2_DL_DIR)
    set         | set      | in $(DIR)        | in $(DIR)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: add glibc support for ARCv2
Evgeniy Didin [Tue, 10 Oct 2017 13:31:50 +0000 (16:31 +0300)]
toolchain: add glibc support for ARCv2

Finally there's working ARC port of glibc thanks to Vineet and Cuper!
This port is based on pretty recent glibc's master branch and ARC
changes are being reviewed now in glibc's mailing list.

Thus we again have to use sources from our GitHub but as soon as there's
a glibc release with our patches applied we'll switch to upstream releases
and will drop our glibc GitHub repo alltogether.

Note now we cut tags in glibc repo simultaneously with tags
in Binutils and GCC repos and so to make sure everything works in the best
way we plan to update glibc tag together with Binutils and GCC.

Also note as of today ARCompact (AKA ARCv1 ISA) is not supported in glibc
but we plan to fix it soonish so for now we make glibc intentionally
dependent on archs38.

Also note we are not creating directory "2.26" because all patches for glibc
ver 2.26 applies to arc glibc port.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
CC: Alexey Brodkin <abrodkin@synopsys.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Waldemar Brodkorb <wbx@openadk.org>
CC: Romain Naour <romain.naour@gmail.com>
Cc: Cupertino Miranda <cmiranda@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/imx6-sabresd: Add VPU decoding support
Fabio Estevam [Mon, 9 Oct 2017 20:43:41 +0000 (17:43 -0300)]
configs/imx6-sabresd: Add VPU decoding support

Mainline kernel is able to decode video via the coda driver.

Add support for it and also add some explanation on how VPU decoding
can be tested with Gstreamer.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/kconfig: fix usage typo and align verb tenses
Thomas De Schampheleire [Tue, 10 Oct 2017 08:32:29 +0000 (10:32 +0200)]
support/kconfig: fix usage typo and align verb tenses

Fix typo 'selectes' -> 'selects'.
Additionally, change 'will exclude' to 'excludes' to align with 'selects'.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst-omx: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:59 +0000 (14:56 -0400)]
gst-omx: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:58 +0000 (14:56 -0400)]
gst1-vaapi: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-libav: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:57 +0000 (14:56 -0400)]
gst1-libav: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-validate: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:56 +0000 (14:56 -0400)]
gst1-validate: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-rtsp-server: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:55 +0000 (14:56 -0400)]
gst1-rtsp-server: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-ugly: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:54 +0000 (14:56 -0400)]
gst1-plugins-ugly: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-bad: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:53 +0000 (14:56 -0400)]
gst1-plugins-bad: bump to 1.12.3

Also remove openjpeg-Fix-build-against-openjpeg-2.2.patch, merged
upstreamm as commit
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/patch/?id=15f24fef53a955c7c76fc966302cb0453732e657.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas: fix upstream commit reference, as noted by Peter Seiderer.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-good: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:52 +0000 (14:56 -0400)]
gst1-plugins-good: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-base: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:51 +0000 (14:56 -0400)]
gst1-plugins-base: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1: bump to 1.12.3
Adam Duskett [Mon, 9 Oct 2017 18:56:50 +0000 (14:56 -0400)]
gstreamer1: bump to 1.12.3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxlib_libXfont{, 2}: add upstream security fixes
Peter Korsgaard [Tue, 10 Oct 2017 19:58:30 +0000 (21:58 +0200)]
xlib_libXfont{, 2}: add upstream security fixes

Fixes the following security issues:

CVE-2017-13720 - Check for end of string in PatternMatch

CVE-2017-13722 - pcfGetProperties: Check string boundaries

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolvm2: optionally depend on libselinux
Baruch Siach [Tue, 10 Oct 2017 19:30:15 +0000 (22:30 +0300)]
lvm2: optionally depend on libselinux

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolvm2: disable selinux for host
Baruch Siach [Tue, 10 Oct 2017 19:30:14 +0000 (22:30 +0300)]
lvm2: disable selinux for host

There is no need for selinux support in the host lvm2 package.

Should fix:
http://autobuild.buildroot.net/results/6cd/6cde658da1fa815c157acf36b39c10a8d885e9a9/
http://autobuild.buildroot.net/results/430/43071433814a3176256687720c1d665f41748484/
http://autobuild.buildroot.net/results/ced/cedd7ff4b287d7b71612134444964dc847cc6062/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoipset: bump to version 6.34
Baruch Siach [Tue, 10 Oct 2017 15:49:24 +0000 (18:49 +0300)]
ipset: bump to version 6.34

Add license hash.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoaudit: bump to version 2.7.8
Baruch Siach [Tue, 10 Oct 2017 11:54:14 +0000 (14:54 +0300)]
audit: bump to version 2.7.8

Commit d1011f89a18 (audit: update legal info) set the libraries license
to "unclear" because of GPL license text in a few libraries source
files. Upstream audit package commit 239765162fa494 (Correct the
licensing description in lib/ and auparse/ to be LGPL as was always
intended) clarified the license in these files.

Add license files hashes.

Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodbus: bump to version 1.10.24
Baruch Siach [Tue, 10 Oct 2017 12:04:12 +0000 (15:04 +0300)]
dbus: bump to version 1.10.24

Drop upstream patch.

Add license hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocryptsetup: fix host package option text
Peter Korsgaard [Tue, 10 Oct 2017 15:54:59 +0000 (17:54 +0200)]
cryptsetup: fix host package option text

Host packages are called 'host foo', not 'host-foo'.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/nginx/S50nginx: Do not assume start-stop-daemon knows -R.
Thomas Claveirole [Mon, 9 Oct 2017 09:50:49 +0000 (11:50 +0200)]
package/nginx/S50nginx: Do not assume start-stop-daemon knows -R.

start-stop-daemon fails on -R when not compiled with
CONFIG_FEATURE_START_STOP_DAEMON_FANCY.  Thus, do not rely on -R
during stop to avoid a race condition during restart.

Use a sleep 1 during restart instead, as suggested by Peter Korsgaard
in <87bmluk4bm.fsf@dell.be.48ers.dk>.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopdbg: needs host dtc
Baruch Siach [Mon, 9 Oct 2017 06:13:52 +0000 (09:13 +0300)]
pdbg: needs host dtc

Fixes:
http://autobuild.buildroot.net/results/722/722e043ef7503abe5fd6517c82b0f12627f4b0f4/
http://autobuild.buildroot.net/results/891/8918121581f9834fef55169599766a9134600e89/
http://autobuild.buildroot.net/results/475/475106ec793e16bf8c250d3a69e853537e3e0def/

Cc: Joel Stanley <joel@jms.id.au>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-msgpack: bump to version 0.4.8, drop dependency on msgpack
bradford barr [Mon, 18 Sep 2017 16:18:34 +0000 (12:18 -0400)]
python-msgpack: bump to version 0.4.8, drop dependency on msgpack

This package doesn't actually rely on the msgpack runtime libraries, it's a
pure python implementation.

Signed-off-by: bradford barr <bradford@density.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomsgpack: bump version to 2.1.5
bradford barr [Mon, 18 Sep 2017 15:58:24 +0000 (11:58 -0400)]
msgpack: bump version to 2.1.5

Modern versions of msgpack are hosted on Github. Msgpack switched
their build systems from autotools to cmake a while back. The licence
was also updated from Apache to Boost.

Signed-off-by: bradford barr <bradford@density.io>
[Thomas: drop custom install commands, add LICENSE_1_0.txt to license
files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: Use mod_g729 only when freeswitch-mod-bcg729 is disabled
Bernd Kuhls [Fri, 6 Oct 2017 20:28:29 +0000 (22:28 +0200)]
package/freeswitch: Use mod_g729 only when freeswitch-mod-bcg729 is disabled

mod_g729 contained in freeswitch source provides pass-through:
https://freeswitch.org/confluence/display/FREESWITCH/mod_g729

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch-mod-bcg729: new package
Bernd Kuhls [Fri, 6 Oct 2017 20:28:28 +0000 (22:28 +0200)]
package/freeswitch-mod-bcg729: new package

This package is based on the bcg729 library from Belledonne Communica-
tions which is wrapped into a freeswitch module to provide a native
G729.A codec.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/bcg729: new package
Bernd Kuhls [Fri, 6 Oct 2017 20:28:27 +0000 (22:28 +0200)]
package/bcg729: new package

Quoting http://www.linphone.org/technical-corner/bcg729/downloads
regarding patent information:

"ITU G729 Annex A/B were offically released October/November 1996
(https://www.itu.int/rec/T-REC-G.729), hence all patents covering these
specifications shall have expired in November 2016.

Patent pool administrator confirmed most licensed patents under the
G.729 Consortium have expired (http://www.sipro.com/G729.html)."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "parted: properly link with libiconv"
Thomas Petazzoni [Sun, 8 Oct 2017 21:08:26 +0000 (23:08 +0200)]
Revert "parted: properly link with libiconv"

This reverts commit 2a56de2dec3afdca15a58ec13cb5fc244682cab6, which
causes a large number of build failures, because parted now
unconditionally tries to link against -liconv.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: Bump ARC tools to arc-2017.09-rc1
Evgeniy Didin [Thu, 21 Sep 2017 18:28:28 +0000 (21:28 +0300)]
toolchain: Bump ARC tools to arc-2017.09-rc1

This commit bumps ARC toolchain to arc-2017.09-rc1.

The arc-2017.09 series is built on top of upstream GCC 7.1.1 and
Binutils 2.29 so please expect all kinds of breakages related to GCC
7.x as we saw earlier with the move from 4.8 to 6.x :)

Note patches for both GCC and Binutils were updated with
copies from corresponding mainline versions, i.e.
"package/gcc/7.2.0" and "package/binutils/2.29".

Please note that it is a release candidate and it might contain some
breakages, please don't use it for production builds.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: drop binutils patch related to the Blackfin architecture.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomusl: add patch to fix build on ARMv4 with new binutils
Timothy Lee [Tue, 26 Sep 2017 06:04:33 +0000 (16:04 +1000)]
musl: add patch to fix build on ARMv4 with new binutils

New binutils (since 2.27.51) cannot build musl-1.1.16 due to breakage in ARMv4
atomics asm.  This patch from upstream musl repository is needed until
musl-1.1.17 is released:
https://git.musl-libc.org/cgit/musl/commit/?id=b261a24256792177a5f0531dbb25cc6267220ca5

Signed-off-by: Timothy Lee <timothy.ty.lee@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/imx6-sabreauto: Add a new defconfig
Fabio Estevam [Tue, 26 Sep 2017 16:56:48 +0000 (13:56 -0300)]
configs/imx6-sabreauto: Add a new defconfig

Introduce imx6-sabreauto_defconfig that uses mainline U-Boot and
mainline kernel.

As mainline U-Boot supports SPL, it is possible to boot the same
sdcard.img in the three mx6sabreauto variants: imx6q, imx6dl and imx6qp.

Also update the readme.txt file to explain how to build an image for
mx6sabreauto boards using mainline U-Boot and kernel.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Thomas: regenerate gitlab-ci.yml file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoswig: enable support for Node.js >= 7.x
Yegor Yefremov [Fri, 29 Sep 2017 11:59:16 +0000 (13:59 +0200)]
swig: enable support for Node.js >= 7.x

Recent Node.js versions have removed some depreciated API calls,
that swig still relies on. Patches taken from this PR [1] fix
this issue.

[1] https://github.com/swig/swig/pull/968

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosdl2: add KMS/DRM video driver support
Olivier Schonken [Sun, 1 Oct 2017 18:46:01 +0000 (20:46 +0200)]
sdl2: add KMS/DRM video driver support

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx6-sabresd: Improve the explanation of the fragment file
Fabio Estevam [Sat, 7 Oct 2017 22:04:05 +0000 (19:04 -0300)]
imx6-sabresd: Improve the explanation of the fragment file

Improve the explanation of the need for using the performance governor.

This problem is specific to mx6sabresd board and the Egalax touchscreen
running a mainline kernel, so make this clear.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoparted: properly link with libiconv
Arnout Vandecappelle (Essensium/Mind) [Sat, 7 Oct 2017 23:06:11 +0000 (01:06 +0200)]
parted: properly link with libiconv

parted uses libiconv but doesn't link with it. All the checks are there
in configure, but the Makefile.am doesn't add it to the link. Add a
patch to fix this.

Also add an optional dependency on libiconv, so it is reproducible.

While we're at it, regenerate the existing patches on top of v3.2, and
make patch 0003 a properly git formatted one.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: srg.venema@gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojose: new package
Peter Korsgaard [Tue, 3 Oct 2017 15:29:57 +0000 (17:29 +0200)]
jose: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoeigen: bump to version 3.3.4
bradford barr [Mon, 2 Oct 2017 16:08:01 +0000 (12:08 -0400)]
eigen: bump to version 3.3.4

Bumped the version to 3.3.4, and added the hashes of the licence files to
eigen.hash.

Signed-off-by: bradford barr <bradford@density.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoltp-testsuite: Bump to version 20170929
Petr Vorel [Mon, 2 Oct 2017 09:36:43 +0000 (11:36 +0200)]
ltp-testsuite: Bump to version 20170929

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopdbg: bump version to latest
Joel Stanley [Tue, 3 Oct 2017 12:14:25 +0000 (22:44 +1030)]
pdbg: bump version to latest

I got this error when attempting to build:

 aclocal: error: couldn't open directory 'm4': No such file or directory

So we now have the post patch hook to ensure the m4 directory is
present.

In addition, the package now sets a variable with the Git SHA1 so that
the binary contains the expected output for --version.

Specific configurations of uClibc cause a build failure in pdbg. This commit
adds a patch to remove the definition of the offending macro (it is unused in
the source).

 In file included from usr/include/stdio.h:71:0,
                  from libpdbg/fake.c:17:
 include/bits/uClibc_stdio.h:149:16: error: expected identifier or ‘(’ before ‘;’ token
   void *__unused;    /* Placeholder for codeset binding. */

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libiio: add support for Python 3.x bindings
Béla Becker [Thu, 5 Oct 2017 11:33:25 +0000 (13:33 +0200)]
package/libiio: add support for Python 3.x bindings

Python3 support was added to libiio in version 0.10.
This commit adds the option to compile libiio bindings if python3 was
selected instead of python.

Signed-off-by: Béla Becker <bela.becker@pcbdesign.hu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoodroidc2_defconfig: bump kernel and u-boot versions
Peter Korsgaard [Thu, 5 Oct 2017 19:26:37 +0000 (21:26 +0200)]
odroidc2_defconfig: bump kernel and u-boot versions

To the latest commits on the odroidc2-3.14.y / odroidc2-v2015.01 branches.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Dagg <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/intel-microcode: bump to version 20170707
Bernd Kuhls [Sat, 7 Oct 2017 11:02:09 +0000 (13:02 +0200)]
package/intel-microcode: bump to version 20170707

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/iucode-tool: security bump to version 2.2
Bernd Kuhls [Sat, 7 Oct 2017 11:02:08 +0000 (13:02 +0200)]
package/iucode-tool: security bump to version 2.2

Version 2.1.1 fixed CVE-2017-0357:
https://gitlab.com/iucode-tool/iucode-tool/commit/657ce44ac462bcec35a3e12f9e7f53ca92ae62b7

Dropped IUCODE_TOOL_CONF_ENV after version 2.2 added a configure check
for libargp:
https://gitlab.com/iucode-tool/iucode-tool/commit/b14bed6771e7ab48371b272a0c68dd017767142a

Added hash for license file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: rename patch directory after the last version...
Romain Naour [Sat, 7 Oct 2017 13:01:56 +0000 (15:01 +0200)]
package/x11r7/xserver_xorg-server: rename patch directory after the last version bump

The last bump [1] forgot to rename the patch directory and remove
upstream patches.

We still need to fix the monotonic clock check which doesn't work
when cross-compiling.

[1] 436659c55f8d3c6155546cfc666a13c793d992f9

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/enlightenment: bump to 0.21.10
Romain Naour [Sat, 7 Oct 2017 13:52:13 +0000 (15:52 +0200)]
package/enlightenment: bump to 0.21.10

https://www.enlightenment.org/news/e0.21.10_release

Add COPYING file hash

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-ci.yml: update with atmel_sama5d27_som1_ek_mmc_dev_defconfig
Arnout Vandecappelle (Essensium/Mind) [Fri, 6 Oct 2017 21:41:32 +0000 (23:41 +0200)]
.gitlab-ci.yml: update with atmel_sama5d27_som1_ek_mmc_dev_defconfig

Commit 95cb1465f09dd7d88cc84d60c735b04e8f4ef244 added the
atmel_sama5d27_som1_ek_mmc_dev_defconfig but forgot to update
.gitlab-ci.yml. Update it now.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboarde: icorem6: clarify the common vs. board-specific things in readme.txt
Arnout Vandecappelle (Essensium/Mind) [Fri, 6 Oct 2017 20:14:07 +0000 (22:14 +0200)]
boarde: icorem6: clarify the common vs. board-specific things in readme.txt

The parts of the readme.txt that specify the board-specific aspects
(DTB files, KMS config json file) were a bit confusing. For the DTB
files this is solved by putting the board it applies to after the DTB
file name. For the json files, this is solved by adding an extra line,
so the CinematicExperience-demo is clearly separated from the setting
of QT_QPA_EGLFS_KMS_CONFIG.

Also remove the 'for all boards' line in the beginning, it doesn't add
any value.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard: icorem6: Add Qt5 configs for 1280x480 LVDS display
Jagan Teki [Wed, 13 Sep 2017 11:42:11 +0000 (17:12 +0530)]
board: icorem6: Add Qt5 configs for 1280x480 LVDS display

i.CoreM6 OF C.TOUCH 12 Kit has 1280x480 LVDS display, this patch adds
relevant qt5 configs with supports opensource Etnaviv graphical stack.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoengicam: icorem6: Add OF C.TOUCH 12 Kit
Jagan Teki [Wed, 13 Sep 2017 11:42:10 +0000 (17:12 +0530)]
engicam: icorem6: Add OF C.TOUCH 12 Kit

This patch add support for Open Frame C.TOUCH 12 Kit.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard: icorem6: Add Qt5 configs for 1280x800 LVDS display
Jagan Teki [Wed, 13 Sep 2017 11:42:09 +0000 (17:12 +0530)]
board: icorem6: Add Qt5 configs for 1280x800 LVDS display

i.CoreM6 OF C.TOUCH 10.1 Kit has 1280x800 LVDS display, this patch adds
relevant qt5 configs with supports opensource Etnaviv graphical stack.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoengicam: icorem6: Add OF C.TOUCH 10.1 Kit
Jagan Teki [Wed, 13 Sep 2017 11:42:08 +0000 (17:12 +0530)]
engicam: icorem6: Add OF C.TOUCH 10.1 Kit

This patch add support for Open Frame C.TOUCH 10.1 Kit.

Since the defconfig is no longer only for the starter kit, remove that
from BR2_TARGET_GENERIC_ISSUE.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard: icorem6: Add Qt5 configs for 800x480 LVDS display
Jagan Teki [Wed, 13 Sep 2017 11:42:07 +0000 (17:12 +0530)]
board: icorem6: Add Qt5 configs for 800x480 LVDS display

i.CoreM6 Starter Kit has 800x480 LVDS display, this patch adds
relevant qt5 configs with supports opensource Etnaviv graphical stack.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Arnout: mention the qt5 defconfig in readme.txt, otherwise the demo
 applications don't exist]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/freeswitch: install to staging
Bernd Kuhls [Wed, 4 Oct 2017 21:02:22 +0000 (23:02 +0200)]
package/freeswitch: install to staging

Needed for upcoming package freeswitch-mod-bcg729.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: made comment more explicit]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolbase64: compile with -fPIC
Francois Perrad [Fri, 29 Sep 2017 16:59:06 +0000 (18:59 +0200)]
lbase64: compile with -fPIC

Some architectures (e.g. x86_64, MIPS, microblaze, or1k) require to
build with -fPIC to build a shared library, but the lbase64 build
system doesn't add it. Therefore, we add it in CFLAGS.

Fixes:
http://autobuild.buildroot.net/results/b56/b567096cbfdb89b1895924051265c56204ffb512/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: write commit log]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolibressl: fix musl build with older kernel headers
Baruch Siach [Fri, 29 Sep 2017 09:13:24 +0000 (12:13 +0300)]
libressl: fix musl build with older kernel headers

musl provides its own SYS_getrandom definition, but not GRND_NONBLOCK.
This breaks the build with kernel headers older than v3.17. Add a patch
adding a local definition of GRND_NONBLOCK to fix the build.

The following defconfig reproduces the build failure:

BR2_x86_pentium_mmx=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_KERNEL_HEADERS_3_12=y
BR2_PACKAGE_LIBRESSL=y

The getentropy_linux.c file is in upstream tarball, but not in its git
repository. It originates from OpenBSD. For this reason the patch is
against the tarball, but not git formatted.

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Arnout: change filename to correspond to how git creates it]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agotrinity: undefined UIO_MAXIOV need sys/io.h
Matt Weber [Mon, 2 Oct 2017 21:13:05 +0000 (16:13 -0500)]
trinity: undefined UIO_MAXIOV need sys/io.h

This upstream patch fixes the build error produced by building for
powerpc 32bit after the glibc bump to 2.26 with the following internal
toolchain config.

gcc5.4.0
glibc2.26
bin2.28.1
linux4.1.43

Failure log:
  CC net/proto-ipv4.o
net/proto-ipv4.c: In function ‘ip_setsockopt’:
net/proto-ipv4.c:231:49: error: ‘UIO_MAXIOV’ undeclared (first use in this function); did you mean ‘_IO_MAGIC’?
   so->optlen = rnd() % sizeof(unsigned long)*(2*UIO_MAXIOV+512);
                                                 ^~~~~~~~~~
                                                 _IO_MAGIC

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Arnout: add Matthew's Sob to the patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/testing: fix remaining code style
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:12 +0000 (18:42 -0300)]
support/testing: fix remaining code style

Fix the remaining code style warnings from flake8:
 - properly indent continuation lines;
 - use proper code to test a parameter is not None.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years ago.flake8: add config file for Python code style
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:11 +0000 (18:42 -0300)]
.flake8: add config file for Python code style

We recommend wrapping at 80 columns but we accept 132 columns when it
makes more readable.

Follow up of discussion at this thread:
http://lists.busybox.net/pipermail/buildroot/2017-October/203624.html

Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agotesting/tests/init: use lowercase method names
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:10 +0000 (18:42 -0300)]
testing/tests/init: use lowercase method names

Use method naming convention from PEP8 as other test cases already do.

sed \
  -e 's,startEmulator,start_emulator,g' \
  -e 's,checkInit,check_init,g' \
  -e 's,checkNetwork,check_network,g' \
  -i support/testing/tests/init/*.py

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/testing: fix code style
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:09 +0000 (18:42 -0300)]
support/testing: fix code style

Fix the trivial warnings from flake8:
 - remove modules imported but unused;
 - use 2 lines before class or module level method;
 - remove blank line at end of file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/testing: standardize defconfig fragments style
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:08 +0000 (18:42 -0300)]
support/testing: standardize defconfig fragments style

Change all defconfig fragments to take advantage of
"cf3cd4388a support/tests: allow properly indented config fragment".

Make each defconfig fragment:
 - start after a backslash;
 - be declared as a multi-line string literal;
 - be indented one level more than the variable that contains it.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/testing: allow to indent ccache defconfig fragment
Ricardo Martincoski [Thu, 5 Oct 2017 21:42:07 +0000 (18:42 -0300)]
support/testing: allow to indent ccache defconfig fragment

Move the strip out of leading spaces in defconfig fragments from the
BRTest class to the Builder class. It actually postpones the strip out,
consequentially allowing test cases to post-process the defconfig in
their own __init__ before calling the __init__ method from BRTest.

Moving this code to the Builder class also allows any new test class
that inherits from BRTest to reuse the same code even if the new class
overrides the setUp method.

At same time, prepend a newline to the jlevel handling otherwise it
would stop working for defconfig fragments that don't end in a newline.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agou-boot: add option to specify config fragments
Peter Korsgaard [Fri, 6 Oct 2017 13:46:33 +0000 (15:46 +0200)]
u-boot: add option to specify config fragments

U-Boot nowadays also uses kconfig, so we can handle config fragments like we
do for barebox/busybox/linux.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agomosh: bump to version 1.3.2
Peter Korsgaard [Fri, 6 Oct 2017 11:43:53 +0000 (13:43 +0200)]
mosh: bump to version 1.3.2

And add hashes for the license files while we're at it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/apache: bump to version 2.4.28
Bernd Kuhls [Fri, 6 Oct 2017 05:24:30 +0000 (07:24 +0200)]
package/apache: bump to version 2.4.28

Fix for CVE-2017-9798 is included in this release, so this patch is
removed.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Update commit log: not a security bump]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agowireguard: bump to version 0.0.20171005
Peter Korsgaard [Fri, 6 Oct 2017 11:15:25 +0000 (13:15 +0200)]
wireguard: bump to version 0.0.20171005

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/atmel: addition of the sama5d27 som1 ek board
Nicolas Ferre [Fri, 6 Oct 2017 10:09:13 +0000 (12:09 +0200)]
configs/atmel: addition of the sama5d27 som1 ek board

Add the new SAMA5D27 SOM1 Evaluation Kit with linux4sam_5.7 components.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/atmel: bump to linux4sam_5.7
Nicolas Ferre [Fri, 6 Oct 2017 10:08:25 +0000 (12:08 +0200)]
configs/atmel: bump to linux4sam_5.7

Bump at91sam9x5ek, atmel_sama5d2_xplained, atmel_sama5d3_xplained and
atmel_sama5d4_xplained all variants to linux4sam_5.7. The 3 foundation
components have their tags changed (AT91Bootstrap, U-Boot, Linux kernel).

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>