buildroot.git
9 years agolinux-headers: bump 3.{10, 14}.x and 4.{1, 2}.x series
Gustavo Zacarias [Thu, 22 Oct 2015 22:29:21 +0000 (19:29 -0300)]
linux-headers: bump 3.{10, 14}.x and 4.{1, 2}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: bump to version 4.2.8p4
James Knight [Thu, 22 Oct 2015 00:08:11 +0000 (20:08 -0400)]
ntp: bump to version 4.2.8p4

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: drop dead tipc disabling code
Gustavo Zacarias [Thu, 22 Oct 2015 16:20:27 +0000 (13:20 -0300)]
iproute2: drop dead tipc disabling code

Since it's automatic via libmnl being present it's just dead code that's
not defined any longer, so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofeh: install in /usr
James Knight [Thu, 22 Oct 2015 19:05:50 +0000 (15:05 -0400)]
feh: install in /usr

By default, feh installs into /usr/local. Adjusting the prefix to point
to a system distribution path.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoranger: minor fixups
Peter Korsgaard [Thu, 22 Oct 2015 21:38:33 +0000 (23:38 +0200)]
ranger: minor fixups

Wrap help text and use official tarballs from ranger.nongnu.org.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoutil-linux: fix last minute typo in the systemd handling
Peter Korsgaard [Thu, 22 Oct 2015 20:53:19 +0000 (22:53 +0200)]
util-linux: fix last minute typo in the systemd handling

Reported-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-ranger: new package
Thijs Vermeir [Wed, 21 Oct 2015 19:09:18 +0000 (21:09 +0200)]
python-ranger: new package

ranger is a console file manager with VI key bindings. It provides a
minimalistic and nice curses interface with a view on the directory hierarchy.
It ships with "rifle", a file launcher that is good at automatically finding
out which program to use for what file type.

http://ranger.nongnu.org

Signed-off-by: Thijs Vermeir <thijsvermeir@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.4.x series
Gustavo Zacarias [Thu, 22 Oct 2015 12:28:01 +0000 (09:28 -0300)]
linux-headers: bump 3.4.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoutil-linux: disable systemd support
Peter Korsgaard [Thu, 22 Oct 2015 20:36:50 +0000 (22:36 +0200)]
util-linux: disable systemd support

Fixes (works around) #8421

Util-linux has optional systemd support, but we cannot enable it as systemd
depends on util-linux, so that would create a circular dependency.

The systemd unit directory location detection also fails as pkg-config
0.9.12+ prefixes all directory variables with the sysroot, and the configure
script expects to see the target location, so disable that as well for good
measure.

The systemd support doesn't seem to add much, so it isn't a big loss.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: update configure options
Peter Seiderer [Thu, 15 Oct 2015 19:42:43 +0000 (21:42 +0200)]
gst1-plugins-bad: update configure options

- add new onvif option
- add new dtls option
- add new openh264 option
- add new x265 option
- removed real plugin option
- add new rtp option
- remove always disabled legacy options: directdraw, osx_video,
  quicktime and mythtv
- add '--disable-bs2b' and '--disable-libde265' to options
  which require currently unpackaged libraries
- add '--disable-gtk3' and '--disable-qt'

[Thomas: improve wording of Config.in.legacy option.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltp-testsuite: don't select libtirpc
Baruch Siach [Thu, 15 Oct 2015 18:13:58 +0000 (21:13 +0300)]
ltp-testsuite: don't select libtirpc

Since commit 8f1c4c49a2a (ltp-testsuite: don't link with libtirpc)
ltp-testsuite does not need libtirpc. Don't select it.

Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosdl2: new package
Guillaume GARDET [Sat, 18 Jul 2015 18:54:58 +0000 (20:54 +0200)]
sdl2: new package

[Romain:
  - Wrap Config.in help text at 72 columns.
  - Move sdl2 package after sdl modules in Config.in. (Arnout)
  - Explicitly disable dbus and wayland.
  - Remove double underscore (SDL2__*).
  - Unify autotools options to use --enable/--disable.
  - Use x-includes and x-libraries to avoid path poisoning.
  - Remove xlib_libXrender, xproto_inputproto and xproto_scrnsaverproto
    dependencies since the build system doesn't depend on them.
  - Add Xlib_libXi, xlib_libScrnSaver and xlib_libXxf86vm dependencies.
  - Handle autotools options (--enable/--disable) for each X11
    dependencies.]

[Thomas:
  - Minor tweaks to Config.in
  - Addition of hash file.
  - Addition of SDL2_CONFIG_SCRIPTS, as suggested by Vincent Stehlé.]

Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Yann E. Morin <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard/via/imx6_vab820: update to latest BSP release
Gergely Imreh [Mon, 19 Oct 2015 05:56:36 +0000 (13:56 +0800)]
board/via/imx6_vab820: update to latest BSP release

Changes:
* Update Kernel and U-Boot to the latest 2.0.6 BSP release from the
official sources.
* Add genimage config to create bootable SD card image

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agojq: disable maintainer mode
Thomas De Schampheleire [Mon, 19 Oct 2015 10:42:08 +0000 (12:42 +0200)]
jq: disable maintainer mode

Since version 1.5, maintainer mode is enabled by default. We don't need
this, and is in particular problematic because it requires bison 3.0.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosyslog-ng: Add upstream patches to support python 3
Chris Packham [Tue, 20 Oct 2015 09:44:32 +0000 (22:44 +1300)]
syslog-ng: Add upstream patches to support python 3

>From https://github.com/balabit/syslog-ng/pull/711

Fixes:
http://autobuild.buildroot.net/results/8bf/8bfb199bda2218252bc21b228066d41af37e2753/
http://autobuild.buildroot.net/results/ab8/ab8ec583d1836d0c246ac792391549bfe277ce76/

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltp-testsuite: update homepage link and download site
Baruch Siach [Tue, 20 Oct 2015 10:31:56 +0000 (13:31 +0300)]
ltp-testsuite: update homepage link and download site

ltp-testsuite migrated to github.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonoip: add a hash file
Vicente Olivert Riera [Tue, 20 Oct 2015 13:52:55 +0000 (14:52 +0100)]
noip: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonoip: add $(TARGET_MAKE_ENV) before $(MAKE)
Vicente Olivert Riera [Tue, 20 Oct 2015 13:52:54 +0000 (14:52 +0100)]
noip: add $(TARGET_MAKE_ENV) before $(MAKE)

For consistency reasons, this commit adjusts the noip package to pass
$(TARGET_MAKE_ENV) in the environment when calling $(MAKE).

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonoip: use a simpler sed command with our $(SED) variable
Vicente Olivert Riera [Tue, 20 Oct 2015 13:52:53 +0000 (14:52 +0100)]
noip: use a simpler sed command with our $(SED) variable

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoerlang: Remove BR2_TOOLCHAIN_HAS_THREADS dependency
Ezequiel García [Tue, 20 Oct 2015 13:54:46 +0000 (10:54 -0300)]
erlang: Remove BR2_TOOLCHAIN_HAS_THREADS dependency

Erlang can be built without threads support, by passing an
appropriate config option.

This commit drops the config dependency on BR2_TOOLCHAIN_HAS_THREADS
and instead passes --disable-threads if the toolchain doesn't support
threads.

While here, change the wording of the config comment to "dynamic
library" to be consistent with similar comments elsewhere.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodhcpdump: add $(TARGET_MAKE_ENV) before $(MAKE)
Vicente Olivert Riera [Tue, 20 Oct 2015 14:05:52 +0000 (15:05 +0100)]
dhcpdump: add $(TARGET_MAKE_ENV) before $(MAKE)

For consistency reasons with other packages, let's pass
$(TARGET_MAKE_ENV) in the environment when calling $(MAKE).

[Thomas: improved commit log.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodropwatch: add a hash file
Vicente Olivert Riera [Wed, 21 Oct 2015 12:13:51 +0000 (13:13 +0100)]
dropwatch: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agominicom: add a hash file
Vicente Olivert Riera [Wed, 21 Oct 2015 09:30:15 +0000 (10:30 +0100)]
minicom: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agominicom: wrap text to 72 characters
Vicente Olivert Riera [Wed, 21 Oct 2015 09:30:14 +0000 (10:30 +0100)]
minicom: wrap text to 72 characters

And also add a trailing slash to the URL.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agominicom: switch to the official site
Vicente Olivert Riera [Wed, 21 Oct 2015 09:30:13 +0000 (10:30 +0100)]
minicom: switch to the official site

We switched to our mirror because because the official site started to
fail, but now it works again.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosdl: fix incorrect SDL_CONF_OPTS assignment
Rodrigo Rebello [Wed, 21 Oct 2015 03:10:25 +0000 (01:10 -0200)]
sdl: fix incorrect SDL_CONF_OPTS assignment

The option --enable-video-directfb=no was being assigned to
SDL_CONF_OPTS instead of being appended to it when
BR2_PACKAGE_SDL_DIRECTFB was disabled. That would clobber any options
previously added to SDL_CONF_OPTS (namely --enable-video-fbcon=yes|no).

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocoreutils: handle merged usr folder
James Knight [Sun, 18 Oct 2015 06:32:45 +0000 (02:32 -0400)]
coreutils: handle merged usr folder

For targets prepared with a usr-move, coreutils should not be attempting
to move binaries from `usr/bin` to `bin`.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosed: directly install binary into /bin
Peter Korsgaard [Tue, 20 Oct 2015 20:54:24 +0000 (22:54 +0200)]
sed: directly install binary into /bin

Instead of having to move it after installation, which doesn't work with the
merged /usr option.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpdump: add a hash file
Vicente Olivert Riera [Tue, 20 Oct 2015 14:05:54 +0000 (15:05 +0100)]
dhcpdump: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpdump: add project URL
Vicente Olivert Riera [Tue, 20 Oct 2015 14:05:53 +0000 (15:05 +0100)]
dhcpdump: add project URL

[Peter: use more specific page]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi: Add support for libssh
Bernd Kuhls [Tue, 20 Oct 2015 19:42:26 +0000 (21:42 +0200)]
package/kodi: Add support for libssh

This patch depends on http://patchwork.ozlabs.org/patch/512480/
and adds sftp support to the virtual filesystems supported by Kodi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi: bump version to 15.2-Isengard
Bernd Kuhls [Tue, 20 Oct 2015 19:42:25 +0000 (21:42 +0200)]
package/kodi: bump version to 15.2-Isengard

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-pctv: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:24 +0000 (21:42 +0200)]
package/kodi-pvr-pctv: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-vbox: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:23 +0000 (21:42 +0200)]
package/kodi-pvr-vbox: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-stalker: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:22 +0000 (21:42 +0200)]
package/kodi-pvr-stalker: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-mythtv: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:21 +0000 (21:42 +0200)]
package/kodi-pvr-mythtv: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-hts: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:20 +0000 (21:42 +0200)]
package/kodi-pvr-hts: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-filmon: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:19 +0000 (21:42 +0200)]
package/kodi-pvr-filmon: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-argustv: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:18 +0000 (21:42 +0200)]
package/kodi-pvr-argustv: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-audioencoder-flac: bump version
Bernd Kuhls [Tue, 20 Oct 2015 19:42:17 +0000 (21:42 +0200)]
package/kodi-audioencoder-flac: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobarebox: bump to version 2015.10.0
Fabio Porcedda [Tue, 20 Oct 2015 16:45:41 +0000 (18:45 +0200)]
barebox: bump to version 2015.10.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomusl: bump to version 1.1.12
Gustavo Zacarias [Tue, 20 Oct 2015 13:46:27 +0000 (10:46 -0300)]
musl: bump to version 1.1.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosamba4: bump to version 4.3.1
Gustavo Zacarias [Tue, 20 Oct 2015 13:27:36 +0000 (10:27 -0300)]
samba4: bump to version 4.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: enable host-gdb on aarch64
Alex Suykov [Tue, 20 Oct 2015 13:20:07 +0000 (16:20 +0300)]
gdb: enable host-gdb on aarch64

gdb has full support for aarch64 since version 7.6,
current minimum is 7.7.1.
Target build was re-enabled over a year ago, but host-gdb was not.

Related commits:
0e49733b306b353aad3a29a2c7a6faf25841ef0b gdb disabled for aarch64
4372449a4f8e16f763c7d5a0c125ca015a7cbef6 target-gdb re-enabled

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotstools: GitHub migration
Vicente Olivert Riera [Tue, 20 Oct 2015 13:06:14 +0000 (14:06 +0100)]
tstools: GitHub migration

tstools has migrated to GitHub, so let's use this opportuninty to rework
this package as well.

- Change site to GitHub.
- No releases of tags yet, so let's use the latest commit ID from the
  master branch as a version.
- There is currently no license file attributed to tstools, so state that
  in the tstools.mk file and add empty license file variable. This issue is
  being tracked upstream: https://github.com/kynesim/tstools/issues/32
- Wrap the help text in the Config.in to 72 characters, and also change
  the project URL to the GitHub one.
- Add a hash file.
- Rename the patch to use a four digit numbering (001 -> 0001).

[Peter: leave license as MPLv1.1, adjust comment to match]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosyslog-ng: Specify location of libesmtp
Chris Packham [Tue, 20 Oct 2015 08:16:31 +0000 (21:16 +1300)]
syslog-ng: Specify location of libesmtp

If --with-libesmtp is omitted a host tool is invoked to detect the
location of the library and headers, which is obviously the wrong thing
for a cross-compile environment. Explicitly add --with-libesmtp to
resolve this.

Fixes:
http://git.buildroot.net/buildroot/commit/?id=539acb7500588d0a277357cf831c9f25f770578d
http://git.buildroot.net/buildroot/commit/?id=01f41585a78406f6e830d5eaf4413a983812a299

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoarch/Config.in.x86: drop trailing dot (.) from x1000 URL
Peter Korsgaard [Tue, 20 Oct 2015 09:32:03 +0000 (11:32 +0200)]
arch/Config.in.x86: drop trailing dot (.) from x1000 URL

And add an empty line below for clarity.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoarch/x86: add support for Intel X1000
Ray Kinsella [Mon, 19 Oct 2015 11:02:52 +0000 (11:02 +0000)]
arch/x86: add support for Intel X1000

The Intel X1000 is the Pentium class microprocessor that ships with
Galileo Gen 1/2. This patch adds changes to arch and toolchain-wrapper
to omit the lock prefix for the X1000.

[Thomas: tweak commit log and Config.in help text.]

Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agounionfs: bump to version 1.0
Gustavo Zacarias [Mon, 19 Oct 2015 21:38:35 +0000 (18:38 -0300)]
unionfs: bump to version 1.0

Switch to github homepage and site.
Drop patch, it's not required any more.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoexfat-utils: bump to version 1.2.1
Gustavo Zacarias [Mon, 19 Oct 2015 21:38:34 +0000 (18:38 -0300)]
exfat-utils: bump to version 1.2.1

Switch to github homepage and site.
Package is now autotools-based.
libc patch no longer required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoexfat: bump to version 1.2.1
Gustavo Zacarias [Mon, 19 Oct 2015 21:38:33 +0000 (18:38 -0300)]
exfat: bump to version 1.2.1

Switch to github homepage and site.
Package is now autotools-based.
musl tweak no longer required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: add version 4.1.2
Yann E. MORIN [Mon, 19 Oct 2015 21:59:08 +0000 (23:59 +0200)]
package/nodejs: add version 4.1.2

We add a new version, because it is not API-compatible with the previous
versions.

Also, nodejs-4.1.2 requires gcc >= 4.8.

Forward-port patches from 0.12.7:
  - 0001-Remove-dependency-on-Python-bz2-module.patch partially applied
    upstream;
  - 0002-gyp-force-link-command-to-use-CXX.patch slightly refreshed;
  - 0003-Use-a-python-variable-instead-of-hardcoding-Python.patch
    largely refreshed to address new occurences of hard-coded calls;
  - 0004-fix-build-error-without-OpenSSL-support.patch applied upstream
  - 0005-Fix-typo-for-arm-predefined-macro-in-atomicops_inte.patch
    applied upstream.

New patch:
  - 0004-fix-arm-vfpv2.patch to fix the gcc -mfpu option for VFPv2.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Martin Bark <martin@barkynet.com>
Cc: Jaap Crezee <jaap@jcz.nl>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nodejs: fix architectural dependencies on ARM
Yann E. MORIN [Mon, 19 Oct 2015 21:59:07 +0000 (23:59 +0200)]
package/nodejs: fix architectural dependencies on ARM

On ARM, starting with v0.12.x, the V8 JS engine is now requires at least
an armv6 and at least a VFPv2.

Since we're about to introduce the v4.x version, which has the same
requirements, introduce an intermediate variable to hold that condition.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Martin Bark <martin@barkynet.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-firmware: rtl81xx: also install rtl8188eufw firmware variant
Peter Korsgaard [Sun, 18 Oct 2015 23:03:53 +0000 (01:03 +0200)]
linux-firmware: rtl81xx: also install rtl8188eufw firmware variant

As used by the rtl8188eu staging driver.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: add ntptime option
James Knight [Wed, 14 Oct 2015 23:45:33 +0000 (19:45 -0400)]
ntp: add ntptime option

Allow the `ntptime` utility to be included on a target.

[Peter: add comment why AUTORECONF is needed]
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomusl: Make only shared libraries conditional
Charles Duffy [Thu, 15 Oct 2015 15:27:18 +0000 (10:27 -0500)]
musl: Make only shared libraries conditional

External toolchain use requires a static libc (as buildroot uses
`gcc --print-file-name libc.a` to find the sysroot); thus, the static portion
of a musl build should not be conditional.

Signed-off-by: Charles Duffy <chaduffy@cisco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/swupdate: add patch to fix link error for CONFIG_UBOOT and missing libz
Jörg Krause [Mon, 19 Oct 2015 20:45:27 +0000 (22:45 +0200)]
package/swupdate: add patch to fix link error for CONFIG_UBOOT and missing libz

CONFIG_UBOOT needs libz [1]. So CONFIG_UBOUT mustn't be available when
HAVE_ZLIB=n.

Add patch from upstream to fix a link error for CONFIG_UBOOT and missing libz.
Note, that this link error does not affect the default config provided by
Buildroot.

[1] https://github.com/sbabic/swupdate/commit/cf495e23ad117f4cae9c429e80714fe9c18f2d6a

[Thomas: use a single <pkg>_PATCH variable.]

Reported-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/swupdate: add patch to fix build issue with some toolchains
Jörg Krause [Mon, 19 Oct 2015 20:45:26 +0000 (22:45 +0200)]
package/swupdate: add patch to fix build issue with some toolchains

Some toolchains used in Buildroot (x86-64 and mips64) have a problem to compile
a set of object files into one object file as it is done for the
`builtin-target` declared in swupdate's Kbuild Makefile.build. This target
collects all object files from every subdirectory declared in `objs-dir` and
compiles them into a single object file named `build-in.o` using the linker ld.

For the addressed toolchains the default emulation of ld is not the correct one
leading to different kind of relocation errors:

  /usr/bin/i686-pc-linux-gnu-ld: Relocatable linking with relocations from
  format elf64-x86-64 (core/swupdate.o) to format elf32-i386 (core/built-in.o)
  is not supported.

or

  /usr/bin/mips-linux-gnu-ld: handlers/raw_handler.o: endianness incompatible
  with that of the selected emulation

or

  /usr/bin/mips64el-linux-ld: core/swupdate.o: ABI is incompatible with that
  of the selected

As there is no need to have single object file `built-in.o` to be compiled for
the subdirectories core and handlers we can easily allow swupdate to be built
with these toolchains by compiling the source files from core and handlers with
the `lib-target` target by assigning them to the `libs-y` variable as it is done
for all other subdirectories. The `lib-target` compiles a set of object files
into one archive file. With this target we avoid using the ld linker and use the
ar archiver instead.

Add a patch from upstream to fix a whole bunch of autobuild errors.

Fixes:
http://autobuild.buildroot.net/results/de9/de920298075d32f3de83a0cfb7417846eb833425/
http://autobuild.buildroot.net/results/975/975915aa33005806e78260bae385cd4b3e359ca8/
http://autobuild.buildroot.net/results/c54/c54e7a2ea353d95d41a1e966de0dffa7b6ac432e/
http://autobuild.buildroot.net/results/019/0198596ebfed05ab86552b628da2274d55bf42ae/

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/swupdate: add hash file
Jörg Krause [Mon, 19 Oct 2015 20:45:25 +0000 (22:45 +0200)]
package/swupdate: add hash file

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofeh: bump to version 2.14
James Knight [Mon, 19 Oct 2015 20:54:25 +0000 (16:54 -0400)]
feh: bump to version 2.14

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-intel: add upstream patch fixing libdrm/kernel crash
James Knight [Mon, 19 Oct 2015 17:20:24 +0000 (13:20 -0400)]
xdriver_xf86-video-intel: add upstream patch fixing libdrm/kernel crash

When running this Intel driver with a newer libdrm/kernel (4.x), Xorg
can crash (segmentation fault).

References:
 http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=7fe2b2948652443ff43d907855bd7a051d54d309
 https://bugs.gentoo.org/show_bug.cgi?id=552124
 https://bugzilla.opensuse.org/show_bug.cgi?id=931917

[Thomas:
  - add upstream link to the git commits in the patches themselves
  - add James SoB line inside the patches themselves]

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-intel: add upstream patches fixing fstat build errors
James Knight [Mon, 19 Oct 2015 17:20:23 +0000 (13:20 -0400)]
xdriver_xf86-video-intel: add upstream patches fixing fstat build errors

Attempting to build xdriver_xf86-video-intel version 2.99.917 with udev
results in compilation failures. The provided patches ([1], [2])
corrects the `implicit declaration of function 'fstat'` occurrences
during the building of this driver.

[1] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=12af8a575d1518d40416f83195049157c3a062a5
[2] http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=369ceec0e4910ba2c37736a59c55c0d6c26433bf

[Thomas:
 - add upstream link to the git commits in the patches themselves
 - add James SoB line inside the patches themselves
 - add a comment above AUTORECONF = YES to indicate why it was added]

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6*_defconfig: bump u-boot and kernel revisions
Gary Bisson [Mon, 19 Oct 2015 15:02:34 +0000 (17:02 +0200)]
nitrogen6*_defconfig: bump u-boot and kernel revisions

This update brings several improvements such as:
- switch to a generic Boundary defconfig
  - same across all the Boundary Devices platforms
- support of HDMI to MIPI daugther board
https://boundarydevices.com/product/bd_hdmi_mipi/
- enhanced display support
  - LCD ASIT500MA6F5D
  - LCD A030JN01
  - HDMI 480p

For a complete list of changes:
https://github.com/boundarydevices/linux-imx6/commits/d7a412b
https://github.com/boundarydevices/u-boot-imx6/commits/a4070a8

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6*_defconfig: switch to zImage
Gary Bisson [Mon, 19 Oct 2015 15:02:33 +0000 (17:02 +0200)]
nitrogen6*_defconfig: switch to zImage

As now using zImage/bootz in the 6x_bootscript.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard/boundarydevices: update 6x_bootscript to use zImage
Gary Bisson [Mon, 19 Oct 2015 15:02:32 +0000 (17:02 +0200)]
board/boundarydevices: update 6x_bootscript to use zImage

As suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2015-September/139884.html

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogvfs: bump to version 1.26.1.1
Gustavo Zacarias [Mon, 19 Oct 2015 13:33:58 +0000 (10:33 -0300)]
gvfs: bump to version 1.26.1.1

Lots of changes, add support for libnfs, udev, libbluray, cleanup afp
support, gtk3, and systemd.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnfs: bump to version 1.9.8
Gustavo Zacarias [Mon, 19 Oct 2015 13:33:57 +0000 (10:33 -0300)]
libnfs: bump to version 1.9.8

Prerequisite for the gvfs 1.26.1.1 bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUse portable shebangs (/bin/bash -> /usr/bin/env bash)
Bjørn Forsman [Mon, 19 Oct 2015 16:38:14 +0000 (18:38 +0200)]
Use portable shebangs (/bin/bash -> /usr/bin/env bash)

"/usr/bin/env bash" is used everywhere else in host tools. These are the
only remaining offenders.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcp: bump to version 4.1-ESV-R12
Gustavo Zacarias [Mon, 19 Oct 2015 18:24:52 +0000 (15:24 -0300)]
dhcp: bump to version 4.1-ESV-R12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosqlite: bump to version 3.9.1
Gustavo Zacarias [Mon, 19 Oct 2015 18:24:31 +0000 (15:24 -0300)]
sqlite: bump to version 3.9.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoshared-mime-info: bump to version 1.5
Gustavo Zacarias [Mon, 19 Oct 2015 13:33:56 +0000 (10:33 -0300)]
shared-mime-info: bump to version 1.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiptables: add upstream patch fixing the message 'connlabel.conf not found'
Thomas De Schampheleire [Mon, 19 Oct 2015 12:22:40 +0000 (14:22 +0200)]
iptables: add upstream patch fixing the message 'connlabel.conf not found'

In iptables versions 1.4.20 and 1.4.21, any call to iptables
would generate a message

    cannot open connlabel.conf, not registering 'connlabel' match: No
        such file or directory

This problem was reported at [1] and subsequently fixed with commit [2], but
no upstream release has been made since. This patch imports the fix into
Buildroot, awaiting a new release of iptables.

[1] http://marc.info/?l=netfilter-devel&m=140990442432002&w=2
[2] http://git.netfilter.org/iptables/commit/?id=825fbda5482a7d5ec5a6619c81fe07ff865c7d6e

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoless: bump to version 481
Gustavo Zacarias [Mon, 19 Oct 2015 12:18:03 +0000 (09:18 -0300)]
less: bump to version 481

Switch site to gnu mirror since the stable releases are mirrored there.
Also use gpg sig to calculate hash, from the gnu mirror.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoConfig.in.legacy: remove empty line
Bernd Kuhls [Sun, 18 Oct 2015 16:15:49 +0000 (18:15 +0200)]
Config.in.legacy: remove empty line

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: clean-up test suite build command
Alexey Brodkin [Mon, 20 Apr 2015 09:10:18 +0000 (12:10 +0300)]
uclibc: clean-up test suite build command

Starting from uClibc 0.9.32 "test_compile" target builds tests flawlessly.
For 0.9.31 it lead to build failure, but now when AVR32 support was dropped
I think this change worth applying.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
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 agopackage/shairport-sync: bump to version 2.6
Jörg Krause [Sun, 18 Oct 2015 20:49:40 +0000 (22:49 +0200)]
package/shairport-sync: bump to version 2.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "manual: Add notes about GitHub and hashes"
Samuel Martin [Sun, 18 Oct 2015 15:26:14 +0000 (17:26 +0200)]
Revert "manual: Add notes about GitHub and hashes"

This note is no longer needed, so remove it.

Tarballs generated by GitHub are always the same, so hashes can be
checked.

This reverts commit 9474cc2594c8643301164500ce6eb62546da2b8f.

[Thomas: fix other remaining references to not using hashes for
github, as noticed by Maxime Hadjinlian.]

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystem/skeleton: finalize removal of ftp user
Thomas Petazzoni [Sun, 18 Oct 2015 15:45:27 +0000 (17:45 +0200)]
system/skeleton: finalize removal of ftp user

In commit 3dde19e5f32c58ffbf7e190257b073e91e0a7e8d, the ftp user was
removed from /etc/passwd, /etc/group and /home in the skeleton, but
the corresponding entry was not removed from /etc/shadow. This commit
fixes that.

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/mkusers: allow comments in users tables
Yann E. MORIN [Sat, 17 Oct 2015 15:50:19 +0000 (17:50 +0200)]
support/mkusers: allow comments in users tables

The format of the users table files is non trivial, so it is sometimes
handy to add comments explaining the syntax (or simply the reason for
the user) inline in the files.

Ignore empty lines and comment lines prefixed with '#' similar to shell
or makedevs files.

Packages that defined no user (the vast majority) would cause an empty
line to be present in the internal users table, hence the reason we
skipped empty usernames. Now that we ignore empty lines, we no longer
need to check for empty usernames.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogst1-plugins-base: update configure options
Peter Seiderer [Thu, 15 Oct 2015 19:41:57 +0000 (21:41 +0200)]
gst1-plugins-base: update configure options

- always disable new gio_unix_2_0 option (only used for testing)

[Thomas: add comment in .mk file.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosyslog-ng: New package
Chris Packham [Wed, 14 Oct 2015 08:34:18 +0000 (21:34 +1300)]
syslog-ng: New package

syslog-ng is an enhanced log daemon, supporting a wide range of input
and output methods: syslog, unstructured text, queueing, SQL & NoSQL.

[Thomas:
 - Rewrap Config.in.help text
 - Pass --pidfile option when starting syslog-ng so that its PID file
   is created in /var/run/syslog-ng.pid, which allows
   start-stop-daemon to actually stop syslog-ng. Without this,
   S01logging was not able to stop syslog-ng.
 - Pass the executable path at stop time in S01logging, so that
   start-stop-daemon can check we're not incorrectly stopping
   something completely different.
 - Add busybox as a dependency of syslog-ng if busybox is enabled,
   since we want to override Busybox's S01logging init script.
 - Simplify the python condition, since python and python3 are
   mutually exclusive.
 - Rewrap the comment above SYSLOG_NG_FIXUP_CONFIG.]

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodvblast: new package
Julian Scheel [Sun, 18 Oct 2015 12:34:11 +0000 (14:34 +0200)]
dvblast: new package

DVBlast is a simple and powerful MPEG-2/TS demux and streaming
application.

[Thomas:
 - add missing hash file.
 - rewrap Config.in help text
 - remove unneeded "DVBLAST_INSTALL_TARGET = YES", since this is the
   default behavior
 - pass TARGET_MAKE_ENV in the environment when calling make.
 - use TARGET_CONFIGURE_OPTS instead of just CC/LD.]

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobitstream: new package
Julian Scheel [Sun, 18 Oct 2015 12:34:10 +0000 (14:34 +0200)]
bitstream: new package

BiTStream is a set of headers to ease processing of mpeg ts
streams. It is used by dvblast.

[Thomas:
 - add missing hash file.
 - add missing BITSTREAM_LICENSE_FILES information.
 - rewrap Config.in help text.
 - use lowercase name for the package in the comment header in
   bitstream.mk.]

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoinadyn: fix init script and default config file
Thomas Petazzoni [Sat, 17 Oct 2015 14:05:22 +0000 (16:05 +0200)]
inadyn: fix init script and default config file

This commit does a number of fixes to the inadyn package to make it
work properly "out of the box":

 * inadyn is installed in /usr/sbin, not /usr/bin, so we fix the path
   in the init script

 * Use "printf" for the Starting and Stopping messages, so that the OK
   / FAIL stay on the same line.

 * Pass the -q option to the start sequence, since it's passed in the
   stop sequence.

 * Fix the configuration file to use an existing dyndns_system and
   avoid a failure at startup.

 * Use a variable called ENABLED in /etc/default/inadyn to decide
   whether to start the service or not. By default, it is not started,
   as suggested by Gustavo, and an explicit ENABLED="yes" is needed.

 * Store the PID file in /var/run/inadyn.pid, like we do for all other
   daemons.

[Thomas: drop silly comment about uncommenting the alias line in the
configuration file, which is already uncommented. Noticed by Yann.]

Cc: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add support for GnuTLS
Bernd Kuhls [Sat, 17 Oct 2015 19:38:56 +0000 (21:38 +0200)]
package/ffmpeg: Add support for GnuTLS

Besides OpenSSL ffmpeg also supports GnuTLS.

If both GnuTLS and OpenSSL are enabled, the former takes precedence over
the latter:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=7f9fed31a491ed0991aee2d354dba82e54e3291e;hb=refs/heads/release/2.8#l2719

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 agogcc: simplify musl patches for SSP support
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:10 +0000 (15:09 +0200)]
gcc: simplify musl patches for SSP support

Now that we are always explicitly passing gcc_cv_libc_provides_ssp,
there is no longer any reason to modify the gcc configure/configure.ac
to take into account the musl case. When a musl toolchain is being
built, BR2_TOOLCHAIN_HAS_SSP is always 'y', and therefore
gcc_cv_libc_provides_ssp=yes is always passed when building
gcc-initial and gcc-final.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: pass explicit gcc_cv_libc_provides_ssp also to gcc-final
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:09 +0000 (15:09 +0200)]
gcc: pass explicit gcc_cv_libc_provides_ssp also to gcc-final

During the gcc-initial build, we already pass
gcc_cv_libc_provides_ssp=yes explicitly when SSP support will be
available in the C library: at this point in time the C library is not
yet built, so gcc cannot detect if it will support SSP or not.

However, it turns out that there are some situations for which it is
also useful to tell gcc explicitly whether the SSP support is
available or not: the gcc logic to decide whether uClibc has SSP
support or not is broken since uClibc-ng bumped the glibc version it
pretends to be.

So, this commit makes sure that we explicitly pass
gcc_cv_libc_provides_ssp both to gcc-initial and gcc-final, and that
we're always passing either 'yes' or 'no'.

Fixes:

   http://autobuild.buildroot.org/results/778/778e6309ba834cc70f8243a4f6c664c0bcaeb7c5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: like glibc, musl always provides SSP support
Thomas Petazzoni [Sat, 17 Oct 2015 13:09:08 +0000 (15:09 +0200)]
toolchain: like glibc, musl always provides SSP support

Make sure BR2_TOOLCHAIN_USES_MUSL selects BR2_TOOLCHAIN_HAS_SSP since
musl always provides SSP support (like glibc).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: fix musl build issues
Thomas Petazzoni [Sat, 17 Oct 2015 12:42:58 +0000 (14:42 +0200)]
busybox: fix musl build issues

Musl doesn't implemented wmtp, and its utmp support is not sufficient
to build the latest versions of Busybox, so let's disable wtmp and
utmp support in Busybox for musl toolchains.

We re-use an existing define BUSYBOX_INTERNAL_SHADOW_PASSWORDS that
was used to do some musl-related tweaks to the Busybox configuration
around shadow password functions, and extend it to also do the
utmp/wtmp tweaks. In the process, we rename the define to
BUSYBOX_MUSL_TWEAKS.

Note that BUSYBOX_KCONFIG_FIXUP_CMDS continues to call
BUSYBOX_INTERNAL_SHADOW_PASSWORDS because there is another definition
of this macro under other conditions.

Fixes:

  http://autobuild.buildroot.org/results/b96/b96ffad13bca5e6fbf7ce79538aacbfe27b1eff3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: Fix compile errors in qurl.h / qeglplatformscreen.cpp
Marc [Thu, 3 Sep 2015 13:22:10 +0000 (15:22 +0200)]
qt5base: Fix compile errors in qurl.h / qeglplatformscreen.cpp

Update the already existing fix for EGL/X11 header issue to fix
an additional problem encountered on my system where I had
compile errors in qeglplatformscreen.cpp. The problem was related
to the wrong order of includes. The X11 headers must always be
included last, as indicated in
http://lists.qt-project.org/pipermail/development/2013-March/010511.html

The fix is done in the existing 0003-xcb-egl-fixes.patch patch, since
it is an additional fix for the same problem.

[Thomas: tweak commit log, and adjust SoB details as suggested by
Arnout.]

Signed-off-by: Marc Andre <marc.andre@netline.ch>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoffmpeg: let the user override the --cpu value
Vicente Olivert Riera [Thu, 15 Oct 2015 12:22:55 +0000 (13:22 +0100)]
ffmpeg: let the user override the --cpu value

Grab the content of BR2_PACKAGE_FFMPEG_EXTRACONF after guessing the CPU,
so the user will still have the possibility to override it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoccache: allow for BR2_CCACHE_DIR environment override
Gustavo Zacarias [Thu, 15 Oct 2015 13:24:39 +0000 (10:24 -0300)]
ccache: allow for BR2_CCACHE_DIR environment override

Allow the BR2_CCACHE_DIR .config option to be overriden by the
BR2_CCACHE_DIR env variable.
This is useful for big projects where in some cases the developers home
directory might be a NFS mount (slow) and real production builds aren't.

Update documentation accordingly as well.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoofono: fix missing systemd and dbus files
Mike Williams [Thu, 15 Oct 2015 14:35:07 +0000 (10:35 -0400)]
ofono: fix missing systemd and dbus files

Ofono's service file was not being installed when systemd was selected
as the init system.

Without ofono.conf in /etc/dbus-1/system.d, ofonod cannot take its
dbus name on the system bus and will fail to start with a permission
denied error.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconnman: fix missing dbus configuration files
Mike Williams [Thu, 15 Oct 2015 14:35:06 +0000 (10:35 -0400)]
connman: fix missing dbus configuration files

Without connman.conf in /etc/dbus-1/system.d/, connmand cannot take
its name on the dbus system bus and will fail to start with a
permission denied error.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add optional dependencies
Bernd Kuhls [Sat, 17 Oct 2015 12:31:58 +0000 (14:31 +0200)]
package/ffmpeg: Add optional dependencies

Disable libcdio and libilbc since they are incompatible with ffmpeg.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wavpack: Fix iconv support
Bernd Kuhls [Sat, 17 Oct 2015 12:28:29 +0000 (14:28 +0200)]
package/wavpack: Fix iconv support

wavpack fails to link with libiconv

/bin/bash ../libtool  --tag=CC   --mode=link /home/bernd/buildroot/br3/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc  -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os    -o wvunpack wvunpack-wvunpack.o wvunpack-utils.o wvunpack-md5.o  ../src/.libs/libwavpack.la -lm
libtool: link: /home/bernd/buildroot/br3/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -o wvunpack wvunpack-wvunpack.o wvunpack-utils.o wvunpack-md5.o  ../src/.libs/libwavpack.so -lm -Wl,-rpath -Wl,/home/bernd/buildroot/br3/output/build/wavpack-4.75.2/src/.libs
/home/bernd/buildroot/br3/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/4.9.3/../../../../i586-buildroot-linux-uclibc/bin/ld: wvunpack-wvunpack.o: undefined reference to symbol 'libiconv_open'

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_WAVPACK=y

Patch suggested by Peter:
http://lists.busybox.net/pipermail/buildroot/2014-February/090596.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rtmpdump: Fix makefile when GnuTLS is used
Bernd Kuhls [Sat, 17 Oct 2015 09:45:58 +0000 (11:45 +0200)]
package/rtmpdump: Fix makefile when GnuTLS is used

In librtmp/Makefile the variable CRYPTO defaults to OpenSSL. When
building with GnuTLS support instead, librtmp.pc includes wrong
libraries:

$ grep Req output/staging/usr/lib/pkgconfig/librtmp.pc
Requires: libssl,libcrypto

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_RTMPDUMP=y

Pass RTMPDUMP_CRYPTO also to INSTALL_*_CMDS to fix this problem.
Patch supposed by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/129525

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rtmpdump: Remove optional dependency to PolarSSL
Bernd Kuhls [Sat, 17 Oct 2015 09:45:57 +0000 (11:45 +0200)]
package/rtmpdump: Remove optional dependency to PolarSSL

The makefile of rtmpdump has no support for PolarSSL, so lets remove
support for it, as supposed by Gustavo:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/129531

Fixes
http://autobuild.buildroot.net/results/45d/45dd9adbac449ce0ed66af5b4655b4d9b37faa62/
http://autobuild.buildroot.net/results/ae0/ae0c4bab7975ed2ad77a9f9fd6a300d1327d56b9/
http://autobuild.buildroot.net/results/029/029695a022ba12ff177521ebc3334d7ac2373ddc/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosystemd: bump to 227
Maxime Hadjinlian [Thu, 15 Oct 2015 22:16:10 +0000 (00:16 +0200)]
systemd: bump to 227

Added back the hash as it was discussed during the last Buildroot Dev
Days.

Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external/CodeSourcery MIPS: available only for R2
Vicente Olivert Riera [Fri, 16 Oct 2015 16:00:01 +0000 (17:00 +0100)]
toolchain-external/CodeSourcery MIPS: available only for R2

Currently the CodeSourcery toolchains for MIPS can be selected to build
mips32 (revision level 1) targets, but the resulting binaries are built
for mips32r2 instead. This is because these toolchains don't have
library support other than mips32r2, so there is no point to allow the
selection of a mips32 variant with a CodeSourcery MIPS toolchain, since
everything will be built for mips32r2 instead.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>