Commit Graph

2235 Commits

Author SHA1 Message Date
Wang Mingyu 2cf6bc0e6d libssh2: CVE-2019-17498.patch
Security Advisory

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17498

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-21 19:46:34 -07:00
Haiqing Bai 9aea795890 gd: fix CVE-2017-6363
Backport the CVE patch from the upstream to fix the heap-based buffer
over-read in tiffWriter.

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-21 19:44:00 -07:00
Martin Jansa 60d8193298 s3c24xx-gpio, s3c64xx-gpio, sjf2410-linux-native, usbpath, wmiconfig: use git fetcher instead of svn fetcher
* svn checkouts from http://svn.openmoko.org/ are now redirected to github:
  svn --non-interactive --trust-server-cert co --no-auth-cache --ignore-externals -r 4949 http://svn.openmoko.org/trunk/src/target/gpio@4949 gpio

Redirecting to URL 'https://github.com/openmoko/openmoko-svn':
A    gpio/branches
A    gpio/branches/oe
A    gpio/branches/oe/pre-20070305
A    gpio/branches/oe/pre-20070305/README
A    gpio/branches/oe/pre-20070305/classes
A    gpio/branches/oe/pre-20070305/classes/autotools.bbclass
A    gpio/branches/oe/pre-20070305/classes/base.bbclass
A    gpio/branches/oe/pre-20070305/classes/openmoko-base.bbclass
A    gpio/branches/oe/pre-20070305/classes/openmoko-panel-plugin.bbclass

* unfortunately this is causing the checkout to start from trunk, not the
  subdirectory specified in the URL (e.g. /trunk/src/target/gpio) and then
  S variable points to incorrect directory as discussed here:
  http://lists.openembedded.org/pipermail/openembedded-devel/2020-February/205028.html

* use git fetcher directly to remove the dependency on subversion-native

* for simplicity use the same SRCREV and PV for all of these, there wasn't any
  commit in last 8 years (not anyone can expect new commits), I don't
  expect anyone nowadays actually using these recipes which I've imported
  from meta-smartphone in 2011 - that's why I will send their removal in
  follow-up commit.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6902dcd2ed)
[ak: fixes build issue
WARNING: s3c24xx-gpio-1.0+svnr4949-r2 do_populate_lic: Could not copy license file /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c to /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/license-destdir/s3c24xx-gpio/gpio.c: [Errno 2] No such file or directory: '/home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c'
ERROR: s3c24xx-gpio-1.0+svnr4949-r2 do_populate_lic: QA Issue: s3c24xx-gpio: LIC_FILES_CHKSUM points to an invalid file: /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c [license-checksum]
]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Ross Burton 861e85453d opencv: abort configure if we need to download
OpenCV's habit of downloading files during do_configure is bad form
(as it becomes impossible to do offline builds), so add an option to
error out if a download would be needed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Ross Burton 112aea3ced opencv: PACKAGECONFIG for G-API, use system ADE
The Graph API is enabled by default, and if ADE isn't present it will
download a copy of the source during do_configure.

Add a PACKAGECONFIG for the Graph API, and depend on the ADE that we
package.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Ross Burton cb24464d45 opencv: also download face alignment data in do_fetch()
The face alignment data is downloaded in do_configure, so download it in
do_fetch and add it to the cache.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Ross Burton 18933cb8d8 opencv: don't download during configure
OpenCV downloads data files during the CMake configure phase, which
is bad because fetching should only happen in do_fetch (and if proxies
are needed, won't be set in do_configure).

The recipe attempts to solve this already by having the repositories in
SRC_URI and moving the files to the correct place before do_configure().
However they are written to ${B} which is then wiped in do_configure so
they're not used.

The OpenCV download logic has a download cache with specially formatted
filenames, so take the downloaded files and populate the cache.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Carlos Rafael Giani a90c217a79 opencv: Enable pkg-config .pc file generation
In OpenCV 4, .pc file generation is disabled by default. Yet, other
software such as GStreamer and FFmpeg rely on the .pc files during build
time configuration. Explicitely enable .pc file generation to make sure
pkg-config can be used for getting information about OpenCV.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Khem Raj 7932e835f1 ade: Fix install paths in multilib builds
Fixes
ERROR: ade-0.1.1f-r0 do_package: QA Issue: ade: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libade.a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Sanjeev Nahulanthran <sanjeev.nahulanthran@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Peter Kjellerstedt 28fef8eb25 lvm2, libdevmapper: Do not patch configure
Since the do_configure task regenerates the configure script, there is
no need to patch it. Actually doing so will cause problems, which can be
seen by doing:

  bitbake lvm2 -c configure
  bitbake lvm2 -c patch -f

Reported-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-15 13:30:34 -07:00
Gianfranco Costamagna ae5aa7b7e9 websocketpp: refresh clang patch
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 45476f9d6a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-19 09:04:32 -08:00
Khem Raj c5cf476e8a websocketpp: Fix clang specific flags in cmake files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f7030891ef)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-19 09:04:08 -08:00
Gianfranco Costamagna eb8090f27a websocketpp: add various upstream accepted and proposed patches to fix various issues, including:
- build failure with boost 1.71
- bad installation of header files correct version on some OSes.
- fix version minor number
- fix Scons script not being Python3 ready
- build examples and tests only if ptest is enabled in DISTRO_FEATURES
- do not depend on websocketpp from -dev package, because this is an header only dev package for now

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7cd2604172)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-19 09:01:43 -08:00
Khem Raj 636660b7b2 websocketapp: Fix multilib build
Fixes

ERROR: websocketpp-0.8.1-r0 do_package: QA Issue: websocketpp: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/cmake
/usr/lib/cmake/websocketpp
/usr/lib/cmake/websocketpp/websocketpp-configVersion.cmake
/usr/lib/cmake/websocketpp/websocketpp-config.cmake

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b1a8563127)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-19 09:01:20 -08:00
Gianfranco Costamagna 2ce57e0b6c cpprest: fix cmake installation directory
This should help reverse-dependencies find the cmake files also in multiarch locations

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2ca15ad3d8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-19 08:56:40 -08:00
zhangxiao 86b4e31912 syslog-ng: Fix multilib header conflict - syslog-ng-config.h
Header file conflict between 32-bit and 64-bit versions.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b6c9a83e36)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-05 14:43:51 -08:00
Kai Kang 56242b559f fltk: fix build error when enable package config examples
Backport patch to fix fltk build error when enable package config
'examples'. Drop the useless parts such as .gitignore and Makefile
from the patch.

fltk-native is also required by package config 'examples'.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bbecc5dfc4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-01-05 14:43:51 -08:00
Hongxu Jia 663493e988 lvm2: remove unsupported OPTIONS+="event_timeout" rule
The OPTIONS+="event_timeout" is Unsupported since systemd/udev version 216,
that is ~5 years ago.

Since systemd/udev version 243, there's a new message printed if unsupported
OPTIONS value is used:

  Invalid value for OPTIONS key, ignoring: 'event_timeout=180'

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1740666

The fix works on lvm2, it is not necessary for libdevmapper

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 23:29:29 -07:00
Khem Raj 66e2ea527e bdwgc: Enable C++ support and Additional options for musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Changqing Li 80e5636977 multipath-tools: upgrade 0.8.1 -> 0.8.2
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 22:10:54 -07:00
William A. Kennington III via Openembedded-devel bfe144b038 log4cpp: Stop using RC as a variable
This recipe cannot be parsed when using meta-mingw because ${RC} expands
to the Windows resource compiler. Let's use PRC instead to avoid that
problem.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 00:52:33 -07:00
Maciej Pijanowski 01d539b324 smem: package smemcap separately
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>

smemcap is a tiny binary which allows capturing current state of the /proc
for further offline analysis.

Package it seperately so there is no need to install python runtime
dependencies on the embedded system when not required.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-04 19:11:55 -07:00
Randy MacLeod 05de7a2cbe libteam: update from 1.28 to 1.29
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-04 19:11:55 -07:00
Trevor Gamblin 6ce65dc3fb gd: fix CVE-2019-6978
CVE: CVE-2019-6978

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-04 19:11:55 -07:00
Hongxu Jia 8188608dec lvm2: fix run lvcreate hung while PACKAGECONFIG udev
Since lvm2-udevrules was removed from lvm RRECOMMENDS in the following commit:
[3f64779ea libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only]
Execute the following command hung:
$ dd if=/dev/zero of=./p0 bs=1M count=100
$ dd if=/dev/zero of=./p1 bs=1M count=100
$ losetup /dev/loop20  ./p0
$ losetup /dev/loop21  ./p1
$ pvcreate -y /dev/loop20 -ff
$ pvcreate -y /dev/loop21 -ff
$ vgcreate rootvg /dev/loop20 /dev/loop21
$ lvcreate -v -y -L 50 -n rootlv rootvg

Add the missing pacakge to PACKAGECONFIG[udev] runtime depends could
fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30 16:54:51 -07:00
Khem Raj 9c6302ba08 uim: Fix cross-builds
riscv is not yet supported to exclude it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 11:58:25 -07:00
Martin Jansa 54f0796cb0 libmicrohttpd: backport the fix for building with older gnutls
* with gnutls from meta-gplv2 libmicrohttpd fails to build now:
  libmicrohttpd-0.9.66/src/microhttpd/daemon.c:2539:7: error: unknown type name 'gnutls_init_flags_t'; did you mean 'gnutls_pin_flag_t'?
    2539 |       gnutls_init_flags_t flags;
  backport the fix from master branch

* see https://bugs.gnunet.org/view.php?id=5806

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 09:48:19 -07:00
Hongzhi.Song 665235b74a numactl: fix a error about lib32-numactl
lib32-numactl has a error:
root@intel-x86-64:~# numademo -t -e 1M
Configured Nodes does not match available memory nodes

That's because (long long int) is assigned to (long int).
This will cause (long int) overflow on 32bit system.

Unify variable types and fix it.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-23 08:33:10 -07:00
Khem Raj 290ad988fb uim: Update to 1.8.8
License-Update: Change URI from code.google.com to github.com [1]
Drop the patches they seem to be not needed
Add dependency on libedit

Disable parallel make due to races

aarch64 support is upstream so drop the patch

[1] https://github.com/uim/uim/commit/a1cf71ec3719389874c42dd4c719a15509983485#diff-7116ef0705885343c9e1b2171a06be0e

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-20 19:09:06 -07:00
Oleksandr Kravchuk 80f6f1d829 pcsc-lite: update to 1.8.25
License checksum was changed due to removed license info about remove
code (see @0984e0f4a03e5e29bb5725b6f149f56c9e9c73c2).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-20 10:58:26 -07:00
Khem Raj e135f74f61 dfu-util-native: Dont build static binary
This did serve a purpose in past, this however is adding additional
requirement on build host to require static libc.a. in general it will
be good for user to select static linking explicitly, since it does have
distribution obligations once static linking is in place.

Add packageconfig to enable static builds and keep it off by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin JaMa Jansa <Martin.Jansa@gmail.com>
2019-09-18 12:22:07 -07:00
Daniel Ammann ad9c47718b dhex: Add new recipe
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-18 08:45:56 -07:00
Khem Raj d80ed0503f dfu-utils: Switch src_uri to sourceforge.net
dfu-util.gnumonks.org has gone AWOL
Re-stylize the recipe while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-17 20:47:12 -07:00
Nathan Rossi ff39ef5cff libeigen: Add native and nativesdk to BBCLASSEXTEND
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 23:09:21 -07:00
Zheng Ruoqin d88410ca42 xrdp: 0.9.4 -> 0.9.11
1) Upgrade xrdp from 0.9.4 to 0.9.11.
2) Remove patch that is included in 0.9.11.
   0001-Fix-of-CVE-2017-16927.patch
3) Remove patch that is not suitable for 0.9.11.
   0001-Fix-sesman.ini-and-xrdp.ini.patch

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Oleksandr Kravchuk f365ca9087 ceres-solver: fix package version
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Oleksandr Kravchuk 066ed72c71 digitemp: update to 3.7.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 18:24:48 -07:00
Oleksandr Kravchuk 4554beebfd gflags: update to 2.2.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk fb01ac99c2 gsl: update to 2.6
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 70d5ab0318 libbytesize: update to 2.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 438356facb lcms: update to 2.9
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 534fd645d3 libmicrohttpd: update to 0.9.66
License checksum changed because the section that was not part of the
license was removed (see @d0e81c8e0fb9676602db14a4120235f1524b1306).

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk b779db68a6 upower: update to 0.99.11
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Oleksandr Kravchuk 339494109c tree: update to 1.8.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 09:21:30 -07:00
Oleksandr Kravchuk 1ca5f10699 libsass: update to 3.6.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:12 -07:00
Oleksandr Kravchuk aa1387e01c libnice: update to 0.1.16
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:12 -07:00
Oleksandr Kravchuk ee2df5419d fmt: update to 6.0.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:12 -07:00
Peter Kjellerstedt 9817d5fdd2 lvm2/libdevmapper: Make it build for native
Backport a patch from upstream master that corrects the passing of
link flags through configure.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 09:28:52 -07:00
Randy MacLeod 28a99855f5 poppler: update from 0.79.0 to 0.80.0
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 11:08:47 -07:00
Martin Jansa 0749b8fccc ceres-solver: add PACKAGECONFIG for suitesparse and lapack
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 11:08:47 -07:00