buildroot.git
9 years agotoolchain-external: fix uClibc-ng 64bit dynamic loader link
Baruch Siach [Thu, 16 Jul 2015 08:25:34 +0000 (11:25 +0300)]
toolchain-external: fix uClibc-ng 64bit dynamic loader link

Commit 34f95bf9dbb0 (toolchain-external: fix support of uClibc-ng toolchains,
2015-07-13) added the missing ld-uClibc.so.1 dynamic linker symlink that
binaries expect when linked with uClibc-ng. However on 64bit targets the
linker is called ld64-uClibc.so.1. Handle that case as well.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibesmtp: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:31 +0000 (15:28 -0300)]
libesmtp: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofbset: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:30 +0000 (15:28 -0300)]
fbset: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofindutils: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:29 +0000 (15:28 -0300)]
findutils: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agofping: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:28 +0000 (15:28 -0300)]
fping: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogamin: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:27 +0000 (15:28 -0300)]
gamin: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogesftpserver: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:26 +0000 (15:28 -0300)]
gesftpserver: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agogmpc: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:25 +0000 (15:28 -0300)]
gmpc: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoiftop: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:24 +0000 (15:28 -0300)]
iftop: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agojasper: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:23 +0000 (15:28 -0300)]
jasper: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoless: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:22 +0000 (15:28 -0300)]
less: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibcap-ng: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:21 +0000 (15:28 -0300)]
libcap-ng: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibdvdnav: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:20 +0000 (15:28 -0300)]
libdvdnav: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibdvdread: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:19 +0000 (15:28 -0300)]
libdvdread: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibcuefile: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:18 +0000 (15:28 -0300)]
libcuefile: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agomusepack: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:17 +0000 (15:28 -0300)]
musepack: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibreplaygain: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:16 +0000 (15:28 -0300)]
libreplaygain: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibsamplerate: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:15 +0000 (15:28 -0300)]
libsamplerate: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibsndfile: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:14 +0000 (15:28 -0300)]
libsndfile: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolinux-fusion: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:13 +0000 (15:28 -0300)]
linux-fusion: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolm-sensors: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:12 +0000 (15:28 -0300)]
lm-sensors: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agomplayer: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:11 +0000 (15:28 -0300)]
mplayer: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agonasm: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:10 +0000 (15:28 -0300)]
nasm: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agongircd: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:09 +0000 (15:28 -0300)]
ngircd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoproftpd: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:08 +0000 (15:28 -0300)]
proftpd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosawman: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:07 +0000 (15:28 -0300)]
sawman: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_gfx: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:06 +0000 (15:28 -0300)]
sdl_gfx: add hash file

Also update homepage URL.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_image: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:05 +0000 (15:28 -0300)]
sdl_image: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_mixer: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:04 +0000 (15:28 -0300)]
sdl_mixer: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_net: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:03 +0000 (15:28 -0300)]
sdl_net: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_sound: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:02 +0000 (15:28 -0300)]
sdl_sound: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl_ttf: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:01 +0000 (15:28 -0300)]
sdl_ttf: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agosdl: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:28:00 +0000 (15:28 -0300)]
sdl: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoshared-mime-info: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:59 +0000 (15:27 -0300)]
shared-mime-info: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agospice-protocol: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:58 +0000 (15:27 -0300)]
spice-protocol: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agospice: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:57 +0000 (15:27 -0300)]
spice: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agostatserial: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:56 +0000 (15:27 -0300)]
statserial: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotaglib: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:55 +0000 (15:27 -0300)]
taglib: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agoudisks: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:54 +0000 (15:27 -0300)]
udisks: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotime: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:53 +0000 (15:27 -0300)]
time: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agotcping: add hash file
Gustavo Zacarias [Wed, 15 Jul 2015 18:27:52 +0000 (15:27 -0300)]
tcping: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agouclibc: remove obsolete patches
Waldemar Brodkorb [Wed, 15 Jul 2015 06:53:09 +0000 (08:53 +0200)]
uclibc: remove obsolete patches

Patches are in 1.0.4 release included.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: update uClibc-ng to latest version
Waldemar Brodkorb [Wed, 15 Jul 2015 06:52:05 +0000 (08:52 +0200)]
uclibc: update uClibc-ng to latest version

Fixes gcc 5.1 errors and contains all recent
improvements to Xtensa/ARC NPTL/TLS.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libmemcached: disable documentation
Romain Naour [Mon, 11 May 2015 22:09:52 +0000 (00:09 +0200)]
package/libmemcached: disable documentation

libmemcached fail to build the documentation/man due to
an python sphinx error.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:30 +0000 (16:35 +0200)]
skeleton: use backtick instead of $(shell ...) make function

Only the instance for setting the root password is changed. The
instance in SYSTEM_GETTY is harmless since it just uses echo and tail.

If SKELETON_TARGET_GENERIC_ROOT_PASSWD is passed as a hashed password
by the user, it contains $, so the '-quotes are needed. If it is not,
we need the backtick to be expanded so "-quotes are needed. Therefore,
the quoting is moved to the definition of SYSTEM_ROOT_PASSWORD.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agompg123: replace $(shell ...) call with $(subst ...)
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:29 +0000 (16:35 +0200)]
mpg123: replace $(shell ...) call with $(subst ...)

There's no reason to use a shell here.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboost: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:28 +0000 (16:35 +0200)]
boost: use backtick instead of $(shell ...) make function

Also remove the variables TARGET_CC_VERSION and HOST_CC_VERSION which
lack the BOOST_ prefix and are used only once.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:27 +0000 (16:35 +0200)]
linux: use backtick instead of $(shell ...) make function

Verified that LINUX_VERSION_PROBED is only used in "-quoted commands
(actually, usually it's not quoted).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackages: use backtick instead of $(shell ...) make function
Arnout Vandecappelle [Sun, 12 Jul 2015 14:35:26 +0000 (16:35 +0200)]
packages: use backtick instead of $(shell ...) make function

It is often difficult to know exactly when make will expand the
variable, and usually it can only be expanded after the dependencies
have been built (e.g. pkg-config or the .pc file). Using a backtick
instead makes it very clear that it will be expanded only while
executing the command.

This change is useful for two cases:

1. The per-package staging (and host) directory will be created as part
   of the configure step, so any $(shell ...) variable that is used in
   the configure step will fail because the directory doesn't exist
   yet.

2. 'make printvars' evaluates the variables it prints. It will therefore
   trigger a lot of errors from missing .pc files and others. The
   backticks, on the other hand, are not expanded, so with this change
   the output of 'make printvars' becomes clean again.

This commit contains only the easy changes: replace $(shell ...) with
`...`, and also replace ' with " where needed. Follow-up commits will
tackle the more complicated cases that need additional explanation.

After this change, the following instances of $(shell ...) will remain:

- All assignments that use :=
- All variables that are used in make conditionals (which don't expand
  the backticks).
- All variables that only refer to system executables and make
  variables that don't change.
- The calls to check-host-* in dependencies.mk, because it is eval'ed.

[Original patch by Fabio Porcedda, but extended quite a bit by Arnout.]

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoti-gfx: systemd support
Alex Suykov [Sat, 23 May 2015 10:07:32 +0000 (13:07 +0300)]
ti-gfx: systemd support

The startup script too complex to embed it completely into the
.service file, so it is left as a standalone script.

[Thomas:
 - use relative path for the symbolic link
 - slightly tweak the service Description string]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopulseaudio: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:55 +0000 (13:06 +0300)]
pulseaudio: systemd support

[Thomas:
 - use relative path for the service symlink
 - slightly adjust the service description]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: Add support for dtb.img format
Jan Viktorin [Tue, 14 Jul 2015 15:14:01 +0000 (17:14 +0200)]
boot/uboot: Add support for dtb.img format

Allow to generate u-boot-dtb.img. This is the same format
as u-boot.img, however, it contains a built-in device-tree.
This file is being loaded by the U-Boot SPL.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorsyslog: Fix systemd service creation
Maxime Hadjinlian [Tue, 14 Jul 2015 14:38:20 +0000 (16:38 +0200)]
rsyslog: Fix systemd service creation

The rsyslog.service is installed by rsyslog, but the link is not created
so the service is not enabled.
In order to install the service file, use the correct configure flag.

So the INSTALL_INIT_SYSTEMD will create the link, it will also create
another link which is due to the fact that the rsyslog.service contains
an Alias=

If we were to use systemctl enable to enable the service, it would
create both,so we mimic that.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: Fix trivial typo
Jan Viktorin [Tue, 14 Jul 2015 15:17:20 +0000 (17:17 +0200)]
docs/manual: Fix trivial typo

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: relax python version requirement
Baruch Siach [Tue, 14 Jul 2015 15:49:18 +0000 (18:49 +0300)]
docs/manual: relax python version requirement

Buildroot should now work with host installed python version 3. Update the
manual accordingly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agovala: bump to version 0.28.0
Gustavo Zacarias [Tue, 14 Jul 2015 19:42:53 +0000 (16:42 -0300)]
vala: bump to version 0.28.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: save MAKE_VERSION
Gustavo Zacarias [Tue, 14 Jul 2015 21:30:39 +0000 (18:30 -0300)]
Makefile: save MAKE_VERSION

Save MAKE_VERSION as RUNNING_MAKE_VERSION since this is later clobbered
by the make package.

It will be used by the webkitgtk24 package to check for older make
versions which have a bug building it with parallel jobs (it hangs).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add documentation for linux-ext and linux-tools.
Romain Naour [Tue, 14 Jul 2015 17:35:15 +0000 (19:35 +0200)]
docs/manual: add documentation for linux-ext and linux-tools.

[Thomas: misc improvements.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: migrate perf to use the new linux-tools infrastructure
Romain Naour [Tue, 14 Jul 2015 17:35:14 +0000 (19:35 +0200)]
package/perf: migrate perf to use the new linux-tools infrastructure

Remove the perf package and add legacy handling.

[Thomas:
  - improve the Config.in.legacy help text
  - improve the comment explaining why we pass O= when building perf]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-tools: add cpupower
Romain Naour [Tue, 14 Jul 2015 17:35:13 +0000 (19:35 +0200)]
linux-tools: add cpupower

This patch is based on the patch send by James Knight:
http://lists.busybox.net/pipermail/buildroot/2015-May/128754.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: James Knight <james.knight@rockwellcollins.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: add linux-tools infra
Romain Naour [Tue, 14 Jul 2015 17:35:12 +0000 (19:35 +0200)]
linux: add linux-tools infra

This commit add an infrastructure to build linux kernel
tools available in the kernel sources.

Currently, the only linux kernel tool packaged in Buildroot
is perf and it's packaged as a separate generic package.
This is a problem for licence information raised in this
thread [1].

Since these tools require to build a Linux kernel, we can
use some hooks in linux package like we did for linux
extensions [2] and remove the perf package.

[1] http://lists.busybox.net/pipermail/buildroot/2015-May/128783.html
[2] http://lists.busybox.net/pipermail/buildroot/2015-March/121835.html

[Thomas: fix minor typos in comments.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: use correct definition of ARCH on x86_64
Steven Noonan [Tue, 14 Jul 2015 17:35:11 +0000 (19:35 +0200)]
package/perf: use correct definition of ARCH on x86_64

LINUX_MAKE_FLAGS defines ARCH=$(KERNEL_ARCH), and KERNEL_ARCH is x86_64 on
a 64-bit x86 kernel build. The perf Makefiles expect that the ARCH will be
"x86" on both 32-bit x86 and 64-bit x86.

I didn't experience issues with the Linux 3.14.x version of perf, but this
issue cropped up once I started building 3.19.x.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if libunwind is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:10 +0000 (19:35 +0200)]
package/perf: if libunwind is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if numactl (libnuma) is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:09 +0000 (19:35 +0200)]
package/perf: if numactl (libnuma) is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: if slang is enabled, depend on it
Steven Noonan [Tue, 14 Jul 2015 17:35:08 +0000 (19:35 +0200)]
package/perf: if slang is enabled, depend on it

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobtrfs-progs: bump to version 4.1.2
Gustavo Zacarias [Tue, 14 Jul 2015 19:06:24 +0000 (16:06 -0300)]
btrfs-progs: bump to version 4.1.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: include package/skeleton/Config.in
Thomas Petazzoni [Tue, 14 Jul 2015 16:17:09 +0000 (18:17 +0200)]
package: include package/skeleton/Config.in

This was missing from the patch introducing the skeleton package. It
was working fine, except that the skeleton package was not in the
global variable PACKAGES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agograph-depends: Strip skeleton from dependency
Maxime Hadjinlian [Tue, 14 Jul 2015 11:36:26 +0000 (13:36 +0200)]
graph-depends: Strip skeleton from dependency

skeleton being a mandatory dependency, we don't want all our packages to
have a link back to that node, the graph would be awful.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: New package
Maxime Hadjinlian [Tue, 14 Jul 2015 11:36:25 +0000 (13:36 +0200)]
skeleton: New package

Create a proper package for the skeleton.

The main Makefile is modified to remove the skeleton support.
The 'dirs' target, will create the $(TARGET_DIR).
The file 'output/target/.root' doesn't exists anymore, as there's no
Make rule to statisfy.

The infrastructure are modified to filter host-skeleton.
It's needed becauses the host-dependencies are derived from the
dependencies of the target package where 'host-' is preprended to the
depedency name.

In the pkg-generic we add skeleton as a dependency to every package.

The whole system/system.mk is now removed at the profit of
package/skeleton/skeleton.mk

[Thomas:
  - rebase on top of master and fix some minor conflicts
  - remove the 'select BR2_PACKAGE_SKELETON' in
    BR2_ROOTFS_SKELETON_DEFAULT and BR2_ROOTFS_SKELETON_CUSTOM, since
    anyway the skeleton package is always enabled.
  - fixup a few mistakes in the getty handling due to misnamed
    variables.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnl: remove patch to fix bmon breakage
Gustavo Zacarias [Tue, 14 Jul 2015 14:06:20 +0000 (11:06 -0300)]
libnl: remove patch to fix bmon breakage

Upstream decided that programs should be fixed, so so be it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobmon: bump to version 3.7
Gustavo Zacarias [Tue, 14 Jul 2015 14:06:19 +0000 (11:06 -0300)]
bmon: bump to version 3.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: needs host-python2
Yann E. MORIN [Tue, 14 Jul 2015 14:03:39 +0000 (16:03 +0200)]
package/qpid-proton: needs host-python2

qpid-proton is using constructs that are not valid in python3, so we
must use a host python2 interpreter. To make this happen this commit
adds a dependency on host-python and explicitly tells CMake to use
$(HOST_DIR)/usr/bin/python2.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglib-networking: bump to version 2.44.0
Gustavo Zacarias [Tue, 14 Jul 2015 14:01:00 +0000 (11:01 -0300)]
glib-networking: bump to version 2.44.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibglib2: bump to version 2.44.1
Gustavo Zacarias [Tue, 14 Jul 2015 14:00:59 +0000 (11:00 -0300)]
libglib2: bump to version 2.44.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodejavu: bump to version 2.35
Gustavo Zacarias [Tue, 14 Jul 2015 13:35:29 +0000 (10:35 -0300)]
dejavu: bump to version 2.35

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: version bump to 0.10.40
Martin Bark [Tue, 14 Jul 2015 13:20:03 +0000 (14:20 +0100)]
package/nodejs: version bump to 0.10.40

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosamba4: bump to version 4.2.3
Gustavo Zacarias [Tue, 14 Jul 2015 13:19:40 +0000 (10:19 -0300)]
samba4: bump to version 4.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-userland: add Restart=always to vcfiled.service
Thomas Petazzoni [Tue, 14 Jul 2015 13:54:27 +0000 (15:54 +0200)]
rpi-userland: add Restart=always to vcfiled.service

As suggested by Maxime Hadjinlian, add Restart=always to
vcfiled.service so that this service gets restarted if it ever exits
for some reason.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-userland: systemd support
Alex Suykov [Sat, 23 May 2015 10:07:07 +0000 (13:07 +0300)]
rpi-userland: systemd support

[Thomas: use relative path for the symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotriggerhappy: systemd support
Alex Suykov [Sat, 23 May 2015 10:14:07 +0000 (13:14 +0300)]
triggerhappy: systemd support

[Thomas: use a relative symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotinyhttpd: systemd support
Alex Suykov [Sat, 23 May 2015 10:08:37 +0000 (13:08 +0300)]
tinyhttpd: systemd support

[Thomas: use relative symlink.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomongoose: systemd support
Alex Suykov [Sat, 23 May 2015 10:05:13 +0000 (13:05 +0300)]
mongoose: systemd support

[Thomas: use relative symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosnappy: disable tests
Vicente Olivert Riera [Tue, 14 Jul 2015 11:31:11 +0000 (13:31 +0200)]
snappy: disable tests

This will also fix an unsafe header path problem:

/br/output/host/usr/bin/mips-linux-gnu-g++ -DHAVE_CONFIG_H -I.
-I/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64   -Os  -c -o snappy_unittest-snappy-test.o `test
-f 'snappy-test.cc' || echo './'`snappy-test.cc
mips-linux-gnu-g++: ERROR: unsafe header/library path used in
cross-compilation: '/usr/include'
Makefile:730: recipe for target 'snappy_unittest-snappy_unittest.o'
failed

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolsr: update hash source comment
Baruch Siach [Tue, 14 Jul 2015 11:17:52 +0000 (14:17 +0300)]
olsr: update hash source comment

Commit ec9e34c9bb7c (olsr: bump version, 2015-07-14) update the hash but left
the old source comment. Fix this.

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoheimdal: backport upstream commit to fix parallel build
Thomas Petazzoni [Tue, 14 Jul 2015 11:35:43 +0000 (13:35 +0200)]
heimdal: backport upstream commit to fix parallel build

Thanks to Vicente for an initial patch, and to Gustavo for pointing
out the relevant upstream fix.

Fixes:

  http://autobuild.buildroot.net/results/3a4/3a42c5b294a9a8602844ed1127ec5eadb60a6bed/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoheimdal: needs host-ncurses
Vicente Olivert Riera [Fri, 10 Jul 2015 16:05:07 +0000 (18:05 +0200)]
heimdal: needs host-ncurses

Otherwise it will fail with an error like this one:

checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
configure: error: libcurses or libncurses are required!

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/openswan: fix parallel build
Yann E. MORIN [Tue, 14 Jul 2015 10:53:42 +0000 (12:53 +0200)]
package/openswan: fix parallel build

Fixes:
    http://autobuild.buildroot.org/results/2ec/2ecb098b01bd44d75182b15f98c1fd2a8c927438/
    http://autobuild.buildroot.org/results/18f/18f0166f3fa831f321818e286d9c2e9037f8c8d0/
    ...

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolsr: bump version
Maxime Hadjinlian [Tue, 14 Jul 2015 10:15:55 +0000 (12:15 +0200)]
olsr: bump version

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: fix fallout from checking kconfig config files
Yann E. MORIN [Tue, 14 Jul 2015 10:13:21 +0000 (12:13 +0200)]
package: fix fallout from checking kconfig config files

Those checks should only be done when the package is actually enabled.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoptpd2: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:47 +0000 (13:06 +0300)]
ptpd2: systemd support

Following package and sysv initscript naming scheme,
the service is "ptpd2" instead of just "ptpd" version 2.

[Thomas:
  - use relative symlink instead of an absolute symlink
  - remove the -s option, which redirects stdout, since systemd will
    take care of it
  - add the -g option, to be consistent with what the init script is
    using.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoptpd: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:21 +0000 (13:06 +0300)]
ptpd: systemd support

[Thomas:
   - use relative symbolic link instead of absolute one
   - remove the -S option, since redirecting stdout is not needed,
     it's already taken care of by systemd. Suggested by Maxime
     Hadjinlian.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoproftpd: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:15 +0000 (13:06 +0300)]
proftpd: systemd support

[Thomas: change to use a relative symlink, and fix a minor typo in the
service file in the service description.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolsr: systemd support
Alex Suykov [Sat, 23 May 2015 10:06:09 +0000 (13:06 +0300)]
olsr: systemd support

[Thomas: use relative symlink instead of absolute symlink]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/uclibc: check for config file
Yann E. MORIN [Mon, 13 Jul 2015 10:32:04 +0000 (12:32 +0200)]
package/uclibc: check for config file

Add a check (before we call kconfig-package) that ensures the user has
set a kconfig-file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/busybox: check for config file
Yann E. MORIN [Mon, 13 Jul 2015 10:32:03 +0000 (12:32 +0200)]
package/busybox: check for config file

Add a check (before we call kconfig-package) that ensures the user has
set a kconfig-file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/barebox: check for config file before calling kconfig-package
Yann E. MORIN [Mon, 13 Jul 2015 10:32:02 +0000 (12:32 +0200)]
boot/barebox: check for config file before calling kconfig-package

If we check that the user provides a config file after we call to the
kconfig-package infra, the error message we get is the one for the
kconfig-package infra, not the custom error message we want to show to
the user.

So, only call kconfig-package after we do the check.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/at91boostrap3: check for config file before calling kconfig-package
Yann E. MORIN [Mon, 13 Jul 2015 10:32:01 +0000 (12:32 +0200)]
boot/at91boostrap3: check for config file before calling kconfig-package

If we check that the user provides a config file after we call to the
kconfig-package infra, the error message we get is the one for the
kconfig-package infra, not the custom error message we want to show to
the user.

So, only call kconfig-package after we do the check.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux: check for config file before calling kconfig-package
Yann E. MORIN [Mon, 13 Jul 2015 10:32:00 +0000 (12:32 +0200)]
package/linux: check for config file before calling kconfig-package

If we check that the user provides a config file after we call to the
kconfig-package infra, the error message we get is the one for the
kconfig-package infra, not the custom error message we want to show to
the user.

So, only call kconfig-package after we do the check. Move the check with
the existing checks for the DTS, for consistency.

[Thomas: put the checks together, but right before the kconfig-package
call, rather than in the middle of the code, were the DTS related
tests were located.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux: don't enforce check for DTS when not building
Yann E. MORIN [Mon, 13 Jul 2015 10:31:59 +0000 (12:31 +0200)]
package/linux: don't enforce check for DTS when not building

Currently, this is triggering the error message:
    make randconfig
    make source

Limit the checks that enforce a DTS is set and at most one DTB is
appended to when we are actually building, like is done for the
configuration-file variables.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: don't enforce check for config file when not building
Yann E. MORIN [Mon, 13 Jul 2015 10:31:58 +0000 (12:31 +0200)]
core/pkg-kconfig: don't enforce check for config file when not building

Currently, this is triggering the error message:
    make randconfig
    make source

Only limit the check to enforce a config file being set to when we are
actually building, like is done in the various kconfig-using packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>