buildroot.git
9 years agopackage/tor: limit libseccomp support to archs supported by upstream
Bernd Kuhls [Sun, 26 Apr 2015 10:29:46 +0000 (12:29 +0200)]
package/tor: limit libseccomp support to archs supported by upstream

See this commit for a list of supported archs:
https://gitweb.torproject.org/tor.git/commit/src/common/sandbox.c?id=b0c1c700114aa8d4dfc180d85870c5bbe15fcacb

Fixes mips64el build error:
http://autobuild.buildroot.net/results/f97/f9792a0b013f6b79774ecc978d859f56bd941586/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc-ng: remove temporary workaround
Waldemar Brodkorb [Sun, 26 Apr 2015 11:19:18 +0000 (13:19 +0200)]
uclibc-ng: remove temporary workaround

fminf and others got implemented in the time after this
patch was added. Remove the workaround to get mesa compiled
with uClibc-ng.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gnuchess: bump version to 6.2.1
Bernd Kuhls [Sun, 19 Apr 2015 14:29:22 +0000 (16:29 +0200)]
package/gnuchess: bump version to 6.2.1

Removed unneeded patches, Debian did the same:
http://metadata.ftp-master.debian.org/changelogs/main/g/gnuchess/unstable_changelog

gnuchess (6.0.2-1) unstable; urgency=low

  * New upstream version (Closes: #637722)
[...]
    - Drop patches

The patch is no longer needed because the gnuchess code has been
reworked. The input.c file no longer exists, and there is no longer a
getline() function being defined.

[Thomas: tweak commit log.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-imx: new package
Jérôme Pouiller [Sat, 29 Nov 2014 09:12:40 +0000 (10:12 +0100)]
xdriver_xf86-video-imx: new package

X.Org driver for iMX5 GPU. Most of patches come from Yocto project.

Tested using:
    mx5loco_defconfig +
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
    BR2_PACKAGE_QT5=y
    BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
    BR2_PACKAGE_QT5BASE_EXAMPLES=y
    BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
    BR2_PACKAGE_QT5BASE_XCB=y
    BR2_PACKAGE_QT5BASE_DEFAULT_QPA="xcb"
    BR2_PACKAGE_QT5BASE_GIF=y
    BR2_PACKAGE_QT5BASE_JPEG=y
    BR2_PACKAGE_QT5BASE_PNG=y
    BR2_PACKAGE_QT5QUICKCONTROLS=y
    BR2_PACKAGE_XORG7=y
    BR2_PACKAGE_XSERVER_XORG_SERVER=y
    BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR=y
    BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y
    BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX=y
    BR2_PACKAGE_FREESCALE_IMX=y
    BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53=y
    BR2_PACKAGE_GPU_AMD_BIN_MX51=y
    BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES=y

[Thomas: minor tweaks to Config.in.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot: Fix broken logic for comment display
Bernd Kuhls [Sun, 26 Apr 2015 09:48:20 +0000 (11:48 +0200)]
package/dovecot: Fix broken logic for comment display

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs: only add non rootfs- targets to PACKAGES
Thomas Petazzoni [Sun, 26 Apr 2015 09:50:59 +0000 (11:50 +0200)]
fs: only add non rootfs- targets to PACKAGES

Commit 4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37
("4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37") added the dependencies of
rootfs building logic to PACKAGES, only thinking about the case where
rootfs building logic actually depends on real, normal packages
(host-mtd, host-genext2fs, etc.). But some file systems (rootfs-ubi)
depend on other filesystem images (rootfs-ubifs). And such targets
should not be added to PACKAGES, otherwise an incorrect circular
dependency is created.

This commit fixes that by only adding the rootfs building logic
dependencies that do *not* start with rootfs- to the global PACKAGES
variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agoqt: add QT_COORD_TYPE to double option
Julien D'Ascenzio [Wed, 22 Apr 2015 08:34:18 +0000 (10:34 +0200)]
qt: add QT_COORD_TYPE to double option

On ARM-based platforms, qreal is a typedef for float for performance
reasons. But we may want a double precision anyway.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyqt: fix PyQt_qreal_double enabling/disabling
Gwenhael Goavec-Merou [Sat, 25 Apr 2015 10:41:16 +0000 (12:41 +0200)]
python-pyqt: fix PyQt_qreal_double enabling/disabling

fix :
http://autobuild.buildroot.net/results/6a2/6a28855c11b321ce8ceaf0acdd5395738af931fd/
http://autobuild.buildroot.net/results/91a/91a3641d1e4126475bbca0d3c779582832f6db91/
http://autobuild.buildroot.net/results/b10/b10fa70c199fc2de405068fea1eac80c29577747/
http://autobuild.buildroot.net/results/b53/b5334ac80afb58a19bd40b7c0b18378d75bc8fc7/
http://autobuild.buildroot.net/results/01f/01fa1319e467c3c2410fd462dc40c18b82dc8246/
http://autobuild.buildroot.net/results/2e6/2e6cae93ab860175c405e440bc7e24334b5b14e8/

According to configure-ng.py, PyQt_qreal_double must be disabled on
ARM target and when QT_NO_FPU is set.

[Thomas: refactor code using a hidden Config.in boolean.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-encode-detect: new package
Bernd Kuhls [Sun, 26 Apr 2015 09:37:15 +0000 (11:37 +0200)]
package/perl-encode-detect: new package

[Thomas:
 - rewrap Config.in help text
 - fix license, it's MPL-1.1, not 'open_source'.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-db-file: new package
Bernd Kuhls [Sun, 26 Apr 2015 09:37:14 +0000 (11:37 +0200)]
package/perl-db-file: new package

[Thomas: rename package to perl-db-file.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tor: new package
Bernd Kuhls [Mon, 20 Apr 2015 17:51:37 +0000 (19:51 +0200)]
package/tor: new package

[Thomas:
  - remove reference to BR2_LARGEFILE, this option has been
    removed. Largefile support is now guaranteed to be present.
  - rewrap Config.in help text to the appropriate length.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-libwww-perl: Move package/perl-libwww to new package
Bernd Kuhls [Sat, 25 Apr 2015 13:14:02 +0000 (15:14 +0200)]
package/perl-libwww-perl: Move package/perl-libwww to new package

This move is necessary to sync the package with scancpan output
as suggested by Francois.
http://lists.busybox.net/pipermail/buildroot/2015-April/126406.html

Since perl-libwww was never part of any official buildroot release
I did not bother the include legavy handling of its options ;)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/input-tools: add hash for joystick_20051019-5.diff.gz
Romain Naour [Sat, 25 Apr 2015 12:39:38 +0000 (14:39 +0200)]
package/input-tools: add hash for joystick_20051019-5.diff.gz

Fixes:
http://autobuild.buildroot.net/results/1f3/1f3c5c060cd98a3f4cf9688fc8a83cc1c23ece29

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: bump version to 1.4.2
Peter Seiderer [Sat, 25 Apr 2015 10:03:50 +0000 (12:03 +0200)]
libevdev: bump version to 1.4.2

Update version and hash (see [1] for details).

[1] http://lists.freedesktop.org/archives/input-tools/2015-April/001167.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download: restore mandatory check of hashes
Yann E. MORIN [Wed, 22 Apr 2015 22:08:41 +0000 (00:08 +0200)]
support/download: restore mandatory check of hashes

Now that custom external toolchains to be downloaded properly instruct
to not fail on a missing hash, restore the mandatory hash check for
everything else.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: ignore missing hash for snapshots
Yann E. MORIN [Wed, 22 Apr 2015 22:08:40 +0000 (00:08 +0200)]
package/uclibc: ignore missing hash for snapshots

We can't have a hash for snapshots, so add them to the exclusion list.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain/external: ignore missing hash for custom downloaded toolchain
Yann E. MORIN [Wed, 22 Apr 2015 22:08:39 +0000 (00:08 +0200)]
toolchain/external: ignore missing hash for custom downloaded toolchain

We will *always* be missing a hash file for custom external toolchains
that are downloaded.

So, just ignore that failure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download: add possibility to not fail on missing hash
Yann E. MORIN [Wed, 22 Apr 2015 22:08:38 +0000 (00:08 +0200)]
support/download: add possibility to not fail on missing hash

In very constrained cases, it might be needed to not fail if a hash is
missing. This is notably the case for custom external toolchains to be
downloaded, because we do have a .hash file for external toolchains,
but we obviously can not have hashes for all existing custom toolchains
(he, "custom"!).

So, add a way to avoid failing in that case.

>From the Makefile, we export the list of files for which not to check
the hash. Then, from the check-hash script, if no check was done, and
the file we were trying to match in in this exclusion list, we just exit
without error.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
changes v6 -> v7:
  - /beautify/ the pattern in the case clause

Changed v5 -> v6:  (Arnout)
  - fix the pattern in the case clause

Changes v4 -> v5:
  - micro-optimisation, use case-esac instead of a for-loop  (Arnout)
  - typoes  (Arnout)

Changes v3 -> v4:
  - drop the magic value, use a list of excluded files  (Arnout)

Changes v1 -> v2:
  - fix typoes in commit log

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: update hash for arc
Arnout Vandecappelle [Wed, 22 Apr 2015 22:08:37 +0000 (00:08 +0200)]
uclibc: update hash for arc

The old hash for 2014.08 was never updated. Since uclibc-arc-2014.12 is
downloaded from the github helper, it is converted into a 'none' hash.

Reordered the hashes so the none-hashes are together.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: add missing hash for eXtensa
Yann E. MORIN [Wed, 22 Apr 2015 22:08:36 +0000 (00:08 +0200)]
package/uclibc: add missing hash for eXtensa

This is a git snapshot, we can't have a hash for it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/binutils: add hashes
Yann E. MORIN [Wed, 22 Apr 2015 22:08:35 +0000 (00:08 +0200)]
package/binutils: add hashes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fixes linking error with tremor due to wrong library name
Bernd Kuhls [Wed, 22 Apr 2015 22:06:24 +0000 (00:06 +0200)]
package/vlc: Fixes linking error with tremor due to wrong library name

Fixes
http://autobuild.buildroot.net/results/469/4693f5f3d362e74a55c8145dbe777606f5865ad5/
http://autobuild.buildroot.net/results/795/795744533dbf7076e88163fb35327da8c42819f1/
http://autobuild.buildroot.net/results/89d/89d9997fc76ad334ff7b7f2a28294c78c424a120/
http://autobuild.buildroot.net/results/57f/57f22c8623268d836e8b402e8c27d418b6fb7f72/
http://autobuild.buildroot.net/results/5f6/5f66a8a135c95624a14908c685f1201dd7f8ae87/

and many others

[Thomas: rename patch to respect patch numbering.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fix compile warning being treated as error
Bernd Kuhls [Fri, 24 Apr 2015 20:00:52 +0000 (22:00 +0200)]
package/vlc: Fix compile warning being treated as error

Fixes
http://autobuild.buildroot.net/results/b14/b149dcd9bfcf9e69cf7fa16636c3089a6673769a/
http://autobuild.buildroot.net/results/d45/d45c4abcd22d99edaff8943b0073a94dcd972ab5/
http://autobuild.buildroot.net/results/1f6/1f6a4a9084a9d07bdd8d6c6dafeedb38d27c0b8f/
http://autobuild.buildroot.net/results/8f0/8f05242257a0ed059d5258c4a83ab26095516917/

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

Needed for next ffmpeg release:
http://git.videolan.org/?p=ffmpeg.git;a=blobdiff;f=Changelog;h=4542e324d8ab722468ed251325a3efddb28bff8e;hp=46304d83a90d2a846421a61f9391dfcd1e52ba31;hb=72025ac36c740f031d7e413041fdfe97087c83c4;hpb=6fe2641d6e410b7bc203138fa97e1118b411f16d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluarocks: bump to version 2.2.2
Francois Perrad [Sat, 25 Apr 2015 08:48:54 +0000 (10:48 +0200)]
luarocks: bump to version 2.2.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogtest: generate the gtest-config script
Thomas Petazzoni [Sat, 25 Apr 2015 09:22:42 +0000 (11:22 +0200)]
gtest: generate the gtest-config script

gtest has moved from the autotools to CMake, but the CMake build
system is currently not installing the gtest-config script. Work
around that by installing it manually, after doing the necessary
sed-ing from the gtest-config.in template.

Reported-by: Carlos Santos <casantos@datacom.ind.br>
Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/bullet: new package
Romain Naour [Fri, 24 Apr 2015 19:46:11 +0000 (21:46 +0200)]
package/bullet: new package

[Thomas:
  - move package to 'Libraries -> Graphics'
  - wrap the Config.in help text
  - change license from "Zlib" to "zlib license" to match what the
    zlib package is doing.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nvidia-driver: don't install gl.pc when not providing libgl
Yann E. MORIN [Fri, 24 Apr 2015 21:39:57 +0000 (23:39 +0200)]
package/nvidia-driver: don't install gl.pc when not providing libgl

When nvidia-driver does not provide libgl (i.e. when it does not install
the X.org driver), it should also not install gl.pc, otherwise, packages
that depend on pkg-config will mis-detect presence of GL and fail to
build, like vlc:

    http://autobuild.buildroot.org/results/724/724fce8ce51c2c0578192b1369a1cfcea3d72638/

So, only install gl.pc when we install the X.org driver. Similarly, we
do not need to install libGL.la either.

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosh64: deprecate support for this dead architecture
Waldemar Brodkorb [Sat, 25 Apr 2015 01:23:14 +0000 (03:23 +0200)]
sh64: deprecate support for this dead architecture

As discussed on the mailinglist, this should be deprecated
before removal.

[Thomas: don't add to Config.in.legacy.]

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 10.5.4
Bernd Kuhls [Sat, 25 Apr 2015 07:32:16 +0000 (09:32 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 10.5.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libinput: bump version to 0.14.1
Bernd Kuhls [Sat, 25 Apr 2015 07:32:15 +0000 (09:32 +0200)]
package/libinput: bump version to 0.14.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-generic: substitute colon and space out of PKG_VERSION
Arnout Vandecappelle [Wed, 22 Apr 2015 23:08:08 +0000 (01:08 +0200)]
pkg-generic: substitute colon and space out of PKG_VERSION

Using a colon or a space in a make target doesn't work, so they have to
be filtered out of the PKG_VERSION variable just like the / currently
already is.

This will be needed for date-based CVS versions.

Add a helper macro 'sanitize' in pkg-utils.mk to implement this. This
also moves the strip to the inner level for the target branch.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mtd: fix musl compile
Jörg Krause [Fri, 24 Apr 2015 21:56:03 +0000 (23:56 +0200)]
package/mtd: fix musl compile

Update rpmatch patch to commit 5923077649ca167991a24ca05bd285fdf6fa1a06 and
expand to musl. Rename it.

Add more patches to fix compile issues with musl.

Patches sent upstream:
1) "include/common.h: fix build against musl"
   http://patchwork.ozlabs.org/patch/464074/
2) "lib/libfec.c: fix build against musl"
   http://patchwork.ozlabs.org/patch/464073/
3) "serve_image: do not include error.h"
   http://patchwork.ozlabs.org/patch/464416/
4) "recv_image: do not include error.h"
   http://patchwork.ozlabs.org/patch/464417/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot: not available on static-only build
Bernd Kuhls [Thu, 23 Apr 2015 19:22:34 +0000 (21:22 +0200)]
package/dovecot: not available on static-only build

Fixes
http://autobuild.buildroot.net/results/53f/53fd9003a4cf7d128f4d64d43209fe26d859a829/

http://autobuild.buildroot.net/results/53f/53fd9003a4cf7d128f4d64d43209fe26d859a829/dovecot-2.2.16/config.log
shows this pthread related link error during configure

sqlite3.c:(.text+0x5106): undefined reference to `pthread_mutex_trylock'
/home/test/autobuild/instance-2/output/host/usr/i686-buildroot-linux-uclibc/sysroot/usr/lib/libsqlite3.a(sqlite3.o): In function `pthreadMutexAlloc':
sqlite3.c:(.text+0x91fb): undefined reference to `pthread_mutexattr_init'
sqlite3.c:(.text+0x9205): undefined reference to `pthread_mutexattr_settype'
sqlite3.c:(.text+0x920e): undefined reference to `pthread_mutex_init'
sqlite3.c:(.text+0x9216): undefined reference to `pthread_mutexattr_destroy'
sqlite3.c:(.text+0x9234): undefined reference to `pthread_mutex_init'

Trying to fix it in dovecot.mk by

+# dovecot forgets to compile/link with -pthread breaking static linking
+DOVECOT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -pthread" LIBS="-pthread"

results in a build error later on
setresgid.c:(.text+0x0): multiple definition of `setresgid'

which might be fixed in uclibc by porting
http://git.buildroot.net/buildroot/tree/package/uclibc/1.0.2/0001-fix-static-linking-of-pthread-apps.patch

but, at the end, I think it is better to not build Dovecot as a static
binary since it is heavy modularized and not worth the effort. Therefore
remove two patches fixing static linking, since they are not needed anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoQEMU: Enable package for MIPS targets
Markos Chandras [Thu, 23 Apr 2015 09:50:57 +0000 (10:50 +0100)]
QEMU: Enable package for MIPS targets

Allow QEMU to be installed on MIPS targets. Also introduce a new
symbol (BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET) to hold the
architectures than can build and use QEMU on the target.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqwt: bump to version 6.1.2
Frank Hunleth [Fri, 24 Apr 2015 18:49:57 +0000 (14:49 -0400)]
qwt: bump to version 6.1.2

Qwt 6.1.2 fixes several minor issues in 6.1.0 and removes the need to
carry a patch in Buildroot.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tiff: Rework tiff utilities handling
Bernd Kuhls [Thu, 23 Apr 2015 21:18:16 +0000 (23:18 +0200)]
package/tiff: Rework tiff utilities handling

Remove all utility-specific options in favour of a generic
option which select either all or no packages. If users
want something more fine-grained than that, they can always
remove the unnecessary tools in a post-build script.

Since tiff has no configure option or Makefile target to prevent
the build/install of its utilities specific Makefile targets are
called to build the libtiff and, optionally, the utilities.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: more compact implementation, slightly extend help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqpdf: unbreak build on uClibc w/o threads
Peter Korsgaard [Fri, 24 Apr 2015 18:01:27 +0000 (20:01 +0200)]
qpdf: unbreak build on uClibc w/o threads

Fixes:
http://autobuild.buildroot.net/results/af8/af857caef0c622aa9cfb1859b344880971ff263c/
http://autobuild.buildroot.net/results/10e/10e90c7c93aec92f0e13de50ecc861d56750dc8c/
http://autobuild.buildroot.net/results/69c/69c4522852e0b634723aaacd57f192db7ad6aa58/
http://autobuild.buildroot.net/results/fc4/fc45fd1bd249f58a3d8907bfd410f5dfbb452751/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowpa_supplicant: add fix for CVE-2015-1863
Baruch Siach [Fri, 24 Apr 2015 07:08:46 +0000 (10:08 +0300)]
wpa_supplicant: add fix for CVE-2015-1863

Add upstream patch fixing CVE-2015-1863: buffer overflow of SSID buffer within
struct p2p_device that is allocated from heap.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoelfutils: disable symbol versioning for uClibc
Max Filippov [Thu, 23 Apr 2015 20:45:57 +0000 (23:45 +0300)]
elfutils: disable symbol versioning for uClibc

This fixes segfault in xtensa ltrace caused by infinite recursion in the
function dwfl_report_elf calling other version of that function.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMakefile: add list-defconfig to the general help
Yann E. MORIN [Thu, 23 Apr 2015 21:04:06 +0000 (23:04 +0200)]
Makefile: add list-defconfig to the general help

When listing defconfig files was moved to its own make target, it was
not added to the general help text.

However, this is a very important topic, so list it.

[Peter: drop ':' character]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gcc: add hashes
Yann E. MORIN [Wed, 22 Apr 2015 22:08:34 +0000 (00:08 +0200)]
package/gcc: add hashes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-input-void: bump version to 1.4.1 and mark as deprecated
Bernd Kuhls [Thu, 23 Apr 2015 20:40:51 +0000 (22:40 +0200)]
package/x11r7/xdriver_xf86-input-void: bump version to 1.4.1 and mark as deprecated

http://lists.x.org/archives/xorg-announce/2015-April/002585.html
"The void driver is a dummy driver that does nothing and just fulfils
the requirements of really old servers that must have an input device.
It is just dead weight for any server released after 2007 or so. Don't use
it."

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.9.0
Bernd Kuhls [Thu, 23 Apr 2015 20:40:50 +0000 (22:40 +0200)]
package/x11r7/xdriver_xf86-input-libinput: bump version to 0.9.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agohost-cmake: Install with install/fast target
Cédric Marie [Thu, 23 Apr 2015 19:46:13 +0000 (21:46 +0200)]
host-cmake: Install with install/fast target

Use install/fast target in order to skip compilation in installation
step. The same trick has just been used in pkg-cmake.mk for all CMake
packages.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
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 agolibcurl: disable curldebug
Gustavo Zacarias [Thu, 23 Apr 2015 20:01:36 +0000 (17:01 -0300)]
libcurl: disable curldebug

curldebug is a more advanced form of debugging for curl which audits
source code with the checksource.pl tool, and treats warnings as errors.
Normally users won't want/need this so disable it since it leads to
failed builds when debug info is enabled (which is what people normally
want).
When buildroot does --enable-debug curl inherently enables curldebug too.

Solves bug #8041.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: add hash file
Thomas Petazzoni [Thu, 23 Apr 2015 15:43:19 +0000 (17:43 +0200)]
qemu: add hash file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoQEMU: bump to 2.2.1
Markos Chandras [Thu, 23 Apr 2015 09:50:56 +0000 (10:50 +0100)]
QEMU: bump to 2.2.1

Bump QEMU to 2.2.1

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetwork-manager: adjust license info
Gustavo Zacarias [Thu, 23 Apr 2015 11:12:38 +0000 (08:12 -0300)]
network-manager: adjust license info

libgsystem is gone, so remove that section. Fixes:
http://autobuild.buildroot.net/results/4b9/4b9826f540b8da43c0434769ad9485529cf762e6/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agostunnel: bump to version 5.16
Gustavo Zacarias [Thu, 23 Apr 2015 14:19:44 +0000 (11:19 -0300)]
stunnel: bump to version 5.16

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: update musl-cross toolchain to 1.1.6
Will Wagner [Thu, 23 Apr 2015 13:27:10 +0000 (14:27 +0100)]
toolchain-external: update musl-cross toolchain to 1.1.6

The 1.1.6 version of musl-cross fixes the two issues that had been
preventing versions after 1.1.1 being used by buildroot, namely:
- sysroot is enabled again
- kernel headers are included again

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6x: tweak readme wording
Peter Korsgaard [Thu, 23 Apr 2015 08:01:58 +0000 (10:01 +0200)]
nitrogen6x: tweak readme wording

The filesystem is directly written to the card, no extraction is performed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-cmake: Skip compilation in installation step
Cédric Marie [Wed, 22 Apr 2015 20:11:56 +0000 (22:11 +0200)]
pkg-cmake: Skip compilation in installation step

With CMake build system, the "make install" command always compiles
before installing, to make sure that everything is up-to-date.

In Buildroot environment, this is quite useless, because the package
has always already been compiled, either at first build, or when
invoking "make <package>-rebuild".
In all cases, when it comes to staging or target installation step, the
package has just been compiled.

Using "make install/fast" - in order to skip the compilation step - is
therefore more appropriate, more consistent with what other build
systems do, and saves time when you need to rebuild your package.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
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 agomosquitto: remove ipv6 depends
Gustavo Zacarias [Wed, 22 Apr 2015 22:13:58 +0000 (19:13 -0300)]
mosquitto: remove ipv6 depends

The package was added after the last iteration of the non-ipv6
toolchain removal, so adjust it.

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>
9 years agopackage: kill pointless text justification
Gustavo Zacarias [Wed, 22 Apr 2015 22:14:34 +0000 (19:14 -0300)]
package: kill pointless text justification

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agontfs-3g: bump to version 2015.3.14
Gustavo Zacarias [Thu, 23 Apr 2015 05:49:30 +0000 (02:49 -0300)]
ntfs-3g: bump to version 2015.3.14

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopentyrian: switch to bitbucket
Gustavo Zacarias [Thu, 23 Apr 2015 05:46:30 +0000 (02:46 -0300)]
opentyrian: switch to bitbucket

As we know google code is going away, so switch the site/source now
rather than waiting for breakage.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibcurl: security bump to version 7.42.0
Gustavo Zacarias [Thu, 23 Apr 2015 05:46:07 +0000 (02:46 -0300)]
libcurl: security bump to version 7.42.0

Fixes:
CVE-2015-3144 - host name out of boundary memory access
CVE-2015-3145 - cookie parser out of boundary memory access
CVE-2015-3148 - Negotiate not treated as connection-oriented
CVE-2015-3143 - Re-using authenticated connection when unauthenticated

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomemcached: bump to version 1.4.23
Gustavo Zacarias [Thu, 23 Apr 2015 05:42:23 +0000 (02:42 -0300)]
memcached: bump to version 1.4.23

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibtirpc: fix build failure after non-IPv6 disabled
Gustavo Zacarias [Thu, 23 Apr 2015 04:44:18 +0000 (01:44 -0300)]
libtirpc: fix build failure after non-IPv6 disabled

Adjust patch 0005 to account for the removed optional IPv6 support
patch, since otherwise it won't apply. Fixes:
http://autobuild.buildroot.net/results/0ad/0ad8c9e331190f72280c3a1e3cd8d42728f818de/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: bump version to 2.2.1
Bernd Kuhls [Wed, 22 Apr 2015 21:23:29 +0000 (23:23 +0200)]
package/vlc: bump version to 2.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: use only glesv2, not glesv1
Bernd Kuhls [Wed, 22 Apr 2015 21:23:28 +0000 (23:23 +0200)]
package/vlc: use only glesv2, not glesv1

Fixes
http://autobuild.buildroot.net/results/0be/0bee8646c2dd7dd2c201ee2986f3e802277314a5/
http://autobuild.buildroot.net/results/64a/64a1a6d39b72b9dec4231b9f28ca14b38989d7df/
http://autobuild.buildroot.net/results/b6b/b6b66e0b24d985462ca8dbefedd740453ca42293/
http://autobuild.buildroot.net/results/497/4976f5e9dc53e6f9f29d9d45f0fb9bd42c7ab1ea/

and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: drop BR2_INET_IPV6
Gustavo Zacarias [Sun, 19 Apr 2015 12:40:02 +0000 (09:40 -0300)]
toolchain: drop BR2_INET_IPV6

It's no longer used so farewell.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage infra: drop non-IPv6 support
Gustavo Zacarias [Sun, 19 Apr 2015 12:40:01 +0000 (09:40 -0300)]
package infra: drop non-IPv6 support

Now that IPv6 is mandatory remove support for non-IPv6 tweaks/variables
in the package infra.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: remove non-IPv6 dependencies and tweaks
Gustavo Zacarias [Sun, 19 Apr 2015 12:40:00 +0000 (09:40 -0300)]
packages: remove non-IPv6 dependencies and tweaks

Now that IPv6 is mandatory remove package dependencies and conditionals
for it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: remove non-IPv6 enabler patches
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:59 +0000 (09:39 -0300)]
packages: remove non-IPv6 enabler patches

These are no longer required so remove them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: remove references to IPv6
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:58 +0000 (09:39 -0300)]
docs/manual: remove references to IPv6

It's no longer an option so remove all references to it.

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>
9 years agoconfigs: drop redundant IPv6 option
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:57 +0000 (09:39 -0300)]
configs: drop redundant IPv6 option

Drop the buildroot toolchain IPv6 option from the only config that's got
it since it's now a non-option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: force ipv6 build
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:56 +0000 (09:39 -0300)]
busybox: force ipv6 build

Since it isn't optional any more just force IPv6 on in busybox to avoid
problems.

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>
9 years agosystem: drop IPv6 depend for systemd
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:55 +0000 (09:39 -0300)]
system: drop IPv6 depend for systemd

The option is a non-option now and will be removed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: make IPv6 mandatory for external toolchains
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:54 +0000 (09:39 -0300)]
toolchain: make IPv6 mandatory for external toolchains

Remove BR2_INET_IPV6 select for predefined external toolchains.

Remove the (non)IPv6 option prompt since it's now mandatory.

And force the toolchain check now that internal uclibc is always built
with IPv6 support and external non-IPv6 toolchains are disallowed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: default to Y for IPv6
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:53 +0000 (09:39 -0300)]
package/uclibc: default to Y for IPv6

Remove the option to disable IPv6 support in uclibc and associated
logic.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: remove CS sh2 toolchains
Gustavo Zacarias [Sun, 19 Apr 2015 12:39:52 +0000 (09:39 -0300)]
toolchain-external: remove CS sh2 toolchains

Normally we'd deprecate them, but:

1) They don't support IPv6 and it's being removed so it makes no sense.
2) They're based on uClibc 0.9.30-ish which is very old and surely has
package build breakage all over it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xapp_xeyes: Add dependency to xlib_libXrender
Bernd Kuhls [Tue, 21 Apr 2015 17:36:03 +0000 (19:36 +0200)]
package/x11r7/xapp_xeyes: Add dependency to xlib_libXrender

xeyes depends on Xrender since version 1.1.0
http://lists.freedesktop.org/archives/xorg/2009-December/048305.html

Fixes
http://autobuild.buildroot.net/results/bae/baeded072fbec4a398738e00dbf851d756af660f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconnman: enable systemd service by default
Mike Williams [Tue, 21 Apr 2015 17:50:38 +0000 (13:50 -0400)]
connman: enable systemd service by default

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoofono: enable systemd service by default
Mike Williams [Tue, 21 Apr 2015 17:50:37 +0000 (13:50 -0400)]
ofono: enable systemd service by default

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopsplash: move systemd service files to /usr/lib
Mike Williams [Tue, 21 Apr 2015 17:50:35 +0000 (13:50 -0400)]
psplash: move systemd service files to /usr/lib

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: fix installing gconv libs with multi-arch toolchain
Yann E. MORIN [Tue, 21 Apr 2015 16:55:52 +0000 (18:55 +0200)]
toolchain: fix installing gconv libs with multi-arch toolchain

For a multi-arch toolchain, gconv modules are in a sub-directory named
after the machine gcc targets. This is the case, for example, for the
Linaro ARM 2014.09 toolchain, which has the gconv modules in (relative
to the sysroot):
    /usr/lib/arm-linux-gnueabihf/gconv

while the Sourcery CodeBench ARM 2014.05 (non-multi-arch) has them in:
    /usr/lib/gconv

So, to catter for both cases, search both paths. We want to favour the
machine-specific gconv modules over potentially existing "generic" ones,
so we first search that (if it exists) and fallback to looking in the
generic location.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoavahi: systemd cleanups
Mike Williams [Tue, 21 Apr 2015 17:50:34 +0000 (13:50 -0400)]
avahi: systemd cleanups

* Move service files to /usr/lib/systemd/system/
* Only disable systemd support on non-systemd systems

[Thomas: use positive logic for the systemd test.]

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zeromq: enable kernel-based feature flags
Lionel Orry [Wed, 22 Apr 2015 07:58:56 +0000 (09:58 +0200)]
package/zeromq: enable kernel-based feature flags

The current configuration system does not check for cached variables for
these flags, and thus they are always disabled when cross-compiling.
This patch fixes the configuration system to use cached variables and
enables them at configuration time.

Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agortai: remove option BR2_LINUX_KERNEL_EXT_RTAI_PATCH
Thomas Petazzoni [Tue, 21 Apr 2015 21:36:28 +0000 (23:36 +0200)]
rtai: remove option BR2_LINUX_KERNEL_EXT_RTAI_PATCH

This commit removes BR2_LINUX_KERNEL_EXT_RTAI_PATCH because this
option never worked. It was added in commit
8797a9cd1fe6723db34b0c125d0d9d04e3483e8d, which added package/rtai/
and RTAI as a Linux extension.

The option prompt says "Path for RTAI patch file", so let's say you
specify /home/foo/bar/myrtai.patch as the value for
BR2_LINUX_KERNEL_EXT_RTAI_PATCH.

Then the code does:

RTAI_PATCH = $(call qstrip,$(BR2_LINUX_KERNEL_EXT_RTAI_PATCH))

and we have a package called 'rtai', so the normal logic of
<pkg>_PATCH applies. Since the <pkg>_PATCH value does not contain
ftp://, http:// or https://, the package infrastructure will try to
download $(RTAI_SITE)/$(RTAI_PATCH), i.e:

   https://www.rtai.org/userfiles/downloads/RTAI/home/foo/bar/myrtai.patch

Pretty clear that it has no chance of working.

Now, let's assume an URL is used as the value of
BR2_LINUX_KERNEL_EXT_RTAI_PATCH, such as
http://foo.com/bar/myrtai.patch. In this case, it will be properly
downloaded by the package infrastructure. But then, the following code
kicks in:

define RTAI_PREPARE_KERNEL
       $(APPLY_PATCHES)                        \
               $(LINUX_DIR)                    \
               $(dir $(RTAI_PATCH))            \
               $(notdir $(RTAI_PATCH))
endef

The value of $(dir $(RTAI_PATCH)) will be http://foo.com/bar/. How
can $(APPLY_PATCHES) make use of such a stupid patch location?

[Thomas: add Config.in.legacy handling, as suggested by Arnout, even
if we believe that no-one could have ever used this option.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agoltris: fix typos
Luca Ceresoli [Wed, 22 Apr 2015 14:30:06 +0000 (16:30 +0200)]
ltris: fix typos

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rng-tools: add systemd support for rngd
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:16 +0000 (18:14 +0200)]
package/rng-tools: add systemd support for rngd

Add rngd.service for systemd. Also patch rngd with patch from Fedora to
ignore failure if no hwrng present:
https://bugzilla.redhat.com/show_bug.cgi?id=892178

[Thomas:
 - rename patch to the proper naming convention
 - add description and SoB to patch
 - install service file to /usr/lib/systemd and not /lib/systemd
 - use a relative symbolic link instead of an absolute one]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/shairport-sync: bump to version 2.2.3
Jörg Krause [Wed, 22 Apr 2015 11:33:46 +0000 (13:33 +0200)]
package/shairport-sync: bump to version 2.2.3

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMakefile: fix typo in a comment
Luca Ceresoli [Wed, 22 Apr 2015 08:03:52 +0000 (10:03 +0200)]
Makefile: fix typo in a comment

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tinyxml2: new package
Bernd Kuhls [Wed, 1 Apr 2015 18:35:55 +0000 (20:35 +0200)]
package/tinyxml2: new package

Required for upcoming kodi-pvr-dvblink package:
https://github.com/kodi-pvr/pvr.dvblink/blob/master/CMakeLists.txt#L11

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agortai: add hash file
Thomas Petazzoni [Tue, 21 Apr 2015 21:18:02 +0000 (23:18 +0200)]
rtai: add hash file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agortai: bump to version 4.0.1
Matthew Bastian [Tue, 24 Feb 2015 15:13:14 +0000 (10:13 -0500)]
rtai: bump to version 4.0.1

Signed-off-by: Matthew Bastian <Matthew.Bastian@nrc-cnrc.gc.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cryptodev-linux: ccache compile fix
Doug Kehn [Fri, 10 Apr 2015 15:01:05 +0000 (10:01 -0500)]
package/cryptodev-linux: ccache compile fix

cryptodev-linux fails to build when BR2_CCACHE=y.

>>> cryptodev-linux 1.7 Building
/usr/bin/make -j5 -C /home/dkehn/buildroot/output/build/cryptodev-linux-1.7 HOSTCC="/home/dkehn/buildroot/output/host/usr/bin/ccache /usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/dkehn/buildroot/output/target CROSS_COMPILE="/home/dkehn/buildroot/output/host/usr/bin/ccache /home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf-" DEPMOD=/home/dkehn/buildroot/output/host/sbin/depmod LOADADDR="0x82000000" KERNEL_DIR=/home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77
make -C /home/dkehn/buildroot/output/build/linux-2489c022b2932432606f897741a71b712e6dbe77 SUBDIRS=`pwd` ARCH=arm CROSS_COMPILE=/home/dkehn/buildroot/output/host/usr/bin/ccache /home/dkehn/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf- modules
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[3]: /home/dkehn/buildroot/output/host/usr/bin/ccachegcc: Command not found

Adding quotes around ${CROSS_COMPILE} KERNEL_MAKE_OPTS assignment in
cryptodev-linux Makefile fixes compile error.

[Thomas: add description and SoB inside the patch.]

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: add mosquitto
Peter Korsgaard [Fri, 10 Apr 2015 20:33:15 +0000 (22:33 +0200)]
package: add mosquitto

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem/skeleton: fix /etc/group
Bartosz Golaszewski [Tue, 21 Apr 2015 12:22:25 +0000 (14:22 +0200)]
system/skeleton: fix /etc/group

When using busybox compiled from current git, login emits the following
message:

    login: /etc/group: bad record

Fix it by adding the missing colon to /etc/group in system/skeleton.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc-ng: update to 1.0.2
Waldemar Brodkorb [Sun, 19 Apr 2015 14:03:56 +0000 (16:03 +0200)]
uclibc-ng: update to 1.0.2

Following problems found by buildroot should be fixed:
 * static python2 compile (there is still a general problem, not related to uClibc-ng)
 * postgresql configure hickup (link warnings got removed)
 * samba runtime problems (RPATH in executables are respected)

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/b43-firmware: add missing hash for pre 3.2 kernel archive
Romain Naour [Mon, 20 Apr 2015 21:19:45 +0000 (23:19 +0200)]
package/b43-firmware: add missing hash for pre 3.2 kernel archive

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoalsa-utils: add option to install alsaucm
Peter Korsgaard [Tue, 21 Apr 2015 10:19:51 +0000 (12:19 +0200)]
alsa-utils: add option to install alsaucm

alsaucm is the alsa use case manager configuration tool.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/clapack: add hash
Fabio Porcedda [Tue, 21 Apr 2015 02:38:56 +0000 (04:38 +0200)]
package/clapack: add hash

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/cache-calibrator: add hash
Fabio Porcedda [Tue, 21 Apr 2015 02:38:55 +0000 (04:38 +0200)]
package/cache-calibrator: add hash

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/c-ares: add hash
Fabio Porcedda [Tue, 21 Apr 2015 02:38:54 +0000 (04:38 +0200)]
package/c-ares: add hash

[Peter: verify against pgp signature]
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolive555: fix library installation
Luca Ceresoli [Mon, 20 Apr 2015 08:42:31 +0000 (10:42 +0200)]
live555: fix library installation

The manual target installation commands optionally copy 3 executables
that demonstrate the library usage, but do not the library itself.

This results in the following errors at runtime:

  # openRTSP
  openRTSP: can't load library 'libliveMedia.so.38'
  # live555MediaServer
  live555MediaServer: can't load library 'libliveMedia.so.38'
  # MPEG2TransportStreamIndexer
  MPEG2TransportStreamIndexer: can't load library 'libliveMedia.so.38'
  #

Tested with the following defconfig, which is basically
qemu_arm_versatile_defconfig plus C++ and live555:

BR2_arm=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="4.0"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.0"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-4.0.config"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_PACKAGE_LIVE555=y
BR2_TARGET_ROOTFS_EXT2=y

Fix the whole installation step by using the 'make install' step provided
by the upstream package, similar to what was done in commit
44d15563c706dce48f84 for the staging installation.

Note: this change has the effect of installing unconditionally all the
test and demo executables produced by the live555 compilation process,
and that were previously not (or optionally) copied. This increases the
uncompressed target filesystem size by roughly 300 kB (tested for a
32-bit ARM target). Undesired files can be deleted in a post-build script.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dhcpcd: bump to version 6.8.1
Bernd Kuhls [Sun, 19 Apr 2015 15:22:54 +0000 (17:22 +0200)]
package/dhcpcd: bump to version 6.8.1

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/gdb: backport xtensa gdbserver fixes
Max Filippov [Sun, 19 Apr 2015 12:35:12 +0000 (15:35 +0300)]
package/gdb: backport xtensa gdbserver fixes

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>