buildroot.git
9 years agopackage/ncurses: fix builds with both shared and static libs
Yann E. MORIN [Sun, 21 Dec 2014 20:28:43 +0000 (21:28 +0100)]
package/ncurses: fix builds with both shared and static libs

When both shared and static libs are enabled, we have two shell
constructs to run, but they are not properly separated, leading to build
failures like:

    ln -sf libncursesw.a /home/idnc_sk/IOLINUX/builds/micro-x86_64-corei7/
    output/host/usr/x86_64-buildroot-linux-uclibc/sysroot/usr/lib/libcurse
    s.a for lib in libncurses libmenu libpanel libform; do ln -sf ${lib}w.
    so /home/idnc_sk/IOLINUX/builds/micro-x86_64-corei7/output/host/usr/x8
    6_64-buildroot-linux-uclibc/sysroot/usr/lib/${lib}.so; done
    /bin/bash: -c: line 0: syntax error near unexpected token `do'
    /bin/bash: -c: line 0: `ln -sf libncursesw.a /home/idnc_sk/IOLINUX/bui
    lds/micro-x86_64-corei7/output/host/usr/x86_64-buildroot-linux-uclibc/
    sysroot/usr/lib/libcurses.a for lib in libncurses libmenu libpanel lib
    form; do ln -sf ${lib}w.so /home/idnc_sk/IOLINUX/builds/micro-x86_64-c
    orei7/output/host/usr/x86_64-buildroot-linux-uclibc/sysroot/usr/lib/${
    lib}.so; done'

As can be seen, there is a missing semi-colon ';' between the symlink
command and the for loop:

    ln -sf libncursesw.a [...]/libcurses.a for lib in [...]

Fix that by adding a semi-colon after each first shell constructs, to
properly separate the two. If the second one is not enabled (i.e. for a
static-only build), there is a trailing semi-colon, but that's perfectly
valid shell syntax.

Reported-by: idnc_sk on IRC
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-cheetah: new package
Gwenhael Goavec-Merou [Sun, 21 Dec 2014 15:26:55 +0000 (16:26 +0100)]
python-cheetah: new package

[Thomas:
 - Remove dependency on host-python-markdown, apparently not needed
   (it builds fine in a minimal chroot, which doesn't have
   python-markdown installed)
 - Remove runtime dependency on markdown, I can run Cheetah basic
   examples without python-markdown installed.
 - Add dependency on Python 2 only, since it doesn't build for Python
   3.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-markdown: new package
Gwenhael Goavec-Merou [Sun, 21 Dec 2014 15:26:54 +0000 (16:26 +0100)]
python-markdown: new package

[Thomas:
 - Remove host variant of python-markdown, as it is not needed.
 - Add runtime dependency on Python XML module.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiperf3: new package
Gustavo Zacarias [Wed, 17 Dec 2014 12:59:05 +0000 (09:59 -0300)]
iperf3: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/iucode-tool: bump version
Bernd Kuhls [Sun, 21 Dec 2014 10:09:31 +0000 (11:09 +0100)]
package/iucode-tool: bump version

- updated upstream location
  http://metadata.ftp-master.debian.org/changelogs/contrib/i/iucode-tool/unstable_changelog
  "iucode-tool (1.0.2-1) unstable; urgency=low
   [...]
   * debian/control: update for new upstream location at Gitorious"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/intel-microcode: bump version
Bernd Kuhls [Sun, 21 Dec 2014 10:09:30 +0000 (11:09 +0100)]
package/intel-microcode: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibtool: fix help2man related failure
Gustavo Zacarias [Sun, 21 Dec 2014 17:34:11 +0000 (14:34 -0300)]
libtool: fix help2man related failure

Libtool sometimes requires help2man to build manpages, but since we
don't use/need them and want to avoid pulling in and/or building
dependencies for that we just disable it. Fixes:
http://autobuild.buildroot.net/results/bfb/bfb9e298196d877b623580f882b6fe74b30bec9b/

Also add host-m4 as dependency, it's not strictly required but silences
many build warnings.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotinc: new package
Zoltan Gyarmati [Tue, 16 Dec 2014 14:47:58 +0000 (15:47 +0100)]
tinc: new package

[Thomas:
 - fix license from GPLv2 to 'GPLv2+ with OpenSSL exception'
 - add -std=c99 to CFLAGS, otherwise it doesn't build with a minimal
   toolchain configuration
 - add BR2_USE_MMU dependency since fork() is used.]

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosudo: adjust libtool comment
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:20 +0000 (11:08 -0300)]
sudo: adjust libtool comment

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfribidi: adjust libtool comment
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:19 +0000 (11:08 -0300)]
libfribidi: adjust libtool comment

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolzo: adjust libtool comment
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:18 +0000 (11:08 -0300)]
lzo: adjust libtool comment

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosubversion: security bump to version 1.7.19
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:17 +0000 (11:08 -0300)]
subversion: security bump to version 1.7.19

Fixes:
CVE-2014-3580: mod_dav_svn DoS from invalid REPORT requests.
CVE-2014-8108: mod_dav_svn DoS from use of invalid transaction names.

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibtool: bump to version 2.4.4
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:16 +0000 (11:08 -0300)]
libtool: bump to version 2.4.4

Patch is upstream so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/libtool: add patch for newer versions
Gustavo Zacarias [Tue, 16 Dec 2014 14:08:15 +0000 (11:08 -0300)]
support/libtool: add patch for newer versions

Add patch to support newer (>2.4.2) versions.
Adjust patch logic to check for patchlevel greater than 2 (apply new patch) or
not (apply current patch).
Some people/distributions used unreleased versions, with the string being
2.4.2.x, this packages are AUTORECONFed and have to be kept like this since
the up-to-2.4.2 patch doesn't work, neither does the from-2.4.3 version patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-gd: rename patches to follow the new name convention
Romain Naour [Sat, 20 Dec 2014 23:50:59 +0000 (00:50 +0100)]
package/perl-gd: rename patches to follow the new name convention

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-enum: new package
Peter Korsgaard [Mon, 15 Dec 2014 14:32:12 +0000 (15:32 +0100)]
python-enum: new package

This is an alternative to python-enum34 with a somewhat different API.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zlib: allow shared-only builds
Yann E. MORIN [Tue, 16 Dec 2014 21:46:58 +0000 (22:46 +0100)]
package/zlib: allow shared-only builds

Currently, we can build a static-only zlib, but not a shared-only one.

This is because zlib's build-system is a custom ./configure (not using
autotools), and does not allow building/installing only the shared
library.

Simply remove the .a as a post-staging install hook. We don't care
removing it from target, since it is not used at link time to build
other packages, and it is anyway removed later before assembling the
filesystem images anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/oprofile: Bump version to 1.0.0
Ilya Lipnitskiy [Mon, 15 Dec 2014 07:02:15 +0000 (23:02 -0800)]
package/oprofile: Bump version to 1.0.0

Remove opcontrol and oprofiled from the install list, they are no longer
present in the package.

Remove all patches, they have been integrated upstream.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Mon, 15 Dec 2014 08:56:59 +0000 (09:56 +0100)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/weston: do not select rpi-userland
Yann E. MORIN [Sat, 20 Dec 2014 18:22:41 +0000 (19:22 +0100)]
package/weston: do not select rpi-userland

rpi-userland is a provider for some virtual packages, so we can not
select it, as instructed in the manual:

    http://nightly.buildroot.org/#_infrastructure_for_virtual_packages

    ---8<---
    If your package really requires a specific provider, then you’ll
    have to make your package depends on this provider; you can not select a
    provider.
    ---8<---

Instead, just depend on it. Remove the comment as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxfsprogs: fix shared-only build
Romain Naour [Tue, 16 Dec 2014 21:40:53 +0000 (22:40 +0100)]
xfsprogs: fix shared-only build

The shared-only build is not supported by xfsprogs because without
--enable-static, the builtin libraries (libxfs, libxcmd ...)  are only
built as shared libraries and xfs tools requires the static ones.

Also, we needs to replace -static with -static-libtool-libs for the
shared-only case, in order to fallback to linking with the shared
version of libuuid library.

Fixes:
http://autobuild.buildroot.net/results/139/139fa30756d35a24209136068c818802074908de/
http://autobuild.buildroot.net/results/e2e/e2eef5dbadec555756a912a24978c78c0013ee70/
http://autobuild.buildroot.net/results/08c/08c4bc5037379a8ca312e3e7574067235da74030/

And many more.

[Thomas: fix misc typos in the patch description and commit title.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/hostapd: use correct include path for libnl-3.0
Romain Naour [Tue, 16 Dec 2014 23:17:12 +0000 (00:17 +0100)]
package/hostapd: use correct include path for libnl-3.0

Add a dependancy on host-pkgconf.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reported-by: Jörg Krause <jkrause@posteo.de>
Cc: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wpa_supplicant: use correct include path for libnl-3.0
Romain Naour [Tue, 16 Dec 2014 23:07:27 +0000 (00:07 +0100)]
package/wpa_supplicant: use correct include path for libnl-3.0

Fixes:
ERROR: unsafe header/library path used in cross-compilation: '/usr/include/libnl3'

Add a dependancy on host-pkgconf when BR2_PACKAGE_LIBNL is enabled.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reported-by: Jörg Krause <jkrause@posteo.de>
Cc: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agojson-c: change upstream location to Github
Sagaert Johan [Wed, 17 Dec 2014 21:09:03 +0000 (22:09 +0100)]
json-c: change upstream location to Github

json-c website and download locations have changed, the project is now
hosted on Github.

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.5.1
Bernd Kuhls [Sat, 20 Dec 2014 09:32:52 +0000 (10:32 +0100)]
package/ffmpeg: bump version to 2.5.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomanual: remove the extra whitespaces
Jerzy Grzegorek [Fri, 19 Dec 2014 07:12:33 +0000 (08:12 +0100)]
manual: remove the extra whitespaces

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxserver_xorg-server: security bump to 1.16.3
Bernd Kuhls [Sat, 20 Dec 2014 14:26:29 +0000 (15:26 +0100)]
xserver_xorg-server: security bump to 1.16.3

- for a list of fixed CVE´s check
  http://lists.x.org/archives/xorg-announce/2014-December/002506.html
- added hash file

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Update SITE url
Bernd Kuhls [Sat, 20 Dec 2014 09:34:32 +0000 (10:34 +0100)]
package/vlc: Update SITE url

old SITE is now password-protected

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdvbcsa: Update SITE url
Bernd Kuhls [Sat, 20 Dec 2014 09:34:31 +0000 (10:34 +0100)]
package/libdvbcsa: Update SITE url

old SITE is now password-protected

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoorc: bump version
Peter Korsgaard [Fri, 19 Dec 2014 23:37:06 +0000 (00:37 +0100)]
orc: bump version

And add hash file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoympd: fix license typo
Jerzy Grzegorek [Thu, 18 Dec 2014 23:02:20 +0000 (00:02 +0100)]
ympd: fix license typo

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libbluray: bump version to 0.6.2
Bernd Kuhls [Fri, 19 Dec 2014 18:19:51 +0000 (19:19 +0100)]
package/libbluray: bump version to 0.6.2

- old SITE is now password-protected
- add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: bump 4.8.x series to version 4.8.4
Gustavo Zacarias [Fri, 19 Dec 2014 18:33:27 +0000 (15:33 -0300)]
gcc: bump 4.8.x series to version 4.8.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojasper: add patches to fix CVE-2014-8137 and CVE-2014-8138
Gustavo Zacarias [Fri, 19 Dec 2014 18:32:18 +0000 (15:32 -0300)]
jasper: add patches to fix CVE-2014-8137 and CVE-2014-8138

Fixes:
CVE-2014-8137 - double-free in jas_iccattrval_destroy()
CVE-2014-8138 - heap overflow in jp2_decode()

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: security bump to version 2.2.1
Gustavo Zacarias [Fri, 19 Dec 2014 18:31:59 +0000 (15:31 -0300)]
git: security bump to version 2.2.1

Fixes:
CVE-2014-9390 - arbitrary command execution vulnerability on
case-insensitive file systems.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoerlang: fix typo in dependencies
Frank Hunleth [Wed, 17 Dec 2014 04:22:15 +0000 (23:22 -0500)]
erlang: fix typo in dependencies

If libatomic_ops was enabled, then the host-erlang dependency was lost.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/snappy: add dependency on host-pkgconf
Steve James [Wed, 17 Dec 2014 12:25:59 +0000 (12:25 +0000)]
package/snappy: add dependency on host-pkgconf

Snappy doesn't configure without host pkg-config, causing this totally
unhelpful diagnostic from autoconf:

  configure.ac:42: error: possibly undefined macro: AC_DEFINE
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  configure.ac:44: error: possibly undefined macro: AC_MSG_FAILURE

So add host-pkgconf to the package's DEPENDENCIES list.

Signed-off-by: Steve James <ste@junkomatic.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage: cleanup whitespace of assignments
Jerzy Grzegorek [Thu, 18 Dec 2014 07:51:25 +0000 (08:51 +0100)]
package: cleanup whitespace of assignments

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoicu: bump to version 54.1
Gustavo Zacarias [Thu, 18 Dec 2014 21:36:06 +0000 (18:36 -0300)]
icu: bump to version 54.1

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoboost: bump to version 1.57.0
Gustavo Zacarias [Thu, 18 Dec 2014 21:36:05 +0000 (18:36 -0300)]
boost: bump to version 1.57.0

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agompd: bump to version 0.19.7
Gustavo Zacarias [Thu, 18 Dec 2014 18:42:29 +0000 (15:42 -0300)]
mpd: bump to version 0.19.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotcpreplay: bump to version 4.1.0
Gustavo Zacarias [Thu, 18 Dec 2014 18:26:51 +0000 (15:26 -0300)]
tcpreplay: bump to version 4.1.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-pam: add security patches
Gustavo Zacarias [Thu, 18 Dec 2014 18:04:41 +0000 (15:04 -0300)]
linux-pam: add security patches

To fix:
CVE-2013-7041 - use case sensitive comparison in pam_userdb
CVE-2014-2583 - potential path traversal issue in pam_timestamp

Also add hash file (computed, the hash files upstream cover up to 1.1.7)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: security bump to version 5.5.20
Gustavo Zacarias [Thu, 18 Dec 2014 18:04:27 +0000 (15:04 -0300)]
php: security bump to version 5.5.20

Fixes:
CVE-2014-8142 - Use after free vulnerability in unserialize()

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojquery: bump to version 1.11.2
Gustavo Zacarias [Thu, 18 Dec 2014 18:04:12 +0000 (15:04 -0300)]
jquery: bump to version 1.11.2

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonftables: bump to version 0.4
Gustavo Zacarias [Tue, 16 Dec 2014 11:42:58 +0000 (08:42 -0300)]
nftables: bump to version 0.4

Also add hash file.

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.3
Gustavo Zacarias [Tue, 16 Dec 2014 11:42:57 +0000 (08:42 -0300)]
libnftnl: bump to version 1.0.3

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnss: security bump to version 3.17.3
Gustavo Zacarias [Tue, 16 Dec 2014 11:12:54 +0000 (08:12 -0300)]
libnss: security bump to version 3.17.3

Fixes CVE-2014-1569 - The definite_length_decoder function in
lib/util/quickder.c in Mozilla Network Security Services (NSS) before
3.16.2.4 and 3.17.x before 3.17.3 does not ensure that the DER encoding
of an ASN.1 length is properly formed, which allows remote attackers to
conduct data-smuggling attacks by using a long byte sequence for an
encoding.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoapr-util: add hash file
Gustavo Zacarias [Tue, 16 Dec 2014 12:41:13 +0000 (09:41 -0300)]
apr-util: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoapr: add hash file
Gustavo Zacarias [Tue, 16 Dec 2014 12:41:12 +0000 (09:41 -0300)]
apr: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 3.18.1
Gustavo Zacarias [Tue, 16 Dec 2014 18:52:18 +0000 (15:52 -0300)]
linux: bump default to version 3.18.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{18, 17, 14, 10}.x series
Gustavo Zacarias [Tue, 16 Dec 2014 18:52:17 +0000 (15:52 -0300)]
linux-headers: bump 3.{18, 17, 14, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/Config.in: fix alphabetical order
Jerzy Grzegorek [Sat, 13 Dec 2014 08:18:01 +0000 (09:18 +0100)]
package/Config.in: fix alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/Config.in: fix menu alphabetical order
Jerzy Grzegorek [Sat, 13 Dec 2014 08:18:00 +0000 (09:18 +0100)]
package/Config.in: fix menu alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodbus: bump version
Peter Korsgaard [Tue, 16 Dec 2014 20:24:53 +0000 (21:24 +0100)]
dbus: bump version

Regression fix for CVE-2014-3636, see release announcement:
http://lists.freedesktop.org/archives/dbus/2014-November/016430.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconfigs/qemu: update infos for latest qemu version
Gustavo Zacarias [Mon, 15 Dec 2014 22:24:22 +0000 (19:24 -0300)]
configs/qemu: update infos for latest qemu version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: adjust initscript
Gustavo Zacarias [Mon, 15 Dec 2014 22:56:27 +0000 (19:56 -0300)]
stunnel: adjust initscript

Use proper status messages, make spacing standard instead of a mix of
spacing/tabbing, drop boringly obvious comment from the header.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: bump to version 5.08
Gustavo Zacarias [Mon, 15 Dec 2014 22:56:26 +0000 (19:56 -0300)]
stunnel: bump to version 5.08

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoncurses: add hash file
Gustavo Zacarias [Mon, 15 Dec 2014 22:00:12 +0000 (19:00 -0300)]
ncurses: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoncurses: fix gpm support
Gustavo Zacarias [Mon, 15 Dec 2014 22:00:11 +0000 (19:00 -0300)]
ncurses: fix gpm support

The CF_LIB_SONAME macro doesn't work when cross compiling so we need to
specify the lib name for libgpm explicitly. While at it make gpm support
explicit in the form of --without-gpm when it's not selected and adding
it to dependencies when it is. Fixes:
http://autobuild.buildroot.net/results/32a/32a5ba3905772a3f2f2ec9d1b290a109fe22d9f9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: fix recursively defined variable
Yann E. MORIN [Mon, 15 Dec 2014 21:19:10 +0000 (22:19 +0100)]
linux: fix recursively defined variable

When running 'make printvars', the output stops at the time we dump the
Linux related variables, with:

    linux/linux.mk:109: *** Recursive variable `LINUX_TARGET_NAME'
    references itself (eventually).  Stop.

And that's expected, since we have:

    109 LINUX_TARGET_NAME = $(LINUX_IMAGE_NAME)
    [...]
    112 ifeq ($(LINUX_IMAGE_NAME),)
    113 LINUX_IMAGE_NAME = $(LINUX_TARGET_NAME)
    114 endif

Even though they are defined in a way that ensures they are in fact not
recursively defined (the if-block ensures that), 'printvars' does dump
all our variables by evaluating all of them, which in that specific case
implies they are recursively defined.

Fix that by explicitly setting LINUX_IMAGE_NAME in each if-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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoerlang: use libatomic_ops if available
Frank Hunleth [Mon, 15 Dec 2014 21:29:21 +0000 (16:29 -0500)]
erlang: use libatomic_ops if available

Erlang can either provide its own atomic_ops implementation or use the
one in libatomic_ops. This patch ensures that it only uses the one from
libatomic_ops if it is available.

Fixes:

http://autobuild.buildroot.net/results/3eb/3ebfd36948d5a642cc83ce31ddf5902cb369bfbd/
http://autobuild.buildroot.net/results/04c/04cbf79ccf159e15f9ea3953b425faadafc8a1c0/
http://autobuild.buildroot.net/results/fc9/fc9904446553e67dd44954310fea26d751a0df5d/
http://autobuild.buildroot.net/results/501/501a12da25615071fb6197a898456cfe41a6451d/
http://autobuild.buildroot.net/results/34e/34e2fbb4d39737fd7defa5bd607726d52ef38568/
http://autobuild.buildroot.net/results/722/7220c3905ebe9e081f1e3b90641b0859d996c2ac/
http://autobuild.buildroot.net/results/ffd/ffdc531d8cf9adb43340d045aa88eb0b39fc9bb7/
http://autobuild.buildroot.net/results/b4f/b4f238bcb30b0191ce1a2be669fa792c8ccd3e69/

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopckage/ncurses: fix pkg-config files for ncursesw
Yann E. MORIN [Sun, 14 Dec 2014 16:04:40 +0000 (17:04 +0100)]
pckage/ncurses: fix pkg-config files for ncursesw

Currently, ncurses creates symlinks from the non-'w' variants to the
equivalent 'w' variant, but forgets to do so for pkg-config files.

Do that for the pkg-config files too.

Should fix numerous autobuild failures:
    http://autobuild.buildroot.net/results/3c4/3c44dfc6e3f151bef751f39cac336fef3d6a0099/
    http://autobuild.buildroot.net/results/38c/38c81407bb8d0677e87b3a01f9a1fc1372ab4738/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ncurses: trim leading 'lib' from definition of libs to install
Yann E. MORIN [Sun, 14 Dec 2014 16:04:39 +0000 (17:04 +0100)]
package/ncurses: trim leading 'lib' from definition of libs to install

Currently, ncurses creates symlinks from the non-'w' variants to the
equivalent 'w' variant, but forgets to do so for pkg-config files.

To be able to share the same list between the libraries and the
pkg-config files to symlink, just trim the 'lib' prefix of libraries in
the definition, and just add it back at the time we need it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ncurses: slight code re-arrangement
Yann E. MORIN [Sun, 14 Dec 2014 16:04:38 +0000 (17:04 +0100)]
package/ncurses: slight code re-arrangement

Move the definition of libraries to install before it is actually used.

Also, in a coming changeset, it will also be used to know which
pkg-config files to symlink.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ncurses: fix shared-only libs
Yann E. MORIN [Sun, 14 Dec 2014 16:04:37 +0000 (17:04 +0100)]
package/ncurses: fix shared-only libs

For a shared-only build, do not create the symlinks to the static
libraries, since they do not exist.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/gpsd: remove duplicate dependency
Yann E. MORIN [Sun, 14 Dec 2014 16:04:36 +0000 (17:04 +0100)]
package/gpsd: remove duplicate dependency

No need to duplicate the host-pkgconf dependency on the Qt case, we
already depend on it in the general case.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibyaml: add security patch for CVE-2014-9130
Gustavo Zacarias [Mon, 15 Dec 2014 20:55:10 +0000 (17:55 -0300)]
libyaml: add security patch for CVE-2014-9130

Fixes: assert failure when processing wrapped strings (CVE-2014-9130).
See https://bugzilla.redhat.com/show_bug.cgi?id=1169369

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/collectd: fix build without libgcrypt
Yann E. MORIN [Fri, 12 Dec 2014 22:51:33 +0000 (23:51 +0100)]
package/collectd: fix build without libgcrypt

In case the libgcrypt development files are present on the host system,
collectd's ./configure will mistakenly try to use them and will call the
host system's libgcrypt-config, thus leading it to use path to the host
system includes and libraries.

Fix that in two ways:
  - explicitly disable libgcrypt support when libgcrypt is not enabled;
  - pass the complete path to libgcrypt-config when libgcrypt is enabled.

However, collectd's configure.ac is utterly broken. The code in
configure.ac has special code to check for libgcrypt-config, and use
whatever is provided via --with-libgcrypt=/path/to/libgcrypt-config. But
that is promptly forgotten because they then call the AM_PATH_LIBGCRYPT
macro, that just does it all again from scratch, and does not use the
value previously found.

Instead, we set LIBGCRYPT_CONFIG in the environment and point it to our
own libgcrypt-config.

Should fix numerous build issues:
    http://autobuild.buildroot.net/results/ad4/ad408aef5fb92fe9e031c7dbaf6999776b40ace4/
    http://autobuild.buildroot.net/results/967/96735bfa91bcf2e3dff89f69c0a12ed406e9efb9/
    ...
    http://autobuild.buildroot.net/results/3bd/3bdd9bdffb1d55414787d38fc2656d7a3391a957/
    ...

(the first two are with the paranoid wrapper, the third one was before
the paranoid wrapper.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{12, 2}.x series
Gustavo Zacarias [Mon, 15 Dec 2014 16:34:19 +0000 (13:34 -0300)]
linux-headers: bump 3.{12, 2}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibgpgme: bump to version 1.5.3
Gustavo Zacarias [Mon, 15 Dec 2014 12:57:20 +0000 (09:57 -0300)]
libgpgme: bump to version 1.5.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoethtool: bump to version 3.18
Gustavo Zacarias [Mon, 15 Dec 2014 12:52:02 +0000 (09:52 -0300)]
ethtool: bump to version 3.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoblktrace: really fix parallel build issue
Peter Korsgaard [Sun, 14 Dec 2014 20:56:14 +0000 (21:56 +0100)]
blktrace: really fix parallel build issue

Fixes:
http://autobuild.buildroot.net/results/dd4/dd47b3ca17bdb597d6b12de6b381cf5f25abaf71/
http://autobuild.buildroot.net/results/a84/a842234fbdc8f65d48089b90ee23523540a7091f/
http://autobuild.buildroot.net/results/e63/e6351692ad6aef397e68ffdf107f3a85e4490015/

And many more.

Commit a21163aed (package/blktrace: do not build in parallel) tried to fix
the parallel build issue, but the package doesn't use the autotools package
infrastructure so BLKTRACE_MAKE isn't used.  Instead replace the explicit
$(MAKE) calls with $(MAKE1).

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tvheadend: rename patches to new convention
Bernd Kuhls [Sun, 14 Dec 2014 09:53:31 +0000 (10:53 +0100)]
package/tvheadend: rename patches to new convention

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tvheadend: Bump version
Bernd Kuhls [Sun, 14 Dec 2014 09:53:30 +0000 (10:53 +0100)]
package/tvheadend: Bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tvheadend: Fix inclusion of DVB frequency tables in bundled build
Bernd Kuhls [Sun, 14 Dec 2014 09:53:29 +0000 (10:53 +0100)]
package/tvheadend: Fix inclusion of DVB frequency tables in bundled build

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mesa3d: Bump version to 10.4.0
Bernd Kuhls [Sun, 14 Dec 2014 17:29:55 +0000 (18:29 +0100)]
package/mesa3d: Bump version to 10.4.0

- removed mesa3d-0002-execinfo_h.patch, applied upstream
- renamed remaining patch according to new convention

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/librtlsdr: fix build failure
Samuel Martin [Sun, 14 Dec 2014 17:45:54 +0000 (18:45 +0100)]
package/librtlsdr: fix build failure

Disable run test for pthread detection.

In case of build with only static library, CMake fails to detect the
pthread library (-lpthread), so it falls back trying to link using
-pthread and execute the test program.

<snip>
  [...]
  -- Looking for include file pthread.h
  -- Looking for include file pthread.h - found
  -- Looking for pthread_create in pthreads
  -- Looking for pthread_create in pthreads - not found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - not found
  -- Check if compiler accepts -pthread
  CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
     THREADS_PTHREAD_ARG (advanced)
  For details see /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/TryRunResults.cmake
  -- Check if compiler accepts -pthread - no
  -- Found Threads: TRUE
  -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON
  -- Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable
  -- Building for version: 0.5.3 / 0.5.3
  -- Using install prefix: /usr
  -- Configuring incomplete, errors occurred!
  See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeOutput.log".
  See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeError.log".
</snip>

Here it fails because, in the CMake FindThreads.cmake file, the
'try_run' function is unconditionally called [1].

Also, the CMakeError.log gives more details why linking with -lpthread
fails:

<snip>
  [...]
  Run Build Command:"/usr/bin/make" "cmTryCompileExec3012181287/fast"
  make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  /usr/bin/make -f CMakeFiles/cmTryCompileExec3012181287.dir/build.make CMakeFiles/cmTryCompileExec3012181287.dir/build
  make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1
  Building C object CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o
  /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc   -pipe -Os -static  -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o   -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckFunctionExists.c
  Linking C executable cmTryCompileExec3012181287
  /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3012181287.dir/link.txt --verbose=1
  /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc  -pipe -Os -static  -DCHECK_FUNCTION_EXISTS=pthread_create  -static  CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o  -o cmTryCompileExec3012181287 -rdynamic -lpthread -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic
  /home/buildroot/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(init.os): In function `__pthread_initialize_minimal':
  init.c:(.text+0x270): undefined reference to `__libc_setup_tls'
  collect2: error: ld returned 1 exit status
  CMakeFiles/cmTryCompileExec3012181287.dir/build.make:89: recipe for target 'cmTryCompileExec3012181287' failed
  make[2]: *** [cmTryCompileExec3012181287] Error 1
  make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  Makefile:118: recipe for target 'cmTryCompileExec3012181287/fast' failed
  make[1]: *** [cmTryCompileExec3012181287/fast] Error 2
  make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'

  Determining if compiler accepts -pthread returned PLEASE_FILL_OUT-FAILED_TO_RUN instead of 2. The compiler had the following output:
  Change Dir: /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp

  Run Build Command:"/usr/bin/make" "cmTryCompileExec1361818630/fast"
  make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  /usr/bin/make -f CMakeFiles/cmTryCompileExec1361818630.dir/build.make CMakeFiles/cmTryCompileExec1361818630.dir/build
  make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1
  Building C object CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o
  /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc   -pipe -Os -static     -o CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o   -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckForPthreads.c
  Linking C executable cmTryCompileExec1361818630
  /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1361818630.dir/link.txt --verbose=1
  /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc  -pipe -Os -static    -static  CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o  -o cmTryCompileExec1361818630 -rdynamic -pthread
  make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
  make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp'
</snip>

While falling back on -pthread is correct when using only static
libraries to get some tls-related macros defined [2,3], it is wrong to
try to run the test program in case of cross-compilation.

So, this patch only disable run test when pthread support is done using
-pthread, i.e. in case of the type of libraries is "static only".

Fixes:
  http://autobuild.buildroot.org/results/26c/26cb8c2e5f867d49451f61304bf0a1a6f7b825d9/

[1] http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=a0bc4d133eb3f9d3ae096f0e03e419ef7be66ce8;hb=HEAD#l84
[2] http://lists.busybox.net/pipermail/buildroot/2014-June/100690.html
[3] http://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiprutils: bump to version 2.4.5
Romain Naour [Fri, 12 Dec 2014 23:30:34 +0000 (00:30 +0100)]
iprutils: bump to version 2.4.5

Rebase patch 0003 on top of 2.4.5 release.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiprutils: use correct include path for ncurses
Peter Korsgaard [Sun, 14 Dec 2014 19:42:39 +0000 (20:42 +0100)]
iprutils: use correct include path for ncurses

The Makefile is hardcoded for /usr/include/ncurses, so override it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reported-by: Romain Naour <romain.naour@openwide.fr>
9 years agoiprutils: rename patches to follow the new name convention
Romain Naour [Fri, 12 Dec 2014 23:30:32 +0000 (00:30 +0100)]
iprutils: rename patches to follow the new name convention

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/w_scan: needs headers >= 3.7
Yann E. MORIN [Sun, 14 Dec 2014 17:28:23 +0000 (18:28 +0100)]
package/w_scan: needs headers >= 3.7

w_scan uses FEC_2_5, introduced in Linux 3.7.

Also fix the comment, that was stuck to headers 3.0 when we were
requesting headers >= 3.3.

Fixes:
    http://autobuild.buildroot.org/results/bb9/bb97bff1bf7774ebd43ba2107d84520538e530cf/
    http://autobuild.buildroot.org/results/9c2/9c28dcaf3d3bb65977d565e4fbbc25d51d45ac41/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/faad2: add hash
Yann E. MORIN [Sun, 14 Dec 2014 18:21:57 +0000 (19:21 +0100)]
package/faad2: add hash

Upstream do not host the files, they are hosted on SourceForge; SF has
both sha1 and md5, so use the sha1.

Also add a strong, locally computed hash.

Should fix build failures for which sourceforge sends garbage:
    http://autobuild.buildroot.org/results/f0a/f0a36c78fd910bc0aea54df4b76ab8a0f82f7ae4/
    http://autobuild.buildroot.org/results/3d6/3d6134c71e57238d4d865040eac9f34e2d17844c/
    http://autobuild.buildroot.org/results/232/2323f72f9b08ef8e20ec67a5aebfadd5b469a298/
    ...

[Peter: use correct sha1, add link to upstream page listing it]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nmap: fix shared-only build
Yann E. MORIN [Sun, 14 Dec 2014 11:51:31 +0000 (12:51 +0100)]
package/nmap: fix shared-only build

Changeset f1d3e09 (Build shared libraries only as the default) broke the
nmap package.

nmap builds an internal version of libdnet, and tries to statically link
against it. Of course, this breaks for shared-only builds, since in that
case there is no static lib ever built.

Using an external libdnet is not really an option:

  - libdnet comes from dnprogs, from the linux-decnet project;
    unfortunately, their build-system is not amenable to
    cross-compilation, and is a real pain to deal with;

  - nmap's bundled libdnet is anyway heavily modified, which precludes
    using an external libdnet.

Fix that by considering libdnet to be a purely internal library, and by
configuring it with --enable-static, always.

nmap's ./configure uses AC_CONFIG_SUBDIRS() to configure the libdnet
sub-directory; AC_CONFIG_SUBDIRS() calls ./configure in all the
sub-directories it is passed as arguments. Unfortunately, it is not
possible to specify extra ./configure arguments whith AC_CONFIG_SUBDIRS.

We are using an autoconf trick, which is, when configuring
sub-directories with AC_CONFIG_SUBDIRS(), it will first try to execute
configure.gnu if it exists, before it fallbacks to running plain
configure. See:
    https://www.gnu.org/software/autoconf/manual/autoconf.html#Subdirectories

So, we provide a configure.gnu that is just a wrapper around the real
configure, which sole purpose is to append --enable-static when calling
the real configure.

Note1: since this libdnet is considered a purely internal library, we
also always pass --disable-shared, since it is not needed at all.

Note2: since this libdnet is considered a purely internal library, it
should not be exposed to other packages, and thus nmap does not install
it, neither in target nor in staging, neither static nor shared, which
is what we want.

[Peter: explain why post-patch hook is used]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Acked-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mesa3d: bump version to 10.3.5
Bernd Kuhls [Sun, 14 Dec 2014 12:52:58 +0000 (13:52 +0100)]
package/mesa3d: bump version to 10.3.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolegacy: update the BR2_PREFER_STATIC_LIB option
Samuel Martin [Sun, 14 Dec 2014 16:24:24 +0000 (17:24 +0100)]
legacy: update the BR2_PREFER_STATIC_LIB option

Since the refactoring of the type of libraries in the target filesystem,
these options belong to a choice, and the default is "shared only".

The former option BR2_PREFER_STATIC_LIB has been moved in the legacy
menu, and only selects the BR2_STATIC_LIBS ("static only") option.
However, because BR2_STATIC_LIBS belongs to a choice, when
BR2_PREFER_STATIC_LIB is selected, it does not affect the choice.
So, existing Buildroot configurations, which have BR2_PREFER_STATIC_LIB
set, will silently end with BR2_SHARED_LIBS ("shared only") enabled.

So, the backward compatibility is not kept.

Besides, the legacy BR2_PREFER_STATIC_LIB option does not select
BR2_LEGACY, so the user is not notified of this legacy option, and the
build silently continues with some undesired changes.

This patch removes the inefficient BR2_STATIC_LIBS selection, correctly
selects the BR2_LEGACY option and extend the help message so the user
can easily know how to update his/her Buildroot configuration.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
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 agopackage/blktrace: do not build in parallel
Yann E. MORIN [Sun, 14 Dec 2014 16:31:07 +0000 (17:31 +0100)]
package/blktrace: do not build in parallel

The Makefile is not parallel safe.

Fixes numerous build failures:
    http://autobuild.buildroot.org/results/c7f/c7f0b22c6d256c75ade223af702c5f29c6c677d8/
    http://autobuild.buildroot.org/results/4ab/4abb0d2590528c634766103ee8ffd648ad5c04d3/
    ...

Look for the message:
    btreplay.o: file not recognized: File truncated

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: fixing shared/static handling
Angelo Compagnucci [Sat, 13 Dec 2014 22:00:52 +0000 (23:00 +0100)]
package/mono: fixing shared/static handling

Mono should always be compiled with --enable-static, this patch forces
--enable-static also in case of shared only libraries.

Fixes:
http://autobuild.buildroot.net/results/e739d64011fb6a24ccbef136d75944f3bd2eba03/
http://autobuild.buildroot.net/results/7ebe6909da859507639f57da2d4fee46efc062d4/
http://autobuild.buildroot.net/results/03c2243080b026b0c6f4bb64e7dc8dc359f0c8c2/
http://autobuild.buildroot.net/results/406bf830ae84cf9ce4afd5a4ddc265197df42b44/
http://autobuild.buildroot.net/results/894a3e0627244b5e1980c3840629b4627999d252/
http://autobuild.buildroot.net/results/2dad2609834564060dc090919c128b45e289102e/
http://autobuild.buildroot.net/results/46de32cbe68b614763a72303490515f80cfe5bfd/
http://autobuild.buildroot.net/results/b167d2660ca37b896ceb8f1372d88eda6d6397d7/
http://autobuild.buildroot.net/results/17b6aee3d0aaf425412f9f5d89de665de9efedb8/
http://autobuild.buildroot.net/results/af9e5203299819085441fb6ee27e027d58f220b3/
http://autobuild.buildroot.net/results/138e5bd9bd0e2ad6de13278b446d1a48a9b64b17/
http://autobuild.buildroot.net/results/b77d52aaa5face5d5b8afe39f9a32a51b1df500f/

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoprboom: Use lowercase for kconfig option text
Peter Korsgaard [Sun, 14 Dec 2014 08:52:11 +0000 (09:52 +0100)]
prboom: Use lowercase for kconfig option text

Like elsewhere in Buildroot.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoprboom: fix static linking
Peter Korsgaard [Sat, 13 Dec 2014 23:14:40 +0000 (00:14 +0100)]
prboom: fix static linking

Fixes:
http://autobuild.buildroot.net/results/97b/97bb50add010e44aca8fcb079d8df9270d3cae45/
http://autobuild.buildroot.net/results/a96/a969fd15a652df96c2414cf0c5f2e345d38e6e6c/
http://autobuild.buildroot.net/results/9ba/9ba92c01b2c6b6eae2dcda60c2b80d66d2002d4b/
http://autobuild.buildroot.net/results/776/776394ba89070ee2fa6e81585078df0a0e2ae3f2/

And many more.

SDL_mixer uses symbols from SDL, but ends up after it on the link cmdline,
breaking static linking. Fix it by forcing the SDL libs at the very end.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoboa: add a hash file
Vicente Olivert Riera [Fri, 12 Dec 2014 09:59:00 +0000 (09:59 +0000)]
boa: add a hash file

It will clarify errors like this one:
  http://autobuild.buildroot.net/results/b71/b71084d67d33e80cde9478dcf5a89511479cb95e/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libtirpc: add hash file
Yann E. MORIN [Fri, 12 Dec 2014 23:23:55 +0000 (00:23 +0100)]
package/libtirpc: add hash file

Should fix autobuild failures due to SourceForce sending garbage from
time to time:
    http://autobuild.buildroot.net/results/acc/acc086e04da324621c715962585dbdd80e04b74e/
    http://autobuild.buildroot.net/results/acc/acc086e04da324621c715962585dbdd80e04b74e/
    http://autobuild.buildroot.net/results/ca0/ca084460c06f5b69ad35080cd347554a2c53f2a8/

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/opkg: disable tests and manpages
Yann E. MORIN [Sat, 13 Dec 2014 13:28:27 +0000 (14:28 +0100)]
package/opkg: disable tests and manpages

Changeset f1d3e09 (Build shared libraries only as the default) broke the
opkg package.

opkg wants to link its testsuite statically with the internal libopkg.
But in a shared-only build, there is no static library.

Since for Buildroot we do not care about tests, just disable them.

Fixes numerous build failures;
    http://autobuild.buildroot.net/results/ddf/ddf4b38c1df73b00b76be71db3f1eb8b1d932c55/
    http://autobuild.buildroot.net/results/c1c/c1c9a21b6583c9ef3ddd32681bb13cf91a218e8c/
    http://autobuild.buildroot.net/results/284/284bf7d6f9cebf8633143ca1ce15154de941805f/
    ...

Disable manpages at the same time.

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 agoliblo: add hash file
Peter Korsgaard [Sat, 13 Dec 2014 21:31:57 +0000 (22:31 +0100)]
liblo: add hash file

Fixes:
http://autobuild.buildroot.net/results/579/579df46b1fdb46fa5ec0fd28324cf28b7c06b5bb/
http://autobuild.buildroot.net/results/f20/f2023b000b3ef8d459bba04a29f58be88246cb46/
http://autobuild.buildroot.net/results/e2a/e2acf1f0355df709836e92e4382019b6e8f77978/
http://autobuild.buildroot.net/results/5b9/5b9c2a678a0950def2aeaf7e5809386c5923e974/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoebtables: add hash file
Baruch Siach [Sat, 13 Dec 2014 19:17:49 +0000 (21:17 +0200)]
ebtables: add hash file

Should clean up download failures like:
http://autobuild.buildroot.net/results/3c6/3c6b15a3d7ba84b7b3c257089569e2f615ec81b2/
http://autobuild.buildroot.net/results/4ee/4ee41e1616184687f56c9e3095885549ac4767d2/
http://autobuild.buildroot.net/results/9c6/9c623e3d9fde75b3dc1724909f6dc9738b12a207/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopcre: add a patch fixing CVE-2014-8964
Baruch Siach [Sat, 13 Dec 2014 18:34:04 +0000 (20:34 +0200)]
pcre: add a patch fixing CVE-2014-8964

Patch taken from the Debian package.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopcre: rename patches to new convention
Baruch Siach [Sat, 13 Dec 2014 18:34:03 +0000 (20:34 +0200)]
pcre: rename patches to new convention

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/berkeleydb: fix shared-only build
Yann E. MORIN [Fri, 12 Dec 2014 18:18:51 +0000 (19:18 +0100)]
package/berkeleydb: fix shared-only build

Changeset f1d3e09 (Build shared libraries only as the default) broke the
berkeleydb package.

For some reason, we had a very strange post-configure action in bdb:
        $(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile

This means that it is using non-libtool object files. This breaks
building shared-only.

This code has been present almost the whole time we've had a berkeleydb
package, that is:
  - November 2003: use a sed expression instead of perl
  - March 2003   : use a perl program
  - August 2002  : introduce berkeleydb

Getting rid of this sed expression fixes the build, and allows building
the three new static/shared combinations: static only, shared only,
both static and shared.

Fixes numerous build failures:
    http://autobuild.buildroot.net/results/b41/b41e13ec6c13830667770b3731f8990062f202bd/
    http://autobuild.buildroot.net/results/925/925433ef505b190aa5ac83c23e9359afe4b21829/
    http://autobuild.buildroot.net/results/9af/9afa0dd835af079411a2ea5d94e5e4db7c993111/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoerlang: bump to version 17.4
Frank Hunleth [Fri, 12 Dec 2014 19:11:23 +0000 (14:11 -0500)]
erlang: bump to version 17.4

Erlang/OTP 17.4 is a service release on the 17 track with mostly bug
fixes, but it does contain a number of new features and characteristics
improvements as well.

Some highlights of the release are:

  - eldap: Nearly all TCP options are possible to give in the
    eldap:open/2 call.
  - ssh: Added API functions ptty_alloc/3 and ptty_alloc/4, to allocate a
    pseudo tty.
  - ssl: Handle servers that may send an empty SNI extension to the client.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nettle: fix shared-only build
Yann E. MORIN [Fri, 12 Dec 2014 21:27:48 +0000 (22:27 +0100)]
package/nettle: fix shared-only build

Changeset f1d3e09 (Build shared libraries only as the default) broke the
nettle package.

nettle really wants to statically link its tools, examples and testsuite
against its own libraries. But for a shared-only build, static libraries
are not even built, so the build breaks when trying to link any of them.

Fix that in two ways:

  - the proper way, by using whatever libraries are available, with a
    preference toward using shared libraries;

  - disabling both examples and testsuite since we do not need them.

Fixes numerous build failures:
    http://autobuild.buildroot.net/results/e93/e93da743c5b84b1bb6274aeee3fe3b52962c560c/
    http://autobuild.buildroot.net/results/51d/51d0138ff39c45603315dcedf1f654c18604e1a8/
    http://autobuild.buildroot.net/results/521/521d979658e402103f1a18fcfeab3f9705f0c000/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>