buildroot.git
9 years agolvm2: bump to version 2.02.130
Vicente Olivert Riera [Mon, 7 Sep 2015 10:35:30 +0000 (11:35 +0100)]
lvm2: bump to version 2.02.130

Release announcement:

https://www.redhat.com/archives/lvm-devel/2015-September/msg00048.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoudisks: fix build with newer glibc versions
Vicente Olivert Riera [Wed, 2 Sep 2015 14:21:20 +0000 (15:21 +0100)]
udisks: fix build with newer glibc versions

Backport an upstream patch to fix the build with newer glibc versions.
This is how the failure looks like:

job-drive-detach.c: In function 'sysfs_exists':
job-drive-detach.c:44:15: error: storage size of 'statbuf' isn't known
   struct stat statbuf;

Fixes:

  http://autobuild.buildroot.net/results/ab3/ab36c2a1d2ca41a4d9ec6bab7d8d45678dbc5dcd/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoudisks: bump to version 1.0.5
Vicente Olivert Riera [Wed, 2 Sep 2015 14:21:19 +0000 (15:21 +0100)]
udisks: bump to version 1.0.5

This version depends on libgudev when using systemd, otherwise it fails
with an error like this one:

checking for GUDEV... no
configure: error: Package requirements (gudev-1.0 >= 147) were not met:

[Peter: add to _DEPENDENCIES, not _CONF_OPTS]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs: website: update for 2015.08.1
Peter Korsgaard [Sun, 6 Sep 2015 21:09:12 +0000 (23:09 +0200)]
docs: website: update for 2015.08.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoscancpan: remove hack for Module-Build
Francois Perrad [Sat, 5 Sep 2015 06:36:06 +0000 (08:36 +0200)]
scancpan: remove hack for Module-Build

with Perl 5.22, Module-Build is no longer a core module

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoperl: bump to version 5.22.0
Francois Perrad [Sat, 5 Sep 2015 06:36:05 +0000 (08:36 +0200)]
perl: bump to version 5.22.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libsoundtouch: needs c++
Bernd Kuhls [Sun, 6 Sep 2015 12:35:56 +0000 (14:35 +0200)]
package/libsoundtouch: needs c++

Fixes
http://autobuild.buildroot.net/results/a92/a92fcb94492edfdf15c1e18c13b03d75c0210382/
http://autobuild.buildroot.net/results/d1d/d1d9a17a93f5ab61b4fbab67e0b61e79709d411f/
http://autobuild.buildroot.net/results/d55/d5548c5dbbb94bef8eccf614962d0a4fe5c91133/
http://autobuild.buildroot.net/results/798/798f103e066f94314e5664b8bcad7337e40a3fd7/
http://autobuild.buildroot.net/results/484/48407da02451382a1cf7e0c16efa7db8a338ded0/
http://autobuild.buildroot.net/results/4a0/4a0ac131884c0bc231c9f1dfd356cb533fbe5f0b/
http://autobuild.buildroot.net/results/162/1629703bc3160143875a1771f1ac25a079ec94ff/
http://autobuild.buildroot.net/results/be1/be1b69d0394de37615d3a3d2d4c4e25125b71ec2/
http://autobuild.buildroot.net/results/32b/32b9512de01af6417d2db668dc2d75953119f8ab/
http://autobuild.buildroot.net/results/1c0/1c0d433d435639f4355098fc6915c3588f922cad/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: fix coreutils cut bug, enable needed config symbols
Waldemar Brodkorb [Sun, 6 Sep 2015 14:00:23 +0000 (16:00 +0200)]
uclibc: fix coreutils cut bug, enable needed config symbols

Symbols needed for all versions/flavours of uClibc.

Fixes https://bugs.buildroot.org/show_bug.cgi?id=4099

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodos2unix: update homepage link
Baruch Siach [Thu, 3 Sep 2015 04:10:54 +0000 (07:10 +0300)]
dos2unix: update homepage link

Use the maintainer page that is much more informative than freecode.com.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: symlinks are now automatically created by uClibc-ng makefile
Waldemar Brodkorb [Sat, 5 Sep 2015 15:25:22 +0000 (17:25 +0200)]
uclibc: symlinks are now automatically created by uClibc-ng makefile

So the workaround can be dropped now that we've moved to uClibc-ng 1.0.6.

[Peter: Extend commit message]
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: fix coreutils cut bug, enable needed config symbols in uclibc-ng config
Waldemar Brodkorb [Sat, 5 Sep 2015 15:24:23 +0000 (17:24 +0200)]
uclibc: fix coreutils cut bug, enable needed config symbols in uclibc-ng config

Fixes https://bugs.buildroot.org/show_bug.cgi?id=4099

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouclibc: update to 1.0.6
Waldemar Brodkorb [Sat, 5 Sep 2015 15:23:32 +0000 (17:23 +0200)]
uclibc: update to 1.0.6

Fixes boost compile problem with ARC.
New function mkostemps required for efl are available.
Static sudo compiles are possible.
Full changes:
http://mailman.uclibc-ng.org/pipermail/devel/2015-August/000463.html

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libldns: Fix static build
Bernd Kuhls [Sat, 5 Sep 2015 10:39:56 +0000 (12:39 +0200)]
package/libldns: Fix static build

http://autobuild.buildroot.net/results/a0e/a0e686cbe5104f48c9ab05aef7b2989abdb23821/
http://autobuild.buildroot.net/results/527/527b6167fcade1333d8bedffca21e32e410ed8c9/
http://autobuild.buildroot.net/results/0f2/0f229b6806b5cf18d5b56f80088bba7dc3c6eb28/
http://autobuild.buildroot.net/results/bad/bad1c0590868c1e97f647172f85b112ff2604994/
http://autobuild.buildroot.net/results/7db/7dba36ae44560e65a00daf912abe8b43fa8a060d/
http://autobuild.buildroot.net/results/3bf/3bf24e3e845ad8ebcfd0469787e7b7342ecfe3c5/
http://autobuild.buildroot.net/results/7c6/7c6985518bb068ef1764dfb44c59c9f583f07c71/
http://autobuild.buildroot.net/results/211/2117de3dc3d1168bdba0c771b54b3d998e3d62ce/
http://autobuild.buildroot.net/results/908/90893b2cdbbc02d75be5cbc09b8a244d5b05d386/

[Peter:
 - Move workaround under openssl conditional
 - Only add host-pkgconf for static builds
 - Always use lib target]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libssh: needs MMU support
Bernd Kuhls [Sat, 5 Sep 2015 10:13:09 +0000 (12:13 +0200)]
package/libssh: needs MMU support

Fixes
http://autobuild.buildroot.net/results/405/40562b1b68bb7c57a37907eb16fcae88448f5bc6/
http://autobuild.buildroot.net/results/194/194ee885dd195706bded3ed524ff1685f4f6d4b5/
http://autobuild.buildroot.net/results/55c/55c00309bc7497529d28e48dce14299adeb11ede/
http://autobuild.buildroot.net/results/5d4/5d4e40fc4bb9c5a7ede26434c3d6ab325c631ecc/
http://autobuild.buildroot.net/results/8be/8bead9cfd826843482ccc37e9c1290b8774c8de0/
http://autobuild.buildroot.net/results/401/40100e6b07c3057ba427975ffdf3c3834c6fb385/
http://autobuild.buildroot.net/results/d70/d7083a8b197e1833ddaa30620ec1037ed15ec0ce/
http://autobuild.buildroot.net/results/6a2/6a20f29e65f446165b21cba3d55294e6ea446ff2/
http://autobuild.buildroot.net/results/718/718fdc0e5c67fd5cb1bceaec97f39285c159fbda/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/php: security bump to version 5.6.13
Bernd Kuhls [Sat, 5 Sep 2015 09:29:25 +0000 (11:29 +0200)]
package/php: security bump to version 5.6.13

Link to release announcement:
http://php.net/archive/2015.php#id2015-09-04-2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 10.6.6
Bernd Kuhls [Sat, 5 Sep 2015 09:11:09 +0000 (11:11 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 10.6.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodos2unix: remove host-gettext dependency from host package
Baruch Siach [Thu, 3 Sep 2015 04:10:53 +0000 (07:10 +0300)]
dos2unix: remove host-gettext dependency from host package

This shortens build time.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
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 agodos2unix: remove WCHAR dependency
Baruch Siach [Thu, 3 Sep 2015 04:10:52 +0000 (07:10 +0300)]
dos2unix: remove WCHAR dependency

Add a patch fixing wchar build failure.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodos2unix: bump to version 7.3
Baruch Siach [Thu, 3 Sep 2015 04:10:51 +0000 (07:10 +0300)]
dos2unix: bump to version 7.3

Cc: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
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 agodos2unix: add target support
James Knight [Thu, 3 Sep 2015 04:10:50 +0000 (07:10 +0300)]
dos2unix: add target support

Allow the `dos2unix` utility to be built and installed on the target
system.

[baruch: properly handle target gettext]
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
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/bash: indicate getcwd is malloc-supported
James Knight [Thu, 3 Sep 2015 15:00:09 +0000 (11:00 -0400)]
package/bash: indicate getcwd is malloc-supported

When Bash attempts to find the current working directory, it uses a C
library call `getcwd` to resolve it. When cross-compiling, the
configuration process cannot determine if the target system's C library
can support an "unfixed" path length. Therefore, Bash will fallback to a
size of `PATH_MAX` for determining the current working directory. When
using OverlayFS (and possible other file systems), this becomes an issue
since file paths can commonly exceed standard `PATH_MAX` length. This
typically results in the following error appearing:

   error retrieving current directory: [...]

Common C library `getcwd` calls can default to a higher limit (usually
the system's page size). The current configurable C libraries (as of at
least 2015.08) support a zero (0) size buffer length. Most use the
system's page size; musl, being an exception, which defaults to
`PATH_MAX` (as Bash was doing). Since these C libraries support
allocating buffer space with a zero (0) provided size, the following
configuration change allows Bash to support getting a larger-length'ed
working directory on target's that support it.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobind: security bump to version 9.9.7-P3
Gustavo Zacarias [Fri, 4 Sep 2015 12:39:52 +0000 (09:39 -0300)]
bind: security bump to version 9.9.7-P3

Fixes:
CVE-2015-5722 - denial-of-service vector which can be exploited remotely
against a BIND server that is performing validation on DNSSEC-signed
records.
CVE-2015-5986 - denial-of-service vector which can be used against a
BIND server that is performing recursion and (under limited conditions)
an authoritative-only nameserver.

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 agopackage/linux-fusion: slight simplification
Yann E. MORIN [Thu, 3 Sep 2015 12:54:22 +0000 (14:54 +0200)]
package/linux-fusion: slight simplification

Using an intermediate variable to "store" LINUX_VERSION_PROBED is
unnecessary, because they are both recursively-expanded variables, and
the `make kernel-version` code will anyway be used in both places it is
needed; storing in an intermediate variable will not make that a single
expansion of the sub-shell.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackages: ensure linux supports modules even when not using kernel-module
Yann E. MORIN [Thu, 3 Sep 2015 12:54:21 +0000 (14:54 +0200)]
packages: ensure linux supports modules even when not using kernel-module

Some packages build kernel modules without using the kernel-module infra
(because they use custom build systems); they do not automatically get
the kernel to support modules which is ensured when using the infra.

It must be done manually for all those packages, whenever they are
enabled.

Note: the nvidia-driver case does not need the ifeq-block other packages
use, because it is already enclosed in a more stringent ifeq-block.

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>
Cc: Noé Rubinstein <nrubinstein@aldebaran.com>
Cc: Jan Viktorin <viktorin@rehivetech.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocore/pkg-kernel-module: drop now-useless check for CONFIG_MODULES
Yann E. MORIN [Thu, 3 Sep 2015 12:54:20 +0000 (14:54 +0200)]
core/pkg-kernel-module: drop now-useless check for CONFIG_MODULES

This reverts commit 8df95d9 (pkg-kernel-module: die if kernel module
support is disabled).

Now that we force-enable support for modules in the kernel config, we
need not check it.

Besides, the check was broken, because it did not use $$ to dereference
LINUX_DIR, thus leading to systematic build failures when a package
using the kernel-module infra was enabled.

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>
Cc: Noé Rubinstein <noe.rubinstein@gmail.com>
Cc: Jan Viktorin <viktorin@rehivetech.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocore/pkg-kernel-module: ensure linux supports modules
Yann E. MORIN [Thu, 3 Sep 2015 12:54:19 +0000 (14:54 +0200)]
core/pkg-kernel-module: ensure linux supports modules

When a package wants to build a kernel module, we should ensure that the
kernel does support modules.

This patch does it automatically for packages using the kernel-module
infrastructure.

Packages that do not use it will have to set it manually (to be done in
a followup patch).

Suggested-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>
Cc: Noé Rubinstein <noe.rubinstein@gmail.com>
Cc: Jan Viktorin <viktorin@rehivetech.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconfigs/qemu: update to the latest and greatest versions
Gustavo Zacarias [Wed, 2 Sep 2015 10:43:40 +0000 (07:43 -0300)]
configs/qemu: update to the latest and greatest versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/clapack: fix comments
Yann E. MORIN [Wed, 2 Sep 2015 10:10:07 +0000 (12:10 +0200)]
package/clapack: fix comments

Provide appropriate comments for the powerpc and !powerpc cases.

Adapt armadillo's comments accordingly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: bump to version 4.2.0
Gustavo Zacarias [Wed, 2 Sep 2015 19:18:53 +0000 (16:18 -0300)]
iproute2: bump to version 4.2.0

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 agotiff: bump to version 4.0.5
Gustavo Zacarias [Wed, 2 Sep 2015 19:18:27 +0000 (16:18 -0300)]
tiff: bump to version 4.0.5

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 agolibcurl: bump to version 7.44.0
Gustavo Zacarias [Wed, 2 Sep 2015 19:16:13 +0000 (16:16 -0300)]
libcurl: bump to version 7.44.0

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 agoopenswan: security bump to version 2.6.45
Gustavo Zacarias [Wed, 2 Sep 2015 19:15:47 +0000 (16:15 -0300)]
openswan: security bump to version 2.6.45

Fixes:
CVE-2015-3240 - IKE DoS when using NSS.

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 agolighttpd: bump to version 1.4.37
Gustavo Zacarias [Wed, 2 Sep 2015 19:15:20 +0000 (16:15 -0300)]
lighttpd: bump to version 1.4.37

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 agomake help: remove <pkg>-legal-info
Luca Ceresoli [Fri, 4 Sep 2015 07:17:41 +0000 (09:17 +0200)]
make help: remove <pkg>-legal-info

The <pkg>-legal-info target is only a component of the top-level
legal-info target, it is not meant to be used alone.

For example, calling twice 'make busybox-legal-info' produces duplicate
entries in licenses.txt and manifest.csv.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotar: move package to 'system tools'
Francesco Nwokeka [Tue, 1 Sep 2015 16:05:21 +0000 (18:05 +0200)]
tar: move package to 'system tools'

Package was previously in the 'Development' section

Signed-off-by: Francesco Nwokeka <francesco.nwokeka@gmail.com>
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/eudev: fix install command
Romain Naour [Tue, 1 Sep 2015 11:39:16 +0000 (13:39 +0200)]
package/eudev: fix install command

The directory $(TARGET_DIR)/etc/init.d/ must exist before installing
S10udev init script.
Add the missing "-D" option to create the "init.d" directory.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/dmraid: fix compilation under musl
Brendan Heading [Tue, 1 Sep 2015 11:46:11 +0000 (12:46 +0100)]
package/dmraid: fix compilation under musl

Fixes:
http://autobuild.buildroot.net/results/feb/feb731da1d865b82781366798ffa8aaf40cf2ec4/
http://autobuild.buildroot.net/results/fcf/fcf1ea738da90016900c04313cdcb3a02658e953/
http://autobuild.buildroot.net/results/385/385e07e9097d877cd1babdd4133fbe14a8f217d9/

.. and others.

Note, upstream package appears dormant.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoebtables: migrated to netfilter.org
Baruch Siach [Tue, 1 Sep 2015 11:57:59 +0000 (14:57 +0300)]
ebtables: migrated to netfilter.org

ebtables moved out of sf.net. Update website link, download location, and
hashes reference.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoznc: needs gcc >= 4.7
Gustavo Zacarias [Tue, 1 Sep 2015 13:43:31 +0000 (10:43 -0300)]
znc: needs gcc >= 4.7

Fixes:
http://autobuild.buildroot.net/results/aba/aba13674fb3624e0bd6a3b1e17f28883e298c8ca/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomusl: bump to version 1.1.11
Gustavo Zacarias [Tue, 1 Sep 2015 16:40:24 +0000 (13:40 -0300)]
musl: bump to version 1.1.11

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoexpat: add security patch for CVE-2015-1283
Gustavo Zacarias [Tue, 1 Sep 2015 18:42:29 +0000 (15:42 -0300)]
expat: add security patch for CVE-2015-1283

Fixes:
CVE-2015-1283 - Multiple integer overflows in the XML_GetBuffer
function.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdk-pixbuf: add security patch for CVE-2015-4491
Gustavo Zacarias [Tue, 1 Sep 2015 17:31:09 +0000 (14:31 -0300)]
gdk-pixbuf: add security patch for CVE-2015-4491

Fixes:
CVE-2015-4491 - Heap overflow in gdk-pixbuf when scaling bitmap images.
Patch from upstream:
https://git.gnome.org/browse/gdk-pixbuf/commit/?id=ffec86e

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibgtk3: bump to version 3.14.15
Gustavo Zacarias [Tue, 1 Sep 2015 10:26:16 +0000 (07:26 -0300)]
libgtk3: bump to version 3.14.15

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.2
Gustavo Zacarias [Tue, 1 Sep 2015 10:26:15 +0000 (07:26 -0300)]
harfbuzz: bump to version 1.0.2

Static fix patch upstream so dropped.

[Peter: drop _AUTORECONF as libtool 2.4.2 is used / no patches]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoruby: bump to version 2.2.3
Gustavo Zacarias [Tue, 1 Sep 2015 10:25:55 +0000 (07:25 -0300)]
ruby: bump to version 2.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{2, 10, 12, 14}.x and 4.1.x series
Gustavo Zacarias [Tue, 1 Sep 2015 10:25:36 +0000 (07:25 -0300)]
linux-headers: bump 3.{2, 10, 12, 14}.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 4.2
Peter Korsgaard [Tue, 1 Sep 2015 08:08:41 +0000 (10:08 +0200)]
linux: bump default to version 4.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: add 4.2.x series
Peter Korsgaard [Tue, 1 Sep 2015 08:07:28 +0000 (10:07 +0200)]
linux-headers: add 4.2.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain: add 4.2.x choice for headers
Peter Korsgaard [Tue, 1 Sep 2015 08:05:20 +0000 (10:05 +0200)]
toolchain: add 4.2.x choice for headers

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoMerge branch 'next'
Peter Korsgaard [Tue, 1 Sep 2015 07:59:08 +0000 (09:59 +0200)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoKickoff 2015.11 cycle
Peter Korsgaard [Tue, 1 Sep 2015 07:58:29 +0000 (09:58 +0200)]
Kickoff 2015.11 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/website/news.html: add 2015.08 announcement link
Peter Korsgaard [Tue, 1 Sep 2015 07:56:56 +0000 (09:56 +0200)]
docs/website/news.html: add 2015.08 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2015.08
Peter Korsgaard [Mon, 31 Aug 2015 21:06:58 +0000 (23:06 +0200)]
Update for 2015.08

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoCHANGES: Update with recent changes
Peter Korsgaard [Mon, 31 Aug 2015 20:37:37 +0000 (22:37 +0200)]
CHANGES: Update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoexfat: fix build with musl
Peter Korsgaard [Mon, 31 Aug 2015 09:21:05 +0000 (11:21 +0200)]
exfat: fix build with musl

Fixes:
http://autobuild.buildroot.net/results/e1d/e1db07f0ea1e70c62f3294016c1b3a094de71d12/

The endianness handling functions in platform.h are protected behind ifdef
__GLIBC__ which musl doesn't define even though it does provide the
endianness handling interface.  Work around it by ensuring __GLIBC__ is
defined.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackages/lm-sensors: fix compilation with musl
Brendan Heading [Mon, 31 Aug 2015 12:39:08 +0000 (13:39 +0100)]
packages/lm-sensors: fix compilation with musl

Fixes:
http://autobuild.buildroot.net/results/f72/f72ae17cea910a1dbd3d5d4d09cfbc90d9ba8dc0/

Imports a patch from Alpine Linux to remove __GLIBC__ conditional
compilation. Retested with both musl, glibc and uclibc.

Patch accepted upstream.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoCHANGES: Update with recent changes
Peter Korsgaard [Mon, 31 Aug 2015 08:13:35 +0000 (10:13 +0200)]
CHANGES: Update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agox264: unbreak x86 build after version bump
Peter Korsgaard [Mon, 31 Aug 2015 07:04:09 +0000 (09:04 +0200)]
x264: unbreak x86 build after version bump

Fixes:
http://autobuild.buildroot.net/results/3ec/3ec54f722d6008fc422540d3a5462b306d16e84c/

The recent x264 version bump broke the configure step on x86/x86-64 as x264
ends up using gas instead of yasm as assembler.  The reason for this is the
recent upstream commit to optionally use nasm instead of yasm if AS= is
passed:

commit b568a256b9bc6c500d7b1ffe4b9c3311ee5ff337
Author: Henrik Gramner <henrik@gramner.com>
Date:   Sat May 23 19:44:16 2015 +0200

    x86: Experimental nasm support

    Enables the use of nasm as an alternative to yasm.

    Note that nasm cannot assemble x264 with PIC enabled since it currently doesn't
    support [symbol-$$] addressing which is used extensively by x264's PIC code.
    This includes all 64-bit Windows and 64-bit OS X builds, even non-shared.

    For the above reason nasm is currently intentionally not auto-detected, instead
    the assembler must be explicitly specified using "AS=nasm ./configure".

    Also drop -O2 from ASFLAGS since it's simply ignored anyway.

But as we pass AS=$(TARGET_AS) it ends up using gas instead. Fix it by
explicitly passing AS=yasm instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/bootutils: fix musl compilation issue
Brendan Heading [Sun, 30 Aug 2015 19:36:20 +0000 (20:36 +0100)]
package/bootutils: fix musl compilation issue

Fixes:
http://autobuild.buildroot.net/results/389/38914a0a7ff0aa79acbbbe6c46ab701325dfceb8/
http://autobuild.buildroot.net/results/c0d/c0d09f5dd0e26c0d2454ebb2ea5317db1135db89/

musl requires strict inclusion of <sys/types.h> for makedev(3).

note - upstream project appears dead since 2009.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x11r7/xserver_xorg-server: dri needs arm >= v6
Bernd Kuhls [Sun, 30 Aug 2015 12:16:30 +0000 (14:16 +0200)]
package/x11r7/xserver_xorg-server: dri needs arm >= v6

Fixes

  CC       dri.lo
/tmp/ccc6IbbW.s: Assembler messages:
/tmp/ccc6IbbW.s:3114: Error: selected processor does not support ARM mode `ldrex r2,[r1]'
/tmp/ccc6IbbW.s:3117: Error: selected processor does not support ARM mode `strexeq r2,r0,[r1]'
/tmp/ccc6IbbW.s:3273: Error: selected processor does not support ARM mode `ldrex r2,[r1]'
/tmp/ccc6IbbW.s:3276: Error: selected processor does not support ARM mode `strexeq r2,r3,[r1]'
/tmp/ccc6IbbW.s:3352: Error: selected processor does not support ARM mode `ldrex r1,[r2]'
/tmp/ccc6IbbW.s:3355: Error: selected processor does not support ARM mode `strexeq r1,r0,[r2]'
/tmp/ccc6IbbW.s:3451: Error: selected processor does not support ARM mode `ldrex r3,[r2]'
/tmp/ccc6IbbW.s:3454: Error: selected processor does not support ARM mode `strexeq r3,ip,[r2]'
/tmp/ccc6IbbW.s:3522: Error: selected processor does not support ARM mode `ldrex r3,[r0]'
/tmp/ccc6IbbW.s:3525: Error: selected processor does not support ARM mode `strexeq r3,r1,[r0]'
Makefile:653: recipe for target 'dri.lo' failed
make[5]: *** [dri.lo] Error 1
make[5]: Leaving directory '/home/buildroot/buildroot/output/build/xserver_xorg-server-1.17.2/hw/xfree86/dri'

using this defconfig
BR2_arm=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y

[Peter: fix conditional, add comment explaining issue]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/x264: Fix aarch64 support, bump version
Bernd Kuhls [Sun, 30 Aug 2015 11:53:21 +0000 (13:53 +0200)]
package/x264: Fix aarch64 support, bump version

The current x264 revision fails to include asm code from common/aarch64
which is needed by packages linking to x264, like ffmpeg:

Quoting http://autobuild.buildroot.net/results/189/189f215bcbc510cd292c0f337fe6b39979f01813//ffmpeg-2.7.2/config.log

/home/test/autobuild/instance-3/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libx264.so:
 undefined reference to `x264_deblock_h_chroma_422_intra_neon'

Function "chroma_422_intra_neon" is defined in
x264/common/aarch64/deblock-a.S. The code in
x264/common/aarch64/* is only compiled if an
assembler was found:
http://git.videolan.org/?p=x264.git;a=blob;f=Makefile;h=6193c5936939fda36f9a2e00c734223318ccda14;hb=HEAD#l134

To allow this add BR2_aarch64 as an assembler-enabled arch.

This however breaks compilation due to broken NEON detection:
"no NEON support, try adding -mfpu=neon to CFLAGS
If you really want to run on such a CPU, configure with --disable-asm."

The bug was fixed upstream Jul, 25th, 2015:
http://git.videolan.org/?p=x264.git;a=commit;h=73ae2d11d472d0eb3b7c218dc1659db32f649b14

When we already have to do a version bump let's take the latest one ;)

Fixes
http://autobuild.buildroot.net/results/90a/90ae4b2fa8a6cff0f18abea2b1c45282afe99e4b/
http://autobuild.buildroot.net/results/109/109686cbc8327e62f757db576cfff49c490b52ae/
http://autobuild.buildroot.net/results/189/189f215bcbc510cd292c0f337fe6b39979f01813/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibssh: new package
Scott Fan [Sun, 30 Aug 2015 16:05:10 +0000 (00:05 +0800)]
libssh: new package

libssh2 and libssh both implement SSH and provide a library API for apps.
Both support SSH, SFTP, auth, channels etc. Both are 25K-30K lines of code.

[libssh2 vs libssh - A comparison]
http://www.libssh2.org/libssh2-vs-libssh.html

[Peter: add sha256 hash, fix typo in help text]
Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agou-boot: 2015.07 - fix creation of .config
Alexey Brodkin [Fri, 31 Jul 2015 14:04:35 +0000 (17:04 +0300)]
u-boot: 2015.07 - fix creation of .config

Due to recent changes in U-Boot, see
http://git.denx.de/?p=u-boot.git;a=commit;h=a26cd04920dc069fd6e91abb785426cf6c29f45f
re-creation of .config from defconfig by "make oldconfig" happened
incorrectly.

Default prompt for target selection was set as No that lead to missing platform
selection by automated scripts like that:
------------------>8------------------
"yes "" | make oldconfig" on defconfig
------------------>8------------------

And that lead to build failure:
------------------>8------------------
$ make
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  GEN     include/autoconf.mk
In file included from ./include/common.h:18:0:
include/config.h:5:22: fatal error: configs/.h: No such file or directory
 #include <configs/.h>
                      ^
compilation terminated.
scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk' failed
make[1]: *** [include/autoconf.mk] Error 1
------------------>8------------------

This patch reverts mentioned change making possible to build U-Boot
2015.07 in Buildroot.

Note there's a probability that this particular patch won't make its way
in upstream U-Boot and better solution will be found there. But for now
we need to fix U-Boot building in Buildroot anyways.

Hopefully for the next release this patch won't be necessary.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/dropbear: add warning about volatile keys
Yann E. MORIN [Tue, 25 Aug 2015 21:43:33 +0000 (23:43 +0200)]
package/dropbear: add warning about volatile keys

When the rootfs is read-only, keys will be generated in a volatile
location, which is inherently bad as host keys will change on each boot,
rendering them virtually useless.

Add a warning so the user is at least aware of the issue.

Hide the rm output to avoid noisy output, now that we have a proper warning.

Move the starting message after the symlink-block, to avoid messages
collision. Move the umask as well, since /etc/dropbear/ may be world
readable; just the private host keys should be ?00 (and dropbear handles
that by itself).

[Peter: minor tweaks to commit message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/Config.in: fix alphabetic order
Baruch Siach [Sun, 30 Aug 2015 04:06:16 +0000 (07:06 +0300)]
package/Config.in: fix alphabetic order

Commit ebf3a6117c58 (package/libyuv: new package, 2015-08-11) added a
reference to the libyuv Config.in file at the wrong place. Fix that.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agognuradio: sys/types.h is needed for mode_t
Gwenhael Goavec-Merou [Sat, 29 Aug 2015 15:10:06 +0000 (17:10 +0200)]
gnuradio: sys/types.h is needed for mode_t

fix :
http://autobuild.buildroot.net/results/8e3/8e3afd5f22312f0660f631fdb82bbb64eda913fb/build-end.log

error: 'mode_t' has not been declared

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tvheadend: needs dynamic libraries
Bernd Kuhls [Sat, 29 Aug 2015 13:36:32 +0000 (15:36 +0200)]
package/tvheadend: needs dynamic libraries

Fixes
http://autobuild.buildroot.net/results/f1c/f1c40ac9dda5ceeb5665d021333058eb29828d62/
http://autobuild.buildroot.net/results/bd0/bd0e8619df7cd8f21da96ae470691b1ebb2f156c/
http://autobuild.buildroot.net/results/f1c/f1c40ac9dda5ceeb5665d021333058eb29828d62/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xserver_xorg-server: Fix glamor dependency
Bernd Kuhls [Sat, 1 Aug 2015 16:07:15 +0000 (18:07 +0200)]
package/x11r7/xserver_xorg-server: Fix glamor dependency

X.org xserver depends on libepoxy for glamor support, which depends on
EGL support. Mesa3d is not the only possible EGL provider therefore
change the dependency check.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/sp-oops-extract: new package
Doug Kehn [Tue, 18 Aug 2015 21:17:52 +0000 (16:17 -0500)]
package/sp-oops-extract: new package

A tool for extracting OOPS/panic logs from MTD.

Tested using arm-buildroot-linux-gnueabihf toolchain.

[Thomas:
 - use sp-oops-extract instead of sp_oops_extract as the Config.in
   prompt and in the .mk file comment
 - remove @ in front of the build and install commands.
 - use $(TARGET_CONFIGURE_OPTS) instead of manually passing CC, AR,
   LD, CFLAGS and LDFLAGS.]

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrdtn-tools: new package
Tom Sparks [Sun, 9 Aug 2015 00:00:19 +0000 (10:00 +1000)]
ibrdtn-tools: new package

[Thomas:
  - include package/ibrdtn-tools/Config.in from package/Config.in
  - fix the Config.in option name: we don't use - in option names, it
    should be replaced by _. Also do the same change in the .mk file.
  - from Config.in, don't select BR2_PACKAGE_IBRDTND (it's not a
    dependency of ibrdtn-tools), but instead select
    BR2_PACKAGE_IBRCOMMON and BR2_PACKAGE_IBRDTN.
  - in the Config.in file, fix the comment dependency logic (we want
    the comment to be shown when either thread support *or* C++
    support is missing)
  - add hash file.
  - do not install to staging, since the package does not install any
    library
  - remove IBRDTN_TOOLS_SOURCE variable, since it's equal to the
    default value
  - add ibrcommon, ibrdtn and host-pkgconf as mandatory dependencies,
    and handle libdaemon and libarchive as optional dependencies.
  - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS:
    automake is used, so there's no need for any hack.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrdtnd: new package
Tom Sparks [Sat, 8 Aug 2015 13:07:41 +0000 (23:07 +1000)]
ibrdtnd: new package

[Thomas:
  - add package to package/Config.in
  - remove "select" on libdaemon, libcurl, sqlite and openssl from
    Config.in, since those are optional dependency.
  - add "select" on ibrcommon, since it is a mandatory dependency.
  - remove bogus includes of package/ibrcommon/Config.in and
    package/ibrdtn/Config.in, those are directly from
    package/Config.in.
  - fix Config.in comment dependency and indentation.
  - remove INSTALL_STAGING = YES, since ibrdtnd does not install a
    library.
  - remove libdaemon, libcurl, sqlite and openssl as mandatory
    dependencies, and handle them as optional dependencies.
  - add ibrcommon in the dependencies (even if ibrdtn already depends
    on it)
  - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS, they
    are not needed, since the Makefiles are properly generated by
    automake.
  - explicitly disable features for which Buildroot doesn't have the
    necessary dependencies (dtndht, wifip2p, vmime)
  - add hash file.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrdtn: fix bogus dependency on zlib
Thomas Petazzoni [Sat, 29 Aug 2015 18:41:37 +0000 (20:41 +0200)]
ibrdtn: fix bogus dependency on zlib

Due to a copy/paste mistake, zlib was being added to
<pkg>_DEPENDENCIES even when not enabled in the configuration. This
commit fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrcommon: add missing dependency on host-pkgconf
Thomas Petazzoni [Sat, 29 Aug 2015 18:40:54 +0000 (20:40 +0200)]
ibrcommon: add missing dependency on host-pkgconf

pkg-config is used by ibrcommon to detect the availability of openssl,
libnl and libxml2, so we must depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrdtn: new package
Tom Sparks [Sat, 8 Aug 2015 12:49:05 +0000 (22:49 +1000)]
ibrdtn: new package

[Thomas:
  - Add missing include in package/Config.in to make the package
    appear in menuconfig.
  - Fix the comment dependencies: the comment should be shown either
    if C++ is not available *or* if threads are not supported.
  - Add a hash file.
  - Add missing dependency on host-pkgconf, since pkg-config is used
    to detect the availability of ibrcommon.
  - Remove the custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS:
    they are not needed since automake is used.
  - Make --with-compression conditional on whether zlib is available.
  - Add optional dependency on libglib2.
  - Add missing final newlines in .mk and Config.in files.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrcommon: add hash file
Thomas Petazzoni [Sat, 29 Aug 2015 16:12:57 +0000 (18:12 +0200)]
ibrcommon: add hash file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoibrcommon: fix dependencies of comment in Config.in
Thomas Petazzoni [Sat, 29 Aug 2015 16:07:42 +0000 (18:07 +0200)]
ibrcommon: fix dependencies of comment in Config.in

We want the comment to be displayed either if C++ is not supported
*or* if threads is not supported.

Also, fix the indentation to use a tab.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogdb: use 7.9 by default
Thomas Petazzoni [Sat, 29 Aug 2015 13:21:26 +0000 (15:21 +0200)]
gdb: use 7.9 by default

Now that we have added 7.10, let's switch to 7.9 as the default gdb
version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: add support for gdb 7.10
Thomas Petazzoni [Sat, 29 Aug 2015 13:21:25 +0000 (15:21 +0200)]
gdb: add support for gdb 7.10

This commit adds support for gdb 7.10.

gdb 7.9.1 carries the following patches:

 - 0001-gdbserver-fix-uClibc-whithout-MMU.patch
   merged as 6282837972a5c7b89968319caf821fcbd2a166bb, and part of 7.10

 - 0002-gdbserver-xtensa-drop-xtensa_usrregs_info.patch
   merged as deb44829ecc1dd38275af0fcf91acd319e227a89, and part of 7.10

 - 0003-gdbserver-xtensa-fix-typo-in-XCHAL_HAVE_LOOPS.patch
   merged as a2d5a9d76f2366ed93095fc5a63eafa06b22f808, and part of 7.10

Consequently, none of the three patches we have for 7.9.1 are useful
for 7.10.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoibrcommon: new package
Tom Sparks [Sat, 8 Aug 2015 12:42:14 +0000 (22:42 +1000)]
ibrcommon: new package

[Thomas:
  - add package in package/Config.in, to make it visible in menuconfig
  - make the openssl, libnl and libxml2 dependencies optional, since
    they are definitely not mandatory
  - add README to the license files, since it contains useful
    licensing related information.
  - remove custom INSTALL_STAGING_OPTS and INSTALL_TARGET_OPTS since
    the package uses automake.
  - add missing final newline in Config.in and .mk file.]

Signed-off-by: Tom Sparks <tom_a_sparks@yahoo.com.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libldns: new package
Bernd Kuhls [Sat, 29 Aug 2015 10:53:38 +0000 (12:53 +0200)]
package/libldns: new package

Needed by freeswitch.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libsoundtouch: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:54 +0000 (20:16 +0200)]
package/libsoundtouch: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libopenh264: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:53 +0000 (20:16 +0200)]
package/libopenh264: new package

[Thomas:
  - make the license info more specific: it's BSD-2c, not just BSD.
  - use a single conditional block to test the architecture, instead
    of multiple separate conditions.
  - add missing arm/armeb handling in the architecture condition.
  - make the host-nasm dependency only used on x86/x86-64, since it's
    not used for other architectures
  - group the ARCH= and ENABLE64BIT= make variable definitions in a
    LIBOPENH264_MAKE_OPTS variable, and use them at install time (in
    addition to build time) to avoid build issues.
  - wrap too long lines in the .mk file.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libilbc: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:52 +0000 (20:16 +0200)]
package/libilbc: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libg7221: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:51 +0000 (20:16 +0200)]
package/libg7221: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/setools: needs wchar
Yann E. MORIN [Sat, 29 Aug 2015 10:15:13 +0000 (12:15 +0200)]
package/setools: needs wchar

Even though setools itself does not require wide chars, the configure
script needs them when testing for C99 support.

Since:
  - it is not clear whether wchar are mandatory for C99 or not,
  - only uClibc may miss support for wide chars,
  - using SELinux would probably involve rather big systems (i.e. glibc
    would not be such a huge overhead),
just make setools depend on the toolchain having widechar.

Fixes:
    http://autobuild.buildroot.org/results/051/051a7f72ebadd56407700c22b57e942f08eb1c09/
    http://autobuild.buildroot.org/results/a4b/a4b2a6f1920430af43c23239de17200e70951b3b/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libcodec2: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:50 +0000 (20:16 +0200)]
package/libcodec2: new package

[Thomas:
 - replace patches from Bernd by patches that are Git formatted and
   have a chance of being upstream.
 - remove the no longer necessary post configure hook to build
   generate_cookbook for the host
 - pass --disable-unittests to disable unit tests.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libbroadvoice: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:49 +0000 (20:16 +0200)]
package/libbroadvoice: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoeigen: use mercurial tag
Thomas Petazzoni [Sat, 29 Aug 2015 09:40:39 +0000 (11:40 +0200)]
eigen: use mercurial tag

Now that our Mercurial download mechanism has been fixed to also
support tags, let's use this possibility in the eigen package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/download: fix the Hg backend for tags
Yann E. MORIN [Tue, 18 Aug 2015 21:35:04 +0000 (23:35 +0200)]
support/download: fix the Hg backend for tags

When the version of a package is a Mercurial tag, the download fails,
with:
    abort: unknown revision 'X.Y.Z'!

This is because, in Mercurial, tags are commits like the others, and
when we clone, we actively request a tag. But then, the server
"dereferences" that tag and sends us the revision pointed to by that
tag. Of course, since the tag is a commit after the revision we got,
we do not have the revision adding the tag.

So, we just have to download the full repository to be sure we have
the tags in our local clone.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoipkg: add patch to fix musl build
Thomas Petazzoni [Sat, 29 Aug 2015 09:33:13 +0000 (11:33 +0200)]
ipkg: add patch to fix musl build

Like Romain Naour did for util-linux, this commit adds a patch for the
ipkg package to remove the use of the __P, which is useless for modern
compilers, and not defined by the musl C library.

Fixes:

  http://autobuild.buildroot.net/results/c27d1d1e6a9bb52fead7b48625bb456f42b2f056/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocurlftpfs: fix musl build
Thomas Petazzoni [Sat, 29 Aug 2015 09:11:43 +0000 (11:11 +0200)]
curlftpfs: fix musl build

Add a patch to use off_t instead of __off_t.

Fixes:

  http://autobuild.buildroot.net/results/ed5/ed5b1a49304f115d793da332de6eef8cdaffbc8f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssh: fix static compilation
Waldemar Brodkorb [Sat, 29 Aug 2015 07:46:35 +0000 (09:46 +0200)]
openssh: fix static compilation

PIE and static doesn't work on Linux.

Fixes:
http://autobuild.buildroot.net/results/dce/dce0202e039f4636d68532c4aab8738938b76650/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/website: remove broken symlink for top-level manual
Yann E. MORIN [Fri, 28 Aug 2015 22:34:41 +0000 (00:34 +0200)]
docs/website: remove broken symlink for top-level manual

Recently, we've tried to have the manual lie at the top-level of the
site, to get a shorter URL.

However, that is broken: we do not need only a link the the HTML, but
also to the CSS and to any resource linked from the html (images...).

The server configuration has now been updated to add a redirect, so we
no longer need that symlink anyway. Remove it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: makedevs only accepts numerical values
Yann E. MORIN [Fri, 28 Aug 2015 22:25:01 +0000 (00:25 +0200)]
docs/manual: makedevs only accepts numerical values

Because of a limitation in how makedevs resolves names [0], usernames
and groupnames would be resolved with UIDs and GIDs from the host, not
the target.

Fixing makedevs would involve us rewriting a /etc/passwd and /etc/group
parser (not too complex, still not trivial).

Document that the user and group fields should only be numbers, not
names. Also, the manual is currently misleading, as an example indeed
uses names for the user and group fields. Fix that and expand the
explanations.

The mode field should also be numbers, not a rwx combo.

Slight typographical eye-candy about major/minor fields.

[0] it uses getpwnma(3) and getgrnam(3) to resolve names to IDs, and
those only resolve names on the host (i.e. there is no way to specify
a chroot-like feature)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cppcms: bump to 1.0.5
Romain Naour [Fri, 28 Aug 2015 21:31:06 +0000 (23:31 +0200)]
package/cppcms: bump to 1.0.5

Bump cppcms since it seems to fixe an issue with gcc5+.
The new release has been build tested against a failing Buildroot config.

Fixes:
http://autobuild.buildroot.net/results/d9d/d9d3f40bf0a203e052d2a43ac7a6a1dfa60379b3/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libsilk: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:48 +0000 (20:16 +0200)]
package/libsilk: new package

[Thomas: fix license, it's BSD-3c.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libyuv: new package
Bernd Kuhls [Tue, 11 Aug 2015 18:16:47 +0000 (20:16 +0200)]
package/libyuv: new package

[Thomas: fix license, it's BSD-3c, not BSD-4c.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomtd: add mtdpart option
Gustavo Zacarias [Tue, 4 Aug 2015 11:19:38 +0000 (08:19 -0300)]
mtd: add mtdpart option

As pointed by Jörg Krause one of the novelties of the 1.5.2 release is
the new mtdpart tool, so add an option for it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosysvinit: update website URL
Luca Ceresoli [Fri, 28 Aug 2015 16:48:33 +0000 (18:48 +0200)]
sysvinit: update website URL

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libhttpparser: New package
Renaud AUBIN [Thu, 27 Aug 2015 20:54:56 +0000 (22:54 +0200)]
package/libhttpparser: New package

http-parser provides a simple C API to parse HTTP responses and
requests.

This packaging uses the official Joyent repository.

[Thomas:
 - since we're always building the shared library, depend on
   !BR2_STATIC_LIBS in Config.in. We could build only the static
   library, but then we would have to do all the lib installation
   manually.
 - indent using tabs in Config.in
 - use 'make install' instead of handcoding the library installation.
 - use $(TARGET_CONFIGURE_OPTS) instead of just CC= and LD=.
 - use tabs for indentation in commands instead of spaces
 - add patch to fix reinstallation.]

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