buildroot.git
9 years agontp: adjust initscript
Gustavo Zacarias [Mon, 22 Dec 2014 14:27:01 +0000 (11:27 -0300)]
ntp: adjust initscript

Use proper status messages, make spacing standard instead of a mix of
spacing/tabbing, drop boringly obvious comment from the header.
Also make reload = restart since ntpd doesn't handle reloading resulting
in the old reload being 'stop'.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agontp: update sample config
Gustavo Zacarias [Mon, 22 Dec 2014 14:27:00 +0000 (11:27 -0300)]
ntp: update sample config

Drop redundant IP version and double default restrict.
Tweak KoD and other defaults for properness.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agontp: security bump to version 4.2.8
Gustavo Zacarias [Mon, 22 Dec 2014 14:26:59 +0000 (11:26 -0300)]
ntp: security bump to version 4.2.8

Fixes:

CVE-2014-9293 - ntpd generated a weak key for its internal use, with
full administrative privileges.  Attackers could use this key to
reconfigure ntpd (or to exploit other vulnerabilities).

CVE-2014-9294 - The ntp-keygen utility generated weak MD5 keys with
insufficient entropy.

CVE-2014-9295 - ntpd had several buffer overflows (both on the stack and
in the data section), allowing remote authenticated attackers to crash
ntpd or potentially execute arbitrary code.

CVE-2014-9296 - The general packet processing function in ntpd did not
handle an error case correctly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agof2fs-tools: bump to version 1.4.0
Gustavo Zacarias [Mon, 22 Dec 2014 15:43:46 +0000 (12:43 -0300)]
f2fs-tools: bump to version 1.4.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouemacs: bump to latest version
Baruch Siach [Mon, 22 Dec 2014 18:19:43 +0000 (20:19 +0200)]
uemacs: bump to latest version

Adds support for displaying more than 127 lines.

Also, switch to a git tree that carries the latest version.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouemacs: fix "homepage" link
Baruch Siach [Mon, 22 Dec 2014 18:19:42 +0000 (20:19 +0200)]
uemacs: fix "homepage" link

The latest version is only available from git.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoliblinear: fix shared library build when -fPIC is required
Baruch Siach [Mon, 22 Dec 2014 17:50:38 +0000 (19:50 +0200)]
liblinear: fix shared library build when -fPIC is required

Some architectures require building with -fPIC for shared libraries. -fPIC is
present in upstream Makefile but we override CFLAGS when running make. Add
-fPIC back when building shared libraries.

Fixes:
http://autobuild.buildroot.net/results/5d6/5d63bf2f1af7977ff81116e767b399d4d0a30a99/
http://autobuild.buildroot.net/results/47d/47d62d66c65cc77da9d48981ca6612257e616a90/
http://autobuild.buildroot.net/results/c81/c816a0982733595438ed7ad90ae1231001c285cc/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/erlang-rebar: new host package
Yann E. MORIN [Tue, 9 Dec 2014 14:34:07 +0000 (15:34 +0100)]
package/erlang-rebar: new host package

rebar is used to compile Erlang packages.

We need  host variant so as to be able to provide it to Erlang packages
that do not bundle their own version, or bundle a broken version.

Since this is a host-only package, used only internally, we do not
provide a Kconfig option for it. Packages that need it will depend on
it.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[yann.morin.1998@free.fr: extract host-rebar to its own patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGS
Peter Kümmel [Mon, 22 Dec 2014 08:34:18 +0000 (09:34 +0100)]
busybox: Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGS

Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopkg: bump to 0.2.4 and fix build failure
Thomas Petazzoni [Mon, 22 Dec 2014 08:49:15 +0000 (09:49 +0100)]
opkg: bump to 0.2.4 and fix build failure

This commit bumps opkg to 0.2.4, and adds a new patch to fix a build
failure apparently caused by the recent bump of the libtool version:

  http://autobuild.buildroot.org/results/5fc/5fc9fa24563213d1ad77e55ab52c8e59bf21055f/

It also refreshes the existing patch, turns it into a Git formatted
patch, and fixes a typo in its title.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoliblinear: requires C++ support
Thomas Petazzoni [Mon, 22 Dec 2014 08:30:44 +0000 (09:30 +0100)]
liblinear: requires C++ support

Fixes:

  http://autobuild.buildroot.org/results/1be/1be890ece519ebc0d0ff4f3f31abc06eb0b7356c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Mon, 22 Dec 2014 08:12:05 +0000 (09:12 +0100)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mysql: do not force a static build for internal programs
Yann E. MORIN [Mon, 22 Dec 2014 00:00:06 +0000 (01:00 +0100)]
package/mysql: do not force a static build for internal programs

mysql wants to statically link some of the programs it uses internally,
like conf_to_src (whatever it is used for) which links against -lz.

This does not work for a shared-only build, as we would be missing
libz.a in that case.

Fix that by not forcing static builds for internal programs.

Fixes a slew of autobuild failures:
    http://autobuild.buildroot.net/results/018/018a579f37c9c8eca5a36fc76e93508dcf9bba35/
    http://autobuild.buildroot.net/results/2cc/2cc481b0ae43713a6fc50a1ca720f91384892af7/
    http://autobuild.buildroot.net/results/d98/d985c5824f9012374d64e6085d6c8ec9b3cd932b/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mysql: rename patches to the new convention
Yann E. MORIN [Mon, 22 Dec 2014 00:00:05 +0000 (01:00 +0100)]
package/mysql: rename patches to the new convention

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopinentry: remove non-existent configure options for Qt3 and GTK+1
Vicente Olivert Riera [Fri, 12 Dec 2014 15:59:07 +0000 (15:59 +0000)]
pinentry: remove non-existent configure options for Qt3 and GTK+1

Qt3 and GTK+1 support were removed by this commit:
  http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=commit;h=f2ed42297528f2a126d189c6181d3105ceecca22

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorsyslog: install systemd services links
Thierry Bultel [Fri, 12 Dec 2014 22:39:56 +0000 (23:39 +0100)]
rsyslog: install systemd services links

Signed-off-by: Thierry Bultel <tbultel@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: bump to version 2014.10
Jörg Krause [Fri, 12 Dec 2014 23:15:58 +0000 (00:15 +0100)]
boot/uboot: bump to version 2014.10

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot/uboot.mk: Strip quotes from BR2_TARGET_UBOOT_SPL_NAME
Jörg Krause [Fri, 12 Dec 2014 23:16:07 +0000 (00:16 +0100)]
boot/uboot/uboot.mk: Strip quotes from BR2_TARGET_UBOOT_SPL_NAME

Remove the quotes from the BR2_TARGET_UBOOT_SPL_NAME variable.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL_NAME
Jörg Krause [Fri, 12 Dec 2014 23:16:06 +0000 (00:16 +0100)]
boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL_NAME

Point out that the SPL name is an image name.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL
Jörg Krause [Fri, 12 Dec 2014 23:16:05 +0000 (00:16 +0100)]
boot/uboot/Config.in: Fix BR2_TARGET_UBOOT_SPL

Building an SPL image depends on the board configuration. This option
does not enable the SPL build, but only copies the built SPL image to
the binary images folder. The current help text is misleading.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/guile: rename patch to new convention
Samuel Martin [Sat, 13 Dec 2014 17:43:07 +0000 (18:43 +0100)]
package/guile: rename patch to new convention

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosamba: Swap libnss_win*.so* files and symlinks
Benoît Thébaudeau [Sun, 14 Dec 2014 15:28:16 +0000 (16:28 +0100)]
samba: Swap libnss_win*.so* files and symlinks

The libnss_wins and libnss_winbind libraries were installed in this way:
/lib/libnss_<service>.so
/lib/libnss_<service>.so.<major> -> /lib/libnss_<service>.so

This had been done like this in order to get something similar to the
other NSS libraries, which are usually installed in this way:
/lib/libnss_<service>-<version>.so
/lib/libnss_<service>.so.<major> -> /lib/libnss_<service>-<version>.so

However, besides these files, these other NSS libraries usually come
installed with:
/usr/lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>

This means that the NSS libraries follow the usual library installation
practice, i.e. that the non-versioned .so is a symlink to the versioned
.so, so that switching versions is easy. In the case of the NSS
libraries, the versioned .so is just also a symlink to a .so with a more
accurate version.

Hence, follow the same rules for libnss_win*.so*, and install these
libraries the other way around:
/lib/libnss_<service>.so -> /lib/libnss_<service>.so.<major>
/lib/libnss_<service>.so.<major>

This is also how these libraries are installed by a major OS like Ubuntu
14.10:
/lib/x86_64-linux-gnu/libnss_winbind.so -> libnss_winbind.so.2
/lib/x86_64-linux-gnu/libnss_winbind.so.2
/lib/x86_64-linux-gnu/libnss_wins.so -> libnss_wins.so.2
/lib/x86_64-linux-gnu/libnss_wins.so.2

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoliblinear: new package
Romain Naour [Sun, 14 Dec 2014 17:20:30 +0000 (18:20 +0100)]
liblinear: new package

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: add ability to build a static lib; handle
static-only and static+shared cases]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/pkg-cmake.mk: add ccache support for host packages
Samuel Martin [Sun, 14 Dec 2014 19:12:01 +0000 (20:12 +0100)]
package/pkg-cmake.mk: add ccache support for host packages

This ccache support for host-cmake-package uses the same logic as the
one done for the target packages in the toolchainfile.cmake file.

[Thomas: fix lots of mistakes.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/pinentry: allow building without Qt accessibility
Yann E. MORIN [Sun, 14 Dec 2014 22:35:59 +0000 (23:35 +0100)]
package/pinentry: allow building without Qt accessibility

Backport a patch applied upstream to allow building without Qt
accessibility.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/pinentry: fix include paths
Yann E. MORIN [Sun, 14 Dec 2014 22:35:58 +0000 (23:35 +0100)]
package/pinentry: fix include paths

The pinentry tarball contains generated .moc files that contains
incorrect include paths: they are probably specific to the machine of
the user who generated the tarball.

Fix those paths.

Fixes numerous autobuild failures:
    http://autobuild.buildroot.org/results/96c/96c68e9a6c528e15016cb10f0f73e52f58815bec/
    http://autobuild.buildroot.org/results/50e/50ecb6b347ab4970c701b1aed7b42518fef9a52c/
    http://autobuild.buildroot.org/results/fcb/fcbe8b971ef37c0e7c458bc32295a89be9872b61/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibiio: new package
Paul Cercueil [Tue, 16 Dec 2014 09:34:06 +0000 (10:34 +0100)]
libiio: new package

Libiio is a library to ease the development of software interfacing
Linux Industrial I/O (IIO) devices.

http://wiki.analog.com/resources/tools-software/linux-software/libiio

[Thomas:
 - Remove changelog from the commit log.
 - Rename init script to S99iiod instead of S99iiod.sh
 - Remove "status" command from init script, and implement "restart"
   instead.
 - Add dependency on thread support in toolchain.
 - Fixup indentation in the .mk file.
 - Fixup wrapping in the Config.in help text.]

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gdb: fix shared-only build
Romain Naour [Wed, 17 Dec 2014 21:37:05 +0000 (22:37 +0100)]
package/gdb: fix shared-only build

The shared build only of gdb is actually not supported.

When --disable-static is given to the gdb's main configure script,
it also disable the static build of bundled libraries like bfd, readline
and opcodes, which must be build statically.

Force the static build of bundled libraries by adding --enable-static in
GDB_CONF_OPTS.

Fixes:
http://autobuild.buildroot.net/results/219/21979e730dca1fce5bdda9a4c7fad4485e788866/
http://autobuild.buildroot.net/results/c10/c1096d0bd22de5c6feba848f743601ad0416a944/
http://autobuild.buildroot.net/results/d8a/d8a5bcc7fa374fb0c916a9d0f33ef283109cb404/
http://autobuild.buildroot.net/results/22a/22a86d0f1df0fc4698c0f734f3d659e6317404a4/
http://autobuild.buildroot.net/results/404/404e61e5c30040ee5756f4b5839149dca38660d4/

And many more.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: get rid of -pipe from optimisations
Yann E. MORIN [Sun, 21 Dec 2014 13:00:25 +0000 (14:00 +0100)]
toolchain: get rid of -pipe from optimisations

-pipe is causing some build failures in Linux kernel >= 3.17.

Also, nowadays, using -pipe does not gain as much as it used to back in
the days:

Measurements made with a 3.16.7 Linux kernel:
    make linux-depends
    time sh -c 'make linux-build >/dev/null 2>&1'

Without -pipe:
    716.32user 54.44system 3:42.12elapsed 346%CPU
    721.22user 54.47system 3:41.81elapsed 349%CPU
    722.44user 54.00system 3:42.13elapsed 349%CPU
    721.03user 53.81system 3:41.92elapsed 349%CPU
    713.21user 53.63system 3:40.51elapsed 347%CPU
    706.67user 52.42system 3:38.40elapsed 347%CPU
    714.40user 53.18system 3:40.16elapsed 348%CPU
    706.01user 53.09system 3:37.87elapsed 348%CPU
    705.98user 53.01system 3:38.03elapsed 348%CPU
    714.17user 53.55system 3:39.98elapsed 348%CPU
Average:                   3:40.29elapsed

With -pipe:
    720.13user 53.90system 3:41.98elapsed 348%CPU
    713.38user 53.69system 3:40.44elapsed 347%CPU
    711.60user 52.81system 3:39.06elapsed 348%CPU
    708.66user 53.09system 3:38.59elapsed 348%CPU
    711.76user 53.00system 3:38.48elapsed 350%CPU
    717.85user 53.97system 3:41.77elapsed 348%CPU
    716.77user 53.77system 3:40.91elapsed 348%CPU
    717.48user 53.65system 3:41.24elapsed 348%CPU
    721.44user 55.67system 3:43.45elapsed 347%CPU
    724.61user 55.63system 3:43.35elapsed 349%CPU
Average:                   3:40.93elapsed

The delta is well in the measurement noise.

Just get rid of it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>