buildroot.git
9 years agopackage/boost: boost needs wchar
Jörg Krause [Fri, 24 Jul 2015 08:14:53 +0000 (10:14 +0200)]
package/boost: boost needs wchar

The most modules of boost needs a toolchain with wchar. To ease maintenance
we make the entire boost package depend on wchar.

Also add a reverse dependency to libftdipp1 and yaml-cpp.

Fixes:
http://autobuild.buildroot.net/results/49f/49f5c0521fc90fbd4673ad233ff679be007d2953/
http://autobuild.buildroot.net/results/12f/12f544c97e3451fb2a72025ebc62292957e47070/
http://autobuild.buildroot.net/results/ef6/ef6c897ea7547e8ed5f019e8ce4473f0998f2c16/
http://autobuild.buildroot.net/results/7a0/7a0ab069c505696a7887ba5c561b76b233ce59d5/

and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.7.2
Bernd Kuhls [Fri, 24 Jul 2015 18:13:48 +0000 (20:13 +0200)]
package/ffmpeg: bump version to 2.7.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Fix mips compile
Bernd Kuhls [Fri, 24 Jul 2015 18:13:47 +0000 (20:13 +0200)]
package/ffmpeg: Fix mips compile

buildroot has no support for msa, CONFIG_CPU_HAS_MSA is not enabled in
kernel config.

Fixes
http://autobuild.buildroot.net/results/030/03055aa696e9e885baabb43fff613d751974a4b7//
http://autobuild.buildroot.net/results/6b5/6b5c13c949e8ae23f1b58c6da4002371130e9bb3//
http://autobuild.buildroot.net/results/1af/1af3c68bc21503438fb0066f5e51e82e35a5442b//
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kyua: add atf reverse dependency
Romain Naour [Fri, 24 Jul 2015 13:24:32 +0000 (15:24 +0200)]
package/kyua: add atf reverse dependency

atf package depends on BR2_USE_MMU, therefore kyua must
also depend on it.

Fixes:
http://autobuild.buildroot.net/results/929/9290a39d9b77e5a57e59912ce3d901149e9d6c11/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: fix undefined reference to _authdes_seccreate
Jörg Krause [Fri, 24 Jul 2015 15:19:02 +0000 (17:19 +0200)]
package/libtirpc: fix undefined reference to _authdes_seccreate

Commit 1c4767fa9d8c19b52824b1c10e0e25f413111f2d disables the C files auth_des.c
and authdes_prot.c implementing DES authentification but forgets to remove
a function call to authdes_seccreate() in rpc_soc.c.

We add a seperate patch to disable the DES authentification (and not disable it
together with NIS). DES is not provided by uClibc and musl.

Fixes:
http://autobuild.buildroot.org/results/33f/33f1849c6d1441d8565835872281e33a980aba6f/
http://autobuild.buildroot.net/results/02e/02e9321b54d41b4b5c91d93c9942499a20d26919/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline
Thomas De Schampheleire [Sun, 26 Jul 2015 10:53:07 +0000 (12:53 +0200)]
toolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline

Before commit 5715d2dcf48a39c16a3f3e41c97109613fed121d, the external
toolchain wrapper would not pass its own march/mcpu/mtune flags to the real
compiler if at least one of them was passed on the wrapper command-line.

The mentioned commit intended to remove the passing of an mtune parameter
coming from Buildroot, which was always empty after some other refactoring,
but the changes have the side-effect that march/mcpu is now also passed when
mtune is already given on the command-line. In that case, only mtune should
be passed to the real compiler.

Restore part of the original toolchain wrapper code to check the presence of
mtune on the command-line.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/download: don't be needlessly verbose in backends
Yann E. MORIN [Sun, 26 Jul 2015 10:26:26 +0000 (12:26 +0200)]
core/download: don't be needlessly verbose in backends

In 50c8b7e (support/download: support -q in all download backends), the
backend were made to respect the quietness of the main Makefile, when -s
is poassed on the 'make' command line. In doing so, they were all made
to be verbose by default.

However, the verbosity of some of the tools, like scp, is very high, and
is in fact intended for debug purposes.

Drop being verbose by default, just use whatever each tool deems normal
output. Only respect the quietness requested by the user.

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/minidlna: Fix static compile
Bernd Kuhls [Fri, 24 Jul 2015 18:38:27 +0000 (20:38 +0200)]
package/minidlna: Fix static compile

Fixes
http://autobuild.buildroot.net/results/aeb/aeb5481526497a01ada8ee9403f282a2374b0383/
http://autobuild.buildroot.net/results/255/25536df514477f3210caf4af27f2f107683f7fb2/
http://autobuild.buildroot.net/results/fa1/fa11cb360190b02d08e74997b0abc73079760dfa/
and many others

This is a follow-up for these patches:
http://patchwork.ozlabs.org/patch/493360/
http://patchwork.ozlabs.org/patch/416007/

[Thomas:
  - don't pass --static to pkg-config, since our pkg-config wrapper
    already passes it automatically when BR2_STATIC_LIBS=y.
  - make only one call to pkg-config for all three libraries
  - put the libintl logic separately from the definition of
    MINIDLNA_CONF_ENV.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Fix linking with sunxi-mali
Bernd Kuhls [Sat, 25 Jul 2015 14:19:53 +0000 (16:19 +0200)]
package/kodi: Fix linking with sunxi-mali

Since
http://git.buildroot.net/buildroot/commit/package/sunxi-mali?id=8906f272ab41e0373f392cc7a04cc97320dd8382
sunxi-mali as egl/gles provider also depends on libump.

This dependency was unknown to Kodi leading to this error during
configure:

configure:23127: /home/buildroot/build/instance-0/output/host/usr/bin/arm-none-linux-gnueabi-gcc -o conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -mno-apcs-stack-check -mfpu=neon -mvectorize-with-neon-quad -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c -lEGL   -lpython2.7 -lpthread -ldl -lutil -lm >&5
/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libUMP.so.2, needed by /home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/thumb2/usr/lib/libMali.so, not found (try using -rpath or -rpath-link)
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/thumb2/usr/lib/libEGL.so: undefined reference to `ump_close'

This patch updates CXXFLAGS with the necessary libs to fix linking of
the final kodi binary. The additional CFLAGS are needed because
configure uses gcc to detect egl support.

Fixes
http://autobuild.buildroot.net/results/ce3/ce35d25253410abcbdbf1c58a5c9fb90f4eea6cd/
http://autobuild.buildroot.net/results/1ee/1eefd8e23d8e1b4374c79201b4c631603372d431/
http://autobuild.buildroot.net/results/3d8/3d8314392c61d6d278fb900a028e3bfc4d1d4d2c/
http://autobuild.buildroot.net/results/ee5/ee5e53ed9e2bbebab64122dd422d5da6abca3095/
http://autobuild.buildroot.net/results/703/7033594221b4a75e7f8aea8c145c8b7d2db0637c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/exim: Fix compilation error with musl
Bernd Kuhls [Sat, 25 Jul 2015 13:36:55 +0000 (15:36 +0200)]
package/exim: Fix compilation error with musl

Fixes
smtp_in.c: In function ‘smtp_start_session’:
smtp_in.c:1976:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct options’
     EXIM_SOCKLEN_T optlen = sizeof(struct ip_options) + MAX_IPOPTLEN;

smtp_in.c misdetects the needed style for ip_options, only OPTSTYLE == 2 works.
Since musl does not provide any macro[1] to detect it we need to pretend to be
darwin in order to fix the compile bug.

[1] http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Luca: simplify by using only one sed invocation]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agortl8821au: new package
Christian Stewart [Sat, 25 Jul 2015 17:51:01 +0000 (10:51 -0700)]
rtl8821au: new package

This patch adds the rtl8821au wifi driver. The driver is sourced from
ulli-kroll's work on GitHub, which includes various fixes and better LED
handling. Currently USB3 support is broken in this driver - it will
only connect to the EHCI controller in a USB3 port.

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: unexport O
Guido Martínez [Sat, 25 Jul 2015 19:07:39 +0000 (16:07 -0300)]
Makefile: unexport O

After bee5745ccc2 ("Makefile: don't depend on the umask"), any use
of "make O=<dir>" would leak $O into the enviroment for submakes,
and it's inherited by package makefiles. Some package makefiles have
protections to make sure they don't use the value of $O if it comes from
the enviroment (Linux), but some don't (uClibc).

This caused build failures when using a different output dir.

Fix this by unconditionally unexporting the O variable, since we never
need to have it set in the environment for packages, it should be only
internally used by BR.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gcc: fix libgcc build for xtensa
Max Filippov [Fri, 24 Jul 2015 09:30:31 +0000 (12:30 +0300)]
package/gcc: fix libgcc build for xtensa

xtensa libgcc can't be built with -mtext-section-literals flag, now
coming from TARGET_CFLAGS, because it needs to emit literals to
.init/.fini sections, which is not currently supported.

Filter -mtext-section-literals flag out of GCC_COMMON_TARGET_CFLAGS.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofan-ctrl: mark as broken until SourceForge is back up
Thomas Petazzoni [Thu, 23 Jul 2015 21:38:28 +0000 (23:38 +0200)]
fan-ctrl: mark as broken until SourceForge is back up

SourceForge is down, so we can't download fan-ctrl.c anymore, and it's
not on sources.buildroot.net nor anywhere else on the Internet
apparently. So let's mark this not-so-important package as broken for
now, until SourceForge goes back to life.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoharfbuzz: update why we are using autoreconf
Thomas Petazzoni [Thu, 23 Jul 2015 21:36:06 +0000 (23:36 +0200)]
harfbuzz: update why we are using autoreconf

Following the addition of a patch touching Makefile.am, let's update
the comment explaining why we use <pkg>_AUTORECONF = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/harfbuzz: fix test-unicode static linking issue
Romain Naour [Wed, 22 Jul 2015 21:47:03 +0000 (23:47 +0200)]
package/harfbuzz: fix test-unicode static linking issue

When linking test-unicode statically, it needs $(ICU_LIBS)
which contains all required flags.
Especially -lstdc++.

Fixes:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/icu: icu-uc: provide -lstdc++ flag for static build
Romain Naour [Wed, 22 Jul 2015 21:47:02 +0000 (23:47 +0200)]
package/icu: icu-uc: provide -lstdc++ flag for static build

icu-uc.pc must provide -lstdc++ for C application linked
statically with libicuuc.a.

Related to:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add systemd service
Martin Bark [Thu, 23 Jul 2015 11:20:29 +0000 (12:20 +0100)]
package/redis: Add systemd service

redis.service originates from the redis package in Arch Linux, at
https://projects.archlinux.org/svntogit/community.git/tree/trunk/redis.service?h=packages/redis&id=b4907d2344855caeadf6c69bc01c403a95f8a4f3.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add systemV init script
Martin Bark [Thu, 23 Jul 2015 11:20:28 +0000 (12:20 +0100)]
package/redis: Add systemV init script

start-stop-daemon is used to start redis-server as user redis in the
background.  Once redis-server is running we use redis-cli to shutdown
cleanly.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Install /etc/redis.conf to target
Martin Bark [Thu, 23 Jul 2015 11:20:27 +0000 (12:20 +0100)]
package/redis: Install /etc/redis.conf to target

Copy redis.conf from the redis release package but adjust some values to
sensible defaults using 0003-redis.conf-sane-defaults.patch

The file 0003-redis.conf-sane-defaults.patch originates from the redis
package in Arch Linux.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add redis system user
Martin Bark [Thu, 23 Jul 2015 11:20:26 +0000 (12:20 +0100)]
package/redis: Add redis system user

Add a redis system user and set the home directory to /var/lib/redis

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gcc: fix typo for CFLAGS_FOR_TARGET
Romain Naour [Thu, 23 Jul 2015 21:08:55 +0000 (23:08 +0200)]
package/gcc: fix typo for CFLAGS_FOR_TARGET

CFLAGS_FOR_TARGET is initialized with GCC_COMMON_TARGET_CXXFLAGS.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap: fix config script
Guillaume GARDET [Thu, 23 Jul 2015 08:45:47 +0000 (10:45 +0200)]
c-icap: fix config script

This commit adjusts the c-icap config script by removing a bogus
-L$LIBDIR which was expanded to -L/usr/lib, which is wrong for
cross-compilation. It fixes the build of c-icap-modules:

  http://autobuild.buildroot.org/results/b05/b05141a6d450c94669c6a0a5a0f5b799c2c248f2/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: Do not build unsupported API files
Jörg Krause [Thu, 23 Jul 2015 06:38:26 +0000 (08:38 +0200)]
package/libtirpc: Do not build unsupported API files

Version 0.3.2 re-enables some APIs for backward compatibility with
glibc's SunRPC:
  - key_prot
  - netname
  - rtime

Unfortunalty, this breaks building libtirpc with uClibc and musl:
  getpublickey.c:41:28: fatal error: rpcsvc/yp_prot.h: No such file or directory

We disable those API files as at least yp_prot.h is also NIS related to support
building libtirpc with these two libc's.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: fix musl build
Jörg Krause [Thu, 23 Jul 2015 06:38:25 +0000 (08:38 +0200)]
package/libtirpc: fix musl build

The fix includes:
  1) Defining rpcent for non-Glibc's
  2) Using a local queue implementation

1) Defining rpcent for non-Glibc's
musl does not define rpcent. Since musl does not provide a __MUSL__ macro we
add a check for non-Glibc's to the existing uClibc patch.

2) Using a local queue implementation
musl does not provide sys/queue.h. We borrow a compatible queue implementation
from the NetBSD project.

Fixes:
http://autobuild.buildroot.net/results/f93/f93f0be26b5a25b953ea7f909037c1f45a83f686/
http://autobuild.buildroot.net/results/c53/c537a76d17012821ed5a6f4170f759efd4d269b0/
http://autobuild.buildroot.net/results/e3c/e3c5be7dca753f7494e8680894f516a8cdc89843/
http://autobuild.buildroot.net/results/2bb/2bb2e314f23b5ba48bb6e0c4fc7e52032fa5d76b/

and many more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: bump to version 0.3.2
Jörg Krause [Thu, 23 Jul 2015 06:38:24 +0000 (08:38 +0200)]
package/libtirpc: bump to version 0.3.2

Bump version, update hash and update patch.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolimex_a20_olinuxino_lime: bump kernel to 4.1.3
Francois Perrad [Thu, 23 Jul 2015 09:09:17 +0000 (11:09 +0200)]
olimex_a20_olinuxino_lime: bump kernel to 4.1.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolimex_a20_olinuxino_lime: bump u-boot to 2015.07
Francois Perrad [Thu, 23 Jul 2015 09:09:16 +0000 (11:09 +0200)]
olimex_a20_olinuxino_lime: bump u-boot to 2015.07

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-ev: bump to version 1.4
Francois Perrad [Thu, 23 Jul 2015 09:21:36 +0000 (11:21 +0200)]
lua-ev: bump to version 1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoorbit: bump to version 2.2.3
Francois Perrad [Thu, 23 Jul 2015 09:21:35 +0000 (11:21 +0200)]
orbit: bump to version 2.2.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: add homepage URL
Baruch Siach [Thu, 23 Jul 2015 11:18:35 +0000 (14:18 +0300)]
openipmi: add homepage URL

The homepage is now back online.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: fix missing -lrt for clock_gettime
Baruch Siach [Thu, 23 Jul 2015 11:18:34 +0000 (14:18 +0300)]
openipmi: fix missing -lrt for clock_gettime

Add a patch to detect when -lrt is needed. This fixes build with glibc < 2.17.

Fixes:
http://autobuild.buildroot.net/results/2b0/2b0eb7149c7bdd8ebd72c1070aeefb210379a889/
http://autobuild.buildroot.net/results/49f/49fbd7e2dc72279c5b54d0f59a055e3e5e73f648/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-encode-locale: bump to version 1.05
Francois Perrad [Thu, 23 Jul 2015 16:47:17 +0000 (18:47 +0200)]
perl-encode-locale: bump to version 1.05

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoscancpan: adjust package name
Francois Perrad [Thu, 23 Jul 2015 16:47:16 +0000 (18:47 +0200)]
scancpan: adjust package name

underscore is not allowed in BR package name.
this problem was found with the Perl module DB_File
which must give the BR package perl-db-file.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltrace: fix patch name
Vicente Olivert Riera [Thu, 23 Jul 2015 11:34:55 +0000 (13:34 +0200)]
ltrace: fix patch name

Rename 0002-Install-lib-types.conf to 0002-Install-lib-types-conf.patch

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-web2py: new package
Angelo Compagnucci [Tue, 14 Apr 2015 15:05:04 +0000 (17:05 +0200)]
package/python-web2py: new package

This patch adds web2py package. web2py is a free open source
full-stack framework for rapid development of fast, scalable, secure
and portable database-driven web-based applications.

[Thomas: fixup symbolic link to the systemd service file.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-pydal: new package
Angelo Compagnucci [Tue, 14 Apr 2015 15:05:03 +0000 (17:05 +0200)]
package/python-pydal: new package

This package adds the python-pydal python package.  pyDAL is a pure
Python Database Abstraction Layer.

[Thomas:
  - rewrap Config.in help text
  - add upstream URL in Config.in help text.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: disable python3 support
Ryan Barnett [Wed, 22 Jul 2015 21:06:40 +0000 (16:06 -0500)]
audit: disable python3 support

With the version bump to 2.4.3, python3 support was added for
libaudit. With host machines that have python3 installed, this will
cause build issues such as:

  make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3'
  swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i
  make[5]: swig: Command not found

Solution is to disable python3 support such as we do with python2.7.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace
Alexey Brodkin [Tue, 24 Mar 2015 13:55:15 +0000 (16:55 +0300)]
gcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace

The gcc.mk file is passing --enable-target-optspace to gcc configure
script, to ask for space-optimized (-Os) target libraries. However,
passing this option has the effect of overriding any custom
CFLAGS_FOR_TARGET or CXXFLAGS_FOR_TARGET values that may be passed.

These are some situations when it is required to pass custom flags on
buildong
of libgcc:
 * Default flags "-g -Os" lead to build isses as with PowerPC on gcc 4.5
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810)
 * Particular CPU requires specific instructions for HW support
 * Deep optimizations

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nfs-utils: fix unmet direct dependency
Jörg Krause [Mon, 20 Jul 2015 21:47:38 +0000 (23:47 +0200)]
package/nfs-utils: fix unmet direct dependency

Commit 182520a8af734c735c4dbdff29dc07af1d615a0a adds rpcbind as a dependency
without properly caring for the thread dependency.

rpcbind adds libtirpc as a dependendency which fails:
  fatal error: pthread.h: No such file or directory

Since we probably don't care much about using nfs-utils in a non-threaded
scenario, we simply disable nfs-utils for toolchains without thread support.

Fixes:
http://autobuild.buildroot.net/results/803/80321de8d4c6c0a00439b07289a5818962128b43/

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5: remove GPLv2 license from qt5declarative, qt5script and qt5svg
Thomas Petazzoni [Wed, 22 Jul 2015 20:50:34 +0000 (22:50 +0200)]
qt5: remove GPLv2 license from qt5declarative, qt5script and qt5svg

Since Qt 5.5, those three modules have lost their GPLv2 licensing
option. Remains the LGPLv2.1 with exception and LGPLv3 as the possible
open-source licenses.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: fix static linking of pthread apps for x86/x86_64
Waldemar Brodkorb [Wed, 22 Jul 2015 16:13:26 +0000 (18:13 +0200)]
uclibc: fix static linking of pthread apps for x86/x86_64

Fixes:
http://autobuild.buildroot.net/results/182424bd2fea36af95eea31f7dd53f0399433616/
http://autobuild.buildroot.net/results/6b1e2132a34e0c263bb0f2ea31caf4ce697e9c9c/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoe2fsprogs: remove more busybox applet links
Baruch Siach [Wed, 22 Jul 2015 16:29:16 +0000 (19:29 +0300)]
e2fsprogs: remove more busybox applet links

Following commit aa02829240b2 (e2fsprogs: remove busybox tune2fs when
installing full version, 2015-07-08), remove the rest of Busybox e2fsprogs
applet links. All of them are installed in different locations than upstream
e2fsprogs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-firmware: add brcm43143 support
Jordan Yelloz [Wed, 22 Jul 2015 18:14:07 +0000 (11:14 -0700)]
linux-firmware: add brcm43143 support

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosocketcand: resolve GCC5 related issue
Yegor Yefremov [Wed, 22 Jul 2015 18:52:26 +0000 (20:52 +0200)]
socketcand: resolve GCC5 related issue

This patch removes inline keyword from header and source
files.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/8ea/8eac9832554dbd1f2e14cf54e5c99e6bf4dfc2cc/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux: trash stderr in LINUX_VERSION_PROBED
Yann E. MORIN [Wed, 22 Jul 2015 14:58:53 +0000 (16:58 +0200)]
package/linux: trash stderr in LINUX_VERSION_PROBED

The Linux buildsystem tries to run the compiler even just for
'kernelrelease' (which we store in LINUX_VERSION_PROBED) and we
sometimes need to use it before the toolchain is available; thus
we get spurious errors on stderr.

Consign stderr to oblivion when computing the 'kernelrelease'.

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: do not override @D
Yann E. MORIN [Wed, 22 Jul 2015 14:58:52 +0000 (16:58 +0200)]
core/pkg-kconfig: do not override @D

Currently, we override @D for the kconfig configurators, so the fixup
commands can use $(@D); otherwise @D would be simply '.' because it is
not a real file in the package build dir.

However, this breaks the soon-to-be-introduced linux-backports package,
which needs to have a dependency on the linux package to be configured.

The underlying reason is that @D is an automatic variable that is always
set by make to the directory part of the target of the rule. However,
automatic variables loose their "automatic" property when they are
manually set.

Furthermore, a variable that is defined for a rule is inherited by all
dependencies of that rule, so our manually-set @D is inherited all the
way down the dependency chain of linux-backports, down to the linux' own
.config rule, which is thus run with @D pointing to linux-backports'
build dir, not linux'.

Fix that by using a "static pattern rule", redirecting the configurators
to an intermediate stamp-like file which path is in the package build
dir, so we get a valid @D from the onset, without having to manually
fiddle with it.

Thanks to Arnout for suggesting that in the first place. Sorry I did
reject it as "too complex" when it was in fact the best solution.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.3
Gustavo Zacarias [Wed, 22 Jul 2015 14:18:40 +0000 (11:18 -0300)]
linux: bump default to version 4.1.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.18.x and 4.{0, 1}.x series
Gustavo Zacarias [Wed, 22 Jul 2015 14:18:39 +0000 (11:18 -0300)]
linux-headers: bump 3.18.x and 4.{0, 1}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodbus: bump to version 1.8.20
Gustavo Zacarias [Wed, 22 Jul 2015 14:00:40 +0000 (11:00 -0300)]
dbus: bump to version 1.8.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetperf: bump to version 2.7.0
Gustavo Zacarias [Wed, 22 Jul 2015 13:59:50 +0000 (10:59 -0300)]
netperf: bump to version 2.7.0

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

http://autobuild.buildroot.net/results/077/077714a0ee67057abcff680b244228a409243bbf/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: disable languages bindings
Romain Naour [Wed, 22 Jul 2015 14:13:10 +0000 (16:13 +0200)]
package/qpid-proton: disable languages bindings

Fixes (workaround):
http://autobuild.buildroot.net/results/eff48f8a827f8b4dbbdb7cb648a6c4a3ab4ac8a5/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: disable for static build only
Romain Naour [Wed, 22 Jul 2015 14:13:09 +0000 (16:13 +0200)]
package/qpid-proton: disable for static build only

qpid-proton always build a shared library "libqpid-proton.so"

Fixes:
http://autobuild.buildroot.net/results/bf6/bf6b9bcc0cead87c8fb12ec4c7f5ff73e6d61d3f/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoheimdal: disable parallel build
Gustavo Zacarias [Wed, 22 Jul 2015 14:08:26 +0000 (11:08 -0300)]
heimdal: disable parallel build

It still seems to have issues, so disable it pending more patches and
testing. Fixes:
http://autobuild.buildroot.net/results/a07/a07198b3f7f8029d80863a998814877ec9994c60/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboost: fix build for sparc
Gustavo Zacarias [Wed, 22 Jul 2015 14:34:36 +0000 (11:34 -0300)]
boost: fix build for sparc

Using upstream patch, fixes:
http://autobuild.buildroot.net/results/dd0/dd032aa7b387f3ba5b25bffcaf833ba0ea9ba199/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: More cross compile fixes
Clayton Shotwell [Wed, 22 Jul 2015 14:51:16 +0000 (09:51 -0500)]
audit: More cross compile fixes

There was an issue that was not fixed by the last set of cross compile
patches where architecture specific CFLAGS were being used when building
for the host and not the target. This patch fixes that issue.

Fixes:
  http://autobuild.buildroot.net/results/3e85c2253f6bd4cfe6ac1dde947eb6d5afc78cfe/
  http://autobuild.buildroot.net/results/d0f0f7e7462d68331d4a2f87b1df05cc9a6fecfd/
  http://autobuild.buildroot.net/results/114de2422c56071141284fb2eb8044ffa48e77f4/
  http://autobuild.buildroot.net/results/0862cf008e7e4b52c46c40257adeda954afee394/

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: version bump
Clayton Shotwell [Wed, 22 Jul 2015 14:51:15 +0000 (09:51 -0500)]
audit: version bump

Bumping from version 2.4.1 to 2.4.3 to drop patches that have been
picked up by the mainline.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: Disable on Blackfin and NIOS II
Clayton Shotwell [Wed, 22 Jul 2015 15:04:11 +0000 (10:04 -0500)]
setools: Disable on Blackfin and NIOS II

The setools package is not currently building on either the NIOS II or
the Blackfin architectures. Disabling for now.

Fixes:
http://autobuild.buildroot.net/results/2ee84c0dc027912e059ca4ae518d6f11fd8317a7/
http://autobuild.buildroot.net/results/401e4c48f4d865b2722f284f1038e25c5d420f43/
http://autobuild.buildroot.net/results/e67ef47ea9ff4cbb012d374b3b290fb7bddf7ef3/

[Thomas: add comment explaining the dependencies.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoe2fsprogs: remove busybox tune2fs when installing full version
Ryan Barnett [Wed, 8 Jul 2015 21:51:00 +0000 (16:51 -0500)]
e2fsprogs: remove busybox tune2fs when installing full version

Currently, busybox installs a version of tune2fs in /sbin/ while
e2fsprogs installs at /usr/sbin/. This causes issues if a user is
expecting the to use the full version from a prompt via 'tune2fs'
since busybox's tune2fs will be found first from the default path
search.

Fix this by removing the busybox version of tune2fs when a user has
selected the option to install tune2fs from e2fsprogs.

[Thomas: don't hijack E2FSPROGS_TARGET_TUNE2FS_SYMLINK for the removal
and instead introduce a separate E2FSPROGS_REMOVE_BUSYBOX_APPLETS post
install target hook, and do related code re-organization.]

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozedboard: Switch to U-Boot 2015.07
Jan Viktorin [Wed, 22 Jul 2015 10:23:53 +0000 (12:23 +0200)]
zedboard: Switch to U-Boot 2015.07

The U-Boot v2015.07 is required for successful out-of-the-box
build for common Xilinx Zynq boards (including Zedboard).

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5webchannel: new package
Julien CORJON [Wed, 22 Jul 2015 07:55:25 +0000 (09:55 +0200)]
qt/qt5webchannel: new package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibiio: Add a patch from upstream to fix building without a C++ compiler
Paul Cercueil [Wed, 22 Jul 2015 08:45:05 +0000 (10:45 +0200)]
libiio: Add a patch from upstream to fix building without a C++ compiler

This fixes a build issue reported by the autobuilder:

   http://autobuild.buildroot.net/results/5b0d02aa3bdb4cddb0d316c99fada2e7ba9f9c1d/

[Thomas: add autobuilder reference, as suggested by Baruch.]

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5base: Fix big endian image conversion
Julien CORJON [Wed, 22 Jul 2015 08:33:32 +0000 (10:33 +0200)]
qt/qt5base: Fix big endian image conversion

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: don't search host library path
Baruch Siach [Wed, 22 Jul 2015 04:20:57 +0000 (07:20 +0300)]
openipmi: don't search host library path

Add a patch removing search of host library path.

Fixes:
http://autobuild.buildroot.net/results/bb9/bb9a5d4f2058765a3630170a11ee087c9c289c3d/
http://autobuild.buildroot.net/results/0b3/0b37f7648bed99bcb1b5bf727171ccc83283d01e/
http://autobuild.buildroot.net/results/5f7/5f7e6b3279d0e78e3298cdfe7db595e5043ff685/

and many more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetwork-manager: bump to version 1.0.4
Petr Vorel [Tue, 21 Jul 2015 23:08:35 +0000 (01:08 +0200)]
network-manager: bump to version 1.0.4

Dropped unused patches, added upstream proposed patch to fix build
error for kernels headers < 3.17.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Petr Vorel <vorel@jablocom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/debianutils: improve help text
Jörg Krause [Tue, 21 Jul 2015 06:15:27 +0000 (08:15 +0200)]
package/debianutils: improve help text

Add a note about the installed utilities.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl: only run finalize hook when necessary
Danomi Manchego [Tue, 21 Jul 2015 01:59:24 +0000 (21:59 -0400)]
perl: only run finalize hook when necessary

The PERL_FINALIZE_TARGET always runs, even if perl is not installed.
This results in errors from the find command when it fails to find
anything, even when doing "make -s":

>>>   Finalizing target directory
find: `...../output/target/usr/lib/perl5/': No such file or directory
find: `...../output/target/usr/lib/perl5/': No such file or directory
find: `...../output/target/usr/lib/perl5/': No such file or directory

This is not helpful for projects that do not select Perl.  Silence this
by making the hook conditional on package selection.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5quick1, qt/qt5script, qt/qt5webkit: tag as legacy compatibility
Julien CORJON [Tue, 21 Jul 2015 11:30:16 +0000 (13:30 +0200)]
qt/qt5quick1, qt/qt5script, qt/qt5webkit: tag as legacy compatibility

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5base: reorder patches
Julien CORJON [Tue, 21 Jul 2015 11:30:15 +0000 (13:30 +0200)]
qt/qt5base: reorder patches

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5: bump version to 5.5.0
Julien CORJON [Tue, 21 Jul 2015 11:30:14 +0000 (13:30 +0200)]
qt5: bump version to 5.5.0

QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES is no longer useful since eglfs does not
depend on the device makespecs anymore. Instead, backends are autodetected by
configure [1]. We still need specifics include path for rpi eglfs support.

0008-forkd-disable-eventfd-for-uclibc.patch disable missing eventfd in new Qt
3rd party forkd for uClibc toolchains.

Remove patches commited in Qt mainline and update pending one

[1] https://codereview.qt-project.org/#/c/107548/

Passed test :
  - Full compilation on ARM/uClibc
  - Partialy compiled and tested on i.MX6/linaro with OpenGL backend
  - Partialy compiled but not executed for Raspberry Pi (rpi-userland)

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Bump version to 3.0.3
Martin Bark [Tue, 21 Jul 2015 13:02:50 +0000 (14:02 +0100)]
package/redis: Bump version to 3.0.3

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconnman: bump to version 1.29
Petr Vorel [Tue, 21 Jul 2015 19:28:37 +0000 (21:28 +0200)]
connman: bump to version 1.29

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs: build host-mkpasswd when BR2_ROOTFS_USERS_TABLES is used
Thomas Petazzoni [Tue, 21 Jul 2015 15:36:07 +0000 (17:36 +0200)]
fs: build host-mkpasswd when BR2_ROOTFS_USERS_TABLES is used

The code in fs/common.mk properly triggers the build of host-mkpasswd
when at least one package specifies a <pkg>_USERS variable. However,
when no selected package specifies a <pkg>_USERS variable but the user
uses a custom users table through BR2_ROOTFS_USERS_TABLES, then we
forget to build host-mkpasswd, leading to build failures if you don't
have mkpasswd installed in your machine.

This commit fixes that by taking into account both the package users
table and the custom users table when deciding to depend or not on
host-mkpasswd.

Reported-by: Auke Willem Oosterhoff <oosterhoff@baopt.nl>
Cc: Auke Willem Oosterhoff <oosterhoff@baopt.nl>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agoopenipmi: new package
Baruch Siach [Tue, 21 Jul 2015 10:11:40 +0000 (13:11 +0300)]
openipmi: new package

OpenIPMI provides libraries and command line tools for interacting with IPMI
enabled devices.

[Thomas: fix indentation.]

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetsnmp: fix static build
Baruch Siach [Tue, 21 Jul 2015 08:47:13 +0000 (11:47 +0300)]
netsnmp: fix static build

Exclude the ucd-snmp/dlmod MIB module when building statically.

Fixes:
http://autobuild.buildroot.net/results/782/7829e74f83c3c4a1f45e049ec9f9d6b00e002c1c/
http://autobuild.buildroot.net/results/5df/5df28482dfa3d7c54d1e4ae3e1d373bd8e9a2265/
http://autobuild.buildroot.net/results/4b7/4b7f3c15a4f4c4f4457e78767f5526c044d6dc1d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.7.1
Bernd Kuhls [Sun, 19 Jul 2015 19:05:06 +0000 (21:05 +0200)]
package/ffmpeg: bump version to 2.7.1

Removed patches applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard: add support for Xilinx zc706
Jordi Montagne [Wed, 11 Mar 2015 07:57:10 +0000 (08:57 +0100)]
board: add support for Xilinx zc706

This is a Xilinx Zynq (xc7z045) development board, based on Xilinx Zynq
(xc7z045).

This support is based on Avnet Zedboard defconfig/readme.

[Thomas:
 - minor fixes in the readme.txt
 - rename defconfig from zc706_defconfig to xilinx_zc706_defconfig.]

Signed-off-by: Jordi Montagne <jordi.montagne66@gmail.com>
Tested-by: Jean Burgat <jeanburgat33@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/glibc: enable lock elision on x86_64 hosts
Steven Noonan [Wed, 18 Mar 2015 22:01:09 +0000 (15:01 -0700)]
package/glibc: enable lock elision on x86_64 hosts

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-video-siliconmotion: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:59 +0000 (19:47 +0200)]
package/x11r7/xdriver_xf86-video-siliconmotion: remove autoreconf

xdriver_xf86-video-siliconmotion no longer use the git repository.

commit: b343bc690e0004ab916eda09d88be9f4210e867b

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xdriver_xf86-video-cirrus: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:58 +0000 (19:47 +0200)]
package/xdriver_xf86-video-cirrus: remove autoreconf

xdriver_xf86-video-cirrus no longer use the git repository.

commit: e45edc34fadcd6e666a123a4ab32a13b37dc3f74

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xdriver_xf86-video-neomagic: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:57 +0000 (19:47 +0200)]
package/x11r7/xdriver_xf86-video-neomagic: remove autoreconf

xdriver_xf86-video-neomagic no longer use the git repository.

commit: 560660d06be550aed1f1bfa52bbe58be5fdc387d

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lttng-tools: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:56 +0000 (19:47 +0200)]
package/lttng-tools: remove autoreconf

lttng-tools-2.0-pre15-no-sync-file-range-in-uclibc.patch is gone
with the commit fb5d605638c359d008329dd9f8fb6c2c8a2c0537.

lttng-tools-no-sync-file-range-in-uclibc.patch is gone
with the commit ed692e2dbbf8d4751d39a636dd1119e829bd0f99.

There is no need to autoreconf lttng-tools.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdvbsi: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:55 +0000 (19:47 +0200)]
package/libdvbsi: remove autoreconf

A configure script is bundled with the archive
of the current version.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libfslparser: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:54 +0000 (19:47 +0200)]
package/libfslparser: remove autoreconf

autoreconf is not needed anymore with the current
version (4.0.2).

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dhcp: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:53 +0000 (19:47 +0200)]
package/dhcp: remove autoreconf

0001-fix-configure-debug.patch was removed in
commit 68e846d3b2875b5e7a79bfb33629bf2793840939

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/neard: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:52 +0000 (19:47 +0200)]
package/neard: remove autoreconf

neard have been bumped several time since autoreconf
was added in neard.mk.
autoreconf seems not needed anymore.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wipe: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:51 +0000 (19:47 +0200)]
package/wipe: remove autoreconf

A configure script is already bundled in the archive.
There is no comment why autoreconf was added.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/stress: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:50 +0000 (19:47 +0200)]
package/stress: remove autoreconf

autoreconf is not needed anymore since non-lfs enabler patch
has been removed.

commit: 415765b5a8861f3b7e86e9786bf903a5a4d09e73

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ulogd: remove autoreconf
Romain Naour [Mon, 20 Jul 2015 17:47:49 +0000 (19:47 +0200)]
package/ulogd: remove autoreconf

Autoreconf is not needed anymore since ulogd 2.0.4
where logd-01-pthread-conditional.patch was removed.

commit: 010745a955b6cf4c979588fafdb7506460038e0f

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: do not always silence oldconfig
Yann E. MORIN [Mon, 20 Jul 2015 20:27:13 +0000 (22:27 +0200)]
core/pkg-kconfig: do not always silence oldconfig

When debugging packages that use the pkg-kconfig infrastructure, it
is sometime interesting to see the exact command line that is being
executed when running oldconfig.

But currently, those command lines are prefixed with '@' which makes
them silent, always.

Instead, use $(Q) so they are silent by default, and verbose with V=1.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-generic: host variants inherits target's override-srcdir
Yann E. MORIN [Sun, 19 Jul 2015 13:15:28 +0000 (15:15 +0200)]
core/pkg-generic: host variants inherits target's override-srcdir

When a package has both a target and a host variants, and there is an
override-srcdir set for the target variant, the host variant should
inherit the target's override-srcdir, unless explicitly set, like we do
for all other target-variant properties.

However, do not override it if expressly set to empty (i.e. when the
user wants to override only the target variant).

Also, as we do for the other variables, the target variant never
inherits from the host variant.

Reported-by: Mike <mikez@OpenPlayer.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Tested-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap-modules: fix license typos
Jerzy Grzegorek [Mon, 20 Jul 2015 06:53:52 +0000 (08:53 +0200)]
c-icap-modules: fix license typos

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "busybox: added linux-pam support"
Baruch Siach [Mon, 20 Jul 2015 12:57:55 +0000 (15:57 +0300)]
Revert "busybox: added linux-pam support"

This reverts commit 083aeac94e19cde6abd4b29cf29db589327d8c49.

Commit f21b2558a097 (busybox: added linux-pam support, 2015-06-02) added
linux-pam support already, no need to do this again. Commit 083aeac94e19
(busybox: added linux-pam support, 2015-07-14) also effectively annulled the
build failure fix from commit 98e1848db11e (busybox: PAM support needs thread
support, 2015-07-04). Revert it.

Fixes:
http://autobuild.buildroot.net/results/8df/8df14bde19a41b78aa6422a1649a570914f747ee/
http://autobuild.buildroot.net/results/30d/30dd11b576b590de513031fce5e034353f2f5544/
http://autobuild.buildroot.net/results/de6/de628d84b0ed49be8f5d021c789357b2e66f2b02/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpcbind: bump version 0.2.3
Aurélien Chabot [Sun, 19 Jul 2015 21:02:38 +0000 (23:02 +0200)]
rpcbind: bump version 0.2.3

Refreshed patch:
0001-Remove-yellow-pages-support.patch

Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoejabberd: simplify init script by patching ejabberdctl
Johan Oudinet [Wed, 8 Jul 2015 09:54:15 +0000 (11:54 +0200)]
ejabberd: simplify init script by patching ejabberdctl

Let a user modify environment variables used in ejabberdctl by loading
a default configuration file.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: fix license typos
Jerzy Grzegorek [Sun, 19 Jul 2015 20:50:40 +0000 (22:50 +0200)]
monkey: fix license typos

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomonkey: remove the default value of the MONKEY_SOURCE variable
Jerzy Grzegorek [Sun, 19 Jul 2015 20:50:39 +0000 (22:50 +0200)]
monkey: remove the default value of the MONKEY_SOURCE variable

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: Add startup script
Clayton Shotwell [Tue, 14 Jul 2015 20:20:27 +0000 (15:20 -0500)]
audit: Add startup script

The startup script for the audit package did not meet the buildroot
standards when the package was initially merged. Adding a compliant
startup script for starting the audit daemon along with rotating the
logs and other features.

[Thomas:
  - Replace "Failed" by "FAIL" to be consistent with the rest of the
    init script and other packages
  - Use $(INSTALL) -D with a complete destination path to avoid having
    to create /etc/init.d before installing the init script.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouboot: mark Freescale i.MX28 specific formats as such
Thomas Petazzoni [Sat, 11 Jul 2015 12:10:56 +0000 (14:10 +0200)]
uboot: mark Freescale i.MX28 specific formats as such

It's rather unclear that uboot.sb, uboot.sd and uboot.nand are
Freescale i.MX28 specific, so let's make that clear in the prompt of
each option, like we do for the Marvell-specific uboot.kwb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: add support for fortran
David Kessler [Sat, 9 May 2015 17:40:54 +0000 (12:40 -0500)]
gcc: add support for fortran

Signed-off-by: David Kessler <DJKessler@me.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>