buildroot.git
9 years agodillo: bump to version 3.0.4.1
Gustavo Zacarias [Sun, 28 Dec 2014 12:36:11 +0000 (09:36 -0300)]
dillo: bump to version 3.0.4.1

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 agolinks: bump to version 2.8
Gustavo Zacarias [Sun, 28 Dec 2014 12:31:17 +0000 (09:31 -0300)]
links: bump to version 2.8

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 agopackage/mke2img: do not overshoot user-specified size
Yann E. MORIN [Sun, 28 Dec 2014 20:11:22 +0000 (21:11 +0100)]
package/mke2img: do not overshoot user-specified size

Currently, we forcibly expand the generated filesystem by 1300 blocks
(i.e. a bit more than 1MiB) when we need to generate an ext3 or ext4
filesystem, even if the user already supplied us with the size it wants
the filesystem to be.

In that case, we overshoot what the user requested, which is bad because
the filesystem may no longer fit in the partition it is supposed to be
written into.

Only add extra blocks when we do compute the required size, not when the
user specifies the size.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosdparm: bump to version 1.09
Gustavo Zacarias [Sun, 28 Dec 2014 15:24:38 +0000 (12:24 -0300)]
sdparm: bump to version 1.09

Also add hash file.
And make the libsgutils2 support (from sg3_utils) deterministic.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: default to 2.24
Peter Korsgaard [Sun, 28 Dec 2014 11:08:51 +0000 (12:08 +0100)]
binutils: default to 2.24

2.22 is getting quite old (Nov 2011) and we've recently added 2.25. 2.24 has
been used for the "new" architectures for a while and there's no known
issues going to 2.24 for the rest, so bump the default version.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: bump to version 3.18.0
Gustavo Zacarias [Sat, 27 Dec 2014 23:45:35 +0000 (20:45 -0300)]
iproute2: bump to version 3.18.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/tmux: remove unsafe headers path
Romain Naour [Sat, 27 Dec 2014 20:34:27 +0000 (21:34 +0100)]
package/tmux: remove unsafe headers path

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/lftp: don't use host's path
Romain Naour [Sat, 27 Dec 2014 20:34:26 +0000 (21:34 +0100)]
package/lftp: don't use host's path

lftp try to link with -L/usr/lib/lftp/$(LFTP_VERSION) if
DESTDIR is not set.

Remove useless -L option which point to a location where
no libraries are installed.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibdrm: fix support for xserver with Vivante drivers
Jérôme Pouiller [Tue, 9 Dec 2014 13:46:46 +0000 (14:46 +0100)]
libdrm: fix support for xserver with Vivante drivers

[Thomas: fix minor typo in patch description.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: fix GLESv2 support
Jérôme Pouiller [Tue, 9 Dec 2014 13:46:42 +0000 (14:46 +0100)]
gpu-viv-bin-mx6q: fix GLESv2 support

Tested with:
    QMX6 board +
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
    BR2_LINUX_KERNEL=y
    BR2_LINUX_KERNEL_CUSTOM_GIT=y
    BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.congatec.com/arm/qmx6_kernel.git"
    BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9bafbcba67f7bb2a48a5e05998cecb1165aa444f"
    BR2_LINUX_KERNEL_DEFCONFIG="qmx6"
    BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
    BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
    BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-qmx6"
    BR2_PACKAGE_QT5=y
    BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
    BR2_PACKAGE_QT5BASE_EXAMPLES=y
    BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
    BR2_PACKAGE_QT5BASE_EGLFS=y
    BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
    BR2_PACKAGE_QT5BASE_GIF=y
    BR2_PACKAGE_QT5BASE_JPEG=y
    BR2_PACKAGE_QT5BASE_PNG=y
    BR2_PACKAGE_QT5QUICKCONTROLS=y
    BR2_PACKAGE_FREESCALE_IMX=y
    BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
    BR2_PACKAGE_GPU_VIV_BIN_MX6Q=y
    BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES=y

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibvncserver: add config option for tightpng encoding support
Floris Bos [Sat, 27 Dec 2014 19:12:54 +0000 (20:12 +0100)]
libvncserver: add config option for tightpng encoding support

TightPNG encoding speeds up HTML5 based VNC clients like noVNC.
libvncserver enables this encoding if both libpng and jpeg libraries
are available.

[Thomas: rewrap Config.in help text.]

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: use self-extractible helper
Jérôme Pouiller [Tue, 9 Dec 2014 13:46:40 +0000 (14:46 +0100)]
gpu-viv-bin-mx6q: use self-extractible helper

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/freerdp: do not use SSE2 extensions when not available
Yann E. MORIN [Sat, 27 Dec 2014 18:16:07 +0000 (19:16 +0100)]
package/freerdp: do not use SSE2 extensions when not available

Do not let FreeRDP decide whether it can use SE2 opcodes, it may well
fail to do so, because the heuristic is not working for
cross-compilation.

Also, we do have a Kconfig option stating whether we have SSE2 or not,
so reuse that.

Similar to the recent ARM+Neon fix.

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/freerdp: do not use Neon extensions when not available
Yann E. MORIN [Sat, 27 Dec 2014 18:16:06 +0000 (19:16 +0100)]
package/freerdp: do not use Neon extensions when not available

FreeRDP mis-detects the CPU, and may enable Neon extensions when it
should not. Not all ARM processors have Neon extensions.

Heck, what's more, none non-ARM processor has Neon extensions!
The regexp to detect the CPU is borked:  'arm*'  will also match 'arc'
as well as 'arm'.

Do not let FreeRDP try to decide if it can use Neon extensions, we have
a Kconfig option for that, that we can use to force FreeRDP to use it or
not.

Should fix:
    http://autobuild.buildroot.org/results/d4a/d4a61e686cf11d993d02ece0c4e2835a926603c2/
    http://autobuild.buildroot.org/results/234/2349d40ef8d658ab1cd7332eb1b42a75afcd423f/
   ...

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/ffmpeg: update hash
Yann E. MORIN [Sat, 27 Dec 2014 17:54:58 +0000 (18:54 +0100)]
package/ffmpeg: update hash

Last bump (dd3a2d6) forgot to update the hash for the new version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Add Kodi patchset
Thomas Petazzoni [Sat, 27 Dec 2014 17:45:06 +0000 (18:45 +0100)]
package/ffmpeg: Add Kodi patchset

In the past xbmc delivered its own ffmpeg source code with specific patches to
address bugs found during the use of xbmc. For Helix the ffmpeg source code was
removed, Helix uses a vanilla ffmpeg source tarball and applies this patchset
on top of it.

Downloaded from
https://github.com/xbmc/FFmpeg/compare/FFmpeg:release/2.5...release/2.5-xbmc.patch

[Thomas: use individual patches instead.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-audioencoder-wav: New package
Bernd Kuhls [Tue, 23 Dec 2014 17:46:41 +0000 (18:46 +0100)]
package/kodi-audioencoder-wav: New package

[Thomas: removed dependency on BR2_PACKAGE_KODI_OPTICALDRIVE from the
package Config.in, since it is already only included if
BR2_PACKAGE_KODI_OPTICALDRIVE is enabled.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-audioencoder-vorbis: New package
Bernd Kuhls [Tue, 23 Dec 2014 17:46:40 +0000 (18:46 +0100)]
package/kodi-audioencoder-vorbis: New package

[Thomas: removed dependency on BR2_PACKAGE_KODI_OPTICALDRIVE from the
package Config.in, since it is already only included if
BR2_PACKAGE_KODI_OPTICALDRIVE is enabled.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-audioencoder-lame: New package
Bernd Kuhls [Tue, 23 Dec 2014 17:46:39 +0000 (18:46 +0100)]
package/kodi-audioencoder-lame: New package

[Thomas: removed dependency on BR2_PACKAGE_KODI_OPTICALDRIVE from the
package Config.in, since it is already only included if
BR2_PACKAGE_KODI_OPTICALDRIVE is enabled.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-audioencoder-flac: New package
Bernd Kuhls [Tue, 23 Dec 2014 17:46:38 +0000 (18:46 +0100)]
package/kodi-audioencoder-flac: New package

[Thomas: removed dependency on BR2_PACKAGE_KODI_OPTICALDRIVE from the
package Config.in, since it is already only included if
BR2_PACKAGE_KODI_OPTICALDRIVE is enabled.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Enable install to STAGING_DIR, needed for audioencoder addons
Bernd Kuhls [Tue, 23 Dec 2014 17:46:37 +0000 (18:46 +0100)]
package/kodi: Enable install to STAGING_DIR, needed for audioencoder addons

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: New option to enable support for optical drives
Bernd Kuhls [Tue, 23 Dec 2014 17:46:36 +0000 (18:46 +0100)]
package/kodi: New option to enable support for optical drives

This also enables dvdcss support, provided by an internal library.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-addon-xvdr: Bump version for Helix-compatibility
Bernd Kuhls [Tue, 23 Dec 2014 17:46:35 +0000 (18:46 +0100)]
package/kodi-addon-xvdr: Bump version for Helix-compatibility

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xbmc-addon-xvdr: rename to kodi-addon-xvdr
Bernd Kuhls [Tue, 23 Dec 2014 17:46:33 +0000 (18:46 +0100)]
package/xbmc-addon-xvdr: rename to kodi-addon-xvdr

Following the rename of the XBMC project to Kodi, this commit renames
the xbmc-addon-xvdr package to kodi-addon-xvdr, and adds the
appropriate Config.in.legacy handling.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi-pvr-addons: Bump version for Helix-compatibility
Bernd Kuhls [Tue, 23 Dec 2014 17:46:32 +0000 (18:46 +0100)]
package/kodi-pvr-addons: Bump version for Helix-compatibility

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xbmc-pvr-addons: rename to 'kodi-pvr-addons'
Bernd Kuhls [Tue, 23 Dec 2014 17:46:30 +0000 (18:46 +0100)]
package/xbmc-pvr-addons: rename to 'kodi-pvr-addons'

Following the rename of the XBMC project to Kodi, this commit renames
the xbmc-pvr-addons package to kodi-pvr-addons, and adds the
appropriate Config.in.legacy handling.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Bump version to 14.0-Helix
Bernd Kuhls [Tue, 23 Dec 2014 17:46:29 +0000 (18:46 +0100)]
package/kodi: Bump version to 14.0-Helix

- delete 0002-mathutil.patch, committed upstream
- delete 0003-dbus.patch, committed upstream
- add dependency to ffmpeg, xbmc does not deliver its own ffmpeg anymore
- remove dependency to flac & lame, audio encoders have been seperated from kodi

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xbmc: rename to 'kodi', the new upstream project name
Bernd Kuhls [Tue, 23 Dec 2014 17:46:27 +0000 (18:46 +0100)]
package/xbmc: rename to 'kodi', the new upstream project name

Background information: http://xbmc.org/introducing-kodi-14. In a
first step to bump version to 14.0-Helix, we move the xbmc package to
a new directory called kodi.

Appropriate Config.in.legacy variables are added.

[Thomas: rename patches to the new convention.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibvncserver: disable libva support
Floris Bos [Sat, 27 Dec 2014 17:01:31 +0000 (18:01 +0100)]
libvncserver: disable libva support

The libvncclient library (part of libvncserver) has optional support
for HW accelerated H264 video playback using libva

However there are currently two problems with it:

1) it only supports libva compiled with X11 support enabled, but it
   does not verify that is the case, resulting in compile errors.

2) it only supports the libva 1.0.x API, and not newer
   libva versions, like 1.4.x we include with buildroot.

   https://github.com/LibVNC/libvncserver/issues/11

Disabling libva support for now.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxerces: make sure to use the cross-compiled curl
Thomas Petazzoni [Sat, 27 Dec 2014 16:25:56 +0000 (17:25 +0100)]
xerces: make sure to use the cross-compiled curl

When curl support is enabled in xerces, and a host curl is available
on the system, it might try to use it, so this patch adds --with-curl=
to the configure options to explicitly indicate where is the curl
library to use.

Should fix:

  http://autobuild.buildroot.org/results/c3c/c3c6be45d0f764fb931a46dbf1509ccf2916ecbf/

  (We were not able to reproduce specifically this problem, but
  another similar problem, where curl was detected, but considered as
  non-working because of the compilation failure of a test program.)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agolibxmlrpc: improve curl-config patch
Thomas Petazzoni [Sat, 27 Dec 2014 16:25:55 +0000 (17:25 +0100)]
libxmlrpc: improve curl-config patch

The curl-config patch that makes sure to not use curl-config from the
PATH but the curl-config program specified at configure time was
forgetting a number of other places. So we change the strategy, and
make the configure.in script define a $CURL_CONFIG variable that can
be used in Makefiles where appropriate.

This means we need to run autoconf (but not AUTORECONF = YES since the
package uses autoconf but not automake).

This fixes build failures in cases where a curl-config program is in
the PATH. Fixes:

  http://autobuild.buildroot.org/results/06b/06b7eada721483eb57adde147768a1f306b7d0d7/
  (and many similar ones)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agolibxmlrpc: bump to 1.25.30 and add hash file
Thomas Petazzoni [Sat, 27 Dec 2014 16:25:54 +0000 (17:25 +0100)]
libxmlrpc: bump to 1.25.30 and add hash file

This commit bumps libxmlrpc to the latest available stable version,
and adds a hash file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agopackage/libxkbcommon: fix builds with/without X11
Yann E. MORIN [Sat, 27 Dec 2014 16:22:29 +0000 (17:22 +0100)]
package/libxkbcommon: fix builds with/without X11

We need to explicitly disable X11 support when X11 is not available.
Conversely, when it is, we need to add the required dependencies.

Fixes a slew of autobuild failures:
    http://autobuild.buildroot.org/results/587/58794f894a4950b77e38d5fc877852d6cc507d8c/
    http://autobuild.buildroot.org/results/927/92741f6b9b7909b226c200e453ac6cee8af5abd6/
    http://autobuild.buildroot.org/results/51c/51cb09f7f267319948c685f905e29afe99f59589/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libiio: do not force shared object build
Samuel Martin [Sat, 27 Dec 2014 16:15:48 +0000 (17:15 +0100)]
package/libiio: do not force shared object build

libiio correctly builds as a static library, there is no obvious reason
to force the shared object build.

So, let the CMake BUILD_SHARED_LIBS variable handles the type of library
built.

This libiio patch has already been submitted upstream:
  https://github.com/analogdevicesinc/libiio/pull/6

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibxmlrpc: rename patches to the new convention
Thomas Petazzoni [Sat, 27 Dec 2014 13:47:15 +0000 (14:47 +0100)]
libxmlrpc: rename patches to the new convention

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agoguile: fix libltdl, libgmp and libunistring detection
Thomas Petazzoni [Sat, 27 Dec 2014 13:47:18 +0000 (14:47 +0100)]
guile: fix libltdl, libgmp and libunistring detection

Explicitly pass the path to libtldl, libgmp and libunistring, so that
guile does not try to use host versions when available.

Fixes:

  http://autobuild.buildroot.org/results/056/056b7fcbf3b73a8d15ca635b000771cdc2d7fbf9/

And another similar problem with libgmp and libunistring.

[Thomas: added --with-libunistring-prefix, as suggested by Samuel
Martin.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
9 years agopackage/leafnode2: fix news user check
Romain Naour [Fri, 26 Dec 2014 17:38:11 +0000 (18:38 +0100)]
package/leafnode2: fix news user check

--enable-runas-user use 'news' as default but the configure stop
if news doesn't exist on the build host.
Use 'root' while cross-compiling

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nftables: do not build docs
Yann E. MORIN [Sat, 27 Dec 2014 14:50:20 +0000 (15:50 +0100)]
package/nftables: do not build docs

Building docs requires dblatex with a working Jade Wrapper (jw) which
may well be missing on the build machine, and we do not build our own.

Since docs are anyway removed from the target, just do not build them.

Tell ./configure that we do not have the required tools:
  - DBLATEX=no to disable PDF generation
  - DOCBOOK2X_MAN=no, DOCBOOK2MAN=no and DB2X_DOCBOOK2MAN=no to disable
    manpage generation

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 agokismet: Fix static build
Vicente Olivert Riera [Fri, 26 Dec 2014 21:08:02 +0000 (22:08 +0100)]
kismet: Fix static build

Use pcap-config to list optional libpcap dependencies needed for static
link. Otherwise we will see errors like this one:

/br/output/host/usr/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcap.a(pcap-canusb-linux.o):
In function `canusb_close':
pcap-canusb-linux.c:(.text+0xec): undefined reference to `libusb_close'

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[yann.morin.1998@free.fr: remove the ncurses bits (done differently in
 another patch), fix BR2_PREFER_STATIC_LIB -> BR2_STATIC_LIBS]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kismet: do not use host headers
Yann E. MORIN [Fri, 26 Dec 2014 21:08:01 +0000 (22:08 +0100)]
package/kismet: do not use host headers

kismet's ./configure hard-codes host paths in its include search paths.
Fix that by removing the offending paths.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kismet: fix ncurses static build
Yann E. MORIN [Fri, 26 Dec 2014 21:08:00 +0000 (22:08 +0100)]
package/kismet: fix ncurses static build

Says Vicente:
    [T]he order is very important when doing static builds.
    Otherwise we will see errors like this one:

    [...]/sysroot/usr/lib/libpanel.a(p_delete.o):
    In function `del_panel':
    p_delete.c:(.text+0x68): undefined reference to `_nc_panelhook'

Fix the order configure adds libraries: new libraries should be added
at the *front* of the list, not at the end.

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoutil-linux: Add an option to compile 'nsenter' binary.
Nicolas Cavallari [Tue, 23 Dec 2014 10:44:10 +0000 (11:44 +0100)]
util-linux: Add an option to compile 'nsenter' binary.

nsenter is a tool to enter the namespace of another process.

[Thomas: add dependency to 3.0 kernel headers, since the setns()
system call was added in Linux 3.0.]

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibvncserver: bump version to 0.9.10
Floris Bos [Fri, 26 Dec 2014 00:46:14 +0000 (01:46 +0100)]
libvncserver: bump version to 0.9.10

[Thomas:
 - add comment about AUTORECONF = YES, noticed by Baruch Siach, and
   suggested by Yann E. Morin.
 - add dependency on host-pkgconf, since the configure script uses
   PKG_CHECK_MODULES.]

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5: remove hash file of the non-existing package
Fatih Aşıcı [Fri, 26 Dec 2014 12:06:41 +0000 (14:06 +0200)]
qt5: remove hash file of the non-existing package

Added accidentally in 1e93aa4b9973c24cb16446b2373c222d512eb2e5.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibxkbcommon: bump to version 0.5.0
Fatih Aşıcı [Fri, 26 Dec 2014 12:06:40 +0000 (14:06 +0200)]
libxkbcommon: bump to version 0.5.0

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/f2fs-tools: furthe endianness fixes
Yann E. MORIN [Thu, 25 Dec 2014 18:35:40 +0000 (19:35 +0100)]
package/f2fs-tools: furthe endianness fixes

Add appropriate checks in configure.ac.

Fixes a slew of autobuilder failures:
    http://autobuild.buildroot.org/results/cf6/cf6f5b6981694f74bfca45b3d04ff35e4226b162/
    http://autobuild.buildroot.org/results/b34/b346472e686af5b517b689217349eab21878bb7b/
    http://autobuild.buildroot.org/results/49a/49a6a2a88cac6e0899f271a5e65c78dd9eb2eab4/
    ...

Note: patches sent upstream, awaiting for reply...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ntp: fix installation
Yann E. MORIN [Thu, 25 Dec 2014 21:24:52 +0000 (22:24 +0100)]
package/ntp: fix installation

Since 5d5c9a8 (ntp: security bump to version 4.2.8), scripts/ntp-wait
and scripts/ntptrace are no longer scripts themselves, but directories
containing those scripts.

Fixes:
    http://autobuild.buildroot.org/results/518/5189e84004bf28b891da3ee07fecc8717b4e8e8c/ (ntp-wait)
    http://autobuild.buildroot.org/results/005/0056192a06d44814a0279637c4bcbf602936e7ff/ (ntptrace)
    http://autobuild.buildroot.org/results/8f3/8f372acf73743edf8027cda6865ba1aa7b6413a3/ (both)
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: clarify comment on .br-external handling
Baruch Siach [Thu, 25 Dec 2014 05:36:28 +0000 (07:36 +0200)]
Makefile: clarify comment on .br-external handling

The comment language may lead the reader to think that .br-external is removed
whenever BR2_EXTERNAL is not set in the command line. Make it clear that
BR2_EXTERNAL must be explicitly set to an empty value for .br-external to get
removed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobdwgc: add patch automatically detecting for NO_GETCONTEXT need
Samuel Martin [Wed, 24 Dec 2014 19:09:13 +0000 (20:09 +0100)]
bdwgc: add patch automatically detecting for NO_GETCONTEXT need

This patch is necessary to successfully build guile with toolchain
missing support for getcontext.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: add a comment, change variable name, use
 AS_IF, remove debug traces, use AC_CHECK_FUNCS (Thomas)]
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/guile: needs libtool
Yann E. MORIN [Wed, 24 Dec 2014 19:09:12 +0000 (20:09 +0100)]
package/guile: needs libtool

guile build-depends on libtool, but forgot to select it Kconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1
Gustavo Zacarias [Wed, 24 Dec 2014 13:54:55 +0000 (10:54 -0300)]
linux: fix breakage from d4b2b032a00c9922c9efa144b014dc086a7e48f1

Unbreak qemu_xtensa_lx60_defconfig where LINUX_IMAGE_NAME !=
LINUX_TARGET_NAME.
It incorrectly overwrites LINUX_IMAGE_NAME even if it was set before,
defeating the purpose of IMAGE being different than TARGET.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodhcpcd: bump to version 6.6.7
Gustavo Zacarias [Wed, 24 Dec 2014 13:31:47 +0000 (10:31 -0300)]
dhcpcd: bump to version 6.6.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: add version 2.25
Gustavo Zacarias [Wed, 24 Dec 2014 12:22:23 +0000 (09:22 -0300)]
binutils: add version 2.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibpng: security bump to version 1.6.16
Gustavo Zacarias [Wed, 24 Dec 2014 12:21:03 +0000 (09:21 -0300)]
libpng: security bump to version 1.6.16

Fixes a buffer overflow which may allow an attacker to gain write
access to memory.
CVE requested but not yet assigned.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogettext: bump to version 0.19.4
Gustavo Zacarias [Wed, 24 Dec 2014 11:51:26 +0000 (08:51 -0300)]
gettext: bump to version 0.19.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perl-gd: Add a new option to set the path to gdlib-config
Romain Naour [Sat, 20 Dec 2014 23:51:00 +0000 (00:51 +0100)]
package/perl-gd: Add a new option to set the path to gdlib-config

The build of perl-gd use the gdlib-config from the host that in result
incorect features enabled, incorrect header and library paths.

Should fixes:
http://autobuild.buildroot.net/results/15c/15ce69b916167305aba2820a157c880e487ee8c7/
http://autobuild.buildroot.net/results/504/504d64d992eb504e02c127feb4734a917ad95d0a/
http://autobuild.buildroot.net/results/551/5512213c8861e51b390c1c223d53add0ec1ed758/

And many more.

Note:
In the generated Makefile, LDFLAGS still contains "-L/usr/local/lib"

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluaposix: bump to version 33.0.0
Francois Perrad [Wed, 24 Dec 2014 09:10:40 +0000 (10:10 +0100)]
luaposix: bump to version 33.0.0

ncurses becomes a mandatory dependency

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-coatpersistent: bump to version 0.2.1
Francois Perrad [Wed, 24 Dec 2014 09:10:39 +0000 (10:10 +0100)]
lua-coatpersistent: bump to version 0.2.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-coat: bump to version 0.9.1
Francois Perrad [Wed, 24 Dec 2014 09:10:38 +0000 (10:10 +0100)]
lua-coat: bump to version 0.9.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-csnappy: bump to version 0.1.2
Francois Perrad [Wed, 24 Dec 2014 09:10:37 +0000 (10:10 +0100)]
lua-csnappy: bump to version 0.1.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolpeg: bump to version 0.12.1
Francois Perrad [Wed, 24 Dec 2014 09:10:36 +0000 (10:10 +0100)]
lpeg: bump to version 0.12.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluafilesystem: rename patch to the new convention
Francois Perrad [Wed, 24 Dec 2014 09:10:35 +0000 (10:10 +0100)]
luafilesystem: rename patch to the new convention

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua: rename patches to the new convention
Francois Perrad [Wed, 24 Dec 2014 09:10:34 +0000 (10:10 +0100)]
lua: rename patches to the new convention

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Wed, 24 Dec 2014 07:54:24 +0000 (08:54 +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 agof2fs-tools: add big-endian fixes/patches from upstream
Gustavo Zacarias [Tue, 23 Dec 2014 16:27:19 +0000 (13:27 -0300)]
f2fs-tools: add big-endian fixes/patches from upstream

Fixes:
http://autobuild.buildroot.net/results/8f9/8f97186489134619de7086028a59523d528b0d51/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agots5x00: remember to set the active flag
Vivien Didelot [Tue, 23 Dec 2014 15:24:56 +0000 (10:24 -0500)]
ts5x00: remember to set the active flag

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-intel: Bump version to 2.99.917
Bernd Kuhls [Tue, 23 Dec 2014 19:00:49 +0000 (20:00 +0100)]
xdriver_xf86-video-intel: Bump version to 2.99.917

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libcec: Bump to version 2.2.0
Bernd Kuhls [Tue, 23 Dec 2014 17:46:25 +0000 (18:46 +0100)]
package/libcec: Bump to version 2.2.0

Kodi Helix depends on libcec >= 2.2.0

Removed libcec-0001-Fix-unregistering-a-callback-that-wasn-t-register.patch
applied upstream: https://github.com/Pulse-Eight/libcec/commit/485660f

Renamed remaining patch according to new naming convention.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.5.2
Bernd Kuhls [Tue, 23 Dec 2014 17:46:24 +0000 (18:46 +0100)]
package/ffmpeg: bump version to 2.5.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: add host/target Linux version check
Thomas Petazzoni [Wed, 10 Dec 2014 22:11:59 +0000 (23:11 +0100)]
qemu: add host/target Linux version check

Raise an error if the host is using an older kernel than the target.
Since qemu-user passes emulated system calls to the host kernel,
this prevents usage of qemu-user in situations where those system
calls will fail.

This is based on an original patch from Frank Hunleth
<fhunleth@troodon-software.com>, but completely rewritten in a
different way:

 * Instead of using shell based testing, we use pure make tests, which
   allows to detect the problem not when host-qemu starts to build,
   but at the very beginning of the entire Buildroot build.

 * Instead of looking at $(STAGING_DIR)/usr/include/linux/version.h
   (which requires having a dependency on the 'toolchain' package,
   which is a bit unusual for a host package), we use the
   BR2_TOOLCHAIN_HEADERS_AT_LEAST Config.in option which tells us the
   version of the kernel headers used in the toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
9 years agoqemu: add to host utilities menu
Frank Hunleth [Wed, 10 Dec 2014 22:11:58 +0000 (23:11 +0100)]
qemu: add to host utilities menu

This allows qemu-user to be selected by the user. One use case
for this is to call qemu-user from post build scripts to
run regression tests against the build.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>