buildroot.git
9 years agopackage/dbus: fix machine-id when using systemd
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:03 +0000 (18:14 +0200)]
package/dbus: fix machine-id when using systemd

When systemd is used, /var/lib/dbus becomes dangling symlink, because
nobody does mkdir /tmp/dbus, so /var/lib/dbus/machine-id could not be
written. On SysVinit systems there is init script that creates
/tmp/dbus.

This patch preserves old behavior for SysVinit systems, and introduces
new one for systemd-booted systems: /var/lib/dbus is a persistent
directory, it holds symlink /var/lib/dbus/machine-id -> /etc/machine-id
as machine-id(5) suggests, and /etc/machine-id is managed by systemd.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: add option for custom qconfig file
Will Wagner [Tue, 3 Feb 2015 13:38:43 +0000 (13:38 +0000)]
qt5base: add option for custom qconfig file

Add in support for a custom qconfig file in the same way it is
already present for the Qt4 package

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "rsyslog: fix config file comment style"
Thomas Petazzoni [Sun, 12 Jul 2015 22:45:07 +0000 (00:45 +0200)]
Revert "rsyslog: fix config file comment style"

This reverts commit d42f0f96aa13bc160bdfeb40ca75f53adb7af64e, which
breaks the build since the patch being added by this commit is in fact
already part of the 8.9.0 rsyslog release we are using.

Indeed, in the rsyslog repository:

$ git tag --contains fe01c9ec4979c78b6a7caf045cab17ba52d4ad08
[...]
v8.10.0
v8.10.0.ad1
v8.11.0
v8.7.0
v8.8.0
v8.8.0.ad1
v8.9.0
v8.9.0.ad1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoflite: fix <pkg>_LICENSE_FILES
Thomas Petazzoni [Sun, 12 Jul 2015 22:40:28 +0000 (00:40 +0200)]
flite: fix <pkg>_LICENSE_FILES

Following commit dd4bcebd7c43212650cccc2494527dc3d69024d9 ("flite: use
FLITE_STRIP_COMPONENTS and FLITE_SUBDIR"), the FLITE_LICENSE_FILES was
no longer pointing to existing directories, which was breaking
legal-info.

Fixes:

  http://autobuild.buildroot.org/results/798/7983ec41a3f136bd997ebbfc110c7fc51ad79717/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/systemd: add missing dependencies
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:04 +0000 (18:14 +0200)]
package/systemd: add missing dependencies

Systemd depends on mount and nologin from util-linux. Mount from busybox
is not fine, because its behavior differs from util-linux mount. Busybox
mount does not handle correctly 'mount / -o remount' (should apply
options from /etc/fstab). Nologin should be present, because
systemd-sysusers uses it as shell for newly created system users.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap-modules: new package
Guillaume GARDET [Tue, 18 Nov 2014 14:54:47 +0000 (15:54 +0100)]
c-icap-modules: new package

[Thomas:
  - Do not pass custom CFLAGS and remove the hacks on the Makefile:
    since the c-icap-config script is now fixed, it returns correct
    values, and the hacks are no longer needed.
  - Add optional dependency on zlib and berkeleydb.
  - Explicitly disable clamav support.]

Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: Remove shell completion at finalize stage
Maxime Hadjinlian [Sun, 12 Jul 2015 15:25:57 +0000 (17:25 +0200)]
package: Remove shell completion at finalize stage

Instead of doing a removal of the completion file package per package,
do it all at the finalize stage so it's done once and for all.

Note: This fixes an issue with systemd where passing a --bashcompletiondir
or --zshcompletiondir would be evaluated to '.' by the autotools macro.
This would create a 'target./' directory.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoFix selection of bootloaders from $(BR2_EXTERNAL)
Eric Le Bihan [Sun, 12 Jul 2015 17:27:01 +0000 (19:27 +0200)]
Fix selection of bootloaders from $(BR2_EXTERNAL)

If a package is based on "generic-package", pkg-generic.mk will compute
the name of the Kconfig variable to use for checking if this package has
been selected by the user.

Unfortunately, this mechanism does not take into account the case where
a bootloader is declared in a $(BR2_EXTERNAL)/boot directory.

So, even if the bootloader has been selected, it will not be added to
$(TARGETS) and will not be built.

This patch fixes this issue.

[Arnout: use single filter line, also apply this to toolchain]

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-userland: drop -Werror
Yann E. MORIN [Sun, 12 Jul 2015 17:27:17 +0000 (19:27 +0200)]
package/rpi-userland: drop -Werror

Fixes:
    http://autobuild.buildroot.org/results/501/5012affec6c85fe7749ac86d18d3c191f4e74bdf/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch: aarch64 always has a MMU
Thomas Petazzoni [Sun, 12 Jul 2015 16:34:42 +0000 (18:34 +0200)]
arch: aarch64 always has a MMU

Following the addition of AArch64 big endian, the AArch64 little
endian option had lost its 'select BR2_ARCH_HAS_MMU_MANDATORY', so
let's reintroduce it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaarch64: add big endian(aarch64_be) support
Bamvor Jian Zhang [Wed, 18 Mar 2015 09:49:48 +0000 (17:49 +0800)]
aarch64: add big endian(aarch64_be) support

Add aarch64_be support. Note that CONFIG_CPU_BIG_ENDIAN should be
defined in kernel config when building a big endian kernel.

Signed-off-by: Zhang Jian(Bamvor) <bamvor.zhangjian@huawei.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-autotools: Remove useless space
Maxime Hadjinlian [Sun, 12 Jul 2015 15:06:50 +0000 (17:06 +0200)]
pkg-autotools: Remove useless space

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoflite: use FLITE_STRIP_COMPONENTS and FLITE_SUBDIR
Luca Ceresoli [Sun, 12 Jul 2015 14:23:14 +0000 (16:23 +0200)]
flite: use FLITE_STRIP_COMPONENTS and FLITE_SUBDIR

So far, to overcome the buggy way the flite tarball is made, we had to
override the extract commands in a rather ugly way.

The newly introduced <PKG>_STRIP_COMPONENTS, along with <PKG>_SUBDIR and a
little edit to the patches, allow to remove the custom FLITE_EXTRACT_CMDS,
slightly simplifying the flite.mk code.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoicu: update icudata generator URL
Gustavo Zacarias [Fri, 10 Jul 2015 15:32:31 +0000 (12:32 -0300)]
icu: update icudata generator URL

It was pointing to version 51.x which wouldn't work well with 55.x.

Point it to the latest version that matches the current buildroot
version (55). When a new ICU major version is released a link for the
"old" 55 version will be available below as is it currently for
previous versions such as 54, 53 and so on.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokeyutils: add patch to fix musl build failure
Thomas Petazzoni [Sun, 12 Jul 2015 14:24:04 +0000 (16:24 +0200)]
keyutils: add patch to fix musl build failure

Fixes:

  http://autobuild.buildroot.org/results/253/2536b59735f33709f44fac94c81106e5ddd4fc40/

Patch has been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokismet: mark as not available for static builds
Thomas Petazzoni [Sun, 12 Jul 2015 14:11:20 +0000 (16:11 +0200)]
kismet: mark as not available for static builds

This reverts commit a3365ebf72fc34c71e28191f107280b9d7c825a1, and
marks kismet as not available for static builds.

Commit a3365ebf72fc34c71e28191f107280b9d7c825a1 is indeed
insufficient, since kismet uses <dlfcn.h> in two places, both in
kismet_server and kismet_client. And it's fairly unlikely that kismet
will be used in pure static environments, so let's not support this
use case.

Fixes:

  http://autobuild.buildroot.net/results/c24/c24e3e325df9748e9959fe79f7026d24f118dffd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: fix some coding style issues
Maxime Hadjinlian [Sun, 12 Jul 2015 12:14:33 +0000 (14:14 +0200)]
systemd: fix some coding style issues

[Thomas: adjust commit title, some additioanl coding style fixes.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqpid-proton: new package
Luca Ceresoli [Sat, 11 Jul 2015 14:15:10 +0000 (16:15 +0200)]
qpid-proton: new package

[Thomas:
   - Do not define QPID_PROTON_VERSION_MAJOR, and use proto-* instead,
     as suggested by Arnout.
   - Use QPID_PROTO_VERSION in QPID_PROTON_SITE, as suggested by
     Arnout
   - Remove useless comma in the openssl test, as suggested by Arnout
   - Change the post install target hook to remove the
     /usr/share/proton-*/ directory entirely, and not just the
     examples, since it only contains some license and documentation
     files.]

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: do not use TAR_STRIP_COMPONENTS, but directly --strip-components
Thomas Petazzoni [Sun, 12 Jul 2015 11:51:59 +0000 (13:51 +0200)]
packages: do not use TAR_STRIP_COMPONENTS, but directly --strip-components

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/firmware-imx: fix legal-info
Yann E. MORIN [Sun, 12 Jul 2015 11:30:29 +0000 (13:30 +0200)]
package/firmware-imx: fix legal-info

Part of fimrware-imx were dropped in the new version, so we have less
legal-info to save.

Fixes:
    http://autobuild.buildroot.org/results/59b/59b09152700a5839af46edb554e53981569f8921

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-generic: fix fallout of <pkg>_STRIP_COMPONENTS introduction
Thomas Petazzoni [Sun, 12 Jul 2015 11:35:55 +0000 (13:35 +0200)]
pkg-generic: fix fallout of <pkg>_STRIP_COMPONENTS introduction

The introduction of <pkg>_STRIP_COMPONENTS broke the build of the
target tar package, because support/dependencies/check-host-tar.mk
defines TAR_STRIP_COMPONENTS to --strip-components. Which leads to
have the package infrastructure do:

 $$(TAR_STRIP_COMPONENTS)=$$($(2)_STRIP_COMPONENTS)

which for the tar package evaluates to:

 $$(TAR_STRIP_COMPONENTS)=$$(TAR_STRIP_COMPONENTS)

which evalutes to:

 --strip-components=--strip-components

Which obviously doesn't work really well. And in fact the
TAR_STRIP_COMPONENTS definition in
support/dependencies/check-host-tar.mk is no longer necessary: it was
needed in the days where we were trying to support old tar versions
that did not support --strip-components. But nowadays, when such an
old tar version is encountered, we build our own host-tar which
supports --strip-components.

Fixes:

  http://autobuild.buildroot.org/results/ae2/ae20df67f99f75b1ba5d5b7316ad265d66f3aa66/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap: disable Perl support
Thomas Petazzoni [Sun, 12 Jul 2015 10:43:29 +0000 (12:43 +0200)]
c-icap: disable Perl support

The Perl support in c-icap does not build properly, because it queries
the system-installed Perl for cflags/ldflags, which returns things
like -I/usr/local/include causing build failures since those are
invalid paths when cross-compiling.

Since there is no easy way to fix that without changing c-icap
configure.in, let's disable the Perl support for now, until someone is
interested enough to fix this up.

Fixes:

  http://autobuild.buildroot.org/results/f60/f6011ab8211589fe8e1e8932db9f8be81768d3e6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap: needs MMU support
Thomas Petazzoni [Sun, 12 Jul 2015 10:30:59 +0000 (12:30 +0200)]
c-icap: needs MMU support

Fixes:

  http://autobuild.buildroot.org/results/8c3/8c3e397eeecb2a6a39fbae1d8665bff92ef3e3bb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: version bump to 0.12.7
Jörg Krause [Sun, 12 Jul 2015 08:12:57 +0000 (10:12 +0200)]
package/nodejs: version bump to 0.12.7

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/sysdig: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:41 +0000 (02:21 +0200)]
package/sysdig: use kernel-module helper

sysdig's Makefile was already calling the Linux buildsystem to build its
modules, so switch to using the new kernel-module infra.

This has the benefit of making sysdig actually buildable, otherwise it
fails because it tries to use the kernel headers from the host:

    make: *** /lib/modules/3.13.0-53-generic/build: No such file or directory.  Stop.
    make[5]: *** [all] Error 2
    make[4]: *** [driver/CMakeFiles/driver] Error 2
    make[3]: *** [driver/CMakeFiles/driver.dir/all] Error 2

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/simicsfs: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:40 +0000 (02:21 +0200)]
package/simicsfs: use kernel-module helper

We were already using the Linux buildsystem to build simicsfs' modules,
so switch to using the kernel-module infra instead.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/owl-linux: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:39 +0000 (02:21 +0200)]
package/owl-linux: use kernel-module helper

The owl-linux' Makefile is only calling the Linux buildsystem, so switch
do using the new kernel-module infra.

Get rid of first patch, no longer needed; rename remaining patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/on2-8170-modules: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:38 +0000 (02:21 +0200)]
package/on2-8170-modules: use kernel-module helper

We were already using the Linux buildsystem to build on2-8170-modules,
so just switch to the new kernel-module infra.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ocf-linux: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:37 +0000 (02:21 +0200)]
package/ocf-linux: use kernel-module helper

We have a patch that makes ocf-linux' Makefile basically only call to
the Linux buildsystem, with commands basically like:
    make -C $(LINUX_DIR) M=$(pwd) modules

which is basically what our new kernel-module infra basically does.

Remove our patch since it is basically no longer needed.

Basically-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cryptodev-linux: use the kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:36 +0000 (02:21 +0200)]
package/cryptodev-linux: use the kernel-module helper

The kernel module needs the version.h headers at build-time, but the
Makefile only generates it when the module is built with that Makefile,
because it has this rule:

    build: version.h
        make ${KERNEL_MAKE_OPTS} modules

So, we must explicitly build this header, which we do in a pre-build hook
to ensure it comes before the kernel-module's own hooks. This header needs
not be installed in staging.

However, the cryptodev.h header still needs to be installed in staging,
which we still do in a staging-install command.

The KERNEL_DIR and PREFIX variables are no longer needed, because we're
no longer calling the rules that needed them (build, above, and
modules_install, both now handled by the kernel-module infra).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Doug: add pre-build hook to build version.h]
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ktap: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:35 +0000 (02:21 +0200)]
package/ktap: use kernel-module helper

Passing the KERNEL_SRC variable is no longer needed, since it was only
used to run commands like:
    $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules

which is basically what the new kernel-module infra is now doing.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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>
9 years agopackage/igh-ethercat: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:34 +0000 (02:21 +0200)]
package/igh-ethercat: use kernel-module helper

igh-ethercat's Makefile just contains calls to the Linux buildsystem,
that do exactly what we now do with our kernel-module infra.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lttng-modules: use kernel-module helper
Yann E. MORIN [Sun, 12 Jul 2015 00:21:33 +0000 (02:21 +0200)]
package/lttng-modules: use kernel-module helper

lttng-modules' Makefile already uses the Linux buildsystem to build its
modules, so just switch to using the new kernel-module infra.

To be noted: lttng-modules' Makefile uses $(shell pwd) that expects the
PWD to be the Linux' top build directory, which is not the case for us.
However, it uses to detect a conflict between a stale static version.h
and a generated version.h (due to the switch to uapi). This is of no
consequence to us, because we can't have a Linux build directory with
such stale files.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add kernel-module
Yann E. MORIN [Sun, 12 Jul 2015 00:21:32 +0000 (02:21 +0200)]
docs/manual: add kernel-module

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Jeremy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage-infra: add helper to build kernel modules
Yann E. MORIN [Sun, 12 Jul 2015 00:21:31 +0000 (02:21 +0200)]
package-infra: add helper to build kernel modules

The Linux kernel offers a nice and easy-to-use infra to build
out-of-tree kernel modules.

Currently, we have quite a few packages that build kernel modules, and
most duplicate (or rewrite) the same code over-and-over again.

Introduce a new infrastructure that provides helpers to build kernel
modules, so packages do not have to duplicate/rewrite that.

The infrastructure, unlike any other package infra, is not standalone.
It needs another package infra to be used. This is so that packages that
provide both userland and kernel modules can be built easily. So, this
infra only defines post-build and post-install hooks, that will build
the kernel modules after the rest of the package.

We need to override PWD, because some packages will use it to find their
own includes (and other helper files). PWD is inherited from the
environment, so it gets whatever value it had when make was launched,
which happens to be Buildroot's own top source tree. So, we just force
PWD to the proper value, rather than cd-ing first.

Also, no host version is provided, since it does not make sense to build
kernel modules for the host.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-video-geode: bump version to 2.11.17
Bernd Kuhls [Thu, 21 May 2015 07:40:55 +0000 (09:40 +0200)]
package/x11r7/xdriver_xf86-video-geode: bump version to 2.11.17

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-input-libinput: bump version to 0.11.0
Bernd Kuhls [Sat, 11 Jul 2015 15:49:59 +0000 (17:49 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.11.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozic: use <PKG>_STRIP_COMPONENTS
Luca Ceresoli [Sat, 11 Jul 2015 14:15:09 +0000 (16:15 +0200)]
zic: use <PKG>_STRIP_COMPONENTS

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotzdata: use <PKG>_STRIP_COMPONENTS
Luca Ceresoli [Sat, 11 Jul 2015 14:15:08 +0000 (16:15 +0200)]
tzdata: use <PKG>_STRIP_COMPONENTS

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonanocom: use <PKG>_STRIP_COMPONENTS
Luca Ceresoli [Sat, 11 Jul 2015 14:15:07 +0000 (16:15 +0200)]
nanocom: use <PKG>_STRIP_COMPONENTS

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agointel-microcode: use <PKG>_STRIP_COMPONENTS
Luca Ceresoli [Sat, 11 Jul 2015 14:15:06 +0000 (16:15 +0200)]
intel-microcode: use <PKG>_STRIP_COMPONENTS

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: document <PKG>_STRIP_COMPONENTS
Luca Ceresoli [Sat, 11 Jul 2015 14:15:05 +0000 (16:15 +0200)]
docs/manual: document <PKG>_STRIP_COMPONENTS

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoAdd <PKG>_STRIP_COMPONENTS for packages with non-standard tarballs
Luca Ceresoli [Sat, 11 Jul 2015 14:15:04 +0000 (16:15 +0200)]
Add <PKG>_STRIP_COMPONENTS for packages with non-standard tarballs

Usually package tarballs contain only a directory named
"<pkg-name>-<pkg-version>" which contains the actual source tree. To properly
extract the source files in $(BUILD_DIR), Buildroot passes the
--strip-components=1 option to tar.

Unfortunately a few packages ship in a non-standard way, with no root
directory or with more than one. In Buildroot these packages must be handled by
overriding the <PKG>_DOWNLOAD_CMDS.

As the number of such packages is growing, introduce a <PKG>_STRIP_COMPONENTS
variable for packages to request a number of components to strip different
from 1.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-generic: Fix host _DL_VERSION corner case
Clayton Shotwell [Sat, 11 Jul 2015 15:40:14 +0000 (17:40 +0200)]
pkg-generic: Fix host _DL_VERSION corner case

In the case when a package has a host version, the package is dependent
on the host version, and the version contains a '/', the host version
does not evaluate properly. The host version will contain a '_' instead
of a '/', resulting in a failed download. To solve this corner case, add
a check to see if the _DL_VERSION of the package has been defined before
defining the host _DL_VERSION. If the package _DL_VERSION has not been
defined yet, then the version string has not been formatted yet and is
still good to use.

[Arnout: further simplify things by lifting the override over _VERSION
out of the condition - it is always the same.]

This error occured on a package in a BR2_EXTERNAL that uses a git repo
for its remote storage with '/' in the tag names. I do not believe this
affects any packages in the Buildroot mainline but it could in the
future.

[Arnout: rebase on master, fix existing whitespace error in the else
branch.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: Install udhcpc script only if enabled
Maxime Hadjinlian [Sat, 11 Jul 2015 15:51:05 +0000 (17:51 +0200)]
busybox: Install udhcpc script only if enabled

It doesn't make sense to install such a scripts if UDHCPC was not
selected.
Also remove the entry from BUSYBOX_PERMISSIONS as the install command
does the same job.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoracehound: new package
Peter Seiderer [Fri, 22 May 2015 22:18:41 +0000 (00:18 +0200)]
racehound: new package

[Thomas:
  - indicate in the Config.in help text that CONFIG_KPROBES
  - add missing final double quote in one of the Config.in comment
  - normalize the Config.in comment dependencies
  - bump to the latest Git version.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pygame: remove python dependency
Peter Bouda [Thu, 28 May 2015 07:22:04 +0000 (08:22 +0100)]
python-pygame: remove python dependency

With the dependency on BR2_PACKAGE_PYTHON it was only possible to
build the package with python2. However, python-pygame works with
python3 so enable it to be built with it.

Signed-off-by: Peter Bouda <pbouda@cidles.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.6.3
Bernd Kuhls [Wed, 20 May 2015 08:26:37 +0000 (10:26 +0200)]
package/ffmpeg: bump version to 2.6.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xlib_libXrandr: bump version to 1.5.0
Bernd Kuhls [Wed, 20 May 2015 08:26:36 +0000 (10:26 +0200)]
package/x11r7/xlib_libXrandr: bump version to 1.5.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xproto_randrproto: bump version to 1.5.0
Bernd Kuhls [Wed, 20 May 2015 08:26:35 +0000 (10:26 +0200)]
package/x11r7/xproto_randrproto: bump version to 1.5.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot-pigeonhole: bump version to 0.4.8
Bernd Kuhls [Wed, 20 May 2015 08:26:33 +0000 (10:26 +0200)]
package/dovecot-pigeonhole: bump version to 0.4.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot: bump version to 2.2.18
Bernd Kuhls [Wed, 20 May 2015 08:26:32 +0000 (10:26 +0200)]
package/dovecot: bump version to 2.2.18

Removed patch applied upstream:
http://hg.dovecot.org/dovecot-2.2/rev/e4ad83ed88c9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lame: Fix compile on 32bit Intel
Bernd Kuhls [Sat, 11 Apr 2015 09:57:37 +0000 (11:57 +0200)]
package/lame: Fix compile on 32bit Intel

In file included from xmm_quantize_sub.c:37:0:
/home/br/br5/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.9.2/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '_mm_loadu_ps': target specific option mismatch
 _mm_loadu_ps (float const *__P)
 ^
xmm_quantize_sub.c:65:18: error: called from here
     const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);
                  ^

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lame: Fix autoreconf
Bernd Kuhls [Sat, 11 Apr 2015 09:57:36 +0000 (11:57 +0200)]
package/lame: Fix autoreconf

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years ago1/1] package/linux-firmware: add iwlwifi 6000g2a firmware
Colleen [Tue, 19 May 2015 16:07:58 +0000 (16:07 +0000)]
1/1] package/linux-firmware: add iwlwifi 6000g2a firmware

Signed-off-by: Colleen Twitty <colleen@skycatch.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: add support for i.MX28 NAND format
Jörg Krause [Sun, 29 Mar 2015 16:10:46 +0000 (18:10 +0200)]
boot/uboot: add support for i.MX28 NAND format

Allow to generate 'u-boot.nand', Freescale i.MX28 BootStream format (.sb)
with a header for booting from NAND flash.

There are two possibilities when preparing an image writable to NAND flash:
1) The NAND was not written at all yet or the BCB (Boot Control Blocks) is
   broken. In this case, the NAND image 'u-boot.nand' needs to written.
2) The NAND flash was already written with a good BCB. This applies after
   'u-boot.nand' was correctly written. There is no need to write the BCB
   again. In this case, the bootloader can be upgraded by writing 'u-boot.sb'.

To satisfy both cases 'u-boot.nand' as well as the make target 'u-boot.sb' are
copied to the binaries directory.

mxsboot for NAND images needs all three parameters typed in as integer values
(hex values do not work). The default values choosen are typical sizes for a
NAND flash.

For more information see:
http://www.denx-cs.de/doku/?q=m28evkrunuboot

Commit Note: This patch is based on top of
"[PATCH v2 1/2] boot/uboot: add support for i.MX28 SD format"
http://patchwork.ozlabs.org/patch/453116/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqmx6_defconfig: bump version to 3.10.53_1.1.0
Gary Bisson [Tue, 26 May 2015 08:19:42 +0000 (10:19 +0200)]
qmx6_defconfig: bump version to 3.10.53_1.1.0

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale_imx6*_defconfig: bump version to 3.10.53-1.1.0 GA
Gary Bisson [Tue, 26 May 2015 08:19:41 +0000 (10:19 +0200)]
freescale_imx6*_defconfig: bump version to 3.10.53-1.1.0 GA

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard/boundarydevices: rework and update u-boot scripts
Gary Bisson [Tue, 26 May 2015 08:19:40 +0000 (10:19 +0200)]
board/boundarydevices: rework and update u-boot scripts

Those scripts are executed by u-boot in order to detect the hardware
configuration (board, displays etc...), configure the bootargs and
device tree accordingly or update the bootloader located in NOR flash.

This update is necessary due to the kernel bump to version 3.10.53.

The rework consists of replacing the binaries by their text file
equivalent and generate the binaries from the post-build.sh script.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6x_defconfig: bump version to 3.10.53_1.1.1_ga
Gary Bisson [Tue, 26 May 2015 08:19:39 +0000 (10:19 +0200)]
nitrogen6x_defconfig: bump version to 3.10.53_1.1.1_ga

Also update the dtb files to be generated.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-imx-viv: bump to version 3.10.53-1.1.0 GA
Gary Bisson [Tue, 26 May 2015 08:19:38 +0000 (10:19 +0200)]
xdriver_xf86-video-imx-viv: bump to version 3.10.53-1.1.0 GA

Previous patch for the LoadExtension call isn't needed any more.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/f0440193ddb3eafa1b00aed294ed6dbd3e4d604d

Switched back to use FREESCALE_IMX_VERSION.

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: rename package to imx-gpu-viv
Gary Bisson [Tue, 26 May 2015 08:19:37 +0000 (10:19 +0200)]
gpu-viv-bin-mx6q: rename package to imx-gpu-viv

In order to be in line with new Freescale naming convention:

https://github.com/Freescale/meta-fsl-arm/commit/74c86aa9

"Graphics recipe is renamed from gpu-viv-bin-mx6q to imx-gpu-viv"

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: bump to 5.0.11.p4.1
Antoine Tenart [Tue, 26 May 2015 08:19:36 +0000 (10:19 +0200)]
gpu-viv-bin-mx6q: bump to 5.0.11.p4.1

Bump the Vivante drivers to 5.0.11.p4.1. The version scheme has changed
and 5.0.11.p4.1 is indeed the latest version.

In addition to the version bump, other changes are done to handle the
new directory organisation.

The work behind this commit was funded by ECA Group
<http://www.ecagroup.com>. ECA Group is the copyright owner of the
contributed code.

Changelog:
- Package version is changed to use Vivante version
- imx-gpu-viv includes separate sub packages for demos and tools
  to support flexible package additions
- Graphics package is reorganized to improve library layout
- New GPU tool apitrace is added - supported only for X11 backend (not
  supported yet)
- gpu-viv-g2d shares same package with imx-gpu-viv (not supported yet)

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/74c86aa9639f6f20991ab64ea75177a017f8749a

[Gary:
  1- used the pkgconfig files provided in the package from now on
  2- extend the commit log
  3 - add a symlink for libGAL_egl.so as it wasn't working on X
    - had to do a fixup as for some reason the lib is called libGAL_egl.dri.so
    Without that last symlink change, the tutorial examples were
    missing some symbols and qtbase wouldn't build.

This package has been tested with both X11 and Framebuffer backends;
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7 ]

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale-imx: bump to 3.10.53-1.1.0 GA release
Gary Bisson [Tue, 26 May 2015 08:19:35 +0000 (10:19 +0200)]
freescale-imx: bump to 3.10.53-1.1.0 GA release

This version now only applies to imx-lib and firmware-imx. All other
Freescale packages have their own version from now on.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/80ad0f2e5447c1fef976ff9a494d39f78b0eb6d1
https://github.com/Freescale/meta-fsl-arm/commit/b12d193092484c02d7ccf2e6d98c4887aa41b408

Those packages have been implicitely tested through gstreamer as the plugins
rely on them for vpu decoding for instance:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-vpu: bump version to 5.4.27
Gary Bisson [Tue, 26 May 2015 08:19:34 +0000 (10:19 +0200)]
imx-vpu: bump version to 5.4.27

- imx-vpu version changed to internal version
- VPU share memory file open fixes
- Upgrade ion usage
- Remove obey-variables patch -now included in release

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/db343da3e4eb2afa6a72f7526751bb8d8ba287e1

The IOGetVirtMem return value patch has now been included into the upstream
package.

This package has been implicitely tested through gstreamer as the plugins
rely on it for vpu decoding:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst-fsl-plugins: bump version to 4.0.2
Gary Bisson [Tue, 26 May 2015 08:19:33 +0000 (10:19 +0200)]
gst-fsl-plugins: bump version to 4.0.2

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/730b7ca5d2f13083f4e44636308a2f55a8d346f2

This package has been tested using the following commands:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-0.10  filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! vpudec ! autovideosink
 # gst-launch-0.10  filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! vpudec ! mfw_isink
 # gst-launch-0.10 imxv4l2src ! autovideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslparser: bump version to 4.0.2
Gary Bisson [Tue, 26 May 2015 08:19:32 +0000 (10:19 +0200)]
libfslparser: bump version to 4.0.2

New feature for 4.0.2 version:
* Enhanced Metadata supporting in MP4, MKV, AVI, ASF parser.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/550fb2de655f3bdbb057c41b55328b0ce2919bb9

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslcodec: bump version to 4.0.2
Gary Bisson [Tue, 26 May 2015 08:19:31 +0000 (10:19 +0200)]
libfslcodec: bump version to 4.0.2

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/1a564bcf14c49356667dd91f90f07891cf2f9064

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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfslvpuwrap: bump version to 1.0.57
Gary Bisson [Tue, 26 May 2015 08:19:30 +0000 (10:19 +0200)]
libfslvpuwrap: bump version to 1.0.57

New feature for 1.0.57 version:
* Add workaround for rmvb decode timeout issue when no enough frame buffer.
* Re-enable the detection of resolution change due to the latest firmware.

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/b1edff7ec98fec1c969f6f2736a79d38aee75580

The previous patch applied can now be removed since it has been integrated
in ver 1.0.51 (see Changelog).

This package has been implicitely tested through gstreamer as the plugins
rely on it for vpu decoding:
 # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: fix xtensa gas segfault with --text-section-literals
Max Filippov [Tue, 26 May 2015 08:24:00 +0000 (11:24 +0300)]
binutils: fix xtensa gas segfault with --text-section-literals

Building libgcc with TARGET_ABI flags results in assembler segfault on
xtensa, because code in sections .init and .fini emits literals w/o
.literal_position directive. This patch turns the segfault into assembly
error.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-yaml: bump to version e1f081e
Johan Oudinet [Wed, 8 Jul 2015 09:54:24 +0000 (11:54 +0200)]
erlang-p1-yaml: bump to version e1f081e

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-sip: bump to version fd3e461
Johan Oudinet [Wed, 8 Jul 2015 09:54:23 +0000 (11:54 +0200)]
erlang-p1-sip: bump to version fd3e461

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-stun: bump to version a3dce07
Johan Oudinet [Wed, 8 Jul 2015 09:54:22 +0000 (11:54 +0200)]
erlang-p1-stun: bump to version a3dce07

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-xml: bump to version 2c61083
Johan Oudinet [Wed, 8 Jul 2015 09:54:21 +0000 (11:54 +0200)]
erlang-p1-xml: bump to version 2c61083

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-stringprep: bump to version 3c64023
Johan Oudinet [Wed, 8 Jul 2015 09:54:20 +0000 (11:54 +0200)]
erlang-p1-stringprep: bump to version 3c64023

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-tls: bump to version b070004
Johan Oudinet [Wed, 8 Jul 2015 09:54:19 +0000 (11:54 +0200)]
erlang-p1-tls: bump to version b070004

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-cache-tab: bump to version f7ea12b
Johan Oudinet [Wed, 8 Jul 2015 09:54:18 +0000 (11:54 +0200)]
erlang-p1-cache-tab: bump to version f7ea12b

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang-p1-utils: bump to version 1bf99f9
Johan Oudinet [Wed, 8 Jul 2015 09:54:17 +0000 (11:54 +0200)]
erlang-p1-utils: bump to version 1bf99f9

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoejabberd: fix package version
Johan Oudinet [Wed, 8 Jul 2015 09:54:16 +0000 (11:54 +0200)]
ejabberd: fix package version

The configure tries to guess the version from the last git tag, which
is incorrect here as we are not inside ejabberd git repository.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoejabberd: bump to version 15.06
Johan Oudinet [Wed, 8 Jul 2015 09:54:14 +0000 (11:54 +0200)]
ejabberd: bump to version 15.06

Adapt patches accordingly and add a dependency to getent.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mtd: add patch to fix host build error with gcc 5.1
Jörg Krause [Tue, 26 May 2015 10:38:09 +0000 (12:38 +0200)]
package/mtd: add patch to fix host build error with gcc 5.1

host-mtd build fails with gcc 5.1:
  error: redefinition of ‘hashtable_iterator_key’
  error: redefinition of ‘hashtable_iterator_value’

Indeed, both functions are defined twice - once in the header and once in the
source file. This is permitted in C11 (and maybe in C99).

Add a patch sent to upstream:
https://patchwork.ozlabs.org/patch/467254/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Doug Kehn <rdkehn@yahoo.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibxmlrpc: fix static build
Baruch Siach [Tue, 9 Jun 2015 14:20:09 +0000 (17:20 +0300)]
libxmlrpc: fix static build

Fixes:
http://autobuild.buildroot.net/results/16d/16de14ace7b4e089f56b9cb173542e487cae3a9d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux-firmware: add missing nvs file for the wl18xx firmware
Marc-André Chénier [Thu, 9 Jul 2015 00:25:23 +0000 (20:25 -0400)]
package/linux-firmware: add missing nvs file for the wl18xx firmware

The wl18xx shares the same wlcore as the wl1271 and needs the
wl1271-nvs.bin file.  Also, refactor some comments and list items.

Signed-off-by: Marc-Andre Chenier <mac@vrvana.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquashfs: Add xattr support
Clayton Shotwell [Fri, 10 Jul 2015 23:28:00 +0000 (18:28 -0500)]
squashfs: Add xattr support

Adding extended attribute support for the squashfs tools when the attr
package is selected. This is needed for SELinux support.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorsyslog: fix config file comment style
Matt Weber [Fri, 10 Jul 2015 23:27:57 +0000 (18:27 -0500)]
rsyslog: fix config file comment style

The upstream versions of rsyslog (v8 and higher) have this commit to fix
the config file comment issue. Carry this patch here until the version
is bumped.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: init script: wait till server has started
Floris Bos [Mon, 25 May 2015 17:20:26 +0000 (19:20 +0200)]
postgresql: init script: wait till server has started

Adds "-w" option to init script to wait till the database server
has fully started and accepts connections before continuing.

Prevents other applications that depend on PostgreSQL from
failing to start, if the database server is not ready yet.
Times out after 60 seconds by default.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonano: work around broken syntax highlighting regexes
Pascal de Bruijn [Thu, 28 May 2015 18:41:46 +0000 (20:41 +0200)]
nano: work around broken syntax highlighting regexes

[Thomas: use --with-wordbounds instead of fiddling with CFLAGS.]

Signed-off-by: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mplayer: Add additional X11 dependencies
Bernd Kuhls [Tue, 7 Jul 2015 21:00:19 +0000 (23:00 +0200)]
package/mplayer: Add additional X11 dependencies

Proposed fix for https://bugs.busybox.net/show_bug.cgi?id=8206

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: security bump to version 5.6.11
Gustavo Zacarias [Fri, 10 Jul 2015 11:22:04 +0000 (08:22 -0300)]
php: security bump to version 5.6.11

Fixes:
CVE-2015-3152 - mysqlnd is vulnerable to BACKRONYM

And other security bugs with no CVE assigned yet:
Bug #69972 - Use-after-free vulnerability in
sqlite3SafetyCheckSickOrOk()
Bug # 69970 - Use-after-free vulnerability in
spl_recursive_it_move_forward_ex()

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: adjust configuration to add fancy options to the sleep applet
Sylvain Raybaud [Thu, 9 Jul 2015 16:21:59 +0000 (18:21 +0200)]
busybox: adjust configuration to add fancy options to the sleep applet

Set CONFIGURE_FEATURE_FANCY_SLEEP and CONFIG_FEATURE_FLOAT_SLEEP so that sleep accept floating point arguments.
This add 492 bytes to the busybox binary compiled for arm or 2748 bytes when compiled for i386.

Signed-off-by: Sylvain Raybaud <sylvain.raybaud@green-communications.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobootutils: update website URL
Baruch Siach [Fri, 10 Jul 2015 09:54:59 +0000 (12:54 +0300)]
bootutils: update website URL

The original homepage seems to be down. Use the sourceforge intro page
instead.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt: fix execution on ARC
Alexey Brodkin [Tue, 26 May 2015 06:13:53 +0000 (09:13 +0300)]
qt: fix execution on ARC

Even though Qt4 could be built for ARC cores during execution
of Qt4 applications on target issues will happen.

Most notable is will be segfaults due to unaligned access to data,
especially in WebKit applications.

Both patches were submitted upstream and if they ever get accepted
they should be removed from Buildroot.

https://codereview.qt-project.org/#/c/112667
https://codereview.qt-project.org/#/c/112668

[Thomas: renumber patches.]

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobtrfs-progs: bump to version 4.1.1
Gustavo Zacarias [Fri, 10 Jul 2015 22:38:58 +0000 (19:38 -0300)]
btrfs-progs: bump to version 4.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mesa3d: Remove libGL headers/pkgconfig when OpenGL is disabled
Bernd Kuhls [Sun, 7 Jun 2015 21:11:22 +0000 (23:11 +0200)]
package/mesa3d: Remove libGL headers/pkgconfig when OpenGL is disabled

mesa3d defaults to --enable-opengl due to its weird configure.ac:
http://git.buildroot.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=384d601d4ea2c41bb7928f756bfe88af4d38b38b

This leads to include/GL/*.h and lib/pkgconfig/gl.pc being installed to
STAGING_DIR. These files are enough for other packages to wrongly assume
that libGL.so is present, like vlc.

Fixes
http://autobuild.buildroot.net/results/e63/e639dabfb260006acb8a204851b96f9275ce53a7/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofcgiwrap: new package
Thomas Claveirole [Fri, 29 May 2015 16:15:11 +0000 (18:15 +0200)]
fcgiwrap: new package

Add package fcgiwrap from https://nginx.localdomain.pl/wiki/FcgiWrap

fcgiwrap is a simple server for running CGI applications over
FastCGI. It hopes to provide clean CGI support to Nginx (and other web
servers that may need it).

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfcgi: link with libm when needed
Thomas Claveirole [Fri, 29 May 2015 16:15:10 +0000 (18:15 +0200)]
libfcgi: link with libm when needed

libfcgi uses frexp() and thus should link with libm, but fails to do
so.  Thus link errors with programs that use libfcgi (the bug does
appear only with uClibc, because the GNU libc provides frexp()
directly in libc.so).  Modify 0003-link-against-math.patch so libfcgi
links against math, instead of programs that need it.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozeromq: depend on libsodium if available
Frank Hunleth [Tue, 19 May 2015 12:01:11 +0000 (08:01 -0400)]
zeromq: depend on libsodium if available

ZeroMQ doesn't require libsodium, but will enable CURVE security if it's
available. This patch adds the optional dependency.

[Thomas: pass --without-libsodium explicitly when libsodium is not
enabled, and to achieve this, backport a patch from upstream zeromq.]

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsodium: new package
Frank Hunleth [Tue, 19 May 2015 12:01:10 +0000 (08:01 -0400)]
libsodium: new package

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoenlightment: xtensa workaround no longer required
Waldemar Brodkorb [Fri, 26 Jun 2015 18:41:50 +0000 (20:41 +0200)]
enlightment: xtensa workaround no longer required

With the update to uClibc-ng 1.0.3, this is no longer needed,
as the problem is fixed upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.2
Gustavo Zacarias [Fri, 10 Jul 2015 18:10:05 +0000 (15:10 -0300)]
linux: bump default to version 4.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>