Commit Graph

30349 Commits

Author SHA1 Message Date
Maxime Hadjinlian
5ad1ce8387 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>
2016-07-02 13:05:34 +02:00
Maxime Hadjinlian
30f5f37e48 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>
2016-07-02 13:05:22 +02:00
Gabe Evans
f52f09c7f1 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>
2016-07-02 13:04:34 +02:00
Gabe Evans
8f8a0f1b9d 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>
2016-07-02 13:04:17 +02:00
Gabe Evans
b102b39197 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>
2016-07-02 13:03:59 +02:00
Gabe Evans
3df9c47d73 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>
2016-07-02 13:00:56 +02:00
Gabe Evans
9a9e440b8e 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>
2016-07-02 12:58:12 +02:00
Gabe Evans
08e672fff3 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>
2016-07-02 12:56:51 +02:00
Gabe Evans
b663089078 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>
2016-07-02 12:41:24 +02:00
Gabe Evans
f52f685d43 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>
2016-07-02 12:40:58 +02:00
Gabe Evans
13baa1c700 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>
2016-07-02 12:38:51 +02:00
Gabe Evans
6c3b23f441 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>
2016-07-02 12:38:29 +02:00
Gabe Evans
e3651fc5fe 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>
2016-07-02 12:37:28 +02:00
Gabe Evans
61bb79192c 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>
2016-07-02 12:35:55 +02:00
Gabe Evans
ac14889813 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>
2016-07-02 12:35:16 +02:00
Gabe Evans
722a24e175 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>
2016-07-02 12:34:47 +02:00
Gabe Evans
bab978a09b 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>
2016-07-02 12:28:56 +02:00
Gabe Evans
9dd9a00109 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>
2016-07-02 12:28:29 +02:00
Gabe Evans
fbb4d119da 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>
2016-07-02 12:27:47 +02:00
Gabe Evans
868de4fc4c 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>
2016-07-02 12:26:54 +02:00
Jerzy Grzegorek
b7f4d933b1 package/valijson: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 12:15:50 +02:00
Jerzy Grzegorek
4a9fc5fa21 package/libcoap: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 12:14:40 +02:00
Julien Floret
88418a2806 jsmin: add menuconfig entry for host variant
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 12:13:48 +02:00
Gilles Chanteperdrix
a5f3513b22 reproducibility: override locale and timezone
And export BR2_REPRODUCIBLE for post-build / post-image scripts.

[Peter: Extend commit message,
	move export together with our other exports,
	add comment explaining why we override local/timezone]
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 12:00:24 +02:00
Gilles Chanteperdrix
71574a65e8 reproducibility: introduce config knob
Making the builds reproducible involves turning off build timestamps,
which some users may find annoying. So make the reproducible builds
optional.

Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-07-02 12:00:24 +02:00
Thomas Petazzoni
6c169fe616 audit: bump to version 2.6.2
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-02 11:28:10 +02:00
Yann E. MORIN
4e2d1e43cf package/{libsepol,libselinux}: fix build on ancient distros
Ancient distros (especially enterprise-grade still in use) do not accept
ln --relative.

Revert the upstream commit, since the problem it was trying to fix is
not applicable in the context of Buildroot (even with a merged /usr).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Adam Duskett <Aduskett@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-02 10:37:41 +02:00
Thomas Petazzoni
3b483c2ad1 audit: add patch to fix EHWPOISON build issue
Fixes:

  http://autobuild.buildroot.net/results/2e147b60481cfb8960749a8e012ff8fa05568a2c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-02 10:37:01 +02:00
Thomas Petazzoni
13b81dee2a libsepol: add missing dependency on host-flex
Fixes:

  http://autobuild.buildroot.net/results/580037bd376188e18a4a58927c929d21e9b2b03c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-02 00:24:55 +02:00
Yegor Yefremov
36c0d4d8e0 python-scapy3k: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 23:37:49 +02:00
Charles Hardin
4b01201834 package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo
>From the documentation on BR2_ENABLE_DEBUG, the intention is to get
a build with debug symbols and not a "debug build" since that can have
the unintended consequence of being a different code path then a
release build type definition.

Switch the "Debug" to "RelWithDebInfo" in the cmake package support
to accomodate getting the debug symbols and still be a release
build.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 23:36:16 +02:00
Samuel Martin
35e980f324 package/Makefile.in: set variables for legacy f77 checks
For fortran detection, some projects check for fortran availability
using the FC/FCFLAGS variables, and others for the legacy F77/FFLAGS
ones.
So, make sure the legacy fortran F77 and FFLAGS variables are set in
TARGET_CONFIGURE_OPTS.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 23:01:25 +02:00
Benjamin Kamath
43e257d86d package/Makefile.in: set TARGET_FCFLAGS variables
TARGET_FCFLAGS is already added to TARGET_CONFIGURE_OPTS, but was not
defined so far. This change fixes this.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Benjamin Kamath <bkamath@spaceflight.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 22:56:55 +02:00
Samuel Martin
6331b9c24a package/gcc: wrap gfortran
gfortran supports all options supported by gcc, so it can and should be called
via the toolchain wrapper.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 22:55:05 +02:00
Andy Shevchenko
567627700a package/busybox: enable ttyUSB[0-9] when using mdev
Some of our systems are using ttyUSB0 devices as a serial console.
Add them to mdev.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 22:51:44 +02:00
Joris Lijssens
9df195bec7 package/libuio: new package
Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
[Romain:
 - fix autoreconf issue by using GETTEXTIZE and AUTORECONF
 - fix issue with missing makeinfo
 - move version number comment in .mk]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: add GPLv2 license, used for the programs.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 22:49:12 +02:00
Yann E. MORIN
4014b58760 package/linux-headers: do not default to any version for custom headers
Currently, for a custom headers version, or for the same headers as the
kernel, wedefault to a "very old" version (i.e. 2.6.x in practice).

However, as Vivien explained, when using the same headers as the kernel,
and the kernel is set to use the default version (aka latest version
known to Buildroot) of the kernel, one would expect the headers are
automatically tracking the latest version. Off course, that expectation
is broken because of the above.

However, whatever version we default to, it will probably not be
correct, whether we default to the latest version or to the "very old"
version.

So, simply drop the specific default version, so the default is now the
latest version.

Note: that has the potential to break existing defconfig files that
relied on the "very old" version to be the default. Well, whatever,
they'll get a build failre quite early, and it is easy to fix.

Reported-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 22:41:23 +02:00
Yegor Yefremov
0a17720cbd python-xlutils: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 17:37:33 +02:00
Yegor Yefremov
abf0cd2871 python-xlwt: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 17:31:02 +02:00
Samuel Martin
0a694c548d package/gcc: use BR2_USE_WCHAR to set gcc libquadmath option
BR2_TOOLCHAIN_BUILDROOT_WCHAR is only defined when uclibc is selected,
whereas BR2_USE_WCHAR is always defined. Due to this, we were disabling
quadmath support even with glibc or musl.

So, use BR2_USE_WCHAR to drive the gcc libquadmath option.

In addition, invert the logic of the condition to use positive logic,
and rework the comment to no longer mention gcc 4.6: libquadmath still
exists, and it still requires wchar support.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 17:25:35 +02:00
Yann E. MORIN
e7fc2404f0 package/linux-headers: improve help text and prompt
The way the help text and prompt for the kernel header version choice is
written can be misleading to some users.

Rewite them so it is more explicit.

Reported-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 17:16:37 +02:00
Jaap Crezee
040c9e14ed lzop: fix build of host variant with gcc6
Signed-off-by: Jaap Crezee <jaap@jcz.nl>
[Thomas: minor tweaks in commit log and patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:36:35 +02:00
Erico Nunes
481310c9ad efivar: depends on target gcc >= 4.7
The efivar internal build system uses flags such as -std=gnu11 ,
-Wmaybe-uninitialized , -flto which are available in gcc >= 4.7 only.
These flags are passed both to target build and to build a host tool.
For the host part, this has been worked around by overriding
'gcc_flags', but doing that for the target would remove all flags that
upstream intended for the target build.

Buildroot doesn't support building gcc 4.6 in its own toolchain anymore
but it's possible to use an external toolchain with gcc 4.6 which would
be unable to build this package.

This patch adds a limitation on toolchains with target gcc >= 4.7 to
make sure that the flags are available in the chosen toolchain.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:31:29 +02:00
Vicente Olivert Riera
ea22b78d4b openblas: new package
OpenBLAS is optimised for specific CPU models, which don't fully match
with the GCC code generation options. Therefore, we can't automatically
select BR2_PACKAGE_OPENBLAS_TARGET based on the CPU choice. Instead, let
the user select the TARGET name, but offer a sensible default. Other
possible solutions were deemed too complicated: adding choice options in
the ambiguous cases, or only making the option user-visible when there
is ambiguity.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:21:37 +02:00
Erico Nunes
0cf4e05832 efivar: force shared libgcc for Nios II
efivar for Nios II also has to be linked with shared libgcc to avoid an
error due to FDE encoding in static libgcc when linking libefiboot.so.

Fixes:
http://autobuild.buildroot.net/results/0c9/0c90e3e7ad41d21dd832f6f266af35fc19185170/

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:19:27 +02:00
Martin Bark
8f7203cd54 package/upx: fix build with host gcc 6.x
Disable the -Werror gcc option because is causes the following error
when using gcc 6.x on the host.

 p_vmlinx.cpp💯5: error: this ‘if’ clause does not guard...
  [-Werror=misleading-indentation] if (a->p_paddr > b->p_paddr) return  1;

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:17:21 +02:00
Martin Bark
1474b36963 package/ucl: fix build with host gcc 6.x
ucl fails with the following error when using gcc 6.x on the host:

 checking whether your compiler passes the ACC conformance test... FAILED
 configure:
 configure: Your compiler failed the ACC conformance test - for details see
 configure: `config.log'. Please check that log file and consider sending
 configure: a patch or bug-report to <markus@oberhumer.com>.
 configure: Thanks for your support.
 configure:
 configure: error: ACC conformance test failed. Stop.

Fix the issue by using the ISO C90 standard.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 16:16:45 +02:00
Yegor Yefremov
1a4f44802b python-tomako: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 15:27:26 +02:00
Yegor Yefremov
c37648bac4 python-tornado: fix runtime dependencies
According to setup.py tornado requires backports.ssl_match_hostname
for Python < 3.2 and certifi for Python < 3.4.

Actually both requirements are optional and tornado alone can work
without them, but Python packages like python-circus check requirements
at runtime and though they don't use this funtionality, they insist on
having these packages installed.

An upstream patch fixes backports.ssl_match_hostname dependency and
selecting python-certifi for Python 2 fixes certifi dependency till
this is fixed upstream.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 15:26:21 +02:00
Yegor Yefremov
b0eb6bf447 python-socketio: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 15:04:55 +02:00