Commit Graph

1461 Commits

Author SHA1 Message Date
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
Martin Jansa
cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Martin Jansa
9097d4a3fb pngcheck: respect LDFLAGS
* fixes:
  No GNU_HASH in the elf binary:
  '/tmp/work/armv5te-oe-linux-gnueabi/pngcheck/2.3.0-r0/packages-split/pngcheck/usr/bin/pngcheck'
  [ldflags]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Martin Jansa
490409c268 flite-alsa: Blacklist as old and unmaintained
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:31 +02:00
Dmitry Rozhkov
b0699e496f opencv: remove redundant build dependency on python2
The recipe opencv_3.2.bb inherits to either distutils-base or
distutils3-base classes or both which do add appropriate
build dependency on python or python3 respectively.
There's no need to have python in DEPENDS explicitly.

It can even make things needlessly complicated in case a user
wants to build python3-only images.

The redundant build dependency on python is removed from DEPENDS.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:31 +02:00
Khem Raj
2d5b14144e picocom: Upgrade to 2.2
Package has moved to github
License file got some cosmetic changes see
13fd331d41

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:29 +02:00
Khem Raj
8acb143f45 utouch: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:28 +02:00
Khem Raj
accb3f4ea6 libraw1394: Update to 2.1.2 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:27 +02:00
Khem Raj
43f5811017 usb-modeswitch-data: Add dep on native tcl
it has a tclsh need for executing a script during build
Fixes

| ./gen-rules.tcl
| /usr/bin/env: ‘tclsh’: No such file or directory
| make: *** [Makefile:26: 40-usb_modeswitch.rules] Error 127
| WARNING: /mnt/b/build/tmp-musl/work/all-oe-linux/usb-modeswitch-data/20170205-r0/temp/run.do_compile.30695:1 exit 1 from 'exit 1'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:27 +02:00
Khem Raj
b545c0643d mariadb: Do not use ucontext_* APIs with musl
musl has ucontext.h header but does not implement the APIs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:27:26 +02:00
Khem Raj
211beca606 poco: Upgrade to 1.7.8
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:27:26 +02:00
Martin Jansa
b8368598ae zile: fix do_install
* --ignore-fail-on-non-empty works when the directory isn't empty, but still reports
  failure when the directory doesn't exist at all, like in:
  http://errors.yoctoproject.org/Errors/Details/138248/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
4cf51a6177 vboxguestdrivers: upgrade to 5.1.18 to fix compatibility with 4.10 kernel
* 5.1.14 fails with default linux-yocto version:
  CC [M]  qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
          qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
     .readlink       = generic_readlink,
                       ^~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
a9715573c0 vboxguestdrivers: make sure that do_compile fails when some module failed to build
* otherwise we get the failure from do_install with useless log:
  DEBUG: Executing shell function do_install
  install: cannot stat 'vboxsf.ko': No such file or directory
  WARNING: exit code 1 from a shell command.
* instead of the real issue like 5.1.14 currently has with default linux-yocto
  version:
  CC [M]  qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
          qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
     .readlink       = generic_readlink,
                       ^~~~~~~~~~~~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:05 +02:00
Martin Jansa
23361dfa39 mailcap: use pagure.org instead of retired fedorahosted.org
* https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:04 +02:00
Martin Jansa
8e804afebc hwdata: use github instead of fedorahosted.org
* fedorahosted is retired
  https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:03 +02:00
Khem Raj
fbfaf104c7 atop: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:03 +02:00
Khem Raj
0ef3f00161 log4cpp: Upgrade to 1.1.2 rc5
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:01 +02:00
Khem Raj
df3d2beaf9 lio-utils: Fix GNU_HASH QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:00 +02:00
Khem Raj
f646f52eac libnice: Upgrade to 0.1.13
works with gst1x therefore unblacklist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:00 +02:00
Khem Raj
aa4daa9990 libssh: Force to use gcc toolchain
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Patrick Ohly
ff30e01f62 lvm2: fix lvm2-native RRECOMMENDS problem
lvm2-native doesn't have packages, so the RRECOMMENDS must be limited
to the target case. This fixes:

ERROR: Nothing RPROVIDES 'lvm2-native-scripts-native' (but virtual:native:.../meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.166.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Patrick Ohly
269d009a81 lvm2: libdevicemapper package needs udev rules and dmsetup
Applications like kpartx and cryptsetup were broken by moving only
libdevicemapper itself into a separate package: as a result of that
change, lvm2 was not getting pulled into images anymore although
libdevicemapper depends on dmsetup and udev rules to be fully
functional.

For example, "kpartx -as" started to hang while waiting for the udev
rules to trigger, which is what creates the /dev/mapper/ entries for
the new partitions (see also
https://github.com/docker/docker/issues/22025#issuecomment-243943728).

Putting udev rules and dmsetup also into libdevicemapper is perhaps
counter-intuitive, but necessary to keep the package functioning. A
full lvm2 installation is guaranteed to pull them in, too, both
because of implicit library dependencies and (just to be sure) an
explicit RDEPENDS.

lvm2-native doesn't have packages, so this RDEPENDS must be limited to
the target case.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Peter Kjellerstedt
af279a8e74 lvm2: Avoid an unnecessary dependency on bash
Rather than having the lvm2 package depend on bash, modify the init
scripts it may contain to use /bin/sh instead of /bin/bash.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Khem Raj
bfc16ec09d digitemp: Update past 3.7.1 release
Fetch from github

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
fb9224ed9e samsung-soc-utils: Remove -static
It does not build with all combinations e.g. with -fPIE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
64640f4e30 zile: Fix build with musl
With musl charset.alias is generated due to a gnu-config bug

Fixes

QA Issue: zile: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/charset.alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
d92ee32a61 gradm: Fix GNU_HASH QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Khem Raj
738d386c8c procmail: Fix GNU_HASH errors, pass LDFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Qi.Chen@windriver.com
02cf7aba3c gperftools: fix do_compile failure for qemuppc
Fix the following error for qemuppc.

  error: 'siginfo_t' does not name a type

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:55 +02:00
Paul Gortmaker
d63e5687c7 eject: use update-alternatives for manpage
To fix:

   file /usr/share/man/man1/eject.1 conflicts between attempted installs
   of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-22 13:31:45 +01:00
Denys Dmytriyenko
6c584374a5 devmem2: use different filename to avoid checksum conflicts
The newly resurrected devmem2.c file besides having a new location, also
updates its header, producing different checksums, which would conflict
with any previously cached or mirrored instances. To avoid such conflicts,
use a different filename in fetch(). Rename it back to original name at
unpack() for devmem2-fixups-2.patch to succeed w/o modifications.

WARNING: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c'. Checksum mismatch!
File: '/OE/master/downloads/devmem2.c' has md5 checksum be12c0132a1ae118cbf5e79d98427c1d when e23f236e94be4c429aa1ceac0f01544b was expected
File: '/OE/master/downloads/devmem2.c' has sha256 checksum ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191 when 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d"
SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

WARNING: devmem2-1.0-r7 do_fetch: Renaming /OE/sources/devmem2.c to /OE/sources/devmem2.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00
Paul Barker
078cfe871b vim: Update to 8.0.0427
8.0.0427 is currently used in Arch Linux so we know it has at least had
some testing.

Upstream has fixed the following CVEs since 8.0.0022:
* CVE-2016-1248 in 8.0.0056
* CVE-2017-5953 in 8.0.0322
* CVE-2017-6349 in 8.0.0377
* CVE-2017-6350 in 8.0.0378
See http://www.cvedetails.com/product/14270/VIM-VIM.html?vendor_id=8218

Patches are updated as src/configure.in was renamed upstream.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00
Ming Liu
ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Oleksandr Kravchuk
4b4a62ec07 recipes: delete obsolete patches
Deleted bunch of patches which are not used anymore by any recipe.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Armin Kuster
9ef1da92cf lvm2: fix bash depends QA issue
WARNING: lvm2-2.02.166-r0 do_package_qa: QA Issue: /etc/init.d/lvm2-monitor contained in package lvm2 requires /bin/bash, but no providers found in RDEPENDS_lvm2? [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:32:40 +01:00
Martin Jansa
1dff2351aa vim: add native BBCLASSEXTEND
* some recipes might use xxd
* with stricter host binaries available in PATH:
  http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html
  we cannot use xxd from host and it's not so common to add it into
  HOSTTOOL_NONFATAL
* there is also smaller solution for xxd -i (which is what I need):
  https://github.com/gregkh/xxdi
  but after creating xxdi-native recipe for this I've discovered that
  perl on my host as well as perlnative doesn't provide File::Slurp
  used by this, so adding BBCLASSEXTEND here is easier solution

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:57:05 +01:00
Yi Zhao
268e2a619a syslog-ng: fix syntax error in syslog-ng.conf
The backtick as a special character causes a syntax error by the parser
in comment line:
Error performing backtick substitution in configuration file;
error='missing closing backtick (`) character',
filename='/etc/syslog-ng/syslog-ng.conf', line='55:1'

Replace it with single quote and bump the conf version to 3.8.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:45 +01:00
Khem Raj
f8c9209dba log4c: Backport patch to fix security format errors with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:43 +01:00
Khem Raj
475ba851de tbb: Update to 2017 release
Update license to reflect new Apache 2.0 license
Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:42 +01:00