buildroot.git
8 years agoxapp_bdftopcf: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:06 +0000 (00:21 +0200)]
xapp_bdftopcf: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxcb: remove mistankenly added double host-xcb-proto dependency
Thomas Petazzoni [Sun, 3 Jul 2016 07:29:45 +0000 (09:29 +0200)]
libxcb: remove mistankenly added double host-xcb-proto dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxcb: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:05 +0000 (00:21 +0200)]
libxcb: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
[Thomas: add missing host-xcb-proto dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:04 +0000 (00:21 +0200)]
wayland: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswig: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:03 +0000 (00:21 +0200)]
swig: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:02 +0000 (00:21 +0200)]
python-pycrypto: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopixman: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:01 +0000 (00:21 +0200)]
pixman: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompfr: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:21:00 +0000 (00:21 +0200)]
mpfr: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:59 +0000 (00:20 +0200)]
mpc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolzop: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:58 +0000 (00:20 +0200)]
lzop: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolttng-babeltrace: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:57 +0000 (00:20 +0200)]
lttng-babeltrace: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxml-parser-perl: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:56 +0000 (00:20 +0200)]
libxml-parser-perl: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibusb-compat: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:55 +0000 (00:20 +0200)]
libusb-compat: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibtool: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:54 +0000 (00:20 +0200)]
libtool: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:53 +0000 (00:20 +0200)]
libsepol: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpng: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:52 +0000 (00:20 +0200)]
libpng: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibftdi: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:51 +0000 (00:20 +0200)]
libftdi: add explicit dependencies for host variant

This patch also removes an incorrect dependency between host-libftdi and
host-boost when BR2_PACKAGE_LIBTFDI_CPP is set.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcroco: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:50 +0000 (00:20 +0200)]
libcroco: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibconfuse: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:49 +0000 (00:20 +0200)]
libconfuse: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoisl: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:48 +0000 (00:20 +0200)]
isl: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-usb-loader: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:47 +0000 (00:20 +0200)]
imx-usb-loader: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoheimdal: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:46 +0000 (00:20 +0200)]
heimdal: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmp: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:45 +0000 (00:20 +0200)]
gmp: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogenimage: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:44 +0000 (00:20 +0200)]
genimage: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofwup: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:43 +0000 (00:20 +0200)]
fwup: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofontconfig: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:42 +0000 (00:20 +0200)]
fontconfig: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofile: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:41 +0000 (00:20 +0200)]
file: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
[Thomas: remove host-file dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoexpat: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:40 +0000 (00:20 +0200)]
expat: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoerlang-lager: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:39 +0000 (00:20 +0200)]
erlang-lager: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoe2tools: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:38 +0000 (00:20 +0200)]
e2tools: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:37 +0000 (00:20 +0200)]
dtc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoxygen: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:36 +0000 (00:20 +0200)]
doxygen: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocramfs: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:35 +0000 (00:20 +0200)]
cramfs: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocloog: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:34 +0000 (00:20 +0200)]
cloog: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobdwgc: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:32 +0000 (00:20 +0200)]
bdwgc: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaxfsutils: add explicit dependencies for host variant
Julien Floret [Sat, 2 Jul 2016 22:20:31 +0000 (00:20 +0200)]
axfsutils: add explicit dependencies for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libgpg-error: update project URL
Bernd Kuhls [Sat, 2 Jul 2016 22:20:29 +0000 (00:20 +0200)]
package/libgpg-error: update project URL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore/pkg-infra: download git submodules if the package wants them
Yann E. MORIN [Fri, 1 Jul 2016 09:01:19 +0000 (11:01 +0200)]
core/pkg-infra: download git submodules if the package wants them

Add a new package variable that packages can set to specify that they
need git submodules.

Only accept this option if the download method is git, as we can not get
submodules via an http download (via wget).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Aleksandar Simeonov <aleksandar@barix.com>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Tested-By: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: add support for submodules
Yann E. MORIN [Fri, 1 Jul 2016 09:01:18 +0000 (11:01 +0200)]
support/download/git: add support for submodules

Some git repositories may be split into a master repository and
submodules. Up until now, we did not have support for submodules,
because we were using bare clones, in which it is not possible to
update the list of submodules.

Now that we are using plain clones with a working copy, we can retrieve
the submdoules.

Add an option to the git download helper to kick the update of
submodules, so that they are only fetched for those packages that
require them. Also document the existing -q option at the same time.

Submodules have a .git file at their root, which contains the path to
the real .git directory of the master repository. Since we remove it,
there is no point in keeping those .git files either.

Note: this is currently unused, but will be enabled with the follow-up
patch that adds the necessary parts in the pkg-generic and pkg-download
infrastructures.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: do not use git archive, handle it manually
Yann E. MORIN [Fri, 1 Jul 2016 09:01:17 +0000 (11:01 +0200)]
support/download/git: do not use git archive, handle it manually

We currently use git-archive to generate the tarball. This is all handy
and dandy, but git-archive does not support submodules. In the follow-up
patch, we're going to handle submodules, so we would not be able to use
git-archive.

Instead, we manually generate the archive:
  - extract the tree to the requested cset,
  - get the date of the commit to store in the archive,
  - store only numeric owners,
  - store owner and group as 0 (zero, although any arbitrary value would
    have been fine, as long as it's a constant),
  - sort the files to store in the archive.

We also get rid of the .git directory, because there is no reason to
keep it in the context of Buildroot. Some people would love to keep it
so as to speed up later downloads when updating a package, but that is
not really doable. For example:
  - use current Buildroot
  - it would need foo-12345, so do a clone and keep the .git in the
    generated tarball
  - update Buildroot
  - it would need foo-98765
For that second clone, how could we know we would have to first extract
foo-12345 ? So, the .git in the archive is pretty much useless for
Buildroot.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: do not use bare clones
Yann E. MORIN [Fri, 1 Jul 2016 09:01:16 +0000 (11:01 +0200)]
support/download/git: do not use bare clones

Currently, we are using bare clones, so as to minimise the disk usage,
most notably for largeish repositories such as the one for the Linux
kernel, which can go beyond the 1GiB barrier.

However, this precludes updating (and thus using) the submodules, if
any, of the repositories, as a working copy is required to use
submodules (becaue we need to know the list of submodules, where to find
them, where to clone them, what cset to checkout, and all those is
dependent upon the checked out cset of the father repository).

Switch to using /plain/ clones with a working copy.

This means that the extra refs used by some forges (like pull-requests
for Github, or changes for gerrit...) are no longer fetched as part of
the clone, because git does not offer to do a mirror clone when there is
a working copy.

Instead, we have to fetch those special refs by hand. Since there is no
easy solution to know whether the cset the user asked for is such a
special ref or not, we just try to always fetch the cset requested by
the user; if this fails, we assume that this is not a special ref (most
probably, it is a sha1) and we defer the check to the archive creation,
which would fail if the requested cset is missing anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/boost: add boot-type_erasure support
Romain Naour [Sat, 2 Jul 2016 15:29:52 +0000 (17:29 +0200)]
package/boost: add boot-type_erasure support

Until now this library wasn't handled by the Buildroot packaging,
so add a new config option to disable it when requested.

Also disable boost-type_erasure for the host variant to keep it as
minimal as possible.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: indentation cleanup
Jerzy Grzegorek [Sat, 2 Jul 2016 15:06:18 +0000 (17:06 +0200)]
Config.in: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/samba4: Change tmpfiles path
Maxime Hadjinlian [Sat, 2 Jul 2016 16:21:31 +0000 (18:21 +0200)]
package/samba4: Change tmpfiles path

Per the documentation:
https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html

The order of path by priorites is:
/etc/tmpfiles.d/*.conf
/run/tmpfiles.d/*.conf
/usr/lib/tmpfiles.d/*.conf

For the user to be able to override our tmpfiles easily, it's better to
place our files in /usr/lib/tmpfiles.d/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosphinxbase: new package
Jonathan Ben Avraham [Wed, 2 Mar 2016 07:40:41 +0000 (09:40 +0200)]
sphinxbase: new package

CMUSphinx toolkit is a speech recognition toolkit with various tools
used to build speech applications. CMU Sphinx toolkit has a number of
packages for different tasks and applications. The toolkit is designed
for use on mobile platforms.

Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
[Thomas:
 - license is BSD-2c, not MIT
 - add --without-lapack]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Sort menuconfig alphabetically
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:15 +0000 (15:59 +0200)]
package/systemd: Sort menuconfig alphabetically

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystemd-bootchart: New package
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:14 +0000 (15:59 +0200)]
systemd-bootchart: New package

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas:
 - remove Config.in.legacy option
 - rename the hash file to the correct name
 - add license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Remove systemd-bootchart
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:13 +0000 (15:59 +0200)]
package/systemd: Remove systemd-bootchart

Since systemd v230, bootchart has been removed from the source of
systemd and now lives in its own repository.
A new package will be added in the next commit.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Remove SYSTEMD_COMPAT option
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:12 +0000 (15:59 +0200)]
package/systemd: Remove SYSTEMD_COMPAT option

Since v230 of systemd, the compat libraries have been fully removed.
https://github.com/systemd/systemd/commit/4de282cf9324ab13d17ac334244d0d7cae2df37d

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: rewrap Config.in help text in Config.in.legacy and put the
option at the right place.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Default yes for networkd
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:11 +0000 (15:59 +0200)]
package/systemd: Default yes for networkd

It seems logical to enable a few options along with systemd when it's
the init system.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Default yes for timesyncd
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:10 +0000 (15:59 +0200)]
package/systemd: Default yes for timesyncd

It seems logical to enable a few options along with systemd when it's
the init system.

Also change the help as timesyncd is a daemon that implements an SNTP client.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Create user only when needed
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:09 +0000 (15:59 +0200)]
package/systemd: Create user only when needed

We don't want to create a bunch of group and users that might not be
used, it's more elegant to create them when the associated features is
selected.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Add optional support for resolved
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:08 +0000 (15:59 +0200)]
package/systemd: Add optional support for resolved

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Add optional support for myhostname
Maxime Hadjinlian [Sat, 2 Jul 2016 13:59:07 +0000 (15:59 +0200)]
package/systemd: Add optional support for myhostname

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: cosmetic change for the mips fpu option
Vicente Olivert Riera [Sat, 2 Jul 2016 13:32:15 +0000 (15:32 +0200)]
package/ffmpeg: cosmetic change for the mips fpu option

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/freerdp: add support for ffmpeg 3.0
Bernd Kuhls [Sat, 2 Jul 2016 13:32:13 +0000 (15:32 +0200)]
package/freerdp: add support for ffmpeg 3.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodmalloc: fix static build
Waldemar Brodkorb [Mon, 13 Jun 2016 06:07:17 +0000 (08:07 +0200)]
dmalloc: fix static build

For example coldfire uses FLAT binaries, which are statically
build. Fixes following autobuild failure:
http://autobuild.buildroot.net/results/cc4233a4c3f92275a4071c172330c920c35219ca/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: use an intermediate variable rather than duplicating code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofftw: Disable combined threads when building with OpenMP support
André Hentschel [Wed, 22 Jun 2016 17:00:16 +0000 (19:00 +0200)]
fftw: Disable combined threads when building with OpenMP support

Otherwise fftw fails to configure:
configure: error: --with-combined-threads incompatible with --enable-openmp

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdvdread: fix static compile by adding libdvdcss as dependency
Bernd Kuhls [Sat, 25 Jun 2016 07:49:13 +0000 (09:49 +0200)]
package/libdvdread: fix static compile by adding libdvdcss as dependency

If libdvdcss support was not found during configure libdvdread tries
to open libdvdcss.so nonetheless:
https://code.videolan.org/videolan/libdvdread/blob/master/src/dvd_input.c#L275

This will obviously fail in a static-only configuration. To fix the
problem add libdvdcss as hard dependency to this package.

Fixes
http://autobuild.buildroot.net/results/415/41534b70a66c6297652f0944f9ecc7e780b26c45/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: replace += by =.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libiio: libiio network backend needs threads
Romain Naour [Sat, 2 Jul 2016 11:07:15 +0000 (13:07 +0200)]
package/libiio: libiio network backend needs threads

When libiio network backend is enabled, NEED_THREADS is set in the
build system and require a toolchain with treads support.

Fixes:
http://autobuild.buildroot.net/results/cfc/cfc70094d8f4008f4e660250b1b90a35a2ab384d

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobabeld: New package
Maxime Hadjinlian [Fri, 1 Jul 2016 22:06:11 +0000 (00:06 +0200)]
babeld: New package

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas: use $(INSTALL) instead of install.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomemcached: bump to version 1.4.28
Gustavo Zacarias [Sat, 2 Jul 2016 11:50:23 +0000 (08:50 -0300)]
memcached: bump to version 1.4.28

Removes the 64-bit atomic intrinsics constraint previously introduced.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliboping: bump to version 1.9.0
Gustavo Zacarias [Sat, 2 Jul 2016 11:46:20 +0000 (08:46 -0300)]
liboping: bump to version 1.9.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: update aarch64 to linux 4.6.3
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:37 +0000 (08:45 -0300)]
configs/qemu: update aarch64 to linux 4.6.3

The console problem goes away with qemu 2.6.0 so it seems it's now a
requirement, update readme.txt accordingly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/pc_x86_64_{bios, efi}_defconfig: bump to linux 4.6.3
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:36 +0000 (08:45 -0300)]
configs/pc_x86_64_{bios, efi}_defconfig: bump to linux 4.6.3

To match it's friendly qemu counterpart.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: bump to linux 4.6.3
Gustavo Zacarias [Sat, 2 Jul 2016 11:45:35 +0000 (08:45 -0300)]
configs/qemu: bump to linux 4.6.3

In order to keep them in sync with the new configs, and avoid shipping a
vulnerable kernel.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libuio: fix build with musl
Romain Naour [Sat, 2 Jul 2016 09:00:08 +0000 (11:00 +0200)]
package/libuio: fix build with musl

limits.h header is missing in attr.c, base.c and helper.c to provide
PATH_MAX.

Fixes:
http://autobuild.buildroot.net/results/702/7023104e6018ea46c54073ddbe5119d0f66ae5a3

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libuio: disable Werror
Romain Naour [Sat, 2 Jul 2016 09:00:07 +0000 (11:00 +0200)]
package/libuio: disable Werror

Disable -Werror to avoid build issues caused by warnings.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libuio: fix build with external intl library
Romain Naour [Sat, 2 Jul 2016 09:00:06 +0000 (11:00 +0200)]
package/libuio: fix build with external intl library

When intl library is not provided by the libc, libuio forgets to link
with -lintl.

Fixes:
http://autobuild.buildroot.net/results/8f7/8f715b4e9b826dac13f3d49da25576e6e1d79449

[Peter: simplify using LIBUIO_LIBS as suggested by Yann]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoa20_ollinuxino: Accommodate U-Boot environment on SD-card
Peter Korsgaard [Sat, 2 Jul 2016 11:18:18 +0000 (13:18 +0200)]
a20_ollinuxino: Accommodate U-Boot environment on SD-card

As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopcduino: Accommodate U-Boot environment on SD-card
Peter Korsgaard [Sat, 2 Jul 2016 11:17:07 +0000 (13:17 +0200)]
pcduino: Accommodate U-Boot environment on SD-card

As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoorangepipc: Accommodate U-Boot environment on SD-card
Peter Korsgaard [Sat, 2 Jul 2016 11:09:59 +0000 (13:09 +0200)]
orangepipc: Accommodate U-Boot environment on SD-card

As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocubieboard2: Accommodate U-Boot environment on SD-card
Alexey Brodkin [Fri, 1 Jul 2016 20:01:57 +0000 (23:01 +0300)]
cubieboard2: Accommodate U-Boot environment on SD-card

According to current "include/configs/sunxi-common.h"
U-Boot environment is stored on SD-card with offset 544 kB
and its size is limited as 128 kB.

Given memory layout of sunxi boards:
  1. SPL
  2. U-Boot
  3. U-Boot environment
  4. Partitions

(see http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout for details)

we need to make sure the first real partition starts at least
with 544+128 kB offset. Adding a small safety gap let's put
the first partition with offset 1MB from the beginning of SD-card.

Otherwise current setup gets broken as soon as one saves U-Boot
environment with "saveenv" which basically overwrites FAT partition with
zImage and board no longer boots into Linux kernel.

[Peter: extend description, add padding to u-boot partition instead]
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Carlos Quijano <carlos@crqgestion.es>
Cc: Andi Shyti <andi@etezian.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/busybox: support spaces in module aliases in mdev
Andy Shevchenko [Fri, 1 Jul 2016 18:56:19 +0000 (21:56 +0300)]
package/busybox: support spaces in module aliases in mdev

The new change which enabled automatic module loading on boot does not handle
the cases when module alias includes spaces. It prevents modules to be loaded
since script fails:

  % find /sys/ -name modalias | xargs sort -u
  sort: /sys/devices/platform/Fixed: No such file or directory

First alias in question is "platform:Fixed MDIO bus".

Amend the script to support above like cases.

Fixes: 07f46c2b6dae ("package/busybox: support automatic module loading with mdev")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Force enable blkid
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:28 +0000 (23:51 +0200)]
package/systemd: Force enable blkid

Since systemd select BR2_PACKAGE_UTIL_LINUX_LIBBLKID, we can safely
force this option.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Add optional libxkbcommon support
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:27 +0000 (23:51 +0200)]
package/systemd: Add optional libxkbcommon support

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for qrencode
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:24 +0000 (23:51 +0200)]
package/systemd: add optional support for qrencode

The support of qrencode depends of the journal gateway feature as it is
used to display the key used to seal the journal.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for libidn
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:23 +0000 (23:51 +0200)]
package/systemd: add optional support for libidn

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Disable IMA support
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:22 +0000 (23:51 +0200)]
package/systemd: Disable IMA support

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Disable the test coverage
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:21 +0000 (23:51 +0200)]
package/systemd: Disable the test coverage

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for audit
Maxime Hadjinlian [Fri, 1 Jul 2016 21:51:20 +0000 (23:51 +0200)]
package/systemd: add optional support for audit

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: remove unnecessary make opts
Gabe Evans [Fri, 1 Jul 2016 21:51:18 +0000 (23:51 +0200)]
package/systemd: remove unnecessary make opts

These flags were originally needed to support uClibc in earlier releases.

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: only create 'systemd-journal' group
Gabe Evans [Fri, 1 Jul 2016 21:51:17 +0000 (23:51 +0200)]
package/systemd: only create 'systemd-journal' group

systemd-journal is a group used for controlling user access to the
journal when used with tools like journalctl.

While we're at it, sort the users list to improve readability.

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: use 'menuconfig'
Gabe Evans [Fri, 1 Jul 2016 21:51:16 +0000 (23:51 +0200)]
package/systemd: use 'menuconfig'

systemd has a bunch of options now, so use 'menuconfig' to the group the
options in a submenu.

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for hibernation
Gabe Evans [Fri, 1 Jul 2016 21:51:15 +0000 (23:51 +0200)]
package/systemd: add optional support for hibernation

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for polkit
Gabe Evans [Fri, 1 Jul 2016 21:51:14 +0000 (23:51 +0200)]
package/systemd: add optional support for polkit

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for coredump
Gabe Evans [Fri, 1 Jul 2016 21:51:13 +0000 (23:51 +0200)]
package/systemd: add optional support for coredump

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for localed
Gabe Evans [Fri, 1 Jul 2016 21:51:12 +0000 (23:51 +0200)]
package/systemd: add optional support for localed

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for timedated
Gabe Evans [Fri, 1 Jul 2016 21:51:11 +0000 (23:51 +0200)]
package/systemd: add optional support for timedated

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for hostnamed
Gabe Evans [Fri, 1 Jul 2016 21:51:10 +0000 (23:51 +0200)]
package/systemd: add optional support for hostnamed

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for importd
Gabe Evans [Fri, 1 Jul 2016 21:51:09 +0000 (23:51 +0200)]
package/systemd: add optional support for importd

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for machined
Gabe Evans [Fri, 1 Jul 2016 21:51:08 +0000 (23:51 +0200)]
package/systemd: add optional support for machined

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for logind
Gabe Evans [Fri, 1 Jul 2016 21:51:07 +0000 (23:51 +0200)]
package/systemd: add optional support for logind

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for rfkill
Gabe Evans [Fri, 1 Jul 2016 21:51:06 +0000 (23:51 +0200)]
package/systemd: add optional support for rfkill

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for backlight
Gabe Evans [Fri, 1 Jul 2016 21:51:05 +0000 (23:51 +0200)]
package/systemd: add optional support for backlight

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for random-seed
Gabe Evans [Fri, 1 Jul 2016 21:51:04 +0000 (23:51 +0200)]
package/systemd: add optional support for random-seed

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for firstboot
Gabe Evans [Fri, 1 Jul 2016 21:51:03 +0000 (23:51 +0200)]
package/systemd: add optional support for firstboot

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for sysusers
Gabe Evans [Fri, 1 Jul 2016 21:51:02 +0000 (23:51 +0200)]
package/systemd: add optional support for sysusers

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: add optional support for tmpfiles
Gabe Evans [Fri, 1 Jul 2016 21:51:01 +0000 (23:51 +0200)]
package/systemd: add optional support for tmpfiles

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
[Maxime: Add default y]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/valijson: indentation cleanup
Jerzy Grzegorek [Sat, 2 Jul 2016 05:06:27 +0000 (07:06 +0200)]
package/valijson: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>