summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
Commit message (Collapse)AuthorAgeFilesLines
...
* opencv: correct subpackage name for multilibKai Kang2017-04-181-2/+2
| | | | | | | | | | 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>
* gflags: correct S and update library install directoryKai Kang2017-04-181-2/+1
| | | | | | | | | | | | | | | | | | 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>
* gd : CVE-2016-10167, CVE-2016-10168Catalin Enache2017-04-183-1/+89
| | | | | | | | | | | | | | | | | | | | | 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: https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6 Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gd : CVE-2016-10166Catalin Enache2017-04-182-1/+62
| | | | | | | | | | | | | | | 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: https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35 Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: do not depend on swig.Ismo Puustinen2017-04-061-1/+1
| | | | | | | 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>
* synergy: Add unzip-native depenedency to right taskKhem Raj2017-04-061-1/+2
| | | | | | | Fixes run.do_unpack_extra.26047: unzip: not found Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libnih: Drop SIGCLDKhem Raj2017-04-062-2/+31
| | | | | | Its not portable, especially musl does not support it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2: Fix patch errors found with muslKhem Raj2017-04-062-14/+12
| | | | | | | The patches had syntax errors which are only visible when using musl libs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpm: Update to use git src uriKhem Raj2017-04-068-392/+55
| | | | | | | | | 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>
* recipes: add removal date to PNBLACKLIST messagesMartin Jansa2017-04-0520-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* pngcheck: respect LDFLAGSMartin Jansa2017-04-051-1/+1
| | | | | | | | | * 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>
* flite-alsa: Blacklist as old and unmaintainedMartin Jansa2017-04-051-0/+9
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* opencv: remove redundant build dependency on python2Dmitry Rozhkov2017-04-051-1/+1
| | | | | | | | | | | | | | | 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>
* picocom: Upgrade to 2.2Khem Raj2017-04-052-19/+23
| | | | | | | | Package has moved to github License file got some cosmetic changes see https://github.com/npat-efault/picocom/commit/13fd331d410c2e8c39fa041bd54c3b0a93df64e1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* utouch: Fix build on muslKhem Raj2017-04-052-1/+32
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libraw1394: Update to 2.1.2 releaseKhem Raj2017-04-051-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* usb-modeswitch-data: Add dep on native tclKhem Raj2017-04-051-0/+2
| | | | | | | | | | | | 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>
* mariadb: Do not use ucontext_* APIs with muslKhem Raj2017-04-052-0/+29
| | | | | | musl has ucontext.h header but does not implement the APIs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poco: Upgrade to 1.7.8Khem Raj2017-04-051-2/+2
| | | | | | Fixes build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* zile: fix do_installMartin Jansa2017-03-311-2/+2
| | | | | | | | * --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>
* vboxguestdrivers: upgrade to 5.1.18 to fix compatibility with 4.10 kernelMartin Jansa2017-03-311-2/+2
| | | | | | | | | | * 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>
* vboxguestdrivers: make sure that do_compile fails when some module failed to ↵Martin Jansa2017-03-312-0/+8
| | | | | | | | | | | | | | | | | 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>
* mailcap: use pagure.org instead of retired fedorahosted.orgMartin Jansa2017-03-311-4/+6
| | | | | | * https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* hwdata: use github instead of fedorahosted.orgMartin Jansa2017-03-311-4/+6
| | | | | | | * fedorahosted is retired https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* atop: Fix build with muslKhem Raj2017-03-312-0/+98
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* log4cpp: Upgrade to 1.1.2 rc5Khem Raj2017-03-311-5/+4
| | | | | | | Fixes build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lio-utils: Fix GNU_HASH QA errorsKhem Raj2017-03-312-1/+64
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libnice: Upgrade to 0.1.13Khem Raj2017-03-311-16/+8
| | | | | | | works with gst1x therefore unblacklist Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libssh: Force to use gcc toolchainKhem Raj2017-03-311-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lvm2: fix lvm2-native RRECOMMENDS problemPatrick Ohly2017-03-311-1/+1
| | | | | | | | | | | 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>
* lvm2: libdevicemapper package needs udev rules and dmsetupPatrick Ohly2017-03-311-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* lvm2: Avoid an unnecessary dependency on bashPeter Kjellerstedt2017-03-312-1/+183
| | | | | | | | 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>
* digitemp: Update past 3.7.1 releaseKhem Raj2017-03-313-47/+25
| | | | | | | Fetch from github Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* samsung-soc-utils: Remove -staticKhem Raj2017-03-312-2/+2
| | | | | | | 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>
* zile: Fix build with muslKhem Raj2017-03-311-0/+5
| | | | | | | | | | | | | 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>
* gradm: Fix GNU_HASH QA errorsKhem Raj2017-03-312-1/+29
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* procmail: Fix GNU_HASH errors, pass LDFLAGSKhem Raj2017-03-311-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gperftools: fix do_compile failure for qemuppcQi.Chen@windriver.com2017-03-312-1/+30
| | | | | | | | | 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>
* eject: use update-alternatives for manpagePaul Gortmaker2017-03-221-0/+2
| | | | | | | | | | 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>
* devmem2: use different filename to avoid checksum conflictsDenys Dmytriyenko2017-03-161-1/+5
| | | | | | | | | | | | | | | | | | | | | 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>
* vim: Update to 8.0.0427Paul Barker2017-03-164-8/+8
| | | | | | | | | | | | | | | | | 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>
* meta: do not prepend/append to BBCLASSEXTENDMing Liu2017-03-163-3/+3
| | | | | | | | 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>
* recipes: delete obsolete patchesOleksandr Kravchuk2017-03-161-36/+0
| | | | | | | 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>
* lvm2: fix bash depends QA issueArmin Kuster2017-03-161-0/+1
| | | | | | | 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>
* vim: add native BBCLASSEXTENDMartin Jansa2017-03-111-2/+4
| | | | | | | | | | | | | | | * 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>
* syslog-ng: fix syntax error in syslog-ng.confYi Zhao2017-03-111-2/+2
| | | | | | | | | | | | | 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>
* log4c: Backport patch to fix security format errors with clangKhem Raj2017-03-112-1/+29
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tbb: Update to 2017 releaseKhem Raj2017-03-113-50/+33
| | | | | | | | 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>
* gperftools: Fix build with clangKhem Raj2017-03-112-1/+36
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* grail: Disable elision warnings for clangKhem Raj2017-03-111-1/+1
| | | | | | | | | | | | | | | Clang warns more, but lets disable them for now ../../grail-3.1.1/src/handle.cpp:65:5: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] std::move(UniqueRecognizer(recognizer)); ^ ../../grail-3.1.1/src/handle.cpp:65:5: note: remove std::move call here std::move(UniqueRecognizer(recognizer)); ^~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>