buildroot.git
7 years agogranite: fix md5 hash
Vicente Olivert Riera [Mon, 10 Apr 2017 15:02:46 +0000 (16:02 +0100)]
granite: fix md5 hash

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE
Arnout Vandecappelle [Mon, 10 Apr 2017 16:05:11 +0000 (18:05 +0200)]
linux: select BR2_PACKAGE_HOST_UBOOT_TOOLS instead of BR2_LINUX_KERNEL_UBOOT_IMAGE

A long time ago, the blind config option BR2_LINUX_KERNEL_UBOOT_IMAGE
was introduced to be able to trigger the linux -> host-uboot-tools
dependency. Back in those days, there was no user-configurable
BR2_PACKAGE_HOST_UBOOT_TOOLS.

Now, however, it is possible to select a custom kernel image name that
needs uboot-tools, and manually enable BR2_PACKAGE_HOST_UBOOT_TOOLS. In
this case, however, the linux -> host-uboot-tools is missed and the
build is not reproducible. An example of such a situation is the
upcoming CI40 defconfig.

As a solution, remove BR2_LINUX_KERNEL_UBOOT_IMAGE entirely. Instead,
just select BR2_PACKAGE_HOST_UBOOT_TOOLS and add the dependency if it
is selected.

Note that this may introduce a redundant dependency in case the user
selected BR2_PACKAGE_HOST_UBOOT_TOOLS for some other reason (e.g. to
be able to generate a U-Boot environment to include in the image, while
the kernel is built as a zImage). However, the redundant dependency
shouldn't hurt much.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Abhimanyu Vishwakarma <abhimanyu.v@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-intel: bump version
Bernd Kuhls [Mon, 10 Apr 2017 18:18:18 +0000 (20:18 +0200)]
package/x11r7/xdriver_xf86-video-intel: bump version

Removed option --disable-glamor, it was removed in 2014:
https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/configure.ac?id=0aa2edbd29c8dd26a5f3748e3875c445ea358a6d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-nouveau: bump version to 1.0.14
Bernd Kuhls [Mon, 10 Apr 2017 18:18:17 +0000 (20:18 +0200)]
package/x11r7/xdriver_xf86-video-nouveau: bump version to 1.0.14

Add 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 agopackage/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.3.0
Bernd Kuhls [Mon, 10 Apr 2017 18:18:16 +0000 (20:18 +0200)]
package/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.3.0

Add 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 agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.25.0
Bernd Kuhls [Mon, 10 Apr 2017 18:18:15 +0000 (20:18 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.25.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/hiredis: fix installation logic of library
Romain Naour [Tue, 11 Apr 2017 22:26:30 +0000 (00:26 +0200)]
package/hiredis: fix installation logic of library

While testing minetest with libhiredis library, the game crached due to
missing libhiredis.so.0.13 library.

The hiredis.mk doesn't use "make install" because "make install" depends
on building both the shared and static libraries, which fails in
static-only scenarios.

However, the installation logic in hiredis.mk is bogus: it installs the
library as libhiredis.so, while its SONAME is libhiredis.so.0.13. We fix
this by using the same logic as the one done by the package "make
install" process: install the library as libhiredis.so.0.13, and create
libhiredis.so as a symbolic link to it.

While at it:

 - Install the library 0755, this is more common.

 - Do not create $(TARGET_DIR)/usr/lib, since $(INSTALL) -D will create
   the necessary directories for the destination path.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: rework to use the same installation logic as the one from
hiredis "make install".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/snps_archs38_axs103: add u-boot patches to support slave core kick-start
Zakharov Vlad [Tue, 11 Apr 2017 14:42:54 +0000 (17:42 +0300)]
configs/snps_archs38_axs103: add u-boot patches to support slave core kick-start

With this patch we add a couple of of-the-tree patches for u-boot.

We have an update in hardware that changed the kick-start slave cores
procedure. So these patches introduce fixes to work with new axs103
version correctly.

They have been already accepted in upstream u-boot so we need to get rid
of them as soon as these updates will get available in buildroot.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/spns_axs*_defconfig: update linux and u-bootversion
Zakharov Vlad [Tue, 11 Apr 2017 14:42:53 +0000 (17:42 +0300)]
configs/spns_axs*_defconfig: update linux and u-bootversion

With this commit we update axs10x defconfigs with the following changes:

 - rename "snps_axs101_defconfig" and "snps_axs103_defconfig" to
   "snps_arc700_axs101_defconfig" and "snps_archs38_axs103_defconfig",
   to reflect the ARC core being used
 - bump linux kernel version to 4.10.8
 - set up host linux headers to 4.10
 - bump u-boot version to 2017.01

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/snps_archs38_zebu_defconfig: update linux version
Zakharov Vlad [Tue, 11 Apr 2017 16:32:13 +0000 (19:32 +0300)]
configs/snps_archs38_zebu_defconfig: update linux version

With this commit we update snps_archs38_zebu_defconfig the following:

  - bump linux kernel version to 4.10.9
  - set up host linux headers to 4.10

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibcurl: apply upstream security patch
Baruch Siach [Tue, 11 Apr 2017 17:56:12 +0000 (20:56 +0300)]
libcurl: apply upstream security patch

CVE-2017-7407: --write-out out of buffer read

https://curl.haxx.se/docs/adv_20170403.html

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystemd: select fsck wrapper from util-linux
Carlos Santos [Wed, 12 Apr 2017 11:42:49 +0000 (08:42 -0300)]
systemd: select fsck wrapper from util-linux

Select the fsck required by systemd provided by util-linux. This
prevents ending up with fsck from busybox, which is incompatible
with systemd.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Update to version 4.8.1
Alistair Francis [Wed, 12 Apr 2017 14:54:13 +0000 (07:54 -0700)]
package/xen: Update to version 4.8.1

Update Xen to version 4.8.1 and update the patches to allow Xen
hypervisor and Xen tools to build.

The patches applied were re-aranged a little bit. Patches 2, 3 and 4
have been accepted by upstream Xen and won't be required in future
releases.

Patch 1 (previously patch 2) is still required and was moved to patch 1
to better reflect it's status.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst-plugins-base: fix handling of freetype
Ricardo Martincoski [Tue, 11 Apr 2017 22:59:13 +0000 (19:59 -0300)]
gst-plugins-base: fix handling of freetype

In 2010 commit 32d319e6f "gst-plugins-base: ensure <stdint.h> is used"
introduced a typo (missing backslash) that made the code ineffective.

It can be confirmed by looking at the output of:
$ make printvars | grep '^GST_PLUGINS_BASE_CONF_ENV\|^FT2_CONFIG'
FT2_CONFIG=/bin/false ac_cv_header_stdint_t="stdint.h"
GST_PLUGINS_BASE_CONF_ENV=

Add the missing backslash to fix the code.
While at it, fix the indentation to use one tab instead of two.

The (end of the) diff of config.log confirms the code is still needed
when the host has freetype-config installed:
@@ -1674,10 +1674,8 @@
 configure:21882: checking for emmintrin.h
 configure:21882: result: no
 configure:21894: checking for stdint types
-configure:21917: /tmp/gst/output/host/usr/bin/i686-pc-linux-gnu-gcc -std=gnu99 -c   conftest.c >&5
-configure:21917: $? = 0
 configure:21961: result: stdint.h (shortcircuit)
-configure:22348: result: make use of stdint.h in _stdint.h (assuming C99 compatible system)
+configure:22348: result: make use of stdint.h in _stdint.h
 configure:22359: checking for localtime_r
 configure:22359: /tmp/gst/output/host/usr/bin/i686-pc-linux-gnu-gcc -std=gnu99 -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c  >&5
 configure:22359: $? = 0
@@ -2468,8 +2466,7 @@
 Package 'freetype2', required by 'world', not found
 configure:31257: result: no
 configure:31298: checking for freetype-config
-configure:31316: found /usr/bin/freetype-config
-configure:31329: result: /usr/bin/freetype-config
+configure:31329: result: /bin/false
 configure:31339: checking for FreeType - version >= 2.0.9
 configure:31427: result: yes
 configure:32250: creating ./config.status
@@ -2789,7 +2786,7 @@
 ac_cv_objext='o'
 ac_cv_path_EGREP='/bin/grep -E'
 ac_cv_path_FGREP='/bin/grep -F'
-ac_cv_path_FT2_CONFIG='/usr/bin/freetype-config'
+ac_cv_path_FT2_CONFIG='/bin/false'
 ac_cv_path_GMSGFMT='/tmp/gst/output/host/usr/bin/msgfmt'
 ac_cv_path_GREP='/bin/grep'
 ac_cv_path_MSGFMT='/tmp/gst/output/host/usr/bin/msgfmt'
@@ -2818,7 +2815,6 @@
 ac_cv_prog_cxx_g='yes'
 ac_cv_prog_make_make_set='yes'
 ac_cv_stdint_message='using gnu compiler i686-pc-linux-gnu-gcc (Sourcery CodeBench Lite 2012.09-62) 4.7.2'
-ac_cv_stdint_result='(assuming C99 compatible system)'
 ac_cv_sys_file_offset_bits='no'
 ac_cv_sys_largefile_CC='no'
 ac_cv_sys_largefile_source='no'
@@ -2965,9 +2961,9 @@
 EXEEXT=''
 FFLAGS=' -Os '
 FGREP='/bin/grep -F'
-FT2_CFLAGS='-I/usr/include/freetype2'
-FT2_CONFIG='/usr/bin/freetype-config'
-FT2_LIBS='-lfreetype'
+FT2_CFLAGS=''
+FT2_CONFIG='/bin/false'
+FT2_LIBS=''
 GCOV=''
 GCOV_CFLAGS=''
 GCOV_LIBS=''

Detected by check-package.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonano: bump version to 2.8.1
Vicente Olivert Riera [Wed, 12 Apr 2017 10:45:02 +0000 (11:45 +0100)]
nano: bump version to 2.8.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodovecot-pigeonhole: bump version to 0.4.18
Vicente Olivert Riera [Wed, 12 Apr 2017 10:32:35 +0000 (11:32 +0100)]
dovecot-pigeonhole: bump version to 0.4.18

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agominnowboard_max-graphical defconfig: remove deprecated AIGLX option
Arnout Vandecappelle [Wed, 12 Apr 2017 12:56:26 +0000 (14:56 +0200)]
minnowboard_max-graphical defconfig: remove deprecated AIGLX option

In the default xserver_xorg-server version 1.19.x, the AIGLX option
is no longer available (cfr. commit ec502ea8e4). In fact, AIGLX is
always enabled. So remove this option.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agominnowboard_max-graphical: increase ext4 filesystem size
Arnout Vandecappelle [Wed, 12 Apr 2017 12:56:25 +0000 (14:56 +0200)]
minnowboard_max-graphical: increase ext4 filesystem size

Now we have changed the default ext2/3/4 filesystem size from automatic
to 60MB, the minnowboard_max graphical demo config doesn't fit anymore.
So increase it to double.

The exact number doesn't matter much, it has to be somewhat smaller
than 128MiB, so let's take a round number of 120000K.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoirssi: fix attributes ordering in Config.in
Rodrigo Rebello [Wed, 12 Apr 2017 14:23:55 +0000 (11:23 -0300)]
irssi: fix attributes ordering in Config.in

According to the Buildroot convention, 'depends on' attributes shall
come before 'select' ones in Kconfig files.

Detected by check-package.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.10.10
Vicente Olivert Riera [Wed, 12 Apr 2017 14:20:22 +0000 (15:20 +0100)]
linux: bump default version to 4.10.10

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Vicente Olivert Riera [Wed, 12 Apr 2017 14:20:21 +0000 (15:20 +0100)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodovecot: bump version to 2.2.29.1 (security)
Vicente Olivert Riera [Wed, 12 Apr 2017 15:56:47 +0000 (16:56 +0100)]
dovecot: bump version to 2.2.29.1 (security)

Security fix:

  passdb/userdb dict: Don't double-expand %variables in keys. If dict
  was used as the authentication passdb, using specially crafted
  %variables in the username could be used to cause DoS (CVE-2017-2669)

Full ChangeLog 2.2.29 (including CVE fix):
  https://www.dovecot.org/list/dovecot-news/2017-April/000341.html

Full ChangeLog 2.2.29.1 (some fixes forgotten in the 2.2.29 release):

  https://www.dovecot.org/list/dovecot-news/2017-April/000344.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tvheadend: reduce target binary size by using pngquant
Bernd Kuhls [Sat, 8 Apr 2017 15:18:04 +0000 (17:18 +0200)]
package/tvheadend: reduce target binary size by using pngquant

Support was added by this commit:
https://github.com/tvheadend/tvheadend/commit/8bf3932539ceadb3bfc1c9453f11175f15aefad2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pngquant: new package
Bernd Kuhls [Sat, 8 Apr 2017 15:18:03 +0000 (17:18 +0200)]
package/pngquant: new package

The host package will be needed by tvheadend.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - group the host commands together and the target commands together
 - use --prefix=$(HOST_DIR)/usr for host configuration, and do not
   override PREFIX= at host install time
 - use DESTDIR=$(TARGET_DIR) instead of overriding PREFIX= at target
   install time.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/can-utils: add license information
Wolfgang Grandegger [Fri, 3 Mar 2017 11:26:01 +0000 (12:26 +0100)]
package/can-utils: add license information

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
[Thomas: use SPDX license codes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mplayer: disable inline asm on i386
Bernd Kuhls [Sun, 9 Apr 2017 13:00:03 +0000 (15:00 +0200)]
package/mplayer: disable inline asm on i386

A similar fix was committed to ffmpeg in the past:
https://git.buildroot.net/buildroot/commit/package/ffmpeg?id=bfb8df2ad9b164b421d25294c6882c8b61dc59a5
which will be reverted with another patch.

Mplayer contains ffmpeg 3.0, with current ffmpeg 3.2.4 the bug is gone,
the difference between both revisions is too big in order to find a
real fix for the problem.

Special cflags, added by
https://git.buildroot.net/buildroot/commit/package/multimedia/mplayer?id=fd38100e1189d19cad87a64c52df2c773eb47e40
are no longer needed now so remove them as well.

Testing these defconfigs did not produce compile errors with current
ffmpeg but with mplayer:

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_4_8_X=y

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_6_X=y

BR2_i386=y
BR2_x86_i486=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_i686=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_pentium_mmx=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_corei7=y
BR2_GCC_VERSION_5_X=y

Fixes
http://autobuild.buildroot.net/results/030/03066dd8937ef4c75d62f237fd195df92b247ee2//
and many others.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "package/ffmpeg: Fix i586 compilation with gcc5"
Bernd Kuhls [Sun, 9 Apr 2017 13:00:02 +0000 (15:00 +0200)]
Revert "package/ffmpeg: Fix i586 compilation with gcc5"

This reverts commit bfb8df2ad9b164b421d25294c6882c8b61dc59a5.

With current toolchains it was not possible to trigger the bug anymore.

Tested with these settings:

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_4_8_X=y

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_i586=y
BR2_GCC_VERSION_6_X=y

Other x86 variants also work:

BR2_i386=y
BR2_x86_i486=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_i686=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_pentium_mmx=y
BR2_GCC_VERSION_5_X=y

BR2_i386=y
BR2_x86_corei7=y
BR2_GCC_VERSION_5_X=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolicycoreutils: fix check-package warnings
Thomas Petazzoni [Sun, 9 Apr 2017 13:33:11 +0000 (15:33 +0200)]
policycoreutils: fix check-package warnings

 - 'depends on' before 'select'
 - rewrap Config.in help text

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolicycoreutils: add option to build audit2allow
Adam Duskett [Thu, 2 Feb 2017 22:45:05 +0000 (17:45 -0500)]
policycoreutils: add option to build audit2allow

This python utility scans the logs for messages logged when the system
denied permission for operations, and  generates  a snippet of policy
rules which, if loaded into policy, might have allowed  those operations
to succeed.  However, this utility only generates Type Enforcement (TE)
allow rules.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: adjust Config.in to propagate the dependencies of sepolgen,
checkpolicy and python3.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibselinux: allow compiling python wrapper module for target
Adam Duskett [Thu, 2 Feb 2017 22:45:04 +0000 (17:45 -0500)]
libselinux: allow compiling python wrapper module for target

libselinux currently does not compile its python wrapper module for
the target. This is needed for audit2allow to function properly, and
therefore this patch adjusts libselinux.mk to install the python
wrapper module is python or python3 are enabled.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - Remove useless empty lines, as noted by Matt Weber
 - Move code related to python bindings before builds/install
   commands, since those commands will use variables defined by the
   python bindings logic.
 - Instead of enabling the python bindings when
   BR2_PACKAGE_POLICYCOREUTILS_AUDIT2ALLOW is set, enable the python
   bindings when python is available. We generally try to avoid
   looking at options of other packages to decide what to install.
 - Introduce LIBSELINUX_MAKE_TARGETS and
   LIBSELINUX_MAKE_INSTALL_TARGETS variable, in order to avoid
   duplicate the make/make install commands.
 - As suggested by Matt Weber, remove LIBSELINUX_PYTHONLIBDIR
   definitions, and don't pass PYLIBVER and PYTHONLIBDIR in MAKE_OPTS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheckpolicy: allow compiling for target
Adam Duskett [Thu, 2 Feb 2017 22:45:03 +0000 (17:45 -0500)]
checkpolicy: allow compiling for target

checkpolicy is currently a host-only package, however it is a
dependency of audit2allow. This patch allows for checkpolicy to be
compiled for the target.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - remove LIBSELINUX_INSTALL_STAGING = YES, doing it in
   checkpolicy.mk is wrong, and libselinux is already installed to
   staging
 - add "select BR2_PACKAGE_LIBSELINUX" in Config.in, and propagate the
   necessary dependencies
 - add host-flex in dependencies, since it is also needed (in addition
   to target flex).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosepolgen: allow compiling for target
Adam Duskett [Thu, 2 Feb 2017 22:45:02 +0000 (17:45 -0500)]
sepolgen: allow compiling for target

Sepolgen is currently a host-only package, however it is a dependency
of audit2allow.  This patch allows for sepolgen to be compiled for the
target.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - fix formatting of Config.in file
 - add missing dependencies inherited from the fact that the package
   selects python3.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowpan-tools: bump to version 0.7
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:21 +0000 (14:04 +0530)]
wpan-tools: bump to version 0.7

Drop upstream patch.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-backports-abc: add version to license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:20 +0000 (14:04 +0530)]
python-backports-abc: add version to license string

LICENSE file refers to Python license version 2. Use SPDX short
identifier for license string and add license file while at it.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ipaddress: add version to license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:19 +0000 (14:04 +0530)]
python-ipaddress: add version to license string

LICENSE file refers to Python license version 2. Use SPDX short
identifier for license string while at it.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-shutilwhich: add version to license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:18 +0000 (14:04 +0530)]
python-shutilwhich: add version to license string

LICENSE file refers to Python license version 2. Use SPDX short
identifier for license string while at it.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-alsaaudio: use SPDX short identifier for license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:17 +0000 (14:04 +0530)]
python-alsaaudio: use SPDX short identifier for license string

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython3: use SPDX identifier for license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:16 +0000 (14:04 +0530)]
python3: use SPDX identifier for license string

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython: use SPDX short identifier for license string
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:15 +0000 (14:04 +0530)]
python: use SPDX short identifier for license string

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyyaml: correct license name
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:14 +0000 (14:04 +0530)]
python-pyyaml: correct license name

LICENSE file contains MIT license text and README file clearly mentions
pyyaml is released under MIT license.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-iniparse: use SPDX identifier for python license
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:13 +0000 (14:04 +0530)]
python-iniparse: use SPDX identifier for python license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomicropython-lib: use SPDX short identifier for Python license
Rahul Bedarkar [Sun, 9 Apr 2017 08:34:12 +0000 (14:04 +0530)]
micropython-lib: use SPDX short identifier for Python license

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-stats: also parse toolchain packages
Thomas Petazzoni [Sun, 9 Apr 2017 07:57:44 +0000 (09:57 +0200)]
pkg-stats: also parse toolchain packages

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.79
Bernd Kuhls [Sat, 8 Apr 2017 21:05:26 +0000 (23:05 +0200)]
package/libdrm: bump version to 2.4.79

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-stats: ignore additional package infra .mk files
Thomas Petazzoni [Sun, 9 Apr 2017 07:45:10 +0000 (09:45 +0200)]
pkg-stats: ignore additional package infra .mk files

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 8 Apr 2017 15:18:02 +0000 (17:18 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/znc: bump version to 1.6.5
Bernd Kuhls [Sat, 8 Apr 2017 14:33:17 +0000 (16:33 +0200)]
package/znc: bump version to 1.6.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarp-scan: fix static link when libnl is selected
Arnout Vandecappelle [Sat, 8 Apr 2017 14:17:36 +0000 (16:17 +0200)]
arp-scan: fix static link when libnl is selected

When libnl is selected, libpcap links with it. Since libpcap doesn't
provide a .pc file and arp-scan doesn't use its libpcap-config script,
we must provide the additional options explicilty.

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-stats: add new column with check-package warnings
Thomas Petazzoni [Sat, 8 Apr 2017 19:35:33 +0000 (21:35 +0200)]
pkg-stats: add new column with check-package warnings

This allows the page at http://autobuild.buildroot.net/stats/ to show
how many warnings returned by check-package affect each package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: use tabs instead of spaces for indentation
Thomas Petazzoni [Sat, 8 Apr 2017 14:21:41 +0000 (16:21 +0200)]
uclibc: use tabs instead of spaces for indentation

Detected by check-package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check *.mk for typo in variable
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:24 +0000 (19:17 -0300)]
check-package: check *.mk for typo in variable

Warn when a variable is defined in a .mk file and it don't start with
the package name.

This function generates false warnings and the maintenance of the
whitelist can be an extra burden, but it catches some typos really hard
to see:
- POPLER_CONF_OPTS [1]
- BALELD_LICENSE [2]
- DRDB_UTILS_DEPENDENCIES [3]
- PERL_LIBWWW_LICENSE_FILES [4]
- AVRDUDR_LICENSE_FILES [5]
- GST1_PLUGINS_ULGY_HAS_GPL_LICENSE [6]
- ON2_8170_LICENSE [7]
- LIBFDTI_CONF_OPTS [8][9]
- IPSEC_DEPENDENCIES [10]

[1] http://patchwork.ozlabs.org/patch/681533
[2] http://patchwork.ozlabs.org/patch/643293
[3] http://patchwork.ozlabs.org/patch/449589
[4] http://patchwork.ozlabs.org/patch/464545
[5] http://patchwork.ozlabs.org/patch/305060
[6] http://patchwork.ozlabs.org/patch/253089
[7] http://patchwork.ozlabs.org/patch/250523
[8] http://patchwork.ozlabs.org/patch/394125
[9] https://github.com/buildroot/buildroot/commit/fe7a4b524b72bcb448f7e723873d8244620cb2f1
[10] https://github.com/buildroot/buildroot/commit/dff1d590b2a0fadf58b6eed60029b2ecbab7c710

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check Config.* files
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:23 +0000 (19:17 -0300)]
check-package: check Config.* files

Warn when help text is larger than 72 columns, see [1].
Warn for wrongly indented attributes, see [1].
Warn when the convention of attributes order is not followed, see [2].

[1] http://nightly.buildroot.org/#writing-rules-config-in
[2] http://nightly.buildroot.org/#_config_files

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: size of tab in package description
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:22 +0000 (19:17 -0300)]
docs/manual: size of tab in package description

Explicitly state that one tab counts for 8 columns in package
description, leaving 62 characters to the text itself.
Update the text and the example in the two places where the Config.in
format is described.
Also mention a newline is expected between the help text itself and the
upstream URL.

This blob can help developers to understand the expected formatting.
Also, it can be referenced by reviewers.

http://patchwork.ozlabs.org/patch/611289/
http://patchwork.ozlabs.org/patch/606866/
http://patchwork.ozlabs.org/patch/459960/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check *.mk files
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:21 +0000 (19:17 -0300)]
check-package: check *.mk files

Warn when there are obvious indentation errors:
- the number of expect tabs is not yet checked since it is more complex
  to achieve;
- the content inside define ... endef should be indented with tab(s),
  see [1];
- line just after a backslash should be indented with tab(s), see [2];
- other lines should not be indented, see [3];
- ignore empty lines and comments.
Warn when there is no well-formatted header in the file:
- 80 hashes at lines 1 and 5;
- 1 hash at lines 2 and 4;
- empty line at line 6;
- see [4];
- ignore files that only include other mk files.
Warn when there are more than one space before backslash, see [5].
Warn when there is a trailing backslash [6].
Warn for flags set to default value YES or NO, see [7], [8], [9].

[1] http://patchwork.ozlabs.org/patch/681429/
[2] http://patchwork.ozlabs.org/patch/681430/
[3] http://patchwork.ozlabs.org/patch/559209/
[4] http://nightly.buildroot.org/#writing-rules-mk
[5] http://patchwork.ozlabs.org/patch/649084/
[6] http://patchwork.ozlabs.org/patch/535550/
[7] http://patchwork.ozlabs.org/patch/704718/
[8] http://nightly.buildroot.org/#_infrastructure_for_packages_with_specific_build_systems
[9] http://nightly.buildroot.org/#_infrastructure_for_autotools_based_packages

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check *.patch files
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:20 +0000 (19:17 -0300)]
check-package: check *.patch files

Warn when the name of the patch file does not start with number (apply
order), see [1].
Warn when the patch was generated using git format-patch without -N, see
[2].
Warn when the patch file has no SoB, see [3].

[1] http://nightly.buildroot.org/#_providing_patches
[2] http://patchwork.ozlabs.org/patch/704753/
[3] http://nightly.buildroot.org/#_format_and_licensing_of_the_package_patches

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check *.hash files
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:19 +0000 (19:17 -0300)]
check-package: check *.hash files

Check each hash entry (see [1]) and warn when:
- it does not have three fields;
- its type is unknown;
- its length does not match its type;
- the name of the file contains a directory component.

[1] http://nightly.buildroot.org/#adding-packages-hash

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocheck-package: check whitespace and empty lines
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:18 +0000 (19:17 -0300)]
check-package: check whitespace and empty lines

Create 3 new check functions to warn when:
- there are consecutive empty lines in the file, see [1];
- the last line of the file is empty, see [2];
- there are lines with trailing whitespace, see [3].

Apply these functions to Config.*, *.mk and *.hash, but not for *.patch
files since they can contain any of these and still be valid.

[1] http://patchwork.ozlabs.org/patch/682660/
[2] http://patchwork.ozlabs.org/patch/643288/
[3] http://patchwork.ozlabs.org/patch/398984/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/scripts/check-package: new script
Ricardo Martincoski [Sun, 19 Feb 2017 22:17:17 +0000 (19:17 -0300)]
support/scripts/check-package: new script

Create the infra to check the style of new packages before submitting.
The overall function of the script is described inside a txt file.
It is designed to process the actual files and NOT the patch files
generated by git format-patch.

Also add the first check function, to warn if a file (Config.*, *.mk,
*.hash, *.patch) has no newline at the last line of the file, see [1].

Basic usage for simple packages:
support/scripts/check-package -vvv package/newpackage/*

Basic usage for packages with subdirs:
support/scripts/check-package -vvv $(find package/newpackage/ -type f)

See "checkpackage" in [2].

[1] http://patchwork.ozlabs.org/patch/631129/
[2] http://elinux.org/Buildroot#Todo_list

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosyslinux: build with the target toolchain
BenoƮt Allard [Fri, 7 Apr 2017 09:05:13 +0000 (11:05 +0200)]
syslinux: build with the target toolchain

Until now, the host toolchain was used to build syslinux, as it was
not possible to build a 32-bit syslinux with a x86-64 toolchain.

However, syslinux requires gnu-efi, and gnu-efi is built using the
target toolchain. Mixing different toolchains doesn't work well, so
this commit changes the syslinux package to use the target toolchain
for syslinux as well. This is made possible by patches
0003-Fix-ldlinux.elf-Not-enough-room-for-program-headers-.patch and
0004-memdisk-Force-ld-output-format-to-32-bits.patch.

Since syslinux also contains some utilities that have to run on the
host, those have to continue being built with the host toolchain,
which requires patch 0005-utils-Use-the-host-toolchain-to-build.patch.

Patch 0006-lzo-Use-the-host-toolchain-for-prepcore.patch is about
building prepcore, another utility with the host toolchain as it is
required at build-time.

This was tested using a Buildroot's built x86_64 toolchain, and
checked that the output binaries are 32-bits. It was tested as well if
they actually boot on hardware.

Signed-off-by: BenoƮt Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/beaglebone_qt5: increase size of ext4 filesystem image
Michael Trimarchi [Sat, 8 Apr 2017 13:37:03 +0000 (15:37 +0200)]
configs/beaglebone_qt5: increase size of ext4 filesystem image

In commit c6bca8cef0310bc649240b451989457ce94a8358, the
auto-calculation logic of the ext4 filesystem size was removed. The
default size of 60MB is too small for the beaglebone_qt5_defconfig,
should it should be increased.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoautofs: fix Git formatting of patch
Thomas Petazzoni [Sat, 8 Apr 2017 13:54:49 +0000 (15:54 +0200)]
autofs: fix Git formatting of patch

The patch 0001-include-linux-nfs.h-directly-in-rpc_sub.patch was Git
formatted, except that a Upstream status statement was added above the
patch, which makes it unapplicable by "git am". So fix this by putting
the Upstream status statement where it should be.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-python: ignore user site-packages directory
Yegor Yefremov [Thu, 6 Apr 2017 18:46:08 +0000 (20:46 +0200)]
pkg-python: ignore user site-packages directory

According to PEP 370 Python will also search for the packages in the
user site-packages directory. This can affect build reproducibility.

The solution is to use PYTHONNOUSERSITE=1 for all Python packages,
i.e. both host and target variants.

Fixes bug #9791.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agognupg: enable support for SHA-256 and SHA-512 hashes
Jack Breese [Fri, 7 Apr 2017 01:09:43 +0000 (18:09 -0700)]
gnupg: enable support for SHA-256 and SHA-512 hashes

Signed-off-by: Jack Breese <jack@kumunetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH
Michael Trimarchi [Fri, 7 Apr 2017 10:03:22 +0000 (12:03 +0200)]
uboot: qstrip BR2_TARGET_UBOOT_CUSTOM_DTS_PATH

We need to avoid failing of copy of custom dts using cp -f <>
command. So, just qstrip the variable as is done for other
configuration options.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5declarative: fix examples compile without qt widgets module
Peter Seiderer [Fri, 7 Apr 2017 18:39:54 +0000 (20:39 +0200)]
qt5declarative: fix examples compile without qt widgets module

Fixes:

  .../qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
  Project ERROR: Unknown module(s) in QT: widgets

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agobatman-adv: bump version to 2017.0.1
Matthias Fritzsche [Fri, 7 Apr 2017 22:04:02 +0000 (00:04 +0200)]
batman-adv: bump version to 2017.0.1

Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/linux-headers: bump 3.2.x and 4.{4, 9, 10}.x series
Bernd Kuhls [Sat, 8 Apr 2017 09:01:04 +0000 (11:01 +0200)]
package/linux-headers: bump 3.2.x and 4.{4, 9, 10}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.10.9
Bernd Kuhls [Sat, 8 Apr 2017 09:01:03 +0000 (11:01 +0200)]
linux: bump default version to 4.10.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libpciaccess: bump version to 0.13.5
Bernd Kuhls [Sat, 8 Apr 2017 08:44:06 +0000 (10:44 +0200)]
package/libpciaccess: bump version to 0.13.5

Add additional md5, sha1 & sha256 hashes according to buildroot docs:
http://buildroot.uclibc.org/downloads/manual/manual.html#adding-packages-hash

> If upstream provides more than one type of hash (e.g. sha1 and sha512),
> then it is best to add all those hashes in the .hash file.

Removed patch 0001, applied upstream:
https://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=6bd2f7f92eae713663f4e13f6e2cb23526607b8c

Renumbered remaining patch.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libpthread-stubs: bump version to 0.4
Bernd Kuhls [Sat, 8 Apr 2017 08:43:25 +0000 (10:43 +0200)]
package/libpthread-stubs: bump version to 0.4

libdrm 2.4.77 needs it since
https://cgit.freedesktop.org/mesa/drm/commit/?id=63120172668610cebfd01e89f67e73037037dfd9

Fixes:
http://autobuild.buildroot.net/results/732/732652f34f4865462007a3ebeb40d6642fde028b/
http://autobuild.buildroot.net/results/b5d/b5d7667737c92de5d19313ec6bb0ec9ce81707ea/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomosquitto: enable WITH_ADNS for glibc builds
Fabrice Fontaine [Tue, 4 Apr 2017 19:37:30 +0000 (21:37 +0200)]
mosquitto: enable WITH_ADNS for glibc builds

WITH_ADNS option has been added in version 1.4.11

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomosquitto: bump to version 1.4.11
Fabrice Fontaine [Tue, 4 Apr 2017 19:37:29 +0000 (21:37 +0200)]
mosquitto: bump to version 1.4.11

- This version requires a patch (sent upstream) to remove -lanl from
all Linux builds as this library is only needed for adns support
 - sha512 must be computed locally as eclipse.org does not give it for
this version

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libdrm: bump version to 2.4.78
Bernd Kuhls [Fri, 7 Apr 2017 18:05:29 +0000 (20:05 +0200)]
package/libdrm: bump version to 2.4.78

Add additional md5, sha1 & sha256 hashes according to buildroot docs:
http://buildroot.uclibc.org/downloads/manual/manual.html#adding-packages-hash

> If upstream provides more than one type of hash (e.g. sha1 and sha512),
> then it is best to add all those hashes in the .hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: update email address of Rahul Bedarkar
Rahul Bedarkar [Fri, 7 Apr 2017 19:20:02 +0000 (00:50 +0530)]
DEVELOPERS: update email address of Rahul Bedarkar

I'm no longer with Imagination Technologies. Update email address to an
active one.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoethtool: bump to version 4.10
Baruch Siach [Fri, 7 Apr 2017 03:40:46 +0000 (06:40 +0300)]
ethtool: bump to version 4.10

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoethtool: update homepage link
Baruch Siach [Fri, 7 Apr 2017 03:40:45 +0000 (06:40 +0300)]
ethtool: update homepage link

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-pillow: bump version to 4.1.0
Vicente Olivert Riera [Fri, 7 Apr 2017 16:27:42 +0000 (17:27 +0100)]
python-pillow: bump version to 4.1.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolft: bump version to 3.79
Vicente Olivert Riera [Fri, 7 Apr 2017 16:27:41 +0000 (17:27 +0100)]
lft: bump version to 3.79

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoicu: legal-info: refer to the real license file
Peter Korsgaard [Fri, 7 Apr 2017 14:28:59 +0000 (16:28 +0200)]
icu: legal-info: refer to the real license file

License.html now just contains the string:

The ICU license is now in plain text format, see <a href="./LICENSE">LICENSE</a>.
Update links and software appropriately.

So refer directly to that file instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofreetype: legal-info: include docs/LICENSE.TXT
Peter Korsgaard [Fri, 7 Apr 2017 14:28:58 +0000 (16:28 +0200)]
freetype: legal-info: include docs/LICENSE.TXT

LICENSE.TXT gives an overview and explains in detail that freetype is dual
licensed under the FTL and GPLv2+, so also include it in the license files.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojemalloc: bump version to 4.5.0
Eric Le Bihan [Sun, 2 Apr 2017 17:54:18 +0000 (19:54 +0200)]
jemalloc: bump version to 4.5.0

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas: use release tarball, which avoids the need for autoreconf.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-plugins-base: remove legacy freetype handling
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:18 +0000 (19:50 -0300)]
gst1-plugins-base: remove legacy freetype handling

In 2010 commit 32d319e6f "gst-plugins-base: ensure <stdint.h> is used"
introduced a typo (missing backslash) that made the code ineffective.

In 2013 commit f8e7fdcd3 "gst1-plugins-base: add gstreamer1 base
plugins" copied the code.

It can be confirmed by looking at the output of:
$ make printvars | grep '^GST1_PLUGINS_BASE_CONF_ENV\|^FT2_CONFIG'
FT2_CONFIG=/bin/false ac_cv_header_stdint_t="stdint.h"
GST1_PLUGINS_BASE_CONF_ENV=

Direct use of freetype was dropped in version 1.7.2 by upstream [1], so
remove the code instead of fixing it.

Found using [2]:
check-package --include-only Indent $(find * -type f)
and manually removed.

[1] https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=183610c035dd6955c9b3540b940aec50474af031
[2] http://patchwork.ozlabs.org/patch/729669/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotesseract-ocr: fix typo in variable name
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:17 +0000 (19:50 -0300)]
tesseract-ocr: fix typo in variable name

TESSERACT_OCF_CONF_OPTS
            ^

Found using [1]:
check-package --include-only TypoInPackageVariable $(find * -type f)
and manually fixed.

[1] http://patchwork.ozlabs.org/patch/729672/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pylibftdi: use package name for .mk file
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:16 +0000 (19:50 -0300)]
python-pylibftdi: use package name for .mk file

Found using [1]:
check-package --include-only TypoInPackageVariable $(find * -type f)
and manually fixed.

[1] http://patchwork.ozlabs.org/patch/729672/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pylibftdi: check hash
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:15 +0000 (19:50 -0300)]
python-pylibftdi: check hash

Currently the hash is not checked, returning this message:
WARNING: no hash file for pylibftdi-0.15.0.tar.gz

Rename the .hash file to use the package name.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove trailing backslash
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:14 +0000 (19:50 -0300)]
package: remove trailing backslash

Occurrences were searched using [1]:
check-package --include-only TrailingBackslash $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729669/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: add missing empty line after header
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:13 +0000 (19:50 -0300)]
package: add missing empty line after header

Occurrences were searched using [1]:
check-package --include-only PackageHeader $(find * -type f)
and manually fixed to comply to [2].

[1] http://patchwork.ozlabs.org/patch/729669/
[2] http://nightly.buildroot.org/#writing-rules-mk

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: normalize separator size to 80
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:12 +0000 (19:50 -0300)]
package: normalize separator size to 80

Occurrences were searched using [1]:
check-package --include-only PackageHeader $(find * -type f)
and manually fixed to comply to [2].

[1] http://patchwork.ozlabs.org/patch/729669/
[2] http://nightly.buildroot.org/#writing-rules-mk

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove consecutive empty lines
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:11 +0000 (19:50 -0300)]
package: remove consecutive empty lines

Occurrences were searched using [1]:
check-package --include-only ConsecutiveEmptyLines $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove empty line at end of file
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:10 +0000 (19:50 -0300)]
package: remove empty line at end of file

Occurrences were searched using [1]:
check-package --include-only EmptyLastLine $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage: remove trailing whitespace
Ricardo Martincoski [Tue, 4 Apr 2017 22:50:09 +0000 (19:50 -0300)]
package: remove trailing whitespace

Occurrences were searched using [1]:
check-package --include-only TrailingSpace $(find * -type f)
and manually removed.

[1] http://patchwork.ozlabs.org/patch/729666/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: fix handling of ld.so
Thomas De Schampheleire [Thu, 6 Apr 2017 20:25:05 +0000 (22:25 +0200)]
toolchain-external: fix handling of ld.so

Commit ba6bac138331cea449592f877e558f84176a70bf made a change in copying of
the dynamic loader, with the goal of reducing toolchain-specific fixups.
Any ld*.so file found in the toolchain's lib directory would be copied to
the staging/lib directory.

For the toolchains that previously needed fixup, this new behavior is fine.
The reason they needed fixup was that the normal copy action did not include
any dynamic loader.

However, for certain other toolchains this new behavior actually breaks
things: regardless of ARCH_LIB_DIR, which may be lib64 instead of lib, the
dynamic loader from lib is copied _over_ any previously correct dynamic
loader.

This has been witnessed with the CodeSourcery x86_64 and
CodeSourcery MIPS64 toolchains. In both cases, a 32-bit dynamic loader was
copied to staging/lib, while a 64-bit version was expected.

Fix the problem by only performing this explicit dynamic loader copy if no
dynamic loader is found in staging/lib.

Fixes http://autobuild.buildroot.net/results/8bf/8bffe54032aad9cc710a22411ef3bff4a2c93e55/

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.77
Bernd Kuhls [Tue, 4 Apr 2017 21:23:02 +0000 (23:23 +0200)]
package/libdrm: bump version to 2.4.77

Replace sha256 hash by sha512.

Removed patch 0003, applied upstream:
https://cgit.freedesktop.org/mesa/drm/commit/?id=6796859fcce7b9d7157f066a8b0dac3ede6438dd

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libvpx: bump version to 1.6.1
Bernd Kuhls [Tue, 4 Apr 2017 20:25:52 +0000 (22:25 +0200)]
package/libvpx: bump version to 1.6.1

Rebased patch 0001.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: Add CIP SLTS selection option
Angelo Compagnucci [Thu, 6 Apr 2017 16:58:25 +0000 (18:58 +0200)]
linux: Add CIP SLTS selection option

This patch adds an easy way to select the CIP project SLTS
kernel within the kernel menu.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
[Thomas: remove BR2_CIP_KERNEL_REPO_URL option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pudb: bump to version 2017.1.2
Yegor Yefremov [Thu, 6 Apr 2017 08:09:17 +0000 (10:09 +0200)]
python-pudb: bump to version 2017.1.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofmt: new package
Semyon Kolganov [Thu, 6 Apr 2017 15:41:17 +0000 (18:41 +0300)]
fmt: new package

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
[Thomas:
 - add entry to DEVELOPERS file
 - add missing wchar dependency
 - minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: bump linux kernel to 4.10.8 in snps_archs38_vdk_defconfig
Vlad Zakharov [Thu, 6 Apr 2017 16:19:39 +0000 (19:19 +0300)]
configs: bump linux kernel to 4.10.8 in snps_archs38_vdk_defconfig

With this commit we update snps_archs38_vdk_defconfig with the
following:
  - bump linux kernel version to 4.10.8
  - set up host linux headers to 4.10

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/test-pkg: print number of toolchains and progress
Yann E. MORIN [Thu, 6 Apr 2017 18:18:42 +0000 (20:18 +0200)]
support/test-pkg: print number of toolchains and progress

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: document the test-pkg script
Yann E. MORIN [Thu, 6 Apr 2017 18:18:41 +0000 (20:18 +0200)]
docs/manual: document the test-pkg script

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>