Commit Graph

87 Commits

Author SHA1 Message Date
Khem Raj
a8e33c9701 mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08 23:44:33 -07:00
wangmy
82c6f50e0d nanopb: upgrade 0.4.5 -> 0.4.6.4
Changelog:
=========
 Fix passing of error message from substream callback (#703)
 Fix comments going to wrong member variables (#701)
 Fix regression in 0.4.3 where generator did not find all dependencies (#720)
 Fix FindNanopb.cmake not finding options file (#659)
 Fix double-definition errors with size_union (#692)
 Fix generator error with same inner message name (#746)
 Fix infinite recursion in generator/protoc script (#762)
 Fix unicode comment handling for Python 2 (#740)
 Fix compiler warnings with PB_BUFFER_ONLY (#717)
 Fix options dependency in nanopb.mk (#666)
 Fix handling of filenames with dot in them in FindNanopb.cmake (#756)
 Add fallback_type option (#772, #773)
 Use C11 static assert mechanism by default (#761, #766)
 Use 'static_assert'  keyword for iar (#679)
 Explicitly check for pItem == NULL to satisfy Xcode analyzer (#667, #674)
 Support --proto-path as alias to -I (#749)
 Refactor name mangling to separate class, improve error messages (#735)
 Move PB_WT_PACKED definition to the header to fix compiler warnings (#671)
 FindNanopb.cmake: use --nanopb_opt for option passing by default (#752)
 FindNanopb.cmake: Add option NANOPB_GENERATE_CPP_STANDALONE (#741)
 FindNanopb.cmake: Add PROTOC_OPTIONS variable (#768, #771)
 CMakeLists: add build interface for using as a submodule (#669)
 CMakeLists: fix error with nanopb_BUILD_GENERATOR=OFF (#764)
 CMakeLists: make more uniform (#676)
 CMakeLists: Fix uninitialized PYTHON_INSTDIR (#652)
 Clean up CMake examples (#741)
 Rebuild nanopb_pb2.py and print version numbers on import failure (#733, #742)
 Use memcpy instead of iterating on buf_read/write (#751)
 Add generator support for PlatformIO (#718)
 Add clean target to generator/proto/Makefile (#681)
 Windows .bats: use standard python invocation instead of py.exe launcher (#657)
 Fix problems running tests with newer SCons version
 Improve handling of varint overflows
 Improve optimization for little-endian platforms

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-26 20:49:05 -04:00
Davide Gardenal
ed904e6541 mongodb: ignore unrelated CVEs
CVE-2014-8180, CVE-2017-18381 and CVE-2017-2665 are not affecting our
configuration so they can be safely ignored.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-18 09:11:22 -07:00
Wang Mingyu
70716bb9a3 thingsboard-gateway: upgrade 2.9 -> 3.1
Changelog:
https://github.com/thingsboard/thingsboard-gateway/releases/tag/3.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Bartosz Golaszewski
4f0ced06f0 speedtest-cli: drop the recipe
This is the same project as the one in the python3-speedtest-cli recipe
in meta-python except that the other one is downloaded from pypi. Drop
this recipe.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-19 09:05:46 -07:00
Armin Kuster
94f82e548f packagegroup-meta-oe: update pkg group
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00
Armin Kuster
5501e231b8 nvmetcli: move recipe to meta-oe
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00
Armin Kuster
32160a06de netplan: move from meta-networking to meta-oe
add to the dynamic meta-pthon lot

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00
Khem Raj
5255b6a0d9 lirc: Delete systemd unit files on non systemd distros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-26 12:09:09 -07:00
Khem Raj
f0d0034e26 lirc: install systemd units only when using systemd distro feature
These files are not needed when init system is not systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 12:10:11 -07:00
Khem Raj
26222766ba mozjs-78: Switch to system libicu
Fixes build with gcc-12
intl/icu/source/common/stringtriebuilder.cpp:388: more undefined references to `std::type_info::operator==(std::type_info const&) const' follow
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-20 10:58:01 -07:00
Khem Raj
2e0f15d3f4 mongodb: Fix aarch64 build with gcc12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14 19:42:10 -07:00
wangmy
4ee804f20b thingsboard-gateway: upgrade 2.8 -> 2.9
Changelog:
==========
Gateway:
-----------
Fixed reconnection Gateway to ThingsBoard bug
Added minPackSendDelayMS to config file
Fixed certificate loading
Fixed remote logging feature
Fix for RPC calls to connectors. Thanks @mjbernet3

MQTT Connector:
---------------
Added JSONPath parsing to RPC valueExpression config section
Added attributeRequests config section
Added retain flag for attributeUpdates, attributeRequests
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

Modbus Connector:
------------------
Added configuration parameters:

retries - Count of retries if polling was failed (default 3)
retryOnError - Retry to get data if server returns an error (default true)
retryOnInvalid - Retry to get data if server returns invalid data (default true)

REST Connector:
-----------------
Added SSL Support
Added JSONPath parsing to RPC valueExpression config section
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

BACNet Connector:
-----------------
General improvements

Request Connector:
-------------------
General improvements
Added JSONPath parsing to RPC valueExpression config section
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

ODBC Connector:
----------------
Bugs fixed (adding timestamp to telemetry)

FTP Connector:
---------------
Added opportunity to combine values in attributes, telemetry config section for JSON files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14 19:42:10 -07:00
Khem Raj
6904c37d29 mongodb: Update to 4.4.13
Drop upstreamed patches which are present in this release
Add a patch to fix narrowing issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:41 -07:00
Khem Raj
6806ca6606 valijson: move out of hard dep on meta-networking
curlpp is only needed to build examples, therefore make it a
packageconfig and keep it disabled, which is default anyway

Add packageconfigs for tests and disabling boost as well.

Include boost support by default.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa
856902b8c0 Fix DeprecationWarning about regexps
* fixes:
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:125: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:126: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:128: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:129: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-networking/recipes-support/strongswan/strongswan_5.9.4.bb:130: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb:18: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb:21: DeprecationWarning: invalid escape sequence \.
meta-oe/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb:28: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \-
oe-core/meta/classes/package.bbclass:1343: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1344: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1345: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1348: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1350: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1353: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1355: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1358: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1360: DeprecationWarning: invalid escape sequence \.
oe-core/meta/classes/package.bbclass:1365: DeprecationWarning: invalid escape sequence \.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21 18:12:04 -08:00
Oleksandr Kravchuk
ccb85c8eb3 lirc: replace setuptools3-bas with distutils-common-base
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Andreas Müller
d195826983 mozjs-78: renumber patches
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 11:10:02 -08:00
Andreas Müller
bfa98138ac mozjs-78: Shelve breaking lib rename/linking & split lib to separate package
* our rename broke gjs:
  | /usr/bin/gjs: error while loading shared libraries: libmozjs-78.so: cannot open shared object file: No such file or directory
* to reduce image size and to avoid warnings, follow mozjs-91 by splitting
  library into seperate package

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 11:10:02 -08:00
Andreas Müller
8a33afe667 Rename gnome-menus3 -> gnome-menus
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 11:10:02 -08:00
Changqing Li
b7b303fa69 mozjs-91/mozjs-78: fix compile failure on centos7
Mozjs compile failed with this failure:
/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by
/build/tmp-glibc/work/corei7-64-wrs-linux/mozjs/91.1.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)

Root Cause:
cargo-host-linker has /bin/sh as it's interpreter, but cargo run the cmd
with LD_LIBRARY_PATH set to recipe-sysroot-native. The host /bin/sh
links libtinfo.so.5 under recipe-sysroot-native, which needs higher
libc. But host libc is older libc. So the incompatible problem occurred.

Solution:
rewrite cargo-host-linker in python3

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-19 08:31:14 -08:00
Changqing Li
3eb7478a46 mozjs-78: fix do_configure failure
do_configure fails occasionally with following error:
| File "/firefox-91.1.0/build/moz.configure/util.configure", line 239, in try_invoke_compiler
| os.remove(path)
| FileNotFoundError: [Errno 2] No such file or directory: '/tmp/conftest.jr1qrcw3.cpp'

change the temp file's prefix to avoid it is deleted by others

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-13 01:17:26 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Peter Kjellerstedt
89391ee45e mongodb: Create /var/log/mongodb in runtime
/var/log is normally a link to /var/volatile/log and /var/volatile is a
tmpfs mount. So anything created in /var/log will not be available when
the tmpfs is mounted.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Peter Kjellerstedt
563577f488 mongodb: A little clean up
This cleans up whitespace, and avoids using ${...} for shell
variables.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Khem Raj
d10abc71d6 mozjs-78: Pass C/C++ flags to js configure
On mips ensure -fpie is passed when using clang compiler, this fixes
configure issues e.g.

/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: non-dynamic relocations refer to dynamic symbol localtime_r@@GLIBC_2.0
/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/mozjs-78/78.15.0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-ld: failed to set dynamic section sizes: bad value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:48 -07:00
Khem Raj
a59370541d mozjs-78: Set X lib/include paths
mozjs does not really use X but arcane autoconf 2.13 means its poking at
build host for X headers and libraries. On build hosts where X is
installed this results in wrong paths being searched for target X
headers, this gets caught by configure QA and it fails

ERROR: mozjs-78-78.15.0-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. [configure-unsafe]
ERROR: mozjs-78-78.15.0-r0 do_configure: Fatal QA errors were found, failing task.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:48 -07:00
Khem Raj
e3ef25a2f5 mozjs-78: Check for big-endian icu data file existence before creating it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:48 -07:00
Andreas Müller
f878dc7278 mozjs-78: Initial add
* Did not get rid of checks using llvm-objdump. So depend either llvm-native
  from oe-core or clang-native from meta-clang
* Unfortunately we still need python3-six(-native) although firefox ships a
  version in third_party. If somebody more clever than me can solve this,
  mozjs-78 can be moved out of dynamic-layers

* Get rid of erroneous dependency trying to satisfy llvm_objdump
  It was tested improperly so configure faile for meta-clang not in layers
  It is not necessary for building js only - see mozjs-91

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:48 -07:00
Andreas Müller
e764ca5214 mozjs: Move back to recipes-extended - no meta-python specifics required
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:48 -07:00
Khem Raj
7c20920cb6 mozjs: Fix build for 32bit systems disabling JIT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-26 10:38:40 -07:00
Khem Raj
f917e5fe40 mozjs: Update to 91.2.0
This has bunch of security fixes
https://www.mozilla.org/en-US/security/advisories/mfsa2021-45/

No need to disable jit explicitly for rv32, it works ok without it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-26 10:06:20 -07:00
Khem Raj
7937fa5a8a mozjs: Add riscv32 support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-25 08:38:43 -07:00
Khem Raj
bd276908c7 mozjs: Fix musl miscompiles with HAVE_THREAD_TLS_KEYWORD
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-20 16:57:31 -07:00
Khem Raj
145a127636 mozjs: Fix build on mips/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-20 16:57:31 -07:00
Kurt Kiefer
7892e882a2 mozjs: move large static library into staticdev package
The libmozjs package was including /usr/lib/libjs_static.ajs, not
required for runtime usage.

Keep this file, but move it to the staticdev package.

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Khem Raj
be77bddae1 mozjs: Disable JIT on mips
Fixes
error: static assertion failed: MIPS32 jit only supports FR=0 fpu mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:39 -07:00
Alexander Kanavin
66a0f5b8eb mozjs: update 60.9.0 -> 91.1.0
The new release requires rust to build and at the same time allows
updating to python 3.10; I took the opportunity to rewrite the
recipe from scratch, drop all the old cruft and use the official,
current upstream build system in it.

All prior patches and tweaks have been dropped; I have no
reasonable way to test them, so if something regressed
for you I'm afraid it needs to be addressed after the fact.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:39 -07:00
Oleksandr Kravchuk
75495398c8 thingsboard-gateway: update to 2.8
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:38 -07:00
wangmy
d496950bde valijson: upgrade 0.5 -> 0.6
This release includes several new contributions,
such as support for URN document references (thanks to @rayvincent2)
and a new Boost.JSON adapter (thanks @matty0ung).
Loading sub-schemas from other files is also now supported.

This release also includes some minor bug fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-27 11:34:56 -07:00
Michael Opdenacker
103ca64203 meta-oe: stop using "virtual/" in RPROVIDES and RDEPENDS
Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in
RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe in OE-core

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-01 08:25:42 -07:00
zhengruoqin
41abd1a21f valijson: upgrade 0.4 -> 0.5
This is mostly a maintenance release.
It addresses a number of warnings that were produced when compiling
with warnings enabled (/W4) on MSVC.
In some cases, warnings have been suppressed on a per-file basis,
through the use of pragma statements.
This was done to minimise the potential impact of changes required
to exhaustively address these warnings.

Bundled versions of gtest and rapidjson have also been updated,
and several minor bug fixes have been included.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06 20:38:41 -07:00
Khem Raj
a133111e69 recipes: Fix override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
581167a258 mongodb: Upgrade to 4.4.7
Fix build with glibc 2.34+ while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:04 -07:00
Andreas Müller
74fe5f9d4e mozjs/0001-Port-build-to-python3.patch: Fix typos in description
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
Khem Raj
de60098b87 mongodb: Enable wiredtiger only on aarch64/x86_64 hosts
Other 64bit arch where its enabled is ppc64le and it does not compile
since build/opt/third_party/wiredtiger/src/checksum/power8/crc32.o is
not built, its not setting HOST_ARCH to ppc64le due to cross compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:33:07 -07:00
zangrc
04b00e0e0d speedtest-cli: upgrade 2.1.2 -> 2.1.3
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-10 19:53:42 -07:00
zangrc
247ac91212 rasdaemon: upgrade 0.6.6 -> 0.6.7
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-10 19:53:42 -07:00