buildroot.git
9 years agoibrdtn-tools: fix linking problem when building statically
Vicente Olivert Riera [Thu, 10 Sep 2015 10:03:00 +0000 (11:03 +0100)]
ibrdtn-tools: fix linking problem when building statically

The problem looks like this:

/br/output/host/usr/mipsel-buildroot-linux-uclibc/sysroot/usr//lib/librt.a(timer_routines.os):
In function `__start_helper_thread':
timer_routines.c:(.text+0x2f4): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status

Adding -pthread to LDFLAGS fixes the problem.

Fixes:

  http://autobuild.buildroot.net/results/a87/a87a764d3a28f835ed8645923594f7023a662ae8/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage: Replace 'echo -n' by 'printf'
Maxime Hadjinlian [Sat, 3 Oct 2015 21:29:57 +0000 (23:29 +0200)]
package: Replace 'echo -n' by 'printf'

'echo -n' is not a POSIX construct (no flag support), we shoud use
'printf', especially in init script.

This patch was generated by the following command line:
git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/'

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xdriver_xf86-video-sis: bump to version 0.10.8
Bernd Kuhls [Sat, 3 Oct 2015 21:19:58 +0000 (23:19 +0200)]
package/x11r7/xdriver_xf86-video-sis: bump to version 0.10.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/libxcb: bump version to 1.11.1
Bernd Kuhls [Sat, 3 Oct 2015 21:19:57 +0000 (23:19 +0200)]
package/x11r7/libxcb: bump version to 1.11.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xlib_libXi: bump version to 1.7.5
Bernd Kuhls [Sat, 3 Oct 2015 21:19:56 +0000 (23:19 +0200)]
package/x11r7/xlib_libXi: bump version to 1.7.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/pixman: bump version to 0.32.8
Bernd Kuhls [Sat, 3 Oct 2015 21:19:55 +0000 (23:19 +0200)]
package/pixman: bump version to 0.32.8

[Peter: fix .hash comment as pointed out by Vincent]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default version to 4.2.3
Vicente Olivert Riera [Sat, 3 Oct 2015 21:08:06 +0000 (22:08 +0100)]
linux: bump default version to 4.2.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 4.{1,2}.x series
Vicente Olivert Riera [Sat, 3 Oct 2015 21:08:05 +0000 (22:08 +0100)]
linux-headers: bump 4.{1,2}.x series

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodovecot: bump to version 2.2.19
Vicente Olivert Riera [Sat, 3 Oct 2015 21:03:14 +0000 (22:03 +0100)]
dovecot: bump to version 2.2.19

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: do not build documentation for bfd and gprof
Vicente Olivert Riera [Thu, 1 Oct 2015 13:23:57 +0000 (14:23 +0100)]
gdb: do not build documentation for bfd and gprof

Our previous patch to disable the documentation in gdb wasn't complete.
There are cases where the documentation under bfd and gprof directories
is being built, causing the subsequent failure due to missing makeinfo.
This patch fixes that problem.

Fixes:

  http://autobuild.buildroot.org/results/244/2442e697d8a300496434fd42fcb1ee3941d13e06/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libcrossguid: new package
Bernd Kuhls [Mon, 28 Sep 2015 19:27:01 +0000 (21:27 +0200)]
package/libcrossguid: new package

Needed by Kodi 16.x-Jarvis:
https://github.com/xbmc/xbmc/commit/6f8171f53992fc2eaabf71f6fa47ebed1da0d43d

[Peter: needs GCC >= 4.7 for C+11, no need to install in target,
Drop TARGET_CONFIGURE_OPTS, add TARGET_CXXFLAGS, wrap long lines]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxdriver_xf86-video-fbturbo: new package
Scott Fan [Thu, 30 Jul 2015 22:59:07 +0000 (00:59 +0200)]
xdriver_xf86-video-fbturbo: new package

Add the fbturbo video driver, which is based on xf86-video-fbdev (with
none of the original features stripped), primarily optimized for the
devices powered by the Allwinner SoC (A10, A13, A20).

https://github.com/ssvb/xf86-video-fbturbo/

Signed-off-by: Scott Fan <fancp2007@gmail.com>
[yann.morin.1998@free.fr: strip help text to the basics only]
[Peter: needs libdrm/pixman, add patch to drop libdri2 dependency
reformat and add optional libpciaccess support]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogmock: new package
Carlos Santos [Fri, 31 Jul 2015 11:53:42 +0000 (08:53 -0300)]
gmock: new package

Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
specifics in mind, Google C++ Mocking Framework (or Google Mock for
short) is a library for writing and using C++ mock classes.

Google Mock:

  * lets you create mock classes trivially using simple macros,
  * supports a rich set of matchers and actions,
  * handles unordered, partially ordered, or completely ordered
    expectations,
  * is extensible by users, and
  * works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and
    Symbian.

  http://code.google.com/p/googlemock/

There are both host and target packages. The target one has include
files required to compile the tests and the static libraries required
to link/run them. The host package installs gmock_gen, a Python script
used to generate code mocks.

Notice that GMock 1.7.0 requires the Python 2 host package even if
Python 3 is selected as a target package.

Signed-off-by: Marcelo Barbosa <marcelo.barbosa@datacom.ind.br>
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoswupdate: provide sensible error message if no config file is specified
Peter Korsgaard [Sat, 3 Oct 2015 15:06:46 +0000 (17:06 +0200)]
swupdate: provide sensible error message if no config file is specified

Similar to how we do it for the other kconfig packages.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/swupdate: new package
Jörg Krause [Fri, 31 Jul 2015 20:45:43 +0000 (22:45 +0200)]
package/swupdate: new package

swupdate provides a reliable way to update the software on an embedded system.

Note that swupdates has a reworked Kbuild/Kconfig system. It has now support
for the 'option' and 'env' symbols as well for the 'savedefconfig' target.
This makes dependency handling much easier. We're now able to pass which
dependencies are available through the environment, as suggested by Arnout
Vandecappelle [1].

In previous version of this patch we had a configuration setting where all
package dependencies except Lua were selected by default. This has changed with
v7 as we are now able to pass dependencies to the swupdate build system through
the environment. For useful operation swupdate requires a parser which depends
by default on libconfig, but can be replaced by a json-c or Lua parser.

To provide a reasonable firmware update system we enable the embedded webserver
based on mongoose (also see notes about mongoose below), a parser as stated
above and a handler for raw NAND or NOR flash.

The user can modify this configuration by selecting the appropriate dependencies
before running `make swupdate-menuconfig`. The help text contains information
about which packages may be of interest for the user.

The embedded web server requires a website for proper operation. We install the
included website by default, however the user may choose to install a custom
website on the post-build scripts.

Note, swupdate includes some old versions of mongoose and lsqlite3:
  - mongoose is version 3.8 from year 2013
  - lsqlite3 is version 0.8 from year 2011

Currently, swupdate does not provide a way to replace these with external
packages.

This patch is based on a WIP version submitted by Romain Naour, commented by
Arnout Vandecappelle [2].

[1]
http://lists.busybox.net/pipermail/buildroot/2015-March/122981.html

[2]
https://patchwork.ozlabs.org/patch/401270/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Mike Williams <mike@mikebwilliams.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoolimex_a20_olinuxino_lime2: new board
Jan Viktorin [Mon, 17 Aug 2015 16:01:45 +0000 (18:01 +0200)]
olimex_a20_olinuxino_lime2: new board

It is based on olimex_a20_olinuxino_lime configuration. Tested on the mainline
kernel 4.1.4. It boots and the Ethernet is working at speed 1 Gbps.

[Thomas: remove ccache and optimize 2 options.]

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: fix absence of /dev/shm on static, read-only systems
Luca Ceresoli [Mon, 21 Sep 2015 16:29:44 +0000 (18:29 +0200)]
skeleton: fix absence of /dev/shm on static, read-only systems

/dev/shm is needed for systems using shared memory. On init-based systems
this directory is usually created in the inittab along with /dev/pts, by
the lines:

package/busybox/inittab:
  ::sysinit:/bin/mkdir -p /dev/pts
  ::sysinit:/bin/mkdir -p /dev/shm

package/sysvinit/inittab:
  si2::sysinit:/bin/mkdir -p /dev/pts
  si3::sysinit:/bin/mkdir -p /dev/shm

However this is broken when static /dev management is selected and the root
filesystem is read-only, showing during boot the error:

  mkdir: can't create directory '/dev/shm': Read-only file system

Fix it by creating the empty /dev/shm directory, just like /dev/pts.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobusybox: inittab: don't redirect output to /dev/null
Luca Ceresoli [Mon, 21 Sep 2015 16:29:43 +0000 (18:29 +0200)]
busybox: inittab: don't redirect output to /dev/null

Several inittab steps are redirected to /dev/null. This means any error or
warning printed by these crucial commands would be hidden from the user.
There is no evident reason to hide this output, so stop doing that.

Suggested by Thomas Petazzoni:
http://lists.busybox.net/pipermail/buildroot/2015-September/139146.html

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinks: bump to version 2.12
Vicente Olivert Riera [Mon, 21 Sep 2015 13:21:26 +0000 (14:21 +0100)]
links: bump to version 2.12

And also use the .tar.bz2 tarball to save disk space and bandwidth.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovalgrind: build for the right MIPS ISA revision level
Vicente Olivert Riera [Mon, 21 Sep 2015 22:31:50 +0000 (23:31 +0100)]
valgrind: build for the right MIPS ISA revision level

When Valgrind detects a 32-bit MIPS architecture, it forcibly adds
-march=mips32 to CFLAGS; when it detects a 64-bit MIPS architecture, it
forcibly adds -march=mips64. This causes Valgrind to be built always for
the first ISA revision level (R1), even when the user has configured
Buildroot for the second ISA revision level (R2).

Since R2 is backwards compatible with R1, you can run a Valgrind built
for R1 in an R2 core. This is why nobody noticed about this problem, or
at least nobody complained.

But, since (I hope) we will support R6 in Buildroot in the near future,
this problem will become very important because R6 is not backwards
compatible with R1 or R2, so building Valgrind for R1 when your target
is R6 will result in a non-working Valgrind.

Override the CFLAGS variable (which Valgrind appends to its CFLAGS) and
pass the right -march option, so they take precedence over Valgrind's
wrongfully detected value.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-pctv: add jsoncpp reverse dependency
Bernd Kuhls [Fri, 2 Oct 2015 16:31:37 +0000 (18:31 +0200)]
package/kodi-pvr-pctv: add jsoncpp reverse dependency

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-filmon: add jsoncpp reverse dependency
Bernd Kuhls [Fri, 2 Oct 2015 16:31:36 +0000 (18:31 +0200)]
package/kodi-pvr-filmon: add jsoncpp reverse dependency

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-argustv: add jsoncpp reverse dependency
Bernd Kuhls [Fri, 2 Oct 2015 16:31:35 +0000 (18:31 +0200)]
package/kodi-pvr-argustv: add jsoncpp reverse dependency

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-stalker: Needs jsoncpp
Bernd Kuhls [Fri, 2 Oct 2015 16:31:34 +0000 (18:31 +0200)]
package/kodi-pvr-stalker: Needs jsoncpp

Fixes
http://autobuild.buildroot.net/results/56f/56fb98da27495f6a461bfdc7aa8c2de4d86dfdb8/
http://autobuild.buildroot.net/results/f98/f982b437935cf1f921559f5388fd4146eb9241bd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: move libexecdir
Gustavo Zacarias [Sat, 3 Oct 2015 10:28:18 +0000 (07:28 -0300)]
dhcpcd: move libexecdir

The default is $PREFIX/libexec which ends up in an ugly and non-standard
/libexec dir in the target.
Move it to $PREFIX/lib/dhcpcd which is far more nicer and suitable.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: bump to version 6.9.3
Gustavo Zacarias [Sat, 3 Oct 2015 10:28:17 +0000 (07:28 -0300)]
dhcpcd: bump to version 6.9.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnss: bump to version 3.20
Gustavo Zacarias [Sat, 3 Oct 2015 11:38:49 +0000 (08:38 -0300)]
libnss: bump to version 3.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnspr: bump to version 4.10.9
Gustavo Zacarias [Sat, 3 Oct 2015 11:38:48 +0000 (08:38 -0300)]
libnspr: bump to version 4.10.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosystem: use a menuconfig for the getty options
Yann E. MORIN [Tue, 1 Sep 2015 23:10:34 +0000 (01:10 +0200)]
system: use a menuconfig for the getty options

Making the getty option a menuconfig instead of a simple config
automatically moves its dependees into a menu without the need to
manually declare such a menu.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/bluez_utils: fix musl compilation issue
Brendan Heading [Wed, 2 Sep 2015 14:15:17 +0000 (15:15 +0100)]
package/bluez_utils: fix musl compilation issue

http://autobuild.buildroot.net/results/4e4/4e4cea0234e6abf5882296abd5ceeda6ccab89b0/

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotargetcli-fb: systemd support
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:26 +0000 (09:55 +0200)]
targetcli-fb: systemd support

The systemd service file is taken from Fedora.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotargetcli-fb: bump version
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:25 +0000 (09:55 +0200)]
targetcli-fb: bump version

Also add new dependency to python-six.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-configshell-fb: bump version
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:24 +0000 (09:55 +0200)]
python-configshell-fb: bump version

Also add new dependency to python-six.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-rtslib-fb: bump version
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:23 +0000 (09:55 +0200)]
python-rtslib-fb: bump version

Also add new dependency to python-six.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-pyparsing: bump version
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:22 +0000 (09:55 +0200)]
python-pyparsing: bump version

Also download tarball from PyPI instead of SourceForge.

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-urwid: bump version and add checksums
Christophe Vu-Brugier [Thu, 3 Sep 2015 07:55:21 +0000 (09:55 +0200)]
python-urwid: bump version and add checksums

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/freerdp: introduce the wayland client
Yann E. MORIN [Sun, 6 Sep 2015 19:54:22 +0000 (21:54 +0200)]
package/freerdp: introduce the wayland client

[Peter: use 'depends on' for wayland to match X11 client]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/freerdp: prepare for adding another client
Yann E. MORIN [Sun, 6 Sep 2015 19:54:21 +0000 (21:54 +0200)]
package/freerdp: prepare for adding another client

Currently, the only client we can build is the X11 client.

FreeRDP now has support for building a wayland client.

However, that means we need to rethink the way we build FreeRDP, because
of some "inconsistencies" in its build system. This is because FreeRDP's
buildsystem does not have orthogonal options; some of the options can be
used for different components.

For example, the set of X11 libraries needed to build the server is a
superset of the X11 libraries needed to build the X11 client. So,
whenever the server is enabled, it means the X11 libraries required to
build the X11 client are available.

Now, if the user also wants to build the waland client (but not the X11
client), there is no way to tell FreeRDP not to build the X11 client,
because there is a single option, WITH_CLIENT, to drive whether any of
the clients is built. The decision is made on the availability of the
required libraries. And since the server is enabled, the X11 libs
required to build the X11 client are available. So, we end up with the
X11 client, even though it is not wanted.

And conversely with wayland...

So, we redesign the way we build FreeRDP. WE do not care what is
actually built; we just build whatever is buildable with the current
set of enabled libraries. But at install time (both in staging/ and
target/) we remove whatever the user does not want.

We also take the opportunity to rename the X11 client option, so it is
coherent with the soon-to-be-introduced wayland client.

Note: since FreeRDP has gained new dependencies, we can not just
introduce the legacy option as-is, otherwise we run the risk that it
selects the new option even though the new FreeRDP dependencies are not
enabled, spitting out the infamous 'unmet direct dependencies" kconfig
error.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/freerdp: re-add support for gstreamer
Yann E. MORIN [Sun, 6 Sep 2015 19:54:20 +0000 (21:54 +0200)]
package/freerdp: re-add support for gstreamer

Previously, we expected the user to select gstreamer-0.x on his own,
to enable gstreamer support in FreeRDP. This could have been a bit
confusing to the user, as he may have enabled gst-1.x but FreeRDP did
only support gst-0.x.

Also, gstreamer support needs xlib-libxrandr, which was missing in
FreeRDP's dependencies, so it was never enabled (AFAICS).

(Re-)introduce support for gstreamer-0.x and gstreamer-1.x, since both
are supported.

We're doing it in a choice, and select whichever version the user chooses,
rather than automatically detect it as previosuly done.  We can select the
gstreamer packages, as their dependencies are anyway already covered by the
ones of FreeRDP.

This also now requires xlib-libxrandr, so hide the choice if X.org is
not enabled, still offer the option of not using gstreamer if it is.

[Peter: Hide option if gstreamer{,1} aren't enabled,
Default to gstreamer{,1} support enabled
GStreamer 0.10 support needs host-pkgconf and libxml2]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/weston: restore the freerdp backend
Yann E. MORIN [Sun, 6 Sep 2015 19:54:19 +0000 (21:54 +0200)]
package/weston: restore the freerdp backend

Now that we've switched to using FreeRDP from master, we can build weston's
FreeRDP backend again.

Propagate the new dependencies of FreeRDP.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/freerdp: bump to master
Yann E. MORIN [Sun, 6 Sep 2015 19:54:18 +0000 (21:54 +0200)]
package/freerdp: bump to master

Currently, we're packaging FreeRDP from the stable-1.1 branch, which has
not evolved since march 2015 and hasn't seen any release (not even a
tag) since July 2013. It is by all purpose and means, dead.

Other packages that may use FreeRDP (like weston) are now migrating to,
or have already migrated to using the API from master, which has changed
a bit from what was available on the stable-1.1 branch. So, those
packages now FTBFS.

However, FreeRDP still has not done a release from their master branch;
the last tag dates back to September 2014 and there are 1850+ changes on
top of that tag.

So, switch to using the currently-latest commit from master.

This version can also use gstreamer-1.x (in addition to gst-0.x), which
needs quite some rework on how we handle the dependency on gstreamer.
Drop gstreamer support entirely, support for gst-0.x and gst-1.x will be
re-added in a followup patch.

Similarly, a wayland client can now be built, support for which will
be added in a subsequent path; it is currently forcibly disabled.

The way the libraries are built has changed: the previous single library
has been split in multiple libraries, each implementing parts of the RDP
protocol.

Slight rewording of the prompts:
  - drop the 'install' for client and server.
  - drop 'freerdp' from the client and server comment

The location of the server keys has changed, so copy them from the new
location.

Finally, drop patches 1 and 3, applied upstrem; rename remaining
patches.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/manual: FOO_SITE must not have a trailing slash
Luca Ceresoli [Mon, 28 Sep 2015 16:10:33 +0000 (18:10 +0200)]
docs/manual: FOO_SITE must not have a trailing slash

This has been the best practice since a long time, but it was not
clearly stated in the manual. Now it is mandatory, so mention it
explicitly.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-perl: remove the dependency generated by scancpan
Francois Perrad [Fri, 4 Sep 2015 08:31:14 +0000 (10:31 +0200)]
pkg-perl: remove the dependency generated by scancpan

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-perl: refactor perl infrastructure
Francois Perrad [Fri, 4 Sep 2015 08:31:13 +0000 (10:31 +0200)]
pkg-perl: refactor perl infrastructure

the perl dependency of cpan module is no longer generated by scancpan,
but added at the infrastructure level

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosmartmontools: bump to version 6.4
Gustavo Zacarias [Fri, 2 Oct 2015 17:27:59 +0000 (14:27 -0300)]
smartmontools: bump to version 6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolftp: bump to version 4.6.4
Gustavo Zacarias [Fri, 2 Oct 2015 17:24:34 +0000 (14:24 -0300)]
lftp: bump to version 4.6.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agominidlna: bump to version 1.1.5
Gustavo Zacarias [Fri, 2 Oct 2015 17:24:14 +0000 (14:24 -0300)]
minidlna: bump to version 1.1.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompg123: bump to version 1.22.4
Gustavo Zacarias [Fri, 2 Oct 2015 17:23:52 +0000 (14:23 -0300)]
mpg123: bump to version 1.22.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomutt: bump to version 1.5.24
Gustavo Zacarias [Fri, 2 Oct 2015 17:11:13 +0000 (14:11 -0300)]
mutt: bump to version 1.5.24

Switch to bitbucket since it's not hosted at sourceforge any more (and
the official mutt source is ftp).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocryptsetup: bump to version 1.6.8
Gustavo Zacarias [Fri, 2 Oct 2015 16:52:37 +0000 (13:52 -0300)]
cryptsetup: bump to version 1.6.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopciutils: bump to version 3.4.0
Gustavo Zacarias [Fri, 2 Oct 2015 16:52:18 +0000 (13:52 -0300)]
pciutils: bump to version 3.4.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoredis: bump to version 3.0.4
Gustavo Zacarias [Fri, 2 Oct 2015 16:53:00 +0000 (13:53 -0300)]
redis: bump to version 3.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimx-vpu: bump to version 5.4.31
Baruch Siach [Wed, 2 Sep 2015 16:54:13 +0000 (19:54 +0300)]
imx-vpu: bump to version 5.4.31

Also, update license file location, and add a hash file.

[Thomas: fix typo in commit title.]

Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-vpu: remove kernel dependency
Baruch Siach [Wed, 2 Sep 2015 16:54:12 +0000 (19:54 +0300)]
imx-vpu: remove kernel dependency

The imx-vpu package builds just fine without any special kernel header.

Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozsh: bump to version 5.1.1
Gustavo Zacarias [Fri, 2 Oct 2015 16:47:27 +0000 (13:47 -0300)]
zsh: bump to version 5.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: bump to version 5.6.14
Gustavo Zacarias [Fri, 2 Oct 2015 16:01:22 +0000 (13:01 -0300)]
php: bump to version 5.6.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonftables: bump to version 0.5
Gustavo Zacarias [Fri, 2 Oct 2015 14:21:00 +0000 (11:21 -0300)]
nftables: bump to version 0.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnftnl: bump to version 1.0.5
Gustavo Zacarias [Fri, 2 Oct 2015 14:20:59 +0000 (11:20 -0300)]
libnftnl: bump to version 1.0.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotiff: bump to version 4.0.6
Gustavo Zacarias [Fri, 2 Oct 2015 16:46:28 +0000 (13:46 -0300)]
tiff: bump to version 4.0.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolsof: bump to version 4.89
Gustavo Zacarias [Fri, 2 Oct 2015 14:39:13 +0000 (11:39 -0300)]
lsof: bump to version 4.89

Also switch the homepage to a non-ftp site.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibssh: bump to version 0.7.2
Baruch Siach [Thu, 1 Oct 2015 18:30:48 +0000 (21:30 +0300)]
libssh: bump to version 0.7.2

Also, require threads support. cmake detects threads support correctly, but
libssh build system uses this information incorrectly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibssh: needs shared library support
Baruch Siach [Thu, 1 Oct 2015 17:33:05 +0000 (20:33 +0300)]
libssh: needs shared library support

libssh builds libssh.so unconditionally.

Fixes:
http://autobuild.buildroot.net/results/7c7/7c7da08c71b5378b68631e3844088307080f6f9e/
http://autobuild.buildroot.net/results/a19/a19c619f4561f5426236b958f09cab4c095a63cc/
http://autobuild.buildroot.net/results/d6d/d6dd4a9b787d654b4173c03174a2fd72bdc017b3/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotcpdump: drop unneeded security patches
Baruch Siach [Thu, 1 Oct 2015 11:45:35 +0000 (14:45 +0300)]
tcpdump: drop unneeded security patches

Version 4.7.4 of tcpdump is not vulnerable to these issues according to:

   https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8767
   https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8768
   https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8769

The tcpdump commit log seems to indicate that these issues were fixes in a
different way in the following commits:

CVE-2014-8767: 4038f83ebf654804829b258dde5e0a508c1c2003
CVE-2014-8768: 9255c9b05b0a04b8d89739b3efcb9f393a617fe9
CVE-2014-8769: 9ed7ddb48fd557dc993e73f22a50dda6cedf4df7

Just drop these patches.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocpio: install to /bin and after busybox
Gustavo Zacarias [Fri, 2 Oct 2015 13:43:49 +0000 (10:43 -0300)]
cpio: install to /bin and after busybox

As the usual rule consider full-blown packages superior to busybox,
hence build after it.
Also install cpio to /bin to override the busybox-provided one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocpio: bump to version 2.12
Gustavo Zacarias [Fri, 2 Oct 2015 13:43:48 +0000 (10:43 -0300)]
cpio: bump to version 2.12

All patches upstream so drop them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimagemagick: bump to version 6.9.2-3
Gustavo Zacarias [Fri, 2 Oct 2015 13:42:52 +0000 (10:42 -0300)]
imagemagick: bump to version 6.9.2-3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoharfbuzz: bump to version 1.0.4
Gustavo Zacarias [Fri, 2 Oct 2015 13:42:32 +0000 (10:42 -0300)]
harfbuzz: bump to version 1.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibpng: bump to version 1.6.18
Gustavo Zacarias [Fri, 2 Oct 2015 13:42:12 +0000 (10:42 -0300)]
libpng: bump to version 1.6.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosquid: bump to version 3.5.10
Gustavo Zacarias [Fri, 2 Oct 2015 13:41:40 +0000 (10:41 -0300)]
squid: bump to version 3.5.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovtun: add license info
Peter Korsgaard [Fri, 2 Oct 2015 13:50:12 +0000 (15:50 +0200)]
vtun: add license info

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovtun: fix gcc5 build
Baruch Siach [Thu, 1 Oct 2015 22:06:31 +0000 (01:06 +0300)]
vtun: fix gcc5 build

Add -std=gnu89 to CFLAGS to keep pre gcc5 inline function symbols visibility
rules.

Fixes:
http://autobuild.buildroot.net/results/a7e/a7e684174b90a852318a7a8bf41c4f477d159d56/
http://autobuild.buildroot.net/results/ab0/ab01f8e0467e85322c63b81bb7e84fd251e5d556/
http://autobuild.buildroot.net/results/117/117a68bf648b050dabed8088d1165c1d7d9301f0/

and more.

[Peter: add a comment explaining why]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibmicrohttpd: bump to version 0.9.44
Gustavo Zacarias [Fri, 2 Oct 2015 13:13:57 +0000 (10:13 -0300)]
libmicrohttpd: bump to version 0.9.44

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{10, 14}.x series
Gustavo Zacarias [Thu, 1 Oct 2015 10:20:27 +0000 (07:20 -0300)]
linux-headers: bump 3.{10, 14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: bump to version 2.4.0.1
Vicente Olivert Riera [Thu, 1 Oct 2015 14:27:35 +0000 (15:27 +0100)]
qemu: bump to version 2.4.0.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolpeg: bump to version 1.0.0
Francois Perrad [Fri, 2 Oct 2015 08:14:29 +0000 (10:14 +0200)]
lpeg: bump to version 1.0.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoflashrom: fix static build
Baruch Siach [Wed, 30 Sep 2015 17:41:27 +0000 (20:41 +0300)]
flashrom: fix static build

Use $(TARGET_MAKE_ENV) to set $PATH so as to make sure Buildroot pkg-config is
used. This corrects pkg-config output, and fixes static build.

Fixes:
http://autobuild.buildroot.net/results/b6e/b6e9f3cb7fa8019e631c14d9c832174125ec64ba/
http://autobuild.buildroot.net/results/30c/30c83f9c60ac5c7359ddabdc1f190ab12433ae92/
http://autobuild.buildroot.net/results/2a5/2a5da78dd5b2922796e3010e4a0477cb9f6355cb/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiostat: fix build with musl
Baruch Siach [Wed, 30 Sep 2015 17:13:23 +0000 (20:13 +0300)]
iostat: fix build with musl

musl does not provide access to the kernel defined HZ macro. Under Linux HZ is
always 100, so use that value.

Fixes:
http://autobuild.buildroot.net/results/dc9/dc98a572c7055cb66cf14648af750b7e0c8e136e/
http://autobuild.buildroot.net/results/fe3/fe3907858f90f766f1949be631427dbb079e08ed/
http://autobuild.buildroot.net/results/59e/59e7c8a3d94d06ba52ea5034fcabd9737a5314db/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokobs-ng: remove obsolete package
Gary Bisson [Wed, 23 Sep 2015 13:39:27 +0000 (15:39 +0200)]
kobs-ng: remove obsolete package

In favor of imx-kobs maintained by Freescale.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-kobs: add new package
Gary Bisson [Wed, 23 Sep 2015 13:39:26 +0000 (15:39 +0200)]
imx-kobs: add new package

Based on the Yocto 3.14.28-1.0.0_ga update:
https://github.com/Freescale/meta-fsl-arm/commit/6c44744

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltp-testsuite: don't link with libtirpc
Baruch Siach [Wed, 30 Sep 2015 11:38:49 +0000 (14:38 +0300)]
ltp-testsuite: don't link with libtirpc

Buildroot patches libtirpc to remove auth_des support. This breaks tirpc test
build. Remove support for libtirpc for now.

Fixes:
http://autobuild.buildroot.net/results/301/3015eee7b1b6b240e7948b08954d273d28f44c32/

Cc: Anders Roxell <anders.roxell@linaro.org>
Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoltp-testsuite: don't include host headers
Baruch Siach [Wed, 30 Sep 2015 11:38:48 +0000 (14:38 +0300)]
ltp-testsuite: don't include host headers

$SYSROOT defaults to empty, so we must set it to our sysroot.

Fixes:
http://autobuild.buildroot.net/results/812/812986b00786972d4e7fbb0362460a0de8a70472/
http://autobuild.buildroot.net/results/4a3/4a3c7ea4eb08248f2aec45d8efc111087bc1327f/
http://autobuild.buildroot.net/results/8b6/8b6f7adb5546387c25f3a4c9d8e6f72f4b62b9a4/

and more.

Cc: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: bump to version 2.6.0
Vicente Olivert Riera [Wed, 30 Sep 2015 11:33:49 +0000 (12:33 +0100)]
git: bump to version 2.6.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenvpn: add option for --enable-password-save
Andreas Wetzel [Wed, 23 Sep 2015 09:39:48 +0000 (11:39 +0200)]
openvpn: add option for --enable-password-save

Added configuration option BR2_PACKAGE_OPENVPN_PWSAVE that
adds --enable-password-save to OPENVPN_CONF_OPTS if selected.

[Thomas: rewrap Config.in help text, as suggested by Vicente.]

Signed-off-by: Andreas Wetzel <andreas.wetzel@nanotronic.ch>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: Remove trailing slash from all package site URLs
Luca Ceresoli [Mon, 28 Sep 2015 16:10:31 +0000 (18:10 +0200)]
package: Remove trailing slash from all package site URLs

The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530dfc6de4030 a few
months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.2.2
Gustavo Zacarias [Tue, 29 Sep 2015 23:02:19 +0000 (20:02 -0300)]
linux: bump default to version 4.2.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 4.{1, 2}.x series
Gustavo Zacarias [Tue, 29 Sep 2015 23:02:18 +0000 (20:02 -0300)]
linux-headers: bump 4.{1, 2}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglmark2: depend on host-python
Vicente Olivert Riera [Tue, 29 Sep 2015 18:10:51 +0000 (19:10 +0100)]
glmark2: depend on host-python

The waf build system of glmark2 needs Python 2 as stated on its README
file:

python 2.x (>= 2.4) for the build system (waf)

Building it with a system with Python 3 as the default Python version
will result on a failure like this one:

File "waflib/Utils.py", line 199
    except OSError ,e:
                   ^
SyntaxError: invalid syntax

So, in order to fix this, make this package depending on host-python and
also run the waf script using $(HOST_DIR)/usr/bin/python2.

At the same time delete 3 Python environment variables passed to the waf
script during the configure phase which it seems there aren't needed for
anything.

Fixes:

  http://autobuild.buildroot.net/results/fc6/fc6cd2a90bbb0e6f80f6c4afaae1430f82e54046/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoapitrace: needs gcc 4.6 or later
Baruch Siach [Wed, 30 Sep 2015 05:33:39 +0000 (08:33 +0300)]
apitrace: needs gcc 4.6 or later

Fixes:
http://autobuild.buildroot.net/results/4a1/4a183b05b44833ee2f253749c39257b31db963ac/
http://autobuild.buildroot.net/results/a9c/a9c4ed838fae31cb680ff5e19bf03dd7e2f85094/
http://autobuild.buildroot.net/results/026/026eecffd262b0be6675001ee2f5a635207e55c7/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: depends on host-flex
Vicente Olivert Riera [Wed, 30 Sep 2015 07:46:36 +0000 (08:46 +0100)]
setools: depends on host-flex

setools needs host-flex in order to generate some source files during
build time, otherwise it will fail with an error like this one:

error: policy_scan.c: No such file or directory

Issue reported here as a race condition problem, but it turned out that
it the actual problem was the lack of host-flex:

  https://github.com/TresysTechnology/setools3/issues/5#issuecomment-144048612

Fixes:

  http://autobuild.buildroot.net/results/dad/dad9d79c10722b203536540141a6defc79937e4e/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "setools: fix race condition"
Vicente Olivert Riera [Wed, 30 Sep 2015 07:46:35 +0000 (08:46 +0100)]
Revert "setools: fix race condition"

This reverts commit 1ac68fe2c9b4cea91c7a30429ebf75279ede8e70.

Further investigations revealed that the problem wasn't a race condition
but the lack of flex package in the host machine:

  https://github.com/TresysTechnology/setools3/issues/5#issuecomment-144048612

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: fix ZIC configure variable assignment
Baruch Siach [Tue, 29 Sep 2015 20:01:32 +0000 (23:01 +0300)]
postgresql: fix ZIC configure variable assignment

The 'ZIC=$$(ZIC)' assignment is seen as 'ZIC=$(ZIC)' by the shell, that
interprets that as command substitution causing an error like:

/bin/sh: ZIC: command not found

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopostgresql: disable rpath
Baruch Siach [Tue, 29 Sep 2015 20:01:31 +0000 (23:01 +0300)]
postgresql: disable rpath

The linker -rpath option causes the linker to search for libraries in host
directories.

Should fix:
http://autobuild.buildroot.net/results/2cc/2cca5f8d8a8cd1bf9bbbc8c955aec477839e059f/
http://autobuild.buildroot.net/results/da6/da61d30791f216033971d679c84704d0fc0c3de0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibbluray: explicitly enable optional enabled features
Baruch Siach [Tue, 29 Sep 2015 18:48:47 +0000 (21:48 +0300)]
libbluray: explicitly enable optional enabled features

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoipmiutil: needs dynamic library support
Baruch Siach [Tue, 29 Sep 2015 10:41:21 +0000 (13:41 +0300)]
ipmiutil: needs dynamic library support

ipmiutil builds libipmiutil.so unconditionally.

Fixes:
http://autobuild.buildroot.net/results/e31/e31d94847cad9216aad839c2fbb312e9ea0ae75e/
http://autobuild.buildroot.net/results/5f3/5f3f32473186e6fa3a165b263f682047af8e291e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowpa_supplicant: bump to version 2.5
Baruch Siach [Tue, 29 Sep 2015 07:24:57 +0000 (10:24 +0300)]
wpa_supplicant: bump to version 2.5

Remove upstream patches. Renumber the remaining patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohostapd: bump to version 2.5
Baruch Siach [Tue, 29 Sep 2015 07:24:56 +0000 (10:24 +0300)]
hostapd: bump to version 2.5

Remove upstream patches.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodos2unix: needs host-gettext
Baruch Siach [Tue, 29 Sep 2015 06:55:48 +0000 (09:55 +0300)]
dos2unix: needs host-gettext

dos2unix uses xgettext to generate its .pot file.

Fixes:
http://autobuild.buildroot.net/results/eda/eda7eeb2fdf7a22c299858ac99d1b1953b15575e/
http://autobuild.buildroot.net/results/aaf/aaf2b77f964eb6259e2e4b1d5a13838c3a1eef21/
http://autobuild.buildroot.net/results/922/92289b63ebdf133ab910f058ffca8ba34e574208/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibssh: indentation cleanup in Config.in
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:24 +0000 (23:27 +0200)]
libssh: indentation cleanup in Config.in

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibssh: indentation cleanup in .mk file
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:23 +0000 (23:27 +0200)]
libssh: indentation cleanup in .mk file

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibssh: remove an extra '#' sign in the header package name
Jerzy Grzegorek [Mon, 28 Sep 2015 21:27:22 +0000 (23:27 +0200)]
libssh: remove an extra '#' sign in the header package name

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>