buildroot.git
10 years agosysv init scripts: use symbolic names in trap command
André Erdmann [Sun, 26 Oct 2014 17:41:46 +0000 (18:41 +0100)]
sysv init scripts: use symbolic names in trap command

Not really necessary(*), but checkbashisms complains about
"trap with signal numbers".

(*) Quoting man 1p trap:
   trap [action condition...]
   [...]
   The condition can be EXIT, 0 (equivalent to EXIT),
   or a signal specified using a symbolic name, without the SIG prefix
   [...]
   XSI-conformant systems also allow numeric signal numbers[...]

Only one file is affected by this commit, and it should be checked
whether it really needs to ignore SIGTERM/SIGHUP or if the trap commands
can simply be removed:

 package/proftpd/S50proftpd

Signed-off-by: André Erdmann <dywi@mailerd.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosysv init scripts: replace &>/dev/null redirection
André Erdmann [Sun, 26 Oct 2014 17:41:45 +0000 (18:41 +0100)]
sysv init scripts: replace &>/dev/null redirection

"<command> &>/dev/null" is supposed to redirect all output to /dev/null.

However, in shells that don't support it (dash, ash without bash extensions),
a command like "echo a &>/dev/null" is interpreted as

(a) "echo a" in background
(b) write nothing to /dev/null (redirect <empty command> to /dev/null)

This commit replaces "&>..." with ">/dev/null 2>&1".

Signed-off-by: André Erdmann <dywi@mailerd.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosysv init scripts: remove gettext invocations
André Erdmann [Sun, 26 Oct 2014 17:41:44 +0000 (18:41 +0100)]
sysv init scripts: remove gettext invocations

$"str" is supposed to translate str (depending on the current locale).
In ash/dash/..., it cannot be expanded, so commands like

 echo  $"Usage: $0 start|stop"

are printed as '$Usage: SCRIPT start|stop' in [d]ash,
and as 'Usage: SCRIPT start|stop' in bash.

This patch removes the '$' in front of '"'.

Command(s) used for editing:

  find . -type f -name '[SK][0-9][0-9]*' | \
     xargs sed -r -e 's@[$](["])@\1@g' -i

Signed-off-by: André Erdmann <dywi@mailerd.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/alsa-utils: optionally depends on gettext
Bernd Kuhls [Sun, 19 Oct 2014 14:45:05 +0000 (16:45 +0200)]
package/alsa-utils: optionally depends on gettext

To get a reproducable build add optional gettext dependency.

- Configure log without gettext

checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no

- Configure log with gettext built before alsa-utils

checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... guessing yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl

Tested using this defconfig

BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
BR2_PACKAGE_ALSA_UTILS_AMIDI=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_ALSA_UTILS_IECSET=y
BR2_PACKAGE_ALSA_UTILS_ACONNECT=y
BR2_PACKAGE_ALSA_UTILS_APLAYMIDI=y
BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI=y
BR2_PACKAGE_ALSA_UTILS_ASEQDUMP=y
BR2_PACKAGE_ALSA_UTILS_ASEQNET=y
BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
BR2_PACKAGE_NCURSES_WCHAR=y

[Thomas:
 - it's not only alsamixer, but also several other alsa-utils
   utilities, like aplay or arecord, which optionally depend on
   gettext. Therefore, the patch was changed to have the optional
   gettext dependency apply to the entire package.
 - in addition, we don't need gettext when locales are enabled:
   alsa-utils builds perfectly fine with a toolchain having locales
   enabled even without gettext. So all we really want is to have
   gettext built before alsa-utils, if gettext is enabled.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodocs/manual: update cmake-package infrastructure section
Samuel Martin [Sun, 19 Oct 2014 18:04:51 +0000 (20:04 +0200)]
docs/manual: update cmake-package infrastructure section

This patch documents the CMake options preset by the cmake-package
infrastructure.

[Thomas: minor wording tweak.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/polarssl: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:50 +0000 (20:04 +0200)]
package/polarssl: cleanup configure options

Test build is already disabled by the cmake-package infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/opencv: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:49 +0000 (20:04 +0200)]
package/opencv: cleanup configure options

Disabling doc and example build is already done by the cmake-package
infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libuci: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:47 +0000 (20:04 +0200)]
package/libuci: cleanup configure options

Make BUILD_LUA assignation symetrical.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libuci: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:46 +0000 (20:04 +0200)]
package/libuci: cleanup configure options

Remove unneeded type in configure option's definition.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libubox: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:45 +0000 (20:04 +0200)]
package/libubox: cleanup configure options

Make BUILD_LUA assignation symetrical.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libubox: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:44 +0000 (20:04 +0200)]
package/libubox: cleanup configure options

Remove unneeded type in configure option's definition.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libubox: cleanup dependencies
Samuel Martin [Sun, 19 Oct 2014 18:04:43 +0000 (20:04 +0200)]
package/libubox: cleanup dependencies

host-pkgconf is already a (runtime) dependency for host-cmake.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libsoxr: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:42 +0000 (20:04 +0200)]
package/libsoxr: cleanup configure options

BUILD_SHARED_LIBS is already driven by the cmake-package
infrastructure.

[Thomas: amend to really remove the BUILD_SHARED_LIBS option from the
package, after checking on IRC with Samuel.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libsoxr: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:41 +0000 (20:04 +0200)]
package/libsoxr: cleanup configure options

Test build is already disabled by the cmake-package infrastructure. We
also get rid of the option type for the WITH_OPENMP option, as it is
not necessary.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/flann: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:40 +0000 (20:04 +0200)]
package/flann: cleanup configure options

Disabling doc and test build is already done by the cmake-package
infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/clapack: cleanup configure options
Samuel Martin [Sun, 19 Oct 2014 18:04:39 +0000 (20:04 +0200)]
package/clapack: cleanup configure options

Remove the BUILD_TESTING configure option (note the typo in its existing
name), which is already set to the same value by the cmake
infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/pkg-cmake.mk: disable colouring the output
Samuel Martin [Sun, 19 Oct 2014 18:04:38 +0000 (20:04 +0200)]
package/pkg-cmake.mk: disable colouring the output

Because cmake was the only build-system supporting this feature, it has been
disabled for the target packages.
For consistency, this patch does the same for host package too.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/pkg-cmake.mk: globally disable doc, examples and tests
Samuel Martin [Sun, 19 Oct 2014 18:04:37 +0000 (20:04 +0200)]
package/pkg-cmake.mk: globally disable doc, examples and tests

This patch globally disables doc, examples and tests build for both the
target and host packages.

If needed, these configure flags can be overloaded in the per-package
*_CONF_OPTS variables.

This makes the cmake-package infrastructure even closer to the autotools
one.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibevent: Use github call & fix patch
Maxime Hadjinlian [Sun, 19 Oct 2014 17:21:01 +0000 (19:21 +0200)]
libevent: Use github call & fix patch

We want to use the github helper since there is not a specific releases
tarball that we can download, as specified in the manual.

This tarball is generated from the tag, which doesn't contains the
autotools generated files, we then need to use AUTORECONF.

We want to use the github helper anyway as the current URL use an old
GitHub feature which was called 'Download' where you could upload files
along your repositories, theses files were not related to your tags.

This features has been replaced with the 'Release' option where you can
create a release from a git tag. But these tarball are generated from
the sources and they don't contains all the generated autotools file.

Since the old URL scheme can be deprecated at any time, we want to
switch to the new URL scheme, which in the case of libevent, implies
    having to do an AUTORECONF.

The patch that was already present is updated to apply against
Makefile.am instead of Makefile.in

The second patch is backported from upstream to remove the use of
$(top_src_dirs) which makes current autotools error out.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-ffmpeg: expand package description to describe libav usage
Danomi Manchego [Sun, 19 Oct 2014 19:33:21 +0000 (15:33 -0400)]
gst-ffmpeg: expand package description to describe libav usage

- Change URL to gst-ffmpeg page at the gstreamer site.
- Note that gst-ffmpeg actually uses libav, not ffmpeg [anymore].
- Note that gst-ffmpeg is using an internal copy of libav, not a
  system copy.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-ffmpeg: add --pkg-config to internal libav configure options
Danomi Manchego [Sun, 19 Oct 2014 19:33:20 +0000 (15:33 -0400)]
gst-ffmpeg: add --pkg-config to internal libav configure options

The internal copy of libav in gst-ffmpeg does not understand the
PKG_CONFIG env variable, so it throws a line like this at the end
of its configuration:

WARNING: .../output/host/usr/bin/i686-pc-linux-gnu-pkg-config not found, library detection may fail.

This patch adds the --pkg-config to let libav know where it is.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-ffmpeg: add option to select GPL vs LGPL build
Danomi Manchego [Sun, 19 Oct 2014 19:33:19 +0000 (15:33 -0400)]
gst-ffmpeg: add option to select GPL vs LGPL build

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoipset: add patch to fix --enable-debug build
Thomas Petazzoni [Sun, 26 Oct 2014 13:24:58 +0000 (14:24 +0100)]
ipset: add patch to fix --enable-debug build

Fixes:

  http://autobuild.buildroot.org/results/e09/e092c05b949a2bcdadc4f4a0a57d7dd1dc8dca26/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: Fix uClibc build with BR2_ENABLE_DEBUG=yes
Bernd Kuhls [Sun, 19 Oct 2014 18:05:22 +0000 (20:05 +0200)]
package/mesa3d: Fix uClibc build with BR2_ENABLE_DEBUG=yes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibmemcached: add hash file
Gustavo Zacarias [Sun, 26 Oct 2014 13:04:30 +0000 (10:04 -0300)]
libmemcached: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomemcached: bump to version 1.4.21
Gustavo Zacarias [Sun, 26 Oct 2014 13:04:29 +0000 (10:04 -0300)]
memcached: bump to version 1.4.21

And add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomp4v2: new package
Jörg Krause [Mon, 20 Oct 2014 08:16:59 +0000 (10:16 +0200)]
mp4v2: new package

[Thomas: use --enable-largefile/--disable-largefile as appropriate.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocoreutils: fix libintl, reorder ENV, OPTS & PROGS
Gustavo Zacarias [Sun, 26 Oct 2014 12:33:10 +0000 (09:33 -0300)]
coreutils: fix libintl, reorder ENV, OPTS & PROGS

Move OPTS, ENV & PROGS up to the top, the fact that a conditional
(BR2_PACKAGE_BUSYBOX) was before them is bad style and confused me while
i tried to get them grouped together.
This was making all of the new disable OPTS fail, pretty much harmless
but still.

Account for libintl/gettext presence, it's not required in any toolchain
combination but it will fail if it's present, so use it when it's
selected by some other package. Fixes:
http://autobuild.buildroot.net/results/30d/30d0e3d27d8606443479466e60716e6f202a4711/

Add conditional on OpenSSL for faster hashing binaries as pointed again
by Pádraig Brady.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-mojolicious: bump to version 5.54
Francois Perrad [Sun, 26 Oct 2014 08:12:54 +0000 (09:12 +0100)]
perl-mojolicious: bump to version 5.54

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-net-ssleay: bump to version 1.66
Francois Perrad [Sun, 26 Oct 2014 08:12:53 +0000 (09:12 +0100)]
perl-net-ssleay: bump to version 1.66

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-io-socket-ssl: bump to version 2.002
Francois Perrad [Sun, 26 Oct 2014 08:12:52 +0000 (09:12 +0100)]
perl-io-socket-ssl: bump to version 2.002

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-json-tiny: bump to version 0.50
Francois Perrad [Sun, 26 Oct 2014 08:12:51 +0000 (09:12 +0100)]
perl-json-tiny: bump to version 0.50

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-path-tiny: bump to version 0.059
Francois Perrad [Sun, 26 Oct 2014 08:12:50 +0000 (09:12 +0100)]
perl-path-tiny: bump to version 0.059

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-module-build: bump to version 0.4210
Francois Perrad [Sun, 26 Oct 2014 08:12:49 +0000 (09:12 +0100)]
perl-module-build: bump to version 0.4210

[Thomas: drop empty HOST_PERL_MODULE_BUILD_DEPENDENCIES.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoliblog4c-localtime: update patches that have been submitted upstream
Thomas Petazzoni [Sun, 26 Oct 2014 11:25:35 +0000 (12:25 +0100)]
liblog4c-localtime: update patches that have been submitted upstream

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoliblog4c-localtime: fix build issue on uClibc with --enable-debug
Thomas Petazzoni [Sun, 26 Oct 2014 11:17:29 +0000 (12:17 +0100)]
liblog4c-localtime: fix build issue on uClibc with --enable-debug

When --enable-debug is used, liblog4c-localtime wants to use
<mcheck.h> if __GLIBC__ is defined. Unfortunately, uClibc defines
__GLIBC__ but does not provides mcheck.h. Therefore, this commit
introduces a patch (0003) that checks if mcheck.h is available or not.

However, this patch requires autoreconfiguring the package, which is
currently broken. Therefore, the two other patches (0004 and 0005) are
meant to fix autoreconfiguration of the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoliblog4c-localtime: rewrite existing patches as Git patches
Thomas Petazzoni [Sun, 26 Oct 2014 11:16:31 +0000 (12:16 +0100)]
liblog4c-localtime: rewrite existing patches as Git patches

In order to prepare upstream submission, this commit rewrites the two
existing liblog4c-localtime patches as Git patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoliblog4c-localtime: rename patches to the new naming convention
Thomas Petazzoni [Sun, 26 Oct 2014 11:15:32 +0000 (12:15 +0100)]
liblog4c-localtime: rename patches to the new naming convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: indentation cleanup
Jerzy Grzegorek [Sat, 25 Oct 2014 18:29:31 +0000 (20:29 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xbmc: Add optional support for libcap
Bernd Kuhls [Sat, 25 Oct 2014 18:19:55 +0000 (20:19 +0200)]
package/xbmc: Add optional support for libcap

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libcap: add hash file
Bernd Kuhls [Sat, 25 Oct 2014 18:19:54 +0000 (20:19 +0200)]
package/libcap: add hash file

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libcap: bump version to 2.24
Bernd Kuhls [Sat, 25 Oct 2014 18:19:53 +0000 (20:19 +0200)]
package/libcap: bump version to 2.24

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoavahi: add optional gtk3 support
Peter Korsgaard [Sun, 26 Oct 2014 04:30:02 +0000 (05:30 +0100)]
avahi: add optional gtk3 support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopulseaudio: correct libgtk3 handling
Peter Korsgaard [Sun, 26 Oct 2014 02:03:20 +0000 (03:03 +0100)]
pulseaudio: correct libgtk3 handling

The gtk3 support uses X11 specific functionality, so it should only be
enabled if the X11 backend is enabled.

Fixes:
http://autobuild.buildroot.net/results/9d9/9d9ddea26a5193367a80eede1be1122cec5cd939/
http://autobuild.buildroot.net/results/3fb/3fbbdbf39e29319b349b2cf155397a121f24bf28/
http://autobuild.buildroot.net/results/ccf/ccf31740a0e730f2626db9051931b1e0703c770d/

And many others.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/qdecoder: Fix build error
Bernd Kuhls [Sun, 19 Oct 2014 21:26:44 +0000 (23:26 +0200)]
package/qdecoder: Fix build error

Error occured with an allyespackageconfig setup, with
BR2_ENABLE_DEBUG=y:

qcgireq.c: In function '_parse_multipart_value_into_disk':
qcgireq.c:738:60: error: 'errno' undeclared (first use in this function)
         DEBUG("I/O error. (errno=%d)", (ioerror == true) ? errno : 0);

Also fixes the same issue, seen by the autobuilders:

  http://autobuild.buildroot.org/results/ec0/ec06b196e0fe1e2cccb660c683cd1ba012c7f8c7/

[Thomas: add reference to autobuilder failure.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibunistring: new package
Pedro Aguilar [Sun, 19 Oct 2014 22:36:53 +0000 (00:36 +0200)]
libunistring: new package

[Thomas:
  - adjust the title of the commit
  - remove the thread dependency, by using the --disable-threads
    option when needed
  - remove LIBUNISTRING_SOURCE, since its value was the default
  - use BR2_GNU_MIRROR in LIBUNISTRING_SITE
  - adjust the license, which really is LGPLv3+, not LGPLv2. The
    license file is COPYING.LIB.]

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoshairport-sync: requires alsa-lib mixer support
Thomas Petazzoni [Sat, 25 Oct 2014 17:10:12 +0000 (19:10 +0200)]
shairport-sync: requires alsa-lib mixer support

Fixes:

  http://autobuild.buildroot.org/results/b74/b74c764e9527ce1cce8825682285824a519ac2cf/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/aircrack-ng: add missing space to LIBSQL
Max Filippov [Sat, 25 Oct 2014 12:15:09 +0000 (16:15 +0400)]
package/aircrack-ng: add missing space to LIBSQL

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/uclibc: enable long double math for xtensa
Max Filippov [Sat, 25 Oct 2014 10:57:33 +0000 (14:57 +0400)]
package/uclibc: enable long double math for xtensa

It fixes the following build failure for packages that expect long
double support in libm:

  Linking C executable winpr-hash
  ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
  ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
  ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
  ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
  ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'

Fixes:
  http://autobuild.buildroot.net/results/323/3236ddfe8eaf89f05f84db60eb42583cca397464/

Mainline status: patch submitted.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoskeleton/etc/profile: drop aliases
Gustavo Zacarias [Sun, 19 Oct 2014 23:30:57 +0000 (20:30 -0300)]
skeleton/etc/profile: drop aliases

They all depend on having a custom busybox config and/or fully featured
utilities which depend on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoskeleton/root/.bash_profile: don't set PATH
Gustavo Zacarias [Sun, 19 Oct 2014 23:30:56 +0000 (20:30 -0300)]
skeleton/root/.bash_profile: don't set PATH

Even if the main shell is bash /etc/profile is also parsed so it's
redundant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoskeleton/etc/profile: remove /usr/bin/X11 from PATH
Gustavo Zacarias [Sun, 19 Oct 2014 23:30:55 +0000 (20:30 -0300)]
skeleton/etc/profile: remove /usr/bin/X11 from PATH

That directory has been unused for ages so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoglibc/nsswitch.conf: also lookup on dns for networks
Gustavo Zacarias [Mon, 20 Oct 2014 12:28:06 +0000 (09:28 -0300)]
glibc/nsswitch.conf: also lookup on dns for networks

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystem/skeleton: make nsswitch install conditional
Gustavo Zacarias [Mon, 20 Oct 2014 12:28:05 +0000 (09:28 -0300)]
system/skeleton: make nsswitch install conditional

Don't blindly install the /etc/nsswitch.conf file, it's useless for
toolchains that aren't (e)glibc-based and misleading.
Make the installation conditional on a (e)glibc toolchain.

[Thomas: use $(INSTALL) instead of cp.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobash: fix linking for static builds with uClibc toolchains
Vicente Olivert Riera [Wed, 22 Oct 2014 09:40:40 +0000 (10:40 +0100)]
bash: fix linking for static builds with uClibc toolchains

bash fails to link for static builds with uClibc toolchains due to
getenv redefinitions. This is caused because bash is unable to check if
getenv is already defined when cross-compiling, so it defaults to 'yes':

configure:14438: WARNING: cannot check getenv redefinition if cross
compiling -- defaulting to yes

We can avoid this redefinition by passing bash_cv_getenv_redef=no to the
configure script.

Related:
http://lists.gnu.org/archive/html/bug-bash/2012-03/msg00052.html

Fixes:
http://autobuild.buildroot.net/results/a20/a2007e6dbcfe53e7cd837ae642869ee26376826a/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-ffmpeg: allow usage of ARMv6 optimizations on ARMv7 platforms
Thomas Petazzoni [Tue, 21 Oct 2014 20:26:52 +0000 (22:26 +0200)]
gst-ffmpeg: allow usage of ARMv6 optimizations on ARMv7 platforms

Contrary to the ffmpeg package, the gst-ffmpeg package was only
allowing ARMv6 optimizations on ARMv6 platforms. This commit also
allows ARMv6 optimizations on ARMv7 platforms, like the ffmpeg package
does.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agogst-ffmpeg: use the new BR2_ARM_CPU_ARM* options
Thomas Petazzoni [Tue, 21 Oct 2014 20:26:51 +0000 (22:26 +0200)]
gst-ffmpeg: use the new BR2_ARM_CPU_ARM* options

Instead of using the Config.in options for each individual ARM core,
use the newly introduced BR2_ARM_CPU_ARM* options, which exist per ARM
architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoffmpeg: fix ARM condition for --{enable, disable}-vfp
Thomas Petazzoni [Tue, 21 Oct 2014 20:26:50 +0000 (22:26 +0200)]
ffmpeg: fix ARM condition for --{enable, disable}-vfp

As noted by Arnout, not all ARMv6 have the VFP FPU, therefore instead
of using a condition on ARMv6 or ARMv7-A, this commit changes to use a
condition on BR2_ARM_CPU_HAS_VFPV2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoffmpeg: use the new BR2_ARM_CPU_ARM* options
Thomas Petazzoni [Tue, 21 Oct 2014 20:26:49 +0000 (22:26 +0200)]
ffmpeg: use the new BR2_ARM_CPU_ARM* options

Instead of using the Config.in options for each individual ARM core,
use the newly introduced BR2_ARM_CPU_ARM* options, which exist per ARM
architecture.

This commit is a blind conversion from the per-core options to the
per-architecture. It has the benefit of enabling the ARMv6
optimizations on all ARMv7-A cores, not only A5, A8, A9 and
A15. However, it doesn't fix the condition for
--enable-vfp/--disable-vfp for ARMv6 cores that don't have a FPU, it
is fixed in a follow-up commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoarch/arm: add blind options to know the ARM architecture
Thomas Petazzoni [Tue, 21 Oct 2014 20:26:48 +0000 (22:26 +0200)]
arch/arm: add blind options to know the ARM architecture

In preparation to the removal of BR2_GCC_TARGET_ARCH for ARM, this
commit introduces a number of blind options for each ARM architecture,
so that packages/toolchains that had dependencies using
BR2_GCC_TARGET_ARCH can continue to express their dependencies. It can
also be used to simplify package dependencies that were using the
individual ARM core options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoaircrack-ng: don't use -ldl in a static lib configuration
Thomas Petazzoni [Sat, 25 Oct 2014 10:30:02 +0000 (12:30 +0200)]
aircrack-ng: don't use -ldl in a static lib configuration

This commit gets rid of the -ldl flag used when
BR2_PREFER_STATIC_LIB=y. First because it does not make sense: when
you use a pure static library configuration, you don't have shared
library support, so you don't have libdl.

The occurences of -ldl were added in commit
1141d99aae9e1b139509ad71c969e6705417a48b ("aircrack-ng: fix static
build") and commit bed1490d0f58dc963d2144f2fe6b705f9f36d848
("aircrack-ng: fix statically linked build"), at a time were sqlite
indeed was linked against libdl even in static library
configurations. But this is no longer the case since
bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9 ("sqlite: Disable dynamic
extention if static library is seleted").

This means we can now get rid of the -ldl flag when building
aircrack-ng, which means it can build properly in a pure static
library configuration.

Fixes:

  http://autobuild.buildroot.org/results/bfd/bfd1ca4afdd32e3cc251aab7ee2ae5e5293ced1c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoshairplay-sync: new package
Jörg Krause [Fri, 24 Oct 2014 22:55:41 +0000 (00:55 +0200)]
shairplay-sync: new package

[Thomas:
 - rework init script to be more like other Buildroot init scripts,
   and fix indentation.
 - fix indentation in the .mk file
 - remove dependencies on host-autoconf and host-libtool, since the
   package has AUTORECONF = YES, this is not needed.
 - fix licensing informations.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mesa3d: bump version to 10.3.2
Bernd Kuhls [Sat, 25 Oct 2014 09:28:43 +0000 (11:28 +0200)]
package/mesa3d: bump version to 10.3.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoConfig.in: remove BR2_DEBIAN_MIRROR completely
Karoly Kasza [Thu, 23 Oct 2014 14:48:37 +0000 (16:48 +0200)]
Config.in: remove BR2_DEBIAN_MIRROR completely

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoboot/grub: update patchlevel, update snapshot.debian.org date
Karoly Kasza [Thu, 23 Oct 2014 14:48:36 +0000 (16:48 +0200)]
boot/grub: update patchlevel, update snapshot.debian.org date

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ca-certificates: bump to 20141019, update snapshot date & hash
Karoly Kasza [Thu, 23 Oct 2014 14:48:35 +0000 (16:48 +0200)]
package/ca-certificates: bump to 20141019, update snapshot date & hash

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/fakeroot: bump to 1.18.4, update snapshot.debian.org date
Karoly Kasza [Thu, 23 Oct 2014 14:48:34 +0000 (16:48 +0200)]
package/fakeroot: bump to 1.18.4, update snapshot.debian.org date

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/lockdev: add Debian patch, update snapshot.debian.org date
Karoly Kasza [Thu, 23 Oct 2014 14:48:33 +0000 (16:48 +0200)]
package/lockdev: add Debian patch, update snapshot.debian.org date

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/ccid: bump to 1.4.18, move download URL to snapshot.debian.org
Karoly Kasza [Thu, 23 Oct 2014 14:48:32 +0000 (16:48 +0200)]
package/ccid: bump to 1.4.18, move download URL to snapshot.debian.org

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/hwdata: bump to 0.267, move download URL to snapshot.debian.org
Karoly Kasza [Thu, 23 Oct 2014 14:48:31 +0000 (16:48 +0200)]
package/hwdata: bump to 0.267, move download URL to snapshot.debian.org

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/jimtcl: bump to 0.75, move download URL to snapshot.debian.org
Karoly Kasza [Thu, 23 Oct 2014 14:48:30 +0000 (16:48 +0200)]
package/jimtcl: bump to 0.75, move download URL to snapshot.debian.org

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libcap: move download URL back to kernel.org
Karoly Kasza [Thu, 23 Oct 2014 14:48:29 +0000 (16:48 +0200)]
package/libcap: move download URL back to 

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/*: update snapshot.debian.org snapshot dates
Karoly Kasza [Thu, 23 Oct 2014 14:48:28 +0000 (16:48 +0200)]
package/*: update snapshot.debian.org snapshot dates

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/*: move download URLs to snapshot.debian.org
Karoly Kasza [Thu, 23 Oct 2014 14:48:27 +0000 (16:48 +0200)]
package/*: move download URLs to snapshot.debian.org

Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: Do not include __iconv_codesets into iconv utility
Vicente Olivert Riera [Fri, 24 Oct 2014 12:34:30 +0000 (13:34 +0100)]
uclibc: Do not include __iconv_codesets into iconv utility

Backporting an upstream patch to fix a problem in the install step:

make[1]: Entering directory `/br/output/build/uclibc-0.9.31.1'
make[2]: Nothing to be done for `locale_headers'.
CC utils/getconf
STRIP -x -R .note -R .comment ../utils/getconf
CC utils/iconv
../lib/libc.a(iconv.os):(.rodata+0x18): multiple definition of
`__iconv_codesets'
/tmp/ccVmV8Lq.o:(.rodata+0x18): first defined here
collect2: error: ld returned 1 exit status

Upstream commit:
http://git.uclibc.org/uClibc/commit/?id=d46dc8bc88e38251bfa3712efe7abf62933f5419

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: rename patches to follow the new name structure
Vicente Olivert Riera [Fri, 24 Oct 2014 12:34:29 +0000 (13:34 +0100)]
uclibc: rename patches to follow the new name structure

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoruby: disable fiddle support for bfin
Peter Seiderer [Thu, 23 Oct 2014 19:58:34 +0000 (21:58 +0200)]
ruby: disable fiddle support for bfin

Disable fiddle support because of compile failure (no ffi_closure support
for bfin).

Fixes:
 http://autobuild.buildroot.net/results/0a8/0a854274b520d4daca3911a64777a447b5756a52/

[Thomas: slightly adjust the comment wording.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agospidev_test: new package
Gustavo Zacarias [Fri, 24 Oct 2014 16:56:10 +0000 (13:56 -0300)]
spidev_test: new package

[Thomas: instead of building spidev_test directly from the source in
$(BR2_DL_DIR), use SPIDEV_TEST_EXTRACT_CMDS to copy the downloaded
source to the build directory, and build it from here. Allows to
manually tweak the source in the build directory for testing, allows
to apply patches over the source if needed, etc.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mono: new package
Angelo Compagnucci [Wed, 22 Oct 2014 20:22:10 +0000 (22:22 +0200)]
package/mono: new package

This patch adds the complete Mono implementation. This patch builds
both the native and managed parts.

[Thomas:
 - adjust license informations
 - add missing host-gettext dependency to host-mono
 - minor formatting tweaks.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/monolite: new package
Angelo Compagnucci [Wed, 22 Oct 2014 20:22:09 +0000 (22:22 +0200)]
package/monolite: new package

This patch adds Monolite package. This package is a dependency of Mono
package.

[Thomas: adjust license information.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocoreutils: add optionals, use single binary
Gustavo Zacarias [Sat, 25 Oct 2014 02:06:45 +0000 (23:06 -0300)]
coreutils: add optionals, use single binary

Add proper support for optional libraries: acl, attr, gmp & libcap.

Also build the single binary as pointed out by Pádraig Brady for some
neat space savings.
Use the shebang (default) method since it allows us to move binaries
into other directories to suit our needs whereas for symlink that
wouldn't be so easy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: indentation cleanup
Jerzy Grzegorek [Sat, 25 Oct 2014 06:20:44 +0000 (08:20 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/nginx: fix build failure
Samuel Martin [Sun, 12 Oct 2014 20:14:39 +0000 (22:14 +0200)]
package/nginx: fix build failure

Correctly set NGX_SYS_NERR, even when it is 0.

Fixes:
  http://autobuild.buildroot.org/results/666/666d780bf61e10c9f89f765bb04ddc1afc11d0d1/
  http://autobuild.buildroot.org/?reason=nginx-1.6.2&&arch=powerpc

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoluaposix: Use github call
Maxime Hadjinlian [Sun, 12 Oct 2014 16:23:53 +0000 (18:23 +0200)]
luaposix: Use github call

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomrouted: Use github call
Maxime Hadjinlian [Sun, 12 Oct 2014 17:58:13 +0000 (19:58 +0200)]
mrouted: Use github call

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnowball-hdmiservice: Use github call
Maxime Hadjinlian [Sun, 12 Oct 2014 18:00:27 +0000 (20:00 +0200)]
snowball-hdmiservice: Use github call

Also drop trailing spaces.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoComplain loudly if BR2_GLOBAL_PATCH_DIR does not exit
Michal Sojka [Tue, 21 Oct 2014 08:42:54 +0000 (10:42 +0200)]
Complain loudly if BR2_GLOBAL_PATCH_DIR does not exit

If the BR2_GLOBAL_PATCH_DIR is misspelled in the .config or if somebody
renamed the existing directory with patches, buildroot happily builds
everything but without the patches. As this can lead to surprising
results, it is better to fail and give a user a message that
BR2_GLOBAL_PATCH_DIR is wrongly configured.

Signed-off-by: Michal Sojka <sojka@merica.cz>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoChange /bin/bash shebangs into /usr/bin/env bash
Bjørn Forsman [Tue, 21 Oct 2014 14:05:56 +0000 (16:05 +0200)]
Change /bin/bash shebangs into /usr/bin/env bash

Not all systems have /bin/bash (e.g. NixOS[1] doesn't). Buildroot
already uses /usr/bin/env shebangs for other interpreters (perl,
python), so why not bash?

This changes only the shebangs used by Buildroot itself; stuff installed
to the target system is left unchanged.

With this applied I can run Buildroot unmodified on NixOS.

[1]: http://nixos.org/

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocheck-hash: silence hash ok messages when make -s is used
Peter Korsgaard [Fri, 24 Oct 2014 23:42:49 +0000 (01:42 +0200)]
check-hash: silence hash ok messages when make -s is used

Similar to what we do for apply-patches.sh

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoapply-patches.sh: don't print anything when "make -s" is used
Fabio Porcedda [Wed, 22 Oct 2014 16:20:11 +0000 (18:20 +0200)]
apply-patches.sh: don't print anything when "make -s" is used

The make "-s" option is used to enable the "Silent operation" so if that
option is used don't print anything as far as there isn't any error.

Add the "-s" option to "apply-patches.sh" to enable silent operation.

[Peter: use the existing QUIET variable]
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoapply-patches.sh: Use the "APPLY_PATCHES" variable to call the script
Fabio Porcedda [Wed, 22 Oct 2014 16:20:10 +0000 (18:20 +0200)]
apply-patches.sh: Use the "APPLY_PATCHES" variable to call the script

To easy up adding optional parameters when calling the
"apply-patches.sh" add and use the "APPLY_PATCHES" variable to execute
the script.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem/inittab: update to fix bug #7442
Gustavo Zacarias [Wed, 22 Oct 2014 19:36:18 +0000 (16:36 -0300)]
system/inittab: update to fix bug #7442

Update inittabs (skeleton/busybox & sysvinit) to remove the trailing
REMOUNT_ROOTFS_RW comment used as magic string in system/system.mk to
enable/disable remounting the root filesystem rw or not since it affects
sysvinit in doing so properly as reported in bug #7442.

Instead update the sed expressions to match clean non-commented strings
by searching for "-o remount,rw /" and checking that's the end of the
line as well to avoid affecting possibly other remounts that a user can
have in a custom inittab.

Long-term the startup block of inittab should just move to a S00sysinit
script or similar so that rcS can pick it up directly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libva-intel-driver: bump version to 1.4.1
Bernd Kuhls [Fri, 24 Oct 2014 20:24:49 +0000 (22:24 +0200)]
package/libva-intel-driver: bump version to 1.4.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/libva: bump version to 1.4.1
Bernd Kuhls [Fri, 24 Oct 2014 20:24:48 +0000 (22:24 +0200)]
package/libva: bump version to 1.4.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofreerdp: alsa support needs mixer as well
Gustavo Zacarias [Fri, 24 Oct 2014 19:37:43 +0000 (16:37 -0300)]
freerdp: alsa support needs mixer as well

Fixes:
http://autobuild.buildroot.net/results/5ed/5edaa6654b90299ead5255d1cbdf79eb8b40fc6f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibv4l: needs iconv
Peter Seiderer [Thu, 23 Oct 2014 21:22:36 +0000 (23:22 +0200)]
libv4l: needs iconv

Fixes:
 http://autobuild.buildroot.net/results/901/901ed0092ee0411ba77a6f1f46d161621569c7f7/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: indentation cleanup
Jerzy Grzegorek [Fri, 24 Oct 2014 05:57:37 +0000 (07:57 +0200)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocoreutils: bump to version 8.23
Gustavo Zacarias [Fri, 24 Oct 2014 22:09:35 +0000 (19:09 -0300)]
coreutils: bump to version 8.23

Add hash file. patches 01 & 02 are now upstream so remove them.
Patch 01 isn't required any more (no posix_spawn usage).
Patch 02 is upstream.
Patch 03 retooled for 8.23 and renamed to 01.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoutil-linux: bump to version 2.25.2
Gustavo Zacarias [Fri, 24 Oct 2014 22:09:34 +0000 (19:09 -0300)]
util-linux: bump to version 2.25.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoimx6sabresd/create-boot-sd.sh: allow usage for i.MX53
Eric Benard [Mon, 20 Oct 2014 12:46:16 +0000 (14:46 +0200)]
imx6sabresd/create-boot-sd.sh: allow usage for i.MX53

this script permits the generation of an sdcard that will boot on
and i.MX53 QSB with a recent bootloader (now supported by buildroot).

Tested on an i.MX53 QSB and an i.MX53 QSB-R

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>