buildroot.git
10 years agogst-fsl-plugins: bump to version 3.0.11
Gary Bisson [Mon, 30 Jun 2014 21:52:09 +0000 (23:52 +0200)]
gst-fsl-plugins: bump to version 3.0.11

As the VPU code is now apart from imx-lib, this package also depends
on imx-vpu.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: slightly tweak commit log <80 chars]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibfslparser: bump to version 3.0.11
Gary Bisson [Mon, 30 Jun 2014 21:52:08 +0000 (23:52 +0200)]
libfslparser: bump to version 3.0.11

This package version is now independent from freescale-imx package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibfslcodec: bump to version 3.0.11
Gary Bisson [Mon, 30 Jun 2014 21:52:07 +0000 (23:52 +0200)]
libfslcodec: bump to version 3.0.11

This package version is now independent from freescale-imx package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibfslvpuwrap: bump to version 1.0.46
Gary Bisson [Mon, 30 Jun 2014 21:52:06 +0000 (23:52 +0200)]
libfslvpuwrap: bump to version 1.0.46

The libfslvpuwrapp versionning no longer follows the same version scheme
as the other Freescale components.

As VPU code is no longer in imx-lib, this package now depends on imx-vpu
package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: expand commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreescale-imx: add imx-vpu package
Gary Bisson [Mon, 30 Jun 2014 21:52:05 +0000 (23:52 +0200)]
freescale-imx: add imx-vpu package

As of 3.10.17-1.0.0 release, VPU code is now in its own package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: slightly rework the kconfig comment; fold the
 imx-vpu patches into this changeset; add one missing license file]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/gpu-viv-bin-mx6q: only available for i.MX6Q
Gary Bisson [Mon, 30 Jun 2014 21:52:04 +0000 (23:52 +0200)]
package/gpu-viv-bin-mx6q: only available for i.MX6Q

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
[yann.morin.1998@free.fr: split from the previous patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreescale-imx: change platform choice to be common
Gary Bisson [Mon, 30 Jun 2014 21:52:03 +0000 (23:52 +0200)]
freescale-imx: change platform choice to be common

That way all the i.MX packages can inherit from that information,
for example, the soon-to-be-introduced imx-vpu package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: the part about gpu-viv-bin-mx6q moved to
 its own patch; rework the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreescale-imx: update imx-lib package
Gary Bisson [Mon, 30 Jun 2014 21:52:02 +0000 (23:52 +0200)]
freescale-imx: update imx-lib package

The include files from the FSL kernel are properly separated out in
uapi, so we must include that instead of the kernel-side headers.

imx-lib no longer includes VPU code and therefore is now free from
Freescale License. It is now LGPLv2.1+.

Also, it is now provided as a normal .tar.gz, so _SOURCE is no longer
needed. So, remove our custom _EXTRACT_CMDS.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: _SOURCE is no longer needed, rework commit
 log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofreescale-imx: bump to version 3.10.17-1.0.0
Gary Bisson [Mon, 30 Jun 2014 21:52:01 +0000 (23:52 +0200)]
freescale-imx: bump to version 3.10.17-1.0.0

Bumping the version requires some heavy changes in the different
i.MX related packages. Instead of having a single huge patch, those
changes are split in smaller patches, one per affected package.

This has the inconvenient side-effect of breaking the build right
now with the bump; but it is better since the patches are easier to
understand.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: expand commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: fix tests building in uClibc 0.9.33.2
Alexey Brodkin [Sun, 29 Jun 2014 19:18:26 +0000 (23:18 +0400)]
uclibc: fix tests building in uClibc 0.9.33.2

Following patches are required for successful bulding of uClibc built-int tests
(BR2_UCLIBC_INSTALL_TEST_SUITE=y):

1.
uclibc-0059-test-cater-for-config.patch
http://git.uclibc.org/uClibc/commit/test?id=7598eeaa1defa2884adaa890bb115c493d69cc35

2.
uclibc-0058-test-tls-fix-build-with-newer-binutils.patch
http://git.uclibc.org/uClibc/commit/test?id=931e8391565323ed2e589c83b83a7345813a5514

3.
uclibc-0060-test-Fix-math-c-dependency.patch
http://git.uclibc.org/uClibc/commit/test/math?id=a20a91ad7c042c46e4a2adee6d03315f857f9985

All mentioned patches must be removed as obsolete on bumping uClibc to the next
release.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: do not purge locale-archive from target
Sven Neumann [Wed, 18 Jun 2014 09:23:30 +0000 (11:23 +0200)]
Makefile: do not purge locale-archive from target

The rules to purge unwanted locales from the target also removed
the locale-archive file from /usr/lib/locale which contains the
locale definitions explicitly generated for the target.

Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomakedevs: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:07 +0000 (09:40 -0300)]
makedevs: add license information

[Thomas: change license to be GPLv2. The header of makedevs.c is a bit
unclear, as it mentions both the GPL and LGPL. But since the code
seems to originally be coming from Busybox, assuming GPLv2 is the
safest option.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra: fix "<pkg>-rebuild" when using rsync source feature
Fabio Porcedda [Mon, 30 Jun 2014 09:51:28 +0000 (11:51 +0200)]
infra: fix "<pkg>-rebuild" when using rsync source feature

Because the configure stamp file depends on the rsync stamp file,
removing it by the "<pkg>-clean-for-rebuild" rule trigger the configure
step. To avoid triggering the configure step use an order-only dependency.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reported-by: Cédric Marie <cedric.marie@openmailbox.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5webkit-examples: new package
Massimo Callegari [Fri, 11 Jul 2014 11:46:52 +0000 (14:46 +0300)]
qt5webkit-examples: new package

[Thomas: remove QT5WEBKIT_EXAMPLES_INSTALL_STAGING = YES.]

Signed-off-by: Massimo Callegari <massimocallegari@yahoo.it>
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: add new configuration for qemu-system-xtensa
Waldemar Brodkorb [Fri, 11 Jul 2014 12:50:22 +0000 (14:50 +0200)]
configs: add new configuration for qemu-system-xtensa

Tested with Qemu 2.0.0.
Overlay is from
https://github.com/jcmvbkbc/xtensa-toolchain-build/tree/master/overlays

Many thanks to Max Filippov <jcmvbkbc@gmail.com> for his extended help
and kernel config examples.

A small kernel patch is required, because mkimage does not contain
support for Xtensa and the uImage target is failing. Redboot is unused
so disable it, too.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: add option to explicitly specify the kernel image name
Waldemar Brodkorb [Fri, 11 Jul 2014 12:49:22 +0000 (14:49 +0200)]
linux: add option to explicitly specify the kernel image name

For example the upcoming qemu-xtensa patch is using this feature,
where the target is called "zImage", but the resulting kernel name
is "Image.elf".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoat: add license information
Gustavo Zacarias [Tue, 15 Jul 2014 19:37:15 +0000 (16:37 -0300)]
at: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoexim: allow using a custom configuration file
Luca Ceresoli [Fri, 4 Jul 2014 15:56:24 +0000 (17:56 +0200)]
exim: allow using a custom configuration file

exim has lots of options configurable before the build process. It's not
useful to have all of them exposed in Buildroot, yet users may need to tweak
them.

Allow the user to pass an entire configuration file to make exim totally
reconfigurable without bloating the Buildroot menus.

[Thomas: remove "for exim" from Config.in options prompts.]

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolm-sensors: sensors-detect requires perl
Thomas Petazzoni [Wed, 9 Jul 2014 20:49:24 +0000 (22:49 +0200)]
lm-sensors: sensors-detect requires perl

The sensors-detect program is in fact a Perl script, so it won't run
on the target unless Perl is enabled in the configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agolm-sensors: don't use host ldconfig
Thomas Petazzoni [Wed, 9 Jul 2014 20:48:56 +0000 (22:48 +0200)]
lm-sensors: don't use host ldconfig

To know whether the libiconv library is available, lm-sensors is using
the host ldconfig, which is obviously wrong in cross-compilation.

Moreover, the lm-sensors program making use of the iconv_*() API
already does it when __UCLIBC__ is *not* defined. In this case, the
iconv_*() functions are already part of the C library, so there is no
need to link against a separate library. Therefore, this patch simply
removes the libiconv handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agolm-sensors: fix static-only builds
Thomas Petazzoni [Wed, 9 Jul 2014 20:42:30 +0000 (22:42 +0200)]
lm-sensors: fix static-only builds

This commit adds a patch to lm-sensors to support a new variable
BUILD_SHARED_LIB that allows to conditionally enable or disable the
build (and usage) of the libsensors shared library.

It also refactors the make variables in a variable called
LM_SENSORS_MAKE_OPT.

Fixes:

  http://autobuild.buildroot.org/results/06c/06c197263e4939d6adc4877e152f602a69df751d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp: add FPM support
Jordi Llonch [Tue, 15 Jul 2014 18:07:42 +0000 (18:07 +0000)]
php: add FPM support

[Thomas: adjust commit title, as suggested by Gustavo.]

Signed-off-by: Jordi Llonch <jordi.llonch@rochsystems.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodependencies.sh: add other Debian package names for 32 bits libraries
Karoly Kasza [Thu, 10 Jul 2014 10:36:57 +0000 (12:36 +0200)]
dependencies.sh: add other Debian package names for 32 bits libraries

[Thomas: implemented Arnout suggestion.]

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: don't install tools to staging when static
Gustavo Zacarias [Sun, 25 May 2014 22:12:56 +0000 (19:12 -0300)]
uclibc: don't install tools to staging when static

Don't try to install ld* tools to staging when it's a static build,
there's no point and it'll be broken once we build a purely-static
uclibc.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agostatserial: don't link against legacy curses
Gustavo Zacarias [Fri, 4 Jul 2014 17:03:01 +0000 (14:03 -0300)]
statserial: don't link against legacy curses

Link against libncurses instead of the legacy libcurses.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodcron: new package
Alvaro G. M [Tue, 8 Jul 2014 10:21:32 +0000 (12:21 +0200)]
dcron: new package

[Thomas: wrap help text, add BR2_USE_MMU dependency, minor fixes in
.mk file.]

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython, python3: build with tzset support
Henry Margies [Wed, 9 Jul 2014 10:38:59 +0000 (11:38 +0100)]
python, python3: build with tzset support

This patch adds support for time.tzset() in Python 2.7 and Python 3.

The Python configure script sets ac_cv_working_tzset to 'no' when
cross compiling, although it should be available and work with all
toolchains supported by Buildroot (?).
The patch below pre-sets the variable so that time.tzset() works.

[Thomas: adjust commit log.]

Signed-off-by: Henry Margies <henry.margies@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobzip2: install shared library for the host
David Bachelart [Thu, 10 Jul 2014 12:00:26 +0000 (14:00 +0200)]
bzip2: install shared library for the host

libbz2.so was explicitly built for the host, but was not installed. Install it.

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-pyzmq: enable PyZMQ for Python 3
Philippe Proulx [Mon, 14 Jul 2014 02:35:17 +0000 (22:35 -0400)]
python-pyzmq: enable PyZMQ for Python 3

The PyZMQ package is currently limited to Python 2; however, its
build system does not require the Python 2 interpreter and will work
as is with Python 3 (tested).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogrub2: fix a few minor issues in help text
Thomas Petazzoni [Tue, 1 Jul 2014 17:39:16 +0000 (19:39 +0200)]
grub2: fix a few minor issues in help text

The help text of grub2 explains the detailed steps to create a disk
image with grub2 installed on it. However, the steps for the
BIOS-based systems have a few minor issues fixed by this patch:

 - When calling partx to get the partitions detected, we should do it
   on the /dev/loop0 block device, and not on the underlying disk.img
   image file.
 - The grub-bios-setup utility must be called as root to work properly
   on /dev/loop0.
 - The steps to cleanup the partx and loop device were missing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobinutils: remove 2.21.1
Thomas Petazzoni [Fri, 11 Jul 2014 17:55:44 +0000 (19:55 +0200)]
binutils: remove 2.21.1

After the following commits:

26974bf6a7c94c0c44722fe072182cfcc49bdb6e use default binutils for sh architecture
6f1cf344d90ea3eabf292b04d993a7be2a785dd6 binutils: Use the default version by default on MIPS

the 2.21.1 binutils version is no longer required, and since it's an
old version, we get rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobinutils: remove leftover version definitions
Thomas Petazzoni [Fri, 11 Jul 2014 17:55:43 +0000 (19:55 +0200)]
binutils: remove leftover version definitions

Following d4839ffcab70f2496673e5b376f4c0d492260396 ("binutils: remove
2.20.1, 2.21 and 2.23.1"), Config.in.host contains unneeded
definitions of BR2_BINUTILS_VERSION for no longer existing
versions. This patch fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-net-ssleay: add comment to new hook
Thomas Petazzoni [Tue, 15 Jul 2014 17:35:01 +0000 (19:35 +0200)]
perl-net-ssleay: add comment to new hook

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: replace custom kconfig helpers with those provided by pkg-utils
Thomas De Schampheleire [Mon, 14 Jul 2014 11:50:27 +0000 (13:50 +0200)]
uclibc: replace custom kconfig helpers with those provided by pkg-utils

This patch removes the custom kconfig helpers UCLIBC_OPT_SET and
UCLIBC_OPT_UNSET with the common KCONFIG_SET_OPT, KCONFIG_ENABLE_OPT and
KCONFIG_DISABLE_OPT.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-utils: kconfig helpers: use single iso double quoting
Thomas De Schampheleire [Mon, 14 Jul 2014 11:50:26 +0000 (13:50 +0200)]
pkg-utils: kconfig helpers: use single iso double quoting

The echo statements in the kconfig helpers are currently using double
quotes. For KCONFIG_SET_OPT this is problematic when the value argument
itself contains a double quote (a string value). In this case, the statement
    echo "$(1)=$(2)" >> $(3)
would become:
    echo "FOO="string value"" >> /some/path/.config
resulting in the string
    FOO=string value
in the config file, rather than the properly quoted
    FOO="string value"

The linux package worked around this by escaping the quote characters, but
a prettier solution is to use single quoting in the helpers (or
alternatively use no quoting at all).
A side effect of this change is that a $variable in the key or value would
no longer be interpreted by the shell, removing any unexpected behavior.

This change is only really necessary for KCONFIG_SET_OPT, but for symmetry
reasons the other helpers are updated too.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-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>
10 years agopkg-utils: kconfig helpers: add basic usage documentation
Thomas De Schampheleire [Mon, 14 Jul 2014 11:50:25 +0000 (13:50 +0200)]
pkg-utils: kconfig helpers: add basic usage documentation

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/python: fix sqlite3 extension without threads
Yann E. MORIN [Sat, 12 Jul 2014 12:11:52 +0000 (14:11 +0200)]
package/python: fix sqlite3 extension without threads

Fix a compiler error when building the sqlite3 extension, when the
toolchain does not have threads.

Fixes:
        http://autobuild.buildroot.net/results/10f/10f268cd55f16ee53f4c5e17e1248b0a1820f6ea/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-net-ssleay: fix configure
Francois Perrad [Mon, 14 Jul 2014 23:48:04 +0000 (01:48 +0200)]
perl-net-ssleay: fix configure

When TARGET_LDFLAGS contains more than one option, the generated
Makefile contains this definition of LDDLFLAGS:
        LDDLFLAGS = '--option-1 --option-2'

Which when passed to gcc is interpreted as a single option, and gcc
(rightfully) barfs on it, like with:
        arm-linux-gnueabihf-gcc: error: unrecognized command line
        option ‘-shared -g’

This is because perl-net-ssleay's buildsystem is really completely
brain-damaged. Other perl extensions do not behave like that, and
instead are doing the only sane thing to do: not add single quotes
around the definition, and just use what they were provided for
LDDLFLAGS.

So, just do the same for perl-net-ssleay. Since tweaking (yet once
more) their buildsystem is too complex, we just use a post-configure
hook to fix up the mess, by removing single quotes around the definition
of LDDLFLAGS.

Note: if only one option is specified, no single quotes are added,
but our hook is a no-op in this case.

See also:
    http://lists.busybox.net/pipermail/buildroot/2014-July/101782.html
and the previous message for even more entertainment. ;-)

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[me: find the real cause of the issue, tweak the sed expression to not
 force -shared and instead just trim the single quotes, enhance commit
 log]
[Thomas: fix minor typos in the commit log, add comment above hook
 definition]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopolarssl: programs need MMU
Gustavo Zacarias [Tue, 15 Jul 2014 15:52:39 +0000 (12:52 -0300)]
polarssl: programs need MMU

Fixes:
http://autobuild.buildroot.net/results/b53/b535dfda85c8a25c5192c4be7540c4e852fce717/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonano: bump to version 2.3.5
Gustavo Zacarias [Sat, 12 Jul 2014 17:41:41 +0000 (14:41 -0300)]
nano: bump to version 2.3.5

Switch to the full-blown install when tiny is not selected, we really
want all of it in that case.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonasm: remove unused target package
Arnout Vandecappelle [Mon, 14 Jul 2014 06:41:02 +0000 (08:41 +0200)]
nasm: remove unused target package

When nasm was added in da8d09b716, it got both the host and the target
variants even though it doesn't have a Config.in and the target variant isn't
used anywhere. Therefore, this patch removes the unused target variant.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/perl-xml-libxml: not available for static link
Yann E. MORIN [Sun, 13 Jul 2014 13:03:24 +0000 (15:03 +0200)]
package/perl-xml-libxml: not available for static link

Perl extensions are loaded at runtime with dlopen(), so it does not
make sense to even build extensions that are written in C.

perl-xml-libxml is written in C, so it is not available when doing a
static build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/perl-net-ssleay: not available for static link
Yann E. MORIN [Sun, 13 Jul 2014 13:03:23 +0000 (15:03 +0200)]
package/perl-net-ssleay: not available for static link

Perl extensions are loaded at runtime with dlopen(), so it does not
make sense to even build extensions that are written in C.

perl-net-ssleay is (partly) written in C, so it is not available when
doing a static build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/perl-net-ssleay: fix buildsystem for cross-compilation
Francois Perrad [Sun, 13 Jul 2014 13:03:22 +0000 (15:03 +0200)]
package/perl-net-ssleay: fix buildsystem for cross-compilation

The buildsystem for perl-net-ssleay is totally brain-damaged: it tries
to execute the openssl program. It uses that to check the openssl
version, detect the prefix to openssl, and set the include and library
search paths.

Of course, it does not handle the destdir idiom, so it ends up finding
the host system's openssl (not even ours!), so it sets search paths to
/usr/inlcude and /usr/lib and /lib.

Well, guess what? It does not work.

Fix that by:
  - passing the prefix to openssl in the environment, so it does not go
    hunting for the host-system openssl;
  - not checking the version string, since we can't run, and Buildroot
    has the correct version anyway;
  - not setting any -I or -L paths since our compiler/linker already
    know where to look for for includes and libs.

Fixes:
    http://autobuild.buildroot.net/results/135/135867ef85535863e3647cc5fb82accb6f77612c/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[me: enhance commit log, add patch to avoid running openssl and setting
 wrong include and library search paths]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinfra/pkg-perl: add possibility to pass extra env at configure time
Francois Perrad [Sun, 13 Jul 2014 13:03:21 +0000 (15:03 +0200)]
infra/pkg-perl: add possibility to pass extra env at configure time

Some perl packages may use environment variables as a hint to know how
to be configured.

That's for example the case for perl-net-ssleay that uses
OPENSSL_PREFIX, if it is set in the environment, as the prefix to
openssl.

Add a new variable that packages can set if they need extra environment
variables. Update the manual accordingly.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: enhance the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobusybox: fix typo 'overwritting'
Thomas De Schampheleire [Sat, 12 Jul 2014 19:21:16 +0000 (21:21 +0200)]
busybox: fix typo 'overwritting'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoncmpc: bump to version 0.23
Gustavo Zacarias [Thu, 10 Jul 2014 20:10:32 +0000 (17:10 -0300)]
ncmpc: bump to version 0.23

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibgpgme: disable all tests
Gustavo Zacarias [Sat, 12 Jul 2014 13:08:01 +0000 (10:08 -0300)]
libgpgme: disable all tests

Disable all of the tests, including runtime that needs gnupg.
There's no longer --without configure options for them, it's now
--disable. Fixes:
http://autobuild.buildroot.net/results/eb1/eb1e06b1d99c441b6086c07ee04b084a61041dc7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobinutils: fix xtensa ld segfault on linking linux modules
Max Filippov [Thu, 10 Jul 2014 16:25:13 +0000 (20:25 +0400)]
binutils: fix xtensa ld segfault on linking linux modules

This fixes the following build error reproducible with any linux kernel
module built with a recent buildroot toolchain:

  LD [M]  fs/jbd2/jbd2.ko
  /bin/sh: line 1: 12069 Segmentation fault
  buildroot/host/usr/bin/xtensa-buildroot-linux-uclibc-ld -r --no-relax
  -T linux/scripts/module-common.lds --build-id
  -o fs/jbd2/jbd2.ko fs/jbd2/jbd2.o fs/jbd2/jbd2.mod.o

Backported from: e7d17e71cdc10a2e81e454ce3b9637f1b2a587f2
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogd: switch to new homepage
Gustavo Zacarias [Thu, 10 Jul 2014 19:57:44 +0000 (16:57 -0300)]
gd: switch to new homepage

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogettext: bump to version 0.19.1
Gustavo Zacarias [Sat, 12 Jul 2014 11:40:48 +0000 (08:40 -0300)]
gettext: bump to version 0.19.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Sat, 12 Jul 2014 11:36:20 +0000 (08:36 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobusybox: fix interaction with version selection removal and lzo fix
Thomas Petazzoni [Fri, 11 Jul 2014 18:04:18 +0000 (20:04 +0200)]
busybox: fix interaction with version selection removal and lzo fix

The fix for the LZO issue in Busybox was merged between the moment the
patch removing the Busybox version selection was posted and
merged. This patch adjusts the Busybox patches to take into account
this issue: it removes the LZO patches for the no-longer existing
Busybox versions, and moves the LZO fix for the 1.22.1 Busybox version
as appropriate.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 years agocifs-utils: bump to version 6.4
Gustavo Zacarias [Fri, 11 Jul 2014 16:37:06 +0000 (13:37 -0300)]
cifs-utils: bump to version 6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflashrom: bump to version 0.9.7
Gustavo Zacarias [Fri, 11 Jul 2014 13:37:18 +0000 (10:37 -0300)]
flashrom: bump to version 0.9.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibgpgme: bump to version 1.5.0
Gustavo Zacarias [Fri, 11 Jul 2014 19:36:24 +0000 (16:36 -0300)]
libgpgme: bump to version 1.5.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibgcrypt: bump to version 1.6.1
Gustavo Zacarias [Fri, 11 Jul 2014 19:36:23 +0000 (16:36 -0300)]
libgcrypt: bump to version 1.6.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopolarssl: security bump to version 1.2.11
Gustavo Zacarias [Fri, 11 Jul 2014 21:06:28 +0000 (18:06 -0300)]
polarssl: security bump to version 1.2.11

Fixes CVE-2014-4911 and a few other issues that don't have a CVE assigned
(backports from 1.3.x branch).
The no programs & shared/static patches are now upstream albeit in a
slightly different form.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoe2fsprogs: bump to version 1.42.11
Gustavo Zacarias [Fri, 11 Jul 2014 16:36:32 +0000 (13:36 -0300)]
e2fsprogs: bump to version 1.42.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoarch: avr32 should only get removed for the 2015.02 release
Peter Korsgaard [Thu, 10 Jul 2014 20:05:55 +0000 (22:05 +0200)]
arch: avr32 should only get removed for the 2015.02 release

As discussed on the list.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5base: fix typo
Hadrien Boutteville [Thu, 10 Jul 2014 12:45:24 +0000 (14:45 +0200)]
qt5base: fix typo

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinadyn: not available for static
Gustavo Zacarias [Thu, 10 Jul 2014 12:40:37 +0000 (09:40 -0300)]
inadyn: not available for static

inadyn isn't static-build friendly, even if we pull in the libz link
line for the failure stated below it'll fail when trying to link to
libdl and using dlopen for the plugins. Fixes:
http://autobuild.buildroot.net/results/1a1/1a1a184e8248e5c51fa730d0c9721fe67a9c84a4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoatftp: fix static linking
Gustavo Zacarias [Thu, 10 Jul 2014 13:59:23 +0000 (10:59 -0300)]
atftp: fix static linking

Readline uses ncurses hence pull it in, also needs to explicitly link
against libpthread. Fixes:
http://autobuild.buildroot.net/results/259/2592612be38a2c1dde21b44be2ecf25d1cc5211a/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: deprecate the AVR32 architecture
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:00 +0000 (20:03 +0200)]
arch: deprecate the AVR32 architecture

The AVR32 architecture from Atmel is obsolete since a long time, not
supported upstream in most of the toolchain components (requires a
special version of gcc, an old version of uClibc, etc.). Until
February, Simon Dawson was making an excellent job at maintaining
AVR32 in Buildroot, and fixing all the issues caused by this
architecture. However, Simon focus has changed, and despite his call
for a new maintainer for AVR32 in Buildroot, nobody stepped up.

The issue of maintaining AVR32 is becoming worse and worse, so this
patch proposes to deprecate it for 2014.08, but keeping the support
around, to remove it for sure in 2014.11.

Cc: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: support only one version
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:09 +0000 (20:03 +0200)]
busybox: support only one version

This commit removes the version selection for the busybox
package. Busybox is very well maintained, and bugs are typically fixed
in a timely fashion. Moreover, regressions are fairly unlikely in this
very stable and well-tested tool.

Therefore, there isn't a very compelling reason to have a version
selection for Busybox since we don't accept such a version selection
for the vast majority of other packages, unless there is a strong
reason to do so.

Consequently, this commit:

 * Removes the 1.19.4, 1.20.2 and 1.21.1 Busybox versions, patches and
   default configuration file.

 * Moves the 1.22.1 patches from package/busybox/1.22.1 to just
   package/busybox/ like all other packages.

 * Renames the default 1.22.1 configuration file to just
   busybox.config.

 * Adapts the busybox.mk makefile to encode the current version to
   use.

 * Adds appropriate options to Config.in.legacy. However, even though
   the BR2_BUSYBOX_VERSION_1_22_X is removed, we don't add a
   Config.in.legacy option for it, since it would cause a legacy
   warning for virtually *all* users as most people are currently
   using 1.22.x.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: remove versions 7.4 and 7.5
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:08 +0000 (20:03 +0200)]
gdb: remove versions 7.4 and 7.5

We already default to 7.6 for all architectures (except AVR32, ARC and
Microblaze that have their specific versions), and we have added 7.7
recently.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt: remove gcc 4.6.x specific kludge
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:07 +0000 (20:03 +0200)]
qt: remove gcc 4.6.x specific kludge

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: remove versions 4.3.x and 4.6.x
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:06 +0000 (20:03 +0200)]
gcc: remove versions 4.3.x and 4.6.x

Those gcc series are old and are not used as the default versions for
any of the architectures we support, so this commit gets rid of them.

The gcc 4.3.x series technically remains used by the LPC32xx
defconfigs we have:

configs/ea3250_defconfig:BR2_GCC_VERSION_4_3_X=y
configs/fdi3250_defconfig:BR2_GCC_VERSION_4_3_X=y
configs/phy3250_defconfig:BR2_GCC_VERSION_4_3_X=y

Back when those defconfigs were introduced, gcc 4.3 was chosen because
it was the only one capable of building a fully working kernel for
those ARM-based platforms. However, the original submitter, Alexandre
Belloni, no longer has access to the hardware platforms, so he is
unable to test if newer gcc versions have fixed the problem. It
certainly doesn't make sense to keep gcc 4.3.x just for those three
boards, so we'll wait for someone actually using those defconfigs to
complain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: remove BR2_UCLIBC_ARM_TYPE
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:05 +0000 (20:03 +0200)]
uclibc: remove BR2_UCLIBC_ARM_TYPE

The BR2_UCLIBC_ARM_TYPE was only used for uClibc 0.9.32 on ARM. Now
that only uClibc 0.9.33 is supported for ARM, there is no point in
keeping BR2_UCLIBC_ARM_TYPE, since the corresponding uClibc options no
longer exist.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: remove references to uClibc 0.9.32
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:04 +0000 (20:03 +0200)]
package: remove references to uClibc 0.9.32

This commit removes all remaining references to uClibc 0.9.32.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: remove version 0.9.32.1
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:03 +0000 (20:03 +0200)]
uclibc: remove version 0.9.32.1

This commit removes the 0.9.32.1 version of uClibc, which is very old,
and does not bring any specific advantage over 0.9.33, which has been
around for more than two years now.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: remove 2.20.1, 2.21 and 2.23.1
Thomas Petazzoni [Tue, 1 Jul 2014 18:03:02 +0000 (20:03 +0200)]
binutils: remove 2.20.1, 2.21 and 2.23.1

 - The 2.20.x series is old, it no longer makes sense to support it.

 - In the 2.21.x series, we still have 2.21.1, so keeping 2.21 doesn't
   make much sense, so this patch removes it.

 - Similarly for the 2.23.x series, having both 2.23.1 and 2.23.2
   doesn't make much sense, so this patch removes 2.23.1 and keeps
   2.23.2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouse default binutils for sh architecture
Waldemar Brodkorb [Wed, 2 Jul 2014 15:31:53 +0000 (17:31 +0200)]
use default binutils for sh architecture

Tested toolchain compiles with binutils 2.22 and 2.24.
Result tested in Qemu 2.0.0. (only little endian version
tested)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: add twolame support
Gustavo Zacarias [Wed, 9 Jul 2014 18:12:08 +0000 (15:12 -0300)]
mpd: add twolame support

Now that there's a twolame package we can add support for it in mpd.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: add pulseaudio deps comment, stylize libsndfile
Gustavo Zacarias [Wed, 9 Jul 2014 17:20:54 +0000 (14:20 -0300)]
mpd: add pulseaudio deps comment, stylize libsndfile

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: remove redundant depends
Gustavo Zacarias [Wed, 9 Jul 2014 17:20:53 +0000 (14:20 -0300)]
mpd: remove redundant depends

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: remove experimental Blackfin toolchain
Thomas Petazzoni [Wed, 9 Jul 2014 21:20:22 +0000 (23:20 +0200)]
toolchain-external: remove experimental Blackfin toolchain

The 2014R1 toolchain is provided in two flavours by Analog Devices:
one based on gcc 4.3.x, which is considered stable, and one based on
gcc 4.5.x, considered experimental. In commit
5a65b8e185fab38824da5e9b7b5b9e781e31d368 ("toolchain-external: add ADI
Blackfin 2014R1 toolchain, remove 2012R1") both variants were added.

However, after some testing in the autobuilders, and discussion with
the Analog Devices folks, it turns out that the experimental version
of the toolchain is too experimental. It causes numerous build
failures, and the Analog Devices folks clearly say that it's an early
release and that they expect quite a few problems to show up.

Therefore, this commit removes the experimental flavor and keeps only
the stable variant. Note that the removal/renaming of the Config.in
options is not a problem, since those options were added after the
2014.05 release.

Fixes:

  http://autobuild.buildroot.org/results/2a9/2a9d9c332a206fdb46bc8ba022c74d23082a6312/
  http://autobuild.buildroot.org/results/e1c/e1ce0c1cdd0139208dddaa8f2441ab0e3ab2385e/
  http://autobuild.buildroot.org/results/993/993aca3f4719afaa4b37524f9136fb8cdc53a066/
  and more.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump default to version 3.15.5
Gustavo Zacarias [Wed, 9 Jul 2014 20:55:03 +0000 (17:55 -0300)]
linux: bump default to version 3.15.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4, 10, 14, 15}.x series
Gustavo Zacarias [Wed, 9 Jul 2014 20:55:02 +0000 (17:55 -0300)]
linux-headers: bump 3.{4, 10, 14, 15}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agorsync: bump to version 3.1.1
Gustavo Zacarias [Wed, 9 Jul 2014 19:03:42 +0000 (16:03 -0300)]
rsync: bump to version 3.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoccrypt: new package
David Bachelart [Wed, 9 Jul 2014 12:33:45 +0000 (14:33 +0200)]
ccrypt: new package

ccrypt is a utility for encrypting and decrypting files and streams.

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibv4l: Bump version to 1.0.1
Ezequiel García [Sat, 5 Jul 2014 21:07:40 +0000 (18:07 -0300)]
libv4l: Bump version to 1.0.1

Quite some work has been done from 0.8.3 to 1.0.1, and as a result
this commit is very intrusive. The biggest change is the move to an
autotools package.

Then, the options that enable utilities individually have been deprecated
and moved to Config.in.legacy. Instead, we introduce new option to select
either all the utilities. This change loses granularity in favor of
maintainability.

[Peter: needs host-pkgconf. Select and use argp-standalone on uClibc]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: drop host-xfont_font-util dependency
Peter Korsgaard [Wed, 9 Jul 2014 14:57:18 +0000 (16:57 +0200)]
xserver_xorg-server: drop host-xfont_font-util dependency

This is no longer needed now that e244eb12d (xserver_xorg-server: Fix race
condition when installing man pages) has been reverted.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agontpd: drop default /etc/default/ntpd file
Peter Korsgaard [Wed, 9 Jul 2014 13:58:23 +0000 (15:58 +0200)]
ntpd: drop default /etc/default/ntpd file

With the recent change to the init script the default /etc/default/ntpd file
doesn't do anything, so don't install it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoFixing ntpd time syncing problem
Angelo Compagnucci [Tue, 10 Jun 2014 12:58:40 +0000 (14:58 +0200)]
Fixing ntpd time syncing problem

Add ntp.conf file to make ntpd syncing.
Starting ntpd daemon with -g to sync time also with big offsets.
Removes the use of deprecated ntpdate command for initial time sync.

[Peter: drop unused NTPDATE_BIN variable]
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenvpn: disable plugins for static builds
Gustavo Zacarias [Wed, 9 Jul 2014 12:13:17 +0000 (09:13 -0300)]
openvpn: disable plugins for static builds

Fixes:
http://autobuild.buildroot.net/results/082/08295cdcb3d14198bc7fbddec89d6fead946afba/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocryptodev-linux: fix license information
Gustavo Zacarias [Thu, 3 Jul 2014 20:00:39 +0000 (17:00 -0300)]
cryptodev-linux: fix license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocloop: drop unused target variant
Peter Korsgaard [Wed, 9 Jul 2014 13:43:36 +0000 (15:43 +0200)]
cloop: drop unused target variant

We only support cloop for the host (for fs/cloop), so drop the unused target
variant.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocloop: add license information
Gustavo Zacarias [Thu, 3 Jul 2014 20:00:38 +0000 (17:00 -0300)]
cloop: add license information

[Peter: clarify that advancecomp is GPLv2+, add COPYING]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobootutils: add license information
Gustavo Zacarias [Thu, 3 Jul 2014 20:00:37 +0000 (17:00 -0300)]
bootutils: add license information

[Peter: also add _LICENSE_FILES]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnl: Move the pthread dependency menu comment
Ezequiel García [Sat, 5 Jul 2014 21:08:02 +0000 (18:08 -0300)]
libnl: Move the pthread dependency menu comment

In order for this comment to be properly displayed, it must be moved to be
at the end of the file.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: Fix race condition when installing man pages, 2nd try
Bernd Kuhls [Sat, 5 Jul 2014 14:12:26 +0000 (16:12 +0200)]
xserver_xorg-server: Fix race condition when installing man pages, 2nd try

Should fix the still present bug:
http://autobuild.buildroot.net/results/045/04514bc9a8d1aad8ddd7af4f0fd8c16edd2e89a9/
http://autobuild.buildroot.net/results/1f2/1f25f744771fbb5124dca4563d79ea92cbfd72a3/

This patch reverts my previous attempt to fix this hard-to-catch race condition
http://git.buildroot.net/buildroot/commit/package/x11r7/xserver_xorg-server?id=e244eb12dfc50bb56167d5fdaef3aac52b0ff6a3

and removes make target install-data from _INSTALL_STAGING_OPT, which was
introduced in 2008:
http://git.buildroot.net/buildroot/commit/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk?id=d4e56ff4dc8a0528550eb8503956bdcddb2fe516

Comparing the content of STAGING_DIR with and without "make install-data" showed
no difference so I assume that is it no longer necessary to explicitly call this
make target as the normal install target takes care of everything.

The race condition occurs because "make install" and "make install-data" both
install usr/share/man/man1/Xserver.1

[Peter: don't remove host-xfont_font-util]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: fix build failures with gcc 4.9.x
Gustavo Zacarias [Tue, 8 Jul 2014 13:51:06 +0000 (10:51 -0300)]
mpd: fix build failures with gcc 4.9.x

As reported by Sagaert Johan in the mailing list mpd 0.18.x fails to
build with gcc 4.9.x
Patch status: sent upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: improve isolation of build environment and error handling
Thomas Petazzoni [Tue, 8 Jul 2014 20:17:53 +0000 (22:17 +0200)]
python3: improve isolation of build environment and error handling

This commit mainly fixes bug #7268 by improving the isolation of
the build environment by making sure some host environment header
paths do not leak into the target build. The investigation was done by
David <buildroot-2014@inbox.com>. This is done by not calling the
add_multiarch_paths() function of setup.py when we're cross-compiling,
a change made in the newly introduced
python3-012-dont-add-multiarch-path.patch.

In addition to this, another patch is added to make sure the build is
aborted when one of the Python module fails to build. This is done in
python3-013-abort-on-failed-modules.patch. Without this, the Python
setup.py script simply logs which module failed to build, but doesn't
abort, so it's hard to notice when there is a problem.

[Peter: slightly reword commit message]
Cc: David <buildroot-2014@inbox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython: improve isolation of build environment and error handling
Thomas Petazzoni [Tue, 8 Jul 2014 20:17:52 +0000 (22:17 +0200)]
python: improve isolation of build environment and error handling

This commit mainly fixes bug #7268 by improving the isolation of
the build environment by making sure some host environment header
paths do not leak into the target build. The investigation was done by
David <buildroot-2014@inbox.com>. This is done by not calling the
add_multiarch_paths() function of setup.py when we're cross-compiling,
a change made in the newly introduced
python-013-dont-add-multiarch-path.patch.

In addition to this, another patch is added to make sure the build is
aborted when one of the Python module fails to build. This is done in
python-014-abort-on-failed-modules.patch. Without this, the Python
setup.py script simply logs which module failed to build, but doesn't
abort, so it's hard to notice when there is a problem.

[Peter: slightly reword commit message]
Cc: David <buildroot-2014@inbox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodmraid: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:11 +0000 (09:40 -0300)]
dmraid: add license information

[Peter; license is GPLv2+, drop LGPL, add LICENSE file]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolesstif: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:10 +0000 (09:40 -0300)]
lesstif: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibraw: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:09 +0000 (09:40 -0300)]
libraw: add license information

[Peter: also add README to _LICENSE_FILES]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-fusion: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:08 +0000 (09:40 -0300)]
linux-fusion: add license information

[Peter: license is GPLv2+]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomusepack: add license information
Gustavo Zacarias [Wed, 2 Jul 2014 12:40:06 +0000 (09:40 -0300)]
musepack: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>