Commit Graph

1500 Commits

Author SHA1 Message Date
Khem Raj
ad47b4b247 gperftools: Fix build on ppc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 23a1d7acca)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
f80d7da5f2 uim: Add support for aarch64
Backport patch from
https://github.com/uim/libgcroots/pull/1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 36aa6edabf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
4807010e14 wmiconfig: Fix build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Khem Raj
13edb026a5 sqlite: Fix build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Ismo Puustinen
9fefaa6a98 gflags: change download name.
Just having "v2.2.0.tar.gz" was causing problems with other similarly
misconfigured packages.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Andrej Valek
10c2024587 srecord: add collection of tools for manipulating EPROM load files
This collection of tools is used for EPROM data manipulation.
More info could be found on page: http://srecord.sourceforge.net/

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Khem Raj
9e024f4de9 openipmi: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Pascal Bach
5f94e3d41b poco: make cmake packages relocatable
Before the path to the dependencies was hard coded into the generated
PocoConfig.cmake file. This causes issues with sstate.

This change overrides the libraries with just the library names and thus
let's the linker take care of finding them.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Ismo Puustinen
b536f60010 opencv: fix building with PACKAGECONFIG "dnn" enabled.
Dependency "lapack" isn't available in meta-openembedded and it doesn't
cause a build error, so drop it. Fix buidling dnn module by backporting
a patch from opencv-contrib.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Catalin Enache
1aa842b7af gd : CVE-2016-6906
The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd)
before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read)
via a crafted TGA file, related to the decompression buffer.

Reference:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6906

Upstream patches:
fb0e0cce0b
58b6dde319

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Huang Qiyu
38b82e7794 opencv: Make opencv-ts create share library intead of static
Refer to other distro,make opencv-ts create share library intead of static.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Khem Raj
5506e2ce26 libsdl2-ttf: Check for x11 and opengl in distro features
when X11 is not in distro features it tries to link with
libGL which does not exist and compile fails

Add a patch to add foreign option to AUTOMAKE_OPTIONS
which lets it configure and relax automake rules to not
check for some GNU specific files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
jobol@nonadev.net
cbe22e7f11 libmicrohttpd: Fix a segmentation fault on upgrade error
When a connection upgrade is requested and when the
request sent an error reply, it happened most often
that a segmentation fault occured.

The patch applied here is a backport from the
upstream (see https://gnunet.org/git/libmicrohttpd.git/
commit b4216c60fdb5b48f6cfec416301fc63a1167e6cd).

Change-Id: I6847550ba2c4fc24d5caf8912ac6d5ac89ae01fb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Randy MacLeod
5e82995148 opencv: disable broken Intel FP16 detection
With opencv-3.2, the configuration detects if the target supports
half-precision floating-point format. This fails to compile for some
Intel targets such as skylake with an error such as:
   error: '_mm_cvtph_ps' was not declared in this scope

The configuration used to work in opencv-3.1 so revert two commits to
drop the FP16 detection even though it may make opencv slower.
The only change in the configure log is:
   - FP16: Compiler support is available
   + FP16: Compiler support is not available

The patch should be dropped when a newer version of opencv that includes commit:
   e5d9b608c4
is available. Backporting that fix was complicated.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-09 16:00:31 +02:00
Randy MacLeod
7e4f7073d7 Revert "opencv: disable broken Intel FP16 detection"
This reverts commit 51fbd3cf7d.

The long log was truncated due to a formatting error.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-09 16:00:31 +02:00
Huang Qiyu
6ad29368c0 cryptsetup: 1.7.2 -> 1.7.4
Upgrade cryptsetup from 1.7.2 to 1.7.4.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-04 09:18:33 +02:00
Randy MacLeod
51fbd3cf7d opencv: disable broken Intel FP16 detection
With opencv-3.2, the configuration detects if the target supports
half-precision floating-point format. This fails to compile for some
Intel targets such as skylake with an error such as:
   error: '_mm_cvtph_ps' was not declared in this scope

The configuration worked in opencv-3.1 so revert two commits to
drop the FP16 detection even though it may make opencv slower.
The only change in the configure log is:

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-28 10:10:41 +02:00
Jackie Huang
18dcde1346 ipmitool: add new recipe
Utility for IPMI control which is for interfacing with
devices that support the Intelligent Platform Management
Interface specification.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Jackie Huang
5f41912690 openipmi: add new recipe
OpenIPMI is an effort to create a full-function IPMI
system to allow full access to all IPMI information
on a server and to abstract it to a level that will
make it easy to use.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-27 11:14:58 +02:00
Khem Raj
94699f3f85 frame,grail: Disable PIE in SECURITY_FLAGS
Doesnt compile yet with PIE turned on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:16 +02:00
Khem Raj
6d8fabae74 geis: Fix build with gcc7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-26 20:14:15 +02:00
Chen Qi
e84b80d54d multipath-tools: depend on libdevmapper instead of lvm2
Now we've separted libdevmapper out of lvm2 recipe, we need to change
multipath-tools to depend on libdevmapper instead of lvm2 to avoid
build error like below.

  fatal error: libdevmapper.h: No such file or directory

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:32 +02:00
Chen Qi
2f2f52e688 cryptsetup: DEPENDS on libdevmapper instead of lvm2
When 'cryptsetup' PACKAGECONFIG is enabled for systemd, there would
be circular dependency issue among 'systemd', 'cryptsetup' and 'lvm2'.

To fix this problem, we've separated libdevmapper into a new recipe.
Let cryptsetup depend on libdevmapper instead of lvm2 to fix the issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:32 +02:00
Chen Qi
7f17da1543 lvm2: separate libdevmapper to avoid circular dependency
If we enable 'cryptsetup' PACKAGECONFIG for systemd, there would be
circular dependency issue among 'systemd', 'cryptsetup' and 'lvm2'.

cryptsetup only needs libdevmapper from lvm2. So we separte libdevmapper
into a new recipe to solve this circular dependency issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:32 +02:00
Khem Raj
94cc46bc16 mariadb: Upgrade to 5.5.55
Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:31 +02:00
Krisztian Litkey
d1d2775a3a multipath-tools: don't blindly assume base_sbindir to be /sbin.
Don't blindly assume base_sbindir is /sbin. Pass its real value
instead to the build process to make sure binaries end up in the
right place even when base_sbin happens to point somewhere else.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:28 +02:00
Fabio Berton
2c21aa8633 libsodium: Extend recipe for native and nativesdk usage
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 11:02:39 +02:00
Khem Raj
0e27972d97 ne10: Fix build errors on cortex-a7 cpus
GCC7 warns and errors about incompatible cmdline switches
for mcpu and march

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:54 +02:00
Khem Raj
0723adbfd6 mg: Upgrade to 20170401 release
Fix musl build along the way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Khem Raj
584d3114ac dstat: Add missing dep on xmlto-native
Fixes
| make[1]: xmlto: Command not found
| make[1]: *** [dstat.1] Error 127

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Khem Raj
82c654d4c5 libutempter: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:53 +02:00
Khem Raj
2ba483aecc pngcheck: Fix cross build and format string errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:52 +02:00
Khem Raj
1d79b36859 avro-c: Fix build with clang
Update SRC_URI to point to github mirror
Add a patch to fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:51 +02:00
Khem Raj
2d384da051 sharutils: Upgrade to 4.15.2
Fix format error warnings with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:51 +02:00
Khem Raj
5dba3ddf79 fftw: Add -D_GNU_SOURCE to CFLAGS
Helps fix build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:50 +02:00
Khem Raj
dcb4c91837 ckermit: Fix build with musl
arrow keys piece is a bit unportable, disable it for now
for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:50 +02:00
José Bollo
7308d33131 libmicrohttpd: update to version 0.9.53
Change-Id: Idc7ef7c532a326eb094b4e557f1a80d4254411d2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 11:00:49 +02:00
Andreas Müller
4ad82c0f14 hunspell: update 1.3.3 -> 1.6.1
hunspell moved to github and changed licence

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
Liwei Song
4ddc0a58a7 mcelog: upgrade to 1.49 to support Denverton SoC
Update mcelog to 1.49 to support Denverton SoC, and delete the additional
patches which are already involved in v1.49.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
Andreas Müller
ee4460ffa3 poppler: update 0.51.0 -> 0.53.0
c++ is now set by poppler itself [1]

[1] https://lists.freedesktop.org/archives/poppler/2017-March/012106.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:50 +02:00
Andreas Müller
2c78fa9134 fltk: rework completely
* Use cmake as build system. Projects also using cmake and depending on fltk
  would not find all required components. Note that FindFLTK.cmake is part of
  cmake.
* Add a native recipe and split out common - we need fluid (Fast Light User
  Interface Designer) as working binary

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-04-18 14:21:42 +02:00
Kai Kang
fa943b1138 opencv: correct subpackage name for multilib
Subpackage python3-${PN} is not right for multilib and it will be
extended to such as lib32-python3-lib32-opencv.

Replace PN with BPN to fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Kai Kang
2688cbadeb gflags: correct S and update library install directory
The current setting of S is not right for multilib. Remove the setting
and use the default value.

And library install directory is not right for multilib either. It fails
with [installed-vs-shipped] QA error:

| ERROR: gflags-2.2.0-r0 do_package: QA Issue: gflags: Files/directories
| were installed but not shipped in any package:
|   /usr/lib/libgflags.so
|   /usr/lib/libgflags_nothreads.so.2.2

Set cmake variable LIB_INSTALL_DIR with ${baselib} to fix the issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Catalin Enache
f66465d4d5 gd : CVE-2016-10167, CVE-2016-10168
The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics
Library (aka libgd) before 2.2.4 allows remote attackers to cause a
denial of service (application crash) via a crafted image file.

Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before
2.2.4 allows remote attackers to have unspecified impact via vectors
involving the number of horizontal and vertical chunks in an image.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10167
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10168

Upstream patches:
fe9ed49daf
69d2fd2c59

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:39 +02:00
Catalin Enache
f882211c14 gd : CVE-2016-10166
Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c
in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers
to have unspecified impact via vectors related to decrementing the u variable.

Reference:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10166

Upstream patch:
60bfb401ad

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:38 +02:00
Ismo Puustinen
2cdea6c5bb opencv: do not depend on swig.
Since swig is a code generator, just depend on swig-native.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-06 13:00:31 +02:00
Khem Raj
440258c30a synergy: Add unzip-native depenedency to right task
Fixes
run.do_unpack_extra.26047: unzip: not found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:30 +02:00
Khem Raj
6c4caeee6f libnih: Drop SIGCLD
Its not portable, especially musl does not support it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:29 +02:00
Khem Raj
3ad787c673 lvm2: Fix patch errors found with musl
The patches had syntax errors which are only
visible when using musl libs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00
Khem Raj
10e27be997 gpm: Update to use git src uri
Additional patches are upstream to fix build with gcc6 and clang
Add systemd unit file

Create missing symlink for dev shared object

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:09 +02:00