]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
10 years agogpm: fixes build error when makeinfo is not installed on host
Julien Boibessot [Mon, 3 Feb 2014 10:58:30 +0000 (11:58 +0100)]
gpm: fixes build error when makeinfo is not installed on host

Tested with: make gpm MAKEINFO=no
Should fix http://autobuild.buildroot.net/results/fbf/fbf42eac7cf09b2f3fc93fa2134ddefcb1beea2f/build-end.log
Thanks to Romain Naour for pointing out the problem.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: Add /usr/lib/locale to target-purgelocales
Valentine Barshak [Tue, 2 Oct 2012 19:03:51 +0000 (23:03 +0400)]
Makefile: Add /usr/lib/locale to target-purgelocales

Some packages install locales to /usr/lib/locale.
Parse and purge unneeded ones there too.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agommc-utils: Fix 64-bit values redefinition
Vicente Olivert Riera [Thu, 30 Jan 2014 09:59:06 +0000 (09:59 +0000)]
mmc-utils: Fix 64-bit values redefinition

Some toolchains include asm-generic/int-l64.h from their asm/types.h
file for certain 64-bit architectures. This causes a conflict between
types like this one:

asm-generic/int-l64.h:28:25: error: conflicting types for '__s64'
 typedef __signed__ long __s64;
             ^
In file included from mmc.h:17:0,
         from mmc_cmds.c:30:
asm-generic/int-ll64.h:29:44: note: previous declaration of '__s64' was
here
 __extension__ typedef __signed__ long long __s64;

This patch has been submitted upstream.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnspr: add microblaze support
Spenser Gilliland [Mon, 27 Jan 2014 21:51:41 +0000 (15:51 -0600)]
libnspr: add microblaze support

fixes autobuild failures

http://autobuild.buildroot.net/results/493/4932900522e87da84a47fbf2d796c2fbb3f7e741/build-end.log

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: whitespace cleanup
Spenser Gilliland [Mon, 27 Jan 2014 21:51:39 +0000 (15:51 -0600)]
binutils: whitespace cleanup

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoFix alioth.debian URLs that are broken
Ryan Barnett [Mon, 3 Feb 2014 21:22:53 +0000 (22:22 +0100)]
Fix alioth.debian URLs that are broken

Inspired by a patch from Martin Bark <martin@barkynet.com>, this fixes
autobuild issues related to packages not downloading from alioth.debian
URLs. This patches is meant to be "temporary" until the URLs are fixed
by debian.

Fixes:
  http://autobuild.buildroot.org/results/8c3/8c34649a7f98f60f14cff8b32fa2f8e82b1afeb6
  http://autobuild.buildroot.org/results/7e3/7e34e73e40fdb0e04bd63fa889f9bc14f7e30536

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to version 3.2.10
Gustavo Zacarias [Mon, 3 Feb 2014 10:26:27 +0000 (07:26 -0300)]
gnutls: bump to version 3.2.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Tue, 4 Feb 2014 08:45:59 +0000 (09:45 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssh: bump to version 6.5p1
Gustavo Zacarias [Mon, 3 Feb 2014 02:01:28 +0000 (23:01 -0300)]
openssh: bump to version 6.5p1

Convert the ever growing drop-SUSv3-legacy patch to a sed expression.
Modify the initscript to create ed25519 server key.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: Clarify wrapper and debug
Maxime Hadjinlian [Mon, 3 Feb 2014 00:47:55 +0000 (01:47 +0100)]
manual: Clarify wrapper and debug

Try to clarify how the wrapper passes arguments and why.
This is mainly because the output you can see when you build, does not
reflect what is invoked by the wrapper.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomysql: bump to version 5.1.73
Marcelo Gutiérrez(UTN/FRH) [Sun, 2 Feb 2014 20:52:09 +0000 (20:52 +0000)]
mysql: bump to version 5.1.73

Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-firmware: bump for misc enhancements and fixes
Yann E. MORIN [Mon, 3 Feb 2014 01:07:17 +0000 (02:07 +0100)]
package/rpi-firmware: bump for misc enhancements and fixes

Fixes for h264 video deocding, audio playback and cec.
Some improvements in HDMI output management.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtd: Allow to select the host variant
Ezequiel García [Tue, 28 Jan 2014 11:39:21 +0000 (08:39 -0300)]
mtd: Allow to select the host variant

If any of the post-image scripts wants to create mtd/ubi images,
we need to expose an option for mtd-tools to be user-selectable.

[Peter: fix include order]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtd: Add a more verbose menu text
Ezequiel García [Tue, 28 Jan 2014 11:39:20 +0000 (08:39 -0300)]
mtd: Add a more verbose menu text

mtd-utils also contain ubi/ubifs tools, so let's add it to the menu option.
Also, add an URL to stick to the help message standard.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsoc: bump to 0.6
Yegor Yefremov [Sun, 2 Feb 2014 21:54:38 +0000 (22:54 +0100)]
libsoc: bump to 0.6

Add --disable-debug to unset default DEBUG option.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtr: new package
Gustavo Zacarias [Wed, 29 Jan 2014 20:03:44 +0000 (17:03 -0300)]
mtr: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoAdd gpm (general purpose mouse) server package
Julien Boibessot [Wed, 29 Jan 2014 18:20:59 +0000 (19:20 +0100)]
Add gpm (general purpose mouse) server package

[Peter: small white space fixes as pointed out by Yann]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfozip: fix optimization level in Makefile patch
Peter Korsgaard [Sun, 2 Feb 2014 20:21:19 +0000 (21:21 +0100)]
infozip: fix optimization level in Makefile patch

Noop in Buildroot as we override CFLAGS, but cleaner.

Reported-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/joe: Add package for the JOE editor
Alan Ott [Sun, 2 Feb 2014 00:42:49 +0000 (19:42 -0500)]
package/joe: Add package for the JOE editor

JOE is an easy-to-use, full-screen, terminal-based text editor.

http://joe-editor.sf.net

[Peter: add uClibc patch, add to package/Config.in, optional ncurses support]
Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozxing: don't select libiconv
Martin Bark [Sat, 1 Feb 2014 21:03:01 +0000 (21:03 +0000)]
zxing: don't select libiconv

The zxing package currently selects libiconv when locale support is not
available in the toolchain.  This patch stops the zxing package selecting
libiconv.  The zxing package now uses uses libiconv if it's available
otherwise iconv support is disabled in zxing.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/weston: bump to 1.4.0
Yann E. MORIN [Thu, 30 Jan 2014 21:07:19 +0000 (22:07 +0100)]
package/weston: bump to 1.4.0

Drop patches applied upstream.

Mark the rpi-backend as broken, since it segfaults.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/wayland: build a host variant
Yann E. MORIN [Thu, 30 Jan 2014 21:07:18 +0000 (22:07 +0100)]
package/wayland: build a host variant

Starting with 1.4.0, weston requires wayland-scanner to build its DT.
So far, we got away with just hand-building wayland-scanner, and made
that available in HOST_DIR/usr/bin

But now, weston also requires wayland's DTD, which we did not take care of
in our dirty little hack.

So, the best solution is to just build a host-variant of wayland, so
we get both wayland-scanner, and the DTD.

But then, we do not build the target wayland-scanner (he, wayland tries
to run it at build time...). So it is a matter of just tweaking a little
bit the host .pc file (which weston uses to find wayland-scanner, sigh...)
and fake it as a target .pc file.

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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/wayland: bump to 1.4.0
Yann E. MORIN [Thu, 30 Jan 2014 21:07:17 +0000 (22:07 +0100)]
package/wayland: bump to 1.4.0

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfozip: add missing optional bzip2 dependencie
Romain Naour [Thu, 30 Jan 2014 22:15:44 +0000 (23:15 +0100)]
infozip: add missing optional bzip2 dependencie

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfozip: fix cross-compilation issues
Romain Naour [Thu, 30 Jan 2014 22:15:28 +0000 (23:15 +0100)]
infozip: fix cross-compilation issues

- Use CFLAGS from command line

- Remove "Check C compiler type (optimization options)"
  This test force optimization to -O3
  while it is already set in CFLAGS

- Don't use host CPP

- Remove "Check for Large File Support"
  LFS support is already set in CFLAGS

Note: configure script still use host nm

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfozip: fix $(AS) behavior
Romain Naour [Thu, 30 Jan 2014 22:14:58 +0000 (23:14 +0100)]
infozip: fix $(AS) behavior

infozip's Makefile expect $(AS) to output by default to <basename>.o
but when called from Buildroot, the value for $(AS) is set
to to invoke the toolchain's $(AS) directly, and the output of it
goes to a.out.

So, define $(AS) with $(CC -c)

Reported-by: Кирилл Луценко <lucenko_kirill@mail.ru>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibroxml: bump version to 2.3.0
Tristan Lelong [Sat, 1 Feb 2014 23:07:43 +0000 (15:07 -0800)]
libroxml: bump version to 2.3.0

Starting with version 2.3.0, libroxml is now using autotools.
With autotools, the -Werror flag was dropped
-> no need for the patch libroxml-0001-werror.patch
With autotools, the availability of -Wno-*-unused is auto detected
-> no need for the patch libroxml-0002-wno-unused-result.patch

Signed-off-by: Tristan Lelong <tristan.lelong@blunderer.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoModemManager: bump to 1.2.0
Yegor Yefremov [Thu, 30 Jan 2014 22:55:52 +0000 (23:55 +0100)]
ModemManager: bump to 1.2.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to 3.2.9
Arnout Vandecappelle (Essensium/Mind) [Thu, 30 Jan 2014 23:15:48 +0000 (00:15 +0100)]
gnutls: bump to 3.2.9

gnutls-01-gettime.patch was applied upstream, AUTORECONF is no longer
necessary.

The GNUTLS_LIBREGEX_CHECK_FIX didn't actually work before, because it was
overwritten by the autoreconf. It looks like things still work without
regex. However, this patch reinstates the regex support by setting
libopts_cv_with_libregex=yes in the environment.

Fixes http://autobuild.buildroot.net/results/b22/b22f2caa79f371c625939b65a88a2073382c5288
(failure in libvncserver) because gnutls.so is now properly linked with -lrt.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-libav: new package
Sven Neumann [Thu, 16 Jan 2014 13:57:52 +0000 (14:57 +0100)]
gst1-libav: new package

[Peter: file header, structure like gst-ffmpeg, drop unneeded libav args]
Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogstreamer{,1}: use more sensible kconfig names
Peter Korsgaard [Thu, 30 Jan 2014 22:18:32 +0000 (23:18 +0100)]
gstreamer{,1}: use more sensible kconfig names

The gstreamer / gstreamer1 names are not directly obvious to outsiders, so
spell out the fact that they are about the 0.10 and 1.x versions.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofswebcam: needs mmu
Gustavo Zacarias [Thu, 30 Jan 2014 20:39:33 +0000 (17:39 -0300)]
fswebcam: needs mmu

Fixes:
http://autobuild.buildroot.net/results/62b/62b74b3c8024f362035003450676bfcc36c7171a/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoweb: announce meeting, and add Mind as sponsor
Thomas Petazzoni [Thu, 30 Jan 2014 19:05:30 +0000 (20:05 +0100)]
web: announce meeting, and add Mind as sponsor

[Peter: s/Hangout/Hangouts/, line wrap]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoimagemagick: bump to version 6.8.8-4
Jerzy Grzegorek [Thu, 30 Jan 2014 08:49:50 +0000 (09:49 +0100)]
imagemagick: bump to version 6.8.8-4

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojasper: fix license typo
Jerzy Grzegorek [Thu, 30 Jan 2014 08:48:11 +0000 (09:48 +0100)]
jasper: fix license typo

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibusb: do not depend on host-udev for host variant
Arnout Vandecappelle [Wed, 29 Jan 2014 21:33:07 +0000 (22:33 +0100)]
libusb: do not depend on host-udev for host variant

Commit 25926af5 disabled udev support for the host variant, but forgot to
remove it from the (implicit) host dependencies.

Also reordered things to keep the HOST_* definitions together.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnl: bump to version 3.2.24
Gustavo Zacarias [Wed, 29 Jan 2014 20:17:33 +0000 (17:17 -0300)]
libnl: bump to version 3.2.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcurl: security bump to version 7.35.0
Gustavo Zacarias [Wed, 29 Jan 2014 19:24:53 +0000 (16:24 -0300)]
libcurl: security bump to version 7.35.0

Fixes CVE-2014-0015.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosshfs: bump to version 2.5
Gustavo Zacarias [Wed, 29 Jan 2014 19:24:09 +0000 (16:24 -0300)]
sshfs: bump to version 2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agorng-tools: argp-standalone required for uclibc toolchains only
Gustavo Zacarias [Wed, 29 Jan 2014 18:51:57 +0000 (15:51 -0300)]
rng-tools: argp-standalone required for uclibc toolchains only

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: bump version
Maxime Hadjinlian [Wed, 29 Jan 2014 18:15:04 +0000 (19:15 +0100)]
rtmpdump: bump version

Rtmpdump was not compatible with BR's version of PolarSSL, the bump
fixes that.

Fixes:
http://autobuild.buildroot.net/results/55bda4076af031db9778d97f9ddc5c6b14de17ce
http://autobuild.buildroot.net/results/9ba2f8ecb0a73cc7e625faf713ad4161202b2293
http://autobuild.buildroot.net/results/4e1988f049fa97574da54e5097e5ef1668c2687c
http://autobuild.buildroot.net/results/02a15ad5211a1e620002c442ce256147d9b9ee88

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.13.1
Gustavo Zacarias [Wed, 29 Jan 2014 14:39:59 +0000 (11:39 -0300)]
linux: bump to version 3.13.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4, 13}.x stable versions
Gustavo Zacarias [Wed, 29 Jan 2014 14:39:58 +0000 (11:39 -0300)]
linux-headers: bump 3.{4, 13}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosg3_utils: bump to version 1.37
Gustavo Zacarias [Wed, 29 Jan 2014 13:11:40 +0000 (10:11 -0300)]
sg3_utils: bump to version 1.37

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocollectd: bump to version 5.4.1
Gustavo Zacarias [Wed, 29 Jan 2014 13:01:59 +0000 (10:01 -0300)]
collectd: bump to version 5.4.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: add libass support
Simon Dawson [Wed, 29 Jan 2014 09:25:53 +0000 (09:25 +0000)]
vlc: add libass support

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsocketcan: add license information and fix formatting
Yegor Yefremov [Wed, 29 Jan 2014 08:36:26 +0000 (09:36 +0100)]
libsocketcan: add license information and fix formatting

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomxml: bump to 2.8
Yegor Yefremov [Wed, 29 Jan 2014 08:22:17 +0000 (09:22 +0100)]
mxml: bump to 2.8

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-userland: fix fall-out after cmake infra change
Yann E. MORIN [Fri, 24 Jan 2014 19:56:21 +0000 (20:56 +0100)]
package/rpi-userland: fix fall-out after cmake infra change

Cset 9fa7f2b (pkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB)
broke rpi-userland.

Force not building shared libs for rpi-userland, since they are broken.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibusb: disable udev support for host variant
Gustavo Zacarias [Tue, 28 Jan 2014 22:24:11 +0000 (19:24 -0300)]
libusb: disable udev support for host variant

There's no guarantee that udev with development files is present in the
host, so disable it. Fixes:
http://autobuild.buildroot.net/results/7bb/7bbf6ec25250dea96503253ac468adfef77a9010/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoAdd SMS Tools Server 3 package
Julien Boibessot [Thu, 23 Jan 2014 15:38:04 +0000 (16:38 +0100)]
Add SMS Tools Server 3 package

[Peter: move to hw menu, int type for nr modems, drop _BINARIES_DIR
 variable, fix config file name]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/pkg-cmake: disable colouring the output
Yann E. MORIN [Sun, 26 Jan 2014 17:37:02 +0000 (18:37 +0100)]
package/pkg-cmake: disable colouring the output

cmake is the only build-system we support that does colour its output,

Also, since parallel builds generates intermixed output lines, it makes
for ugly-looking output.

Just disable cmake colouring globally.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs: ensure $(TARGET_DIR_WARNING_FILE) is writable
Yann E. MORIN [Tue, 28 Jan 2014 20:11:25 +0000 (21:11 +0100)]
fs: ensure $(TARGET_DIR_WARNING_FILE) is writable

If the Buildroot tree is read-only, then $(TARGET_DIR_WARNING_FILE) is
copied read-only into target/ but we may want to remove it during the
build process.

This poses no real problem, since target/ itself is guaranteed to be
writable, but for good measure, force $(TARGET_DIR_WARNING_FILE) to be
writable itself.

Reported-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/uClibc: ensure .config is writable
Yann E. MORIN [Tue, 28 Jan 2014 20:11:24 +0000 (21:11 +0100)]
package/uClibc: ensure .config is writable

If $(UCLIBC_CONFIG_FILE) is read-only (eg. because Buildroot's
source dir is), the sed fixups to .config fail.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
[yann.morin.1998@free.fr: use $(INSTALL) instead of cp]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: ensure buildroot_defconfig is writable
Yann E. MORIN [Tue, 28 Jan 2014 20:11:23 +0000 (21:11 +0100)]
linux: ensure buildroot_defconfig is writable

If $(KERNEL_SOURCE_CONFIG) is read-only (eg. because Buildroot's source
dir is), the rm of $(KERNEL_ARCH_PATH)/configs/buildroot_defconfig will
either fail, or prompt the user, both of which we want to avoid.

Make it writable by using $(INSTALL).

Fixes: #4363
Signed-off-by: Nathan Lynch <ntl@pobox.com>
[yann.morin.1998@free.fr: use $(INSTALL) instead of cp, don't 'rm -f']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: ensure $(BUSYBOX_BUILD_CONFIG) is writable
Nathan Lynch [Tue, 28 Jan 2014 20:11:22 +0000 (21:11 +0100)]
busybox: ensure $(BUSYBOX_BUILD_CONFIG) is writable

If $(BUSYBOX_CONFIG_FILE) is read-only (eg. because Buildroot's
source dir is), the sed fixups to $(BUSYBOX_BUILD_CONFIG) fail.

Fixes: #4363
Signed-off-by: Nathan Lynch <ntl@pobox.com>
[yann.morin.1998@free.fr: use $(INSTALL) instead of cp]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotarget: ensure target/ dir is writable
Nathan Lynch [Tue, 28 Jan 2014 20:11:21 +0000 (21:11 +0100)]
target: ensure target/ dir is writable

If the source target skeleton is read-only (eg. because Buildroot's
source dir is), modifications to the output target (such as creating
/etc/hostname and /etc/issue) fail.

(This can happen if the Buildroot source dir is NFS-mounted read-only
to be shared between different machines, for example).

Signed-off-by: Nathan Lynch <ntl@pobox.com>
[yann.morin.1998@free.fr: we use rsync now, not cp; --chmod=Du+w
 suggested by Arnout; clarify commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "package/tzdata: install a default localtime"
Yann E. MORIN [Tue, 28 Jan 2014 21:33:54 +0000 (22:33 +0100)]
Revert "package/tzdata: install a default localtime"

This reverts commit f96e4d7f348ce1b7b53763f102bbedb1ef6a1991.

As suggested by Thomas, we need to find a single solution that is
valid for both (e)glibc and uClibc.

There is work on-going by Alexandre, so just revert this for now.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: security bump to version 5.5.8
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:26 +0000 (18:26 -0300)]
php: security bump to version 5.5.8

Fixes CVE-2013-6712.
Note that there's no xz format tarball for 5.5.8.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibass: new package
Maxime Hadjinlian [Sun, 26 Jan 2014 21:39:00 +0000 (22:39 +0100)]
libass: new package

libass is a portable subtitle renderer for the
ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: make fontconfig/enca optional, fix license, add host-pkgconf,
 optionaliconv/harfbuzz support]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoethtool: bump to version 3.13
Gustavo Zacarias [Tue, 28 Jan 2014 19:20:26 +0000 (16:20 -0300)]
ethtool: bump to version 3.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tmux: new package
Yann E. MORIN [Fri, 24 Jan 2014 23:15:14 +0000 (00:15 +0100)]
package/tmux: new package

[Peter: fix license info]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibusb-compat: bump to version 0.1.5
Gustavo Zacarias [Tue, 28 Jan 2014 20:11:36 +0000 (17:11 -0300)]
libusb-compat: bump to version 0.1.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibusb: bump to version 1.0.18
Gustavo Zacarias [Tue, 28 Jan 2014 20:11:35 +0000 (17:11 -0300)]
libusb: bump to version 1.0.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoradvd: bump to version 1.9.8
Gustavo Zacarias [Tue, 28 Jan 2014 19:20:04 +0000 (16:20 -0300)]
radvd: bump to version 1.9.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiw: bump to version 3.14
Gustavo Zacarias [Tue, 28 Jan 2014 18:21:59 +0000 (15:21 -0300)]
iw: bump to version 3.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibenca: new package
Maxime Hadjinlian [Sun, 26 Jan 2014 21:38:59 +0000 (22:38 +0100)]
libenca: new package

Extremely Naive Charset Analyser.

This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: drop libiconv dep, tools patch, simplify host tools build]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoerlang: bump version to R16B03-1
Frank Hunleth [Tue, 28 Jan 2014 00:42:55 +0000 (19:42 -0500)]
erlang: bump version to R16B03-1

OTP R16B03-1 is a service release which corrects a few issues found in
the R16B03 release. The corrections are:

 - The ODBC application was missing in the prebuilt Windows installers
 - 3 corrections in the SSL application:
   - Add missing validation of the server_name_indication option and test for
     its explicit use.
   - Elliptic curve selection in server mode now properly selects a curve
     suggested by the client, if possible.
   - The server did not indicate support for secure renegotiation during TLS
     extension handling.
 - In the syntax tools application a bug was introduced which broke
   reverting of local funs. This is now corrected (thanks to Anthony
   Ramine)
 - wx - Solved a problem which caused the debugger to crash when closing a
   window. Fixed static linking on Mac.
 - xmerl - Fixed a problem in the SAX-parser when the header of the next
   document was appearing in the buffer when using the
   xmerl_sax_parser:stream/2 function.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolm_sensors: bump to version 3.3.5
Gustavo Zacarias [Tue, 28 Jan 2014 11:06:50 +0000 (08:06 -0300)]
lm_sensors: bump to version 3.3.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcpreplay: Bump version to 4.0.2
Chris Packham [Tue, 28 Jan 2014 09:37:06 +0000 (22:37 +1300)]
tcpreplay: Bump version to 4.0.2

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnftnl: add JSON and XML parsing support
Yegor Yefremov [Thu, 23 Jan 2014 14:00:02 +0000 (15:00 +0100)]
libnftnl: add JSON and XML parsing support

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcdio: make C++ support optional
Peter Korsgaard [Mon, 27 Jan 2014 21:05:45 +0000 (22:05 +0100)]
libcdio: make C++ support optional

C++ support is only needed for the example programs (that we don't build)
and C++ bindings.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcdio: forcibly disable libcddb support
Peter Korsgaard [Mon, 27 Jan 2014 21:03:45 +0000 (22:03 +0100)]
libcdio: forcibly disable libcddb support

We don't have libcddb in Buildroot, and the detection handling in
configure uses pkg-config, so explicitly disable it so we don't
need to build host-pkgconf just to notice that it isn't available.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcdio: cdda-player depends on ncurses
Bernd Kuhls [Sat, 25 Jan 2014 17:53:14 +0000 (18:53 +0100)]
libcdio: cdda-player depends on ncurses

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: don't force a crypto backend
Peter Korsgaard [Mon, 27 Jan 2014 16:09:32 +0000 (17:09 +0100)]
rtmpdump: don't force a crypto backend

rtmpdump CAN work without a crypto backend (by passing CRYPTO=), so
don't enforce gnutls.

Fixes a dependency issue as gnutls needs wchar, but rtmpdump
(and polarssl/openssl) don't.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: fix CFLAGS/LDFLAGS
Peter Korsgaard [Mon, 27 Jan 2014 16:00:22 +0000 (17:00 +0100)]
rtmpdump: fix CFLAGS/LDFLAGS

The rtmpdump makefile looks at XCFLAGS/XLDFLAGS for additional flags,
so use those instead of completely overriding the flags.

Fixes http://autobuild.buildroot.net/results/190/1902a6613e5fc9656842fbcbd5731ac871d7ef59/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcpreplay: fix build errors when tcpdump (verbose) isn't enabled
Peter Korsgaard [Mon, 27 Jan 2014 14:25:22 +0000 (15:25 +0100)]
tcpreplay: fix build errors when tcpdump (verbose) isn't enabled

Patch from Chris' pull request.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovorbis-tools: fix libm linking issue
Peter Korsgaard [Mon, 27 Jan 2014 13:51:40 +0000 (14:51 +0100)]
vorbis-tools: fix libm linking issue

Fixes http://autobuild.buildroot.net/results/d48/d488dc5e1d684124e7367dac00ba2fb8c7b1b876/

ogg123 calls math functions but forgets to link with libm.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc 4.8.2: arm fixes for stack corruption
Andrew Ruder [Fri, 24 Jan 2014 15:11:19 +0000 (09:11 -0600)]
gcc 4.8.2: arm fixes for stack corruption

This seems to especially affect the kernel, but in an
interrupt-heavy system, this fixes a bug that can cause frequent
NULL pointer dereference crashes on ARM systems.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: Unexport TAR_OPTIONS
Nix [Sun, 26 Jan 2014 22:58:02 +0000 (22:58 +0000)]
Makefile: Unexport TAR_OPTIONS

GNU tar > 1.13.17 interprets TAR_OPTIONS as an environment variable
containing options to be prepended to the set on the command line.

Since we use the same variable, if the user's environment already
contains TAR_OPTIONS, our use of the same variable name modifies
the environment and causes untars to misbehave when TAR_OPTIONS
causes a -xf to be prepended to the tar command line, likely
converting a subsequent flag into a spurious filename.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopoco: fix nios2 fenv build failure
Baruch Siach [Sat, 25 Jan 2014 19:49:11 +0000 (21:49 +0200)]
poco: fix nios2 fenv build failure

Disable FP environment on nios2.

Fixes:
http://autobuild.buildroot.net/results/3ce/3ce9d6dc5c4e8fceebaa461e5085da7f33fda8a1/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenpowerlink: force static library build
Romain Naour [Fri, 24 Jan 2014 21:34:21 +0000 (22:34 +0100)]
openpowerlink: force static library build

There is no shared lib in openpowerlink,
so force static lib to build libpowerlink.a

Fixes:
http://autobuild.buildroot.net/results/b33/b33008d260c95bedc52bed48f191f76843612ef9/build-end.log
http://autobuild.buildroot.net/results/c46/c464bdfb8edaaf69d49ade92ef9cc6f45cc73362/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogtest: force static library build
Samuel Martin [Fri, 24 Jan 2014 15:24:24 +0000 (16:24 +0100)]
gtest: force static library build

While it seems possible to build gtest as a shared library, using it
in other projects requires to set some specific configuration flags
in these projects for correctly linking against the shared version
of the gtest library.

So, to avoid bothering many projects and keep things as they were so
far, we just force gtest to be built as a static library.

Fixes:
  http://autobuild.buildroot.net/results/20cbf90749672607cb277c676a45d2c0c3965fa0/
  http://autobuild.buildroot.net/results/5c6e58c51b2a14a7f23d296f771a76096b80362a/
  http://autobuild.buildroot.net/results/bde777d343e9c4884272893d0da3b113dcc75e3a/
  http://autobuild.buildroot.net/results/20cbf90749672607cb277c676a45d2c0c3965fa0/
  http://autobuild.buildroot.net/results/89a29d1f597dbc12a6fc8eb079133a84952fc612/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcurl: Add rtmp support
Maxime Hadjinlian [Sun, 26 Jan 2014 14:00:47 +0000 (15:00 +0100)]
libcurl: Add rtmp support

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{10, 12}.x stable versions
Gustavo Zacarias [Sun, 26 Jan 2014 12:33:13 +0000 (09:33 -0300)]
linux-headers: bump 3.{10, 12}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolftp: bump to 4.4.15 and remove cross-compile patch.
Arnaud Rébillout [Fri, 24 Jan 2014 15:07:55 +0000 (16:07 +0100)]
lftp: bump to 4.4.15 and remove cross-compile patch.

The patch has been accepted upstream. See:
http://www.mail-archive.com/lftp-devel%40uniyar.ac.ru/msg01841.html

Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocan-utils: bump version
Yegor Yefremov [Fri, 24 Jan 2014 10:46:22 +0000 (11:46 +0100)]
can-utils: bump version

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcpreplay: cross-compile with tcpdump support
Chris Packham [Thu, 23 Jan 2014 09:07:14 +0000 (22:07 +1300)]
tcpreplay: cross-compile with tcpdump support

If tcpdump is enabled set ac_cv_path_tcpdump_path so that verbose output
is enabled on the target.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: 1.22.1: correct ash patch
Peter Korsgaard [Thu, 23 Jan 2014 11:47:19 +0000 (12:47 +0100)]
busybox: 1.22.1: correct ash patch

Upstream initially put the wrong patch online:

http://lists.busybox.net/pipermail/busybox/2014-January/080364.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox 1.22.1: add upstream iplink fix
Gustavo Zacarias [Thu, 23 Jan 2014 10:21:15 +0000 (07:21 -0300)]
busybox 1.22.1: add upstream iplink fix

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosqlcipher: fix build for xtensa
Baruch Siach [Thu, 23 Jan 2014 09:53:52 +0000 (11:53 +0200)]
sqlcipher: fix build for xtensa

The sqlcipher package generates libraries that are too large for the xtensa
default placement of literals in a dedicated section. Use
-mtext-section-literal to place literals in the text section.

Fixes:
http://autobuild.buildroot.net/results/921/92116c2837e4c449919e7a0ab9aebd6abb1cbaf1/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: workaround kconfig issue by defaulting to gnutls
Peter Korsgaard [Wed, 22 Jan 2014 23:51:19 +0000 (00:51 +0100)]
rtmpdump: workaround kconfig issue by defaulting to gnutls

Otherwise we get:

package/openssl/Config.in:1:error: recursive dependency detected!
package/openssl/Config.in:1:    symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_GNUTLS
package/gnutls/Config.in:1:     symbol BR2_PACKAGE_GNUTLS is selected by BR2_PACKAGE_OPENSSL

Which is caused by lftp doing:

  select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_OPENSSL

And rtmpdump doing:

  select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_GNUTLS

Which confuses kconfig. Work around it by swapping gnutls and openssl in
rtmpdump so it matches lftp.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotinyxml: new package
Maxime Hadjinlian [Sun, 19 Jan 2014 21:04:03 +0000 (22:04 +0100)]
tinyxml: new package

Tiny XML Parser.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: add _LICENSE_FILES]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibshairplay: new package
Maxime Hadjinlian [Sun, 19 Jan 2014 21:04:02 +0000 (22:04 +0100)]
libshairplay: new package

libshairplay is a client library that emulates an airplay server
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: fix whitespace, needs threads, host-pkgconf and optionally libao]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: gimli <ebsi4711@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoadded python unicode selection to menu
Matthew Weber [Wed, 8 Jan 2014 04:34:07 +0000 (22:34 -0600)]
added python unicode selection to menu

This patch is based on the original new pkg patch submitted last Jan
and is part of the "Patchwork oldest patches cleanup #5".

[Peter: fix CONF_OPT indentation]
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs/common.mk: add host-mkpasswd if PACKAGES_USERS is not empty
Samuel Martin [Wed, 22 Jan 2014 20:59:41 +0000 (21:59 +0100)]
fs/common.mk: add host-mkpasswd if PACKAGES_USERS is not empty

When using a custom rootfs skeleton, the host-mkpasswd target is not
automatically built, even if some packages add users (i.e. when
PACKAGES_USERS is not empty).

In this case, the rootfs generation may fail because the mkpasswd
provided by some distribution does not support all options used in the
mkusers script.

This patch avoids such trouble by automatically adding the host-mkpasswd
package to the dependency list of the rootfs targets if users needs
to be created.

[Peter: minor rewording of commit message]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconnman: enable systemd unit-files installation
Samuel Martin [Wed, 22 Jan 2014 20:59:40 +0000 (21:59 +0100)]
connman: enable systemd unit-files installation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconnman: use the *_INSTALL_INIT_SYSV infra instead of the custom hook
Samuel Martin [Wed, 22 Jan 2014 20:59:39 +0000 (21:59 +0100)]
connman: use the *_INSTALL_INIT_SYSV infra instead of the custom hook

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopencv: remove BUILD_SHARED_LIBS flags
Samuel Martin [Wed, 22 Jan 2014 20:59:38 +0000 (21:59 +0100)]
opencv: remove BUILD_SHARED_LIBS flags

This CMake flag is now handled by the cmake-package infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB
Samuel Martin [Wed, 22 Jan 2014 20:59:37 +0000 (21:59 +0100)]
pkg-cmake.mk: build shared library when !BR2_PREFER_STATIC_LIB

CMake offers a couple of places where one can specify how to build a
library:
- when you create the library target itself, by calling
  add_library(target [SHARED|STATIC] ...)
- or globally, when you configure the build, by setting the
  BUILD_SHARED_LIBS CMake flag.

* if the library target kind of library is specified:
    it overrides the global setting BUILD_SHARED_LIBS;
* else, if the global setting BUILD_SHARED_LIBS is set:
    it builds according to the BUILD_SHARED_LIBS flags;
* otherwise:
    for linux, it will build static library (like BUILD_SHARED_LIBS
    default is OFF).

So, we can consider the setting BUILD_SHARED_LIBS acts a bit similarly
to the autotools ones '--disable-static' and '--enable-shared'.
Thus, it makes sense for Buildroot to globally drive to CMake flags in
the cmake-package infrastructure.

It seems we never trigger this so far because:
- either we specified it in the *.mk file (e.g. opencv.mk);
- or it was already set per target by the projects' upstreams.

Followup patches will clean the remaining BUILD_SHARED_LIBS in the
package *.mk files.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>