3588 Commits

Author SHA1 Message Date
Wang Mingyu
284a67d829 tree: upgrade 2.1.0 -> 2.1.1
Changelog:
============
  - Various spelling corrections.
  - Fix issue where following links while doing JSON output would lead to
    incorrect JSON output.
  - Fix issue where .info patterns relative to the .info file that did not use
    a wildcard for matching the prefix were not matching files properly.
  - Added support for making trees from tab indented files (--fromtabfile)
  - Fix buffer overflow in listdir() when file names are allowed to be longer
    than 256 characters (like when using fromfile.)
  - If when attempting to open a .gitignore or .info file from a top level
    directory and failing, recursively check the parents for such a file.  This
    stops when successful at opening such a file. This behavior might in the
    future be modified to open all such files in all parents to until root is
    reached.
  - Fix issue where tree would never descend (-l) a symbolic link when a full
    tree is gathered (--du/matchdirs/prune)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-05 09:29:34 -07:00
Peter Marko
81c18e0797 nss: ignore CVE-2022-3479
Investigation based on https://bugzilla.mozilla.org/show_bug.cgi?id=1774654 leads to following:
* fixed in 3.87
  (a7f3635113)
* changed code was introduced in 3.77
  (be6a97823b)
* NVD claims fix in 3.81, but there is no evidence for it in commit history
  (a7f3635113)
* Debian also says for old versions "nss <not-affected> (Vulnerable code not present/was introduced later)"
  (https://security-tracker.debian.org/tracker/CVE-2022-3479)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-04 22:29:45 -07:00
Bartosz Golaszewski
110f60fff7 libgpiod: add myself as maintainer
While RECIPE_MAINTAINER doesn't seem to be used anywhere, let's add it
in hopes that it will at least make people Cc me on any recipe patches
in the future.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-04 22:29:45 -07:00
Khem Raj
3174a9da4c Revert "libgpiod: modify test 'gpioset: toggle (continuous)'"
This reverts commit d891624096cb529ab251c9d80d06f641090738c1.
2023-06-01 12:17:15 -07:00
Khem Raj
e36553fcd9 ctapi-common: Use archives.fedoraproject.org to fetch srpm
This is a better place to fetch the srpm as it is fedora's location

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-30 19:30:55 -07:00
Martin Jansa
e04d5631d3 switchtec-user: fix installed-vs-shipped with multilib
* fixes:
  ERROR: QA Issue: switchtec-user: Files/directories were installed but not shipped in any package:
    /usr/lib/libswitchtec.a
    /usr/lib/libswitchtec.so
    /usr/lib/libswitchtec.so.4.0
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  switchtec-user: 3 installed and not shipped files. [installed-vs-shipped]

  when libdir is e.g. /usr/lib64

  The Makefile.in defines default LIBDIR with DESTDIR:
  LIBDIR ?= $(DESTDIR)$(PREFIX)/lib
  so include ${D} here as well

* use 4 spaces for indentation and ' instead of " so that it doesn't
  need backslashes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-30 09:16:06 -07:00
Khem Raj
1eee2079e4 libcppkafka: Remove RECIPE_SYSROOT from packageconfig .pc file
Fixes
WARNING: libcppkafka-git-r0 do_package_qa: QA Issue: File /usr/share/pkgconfig/cppkafka.pc in package libcppkafka-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Ivan Maidanski
902725991f bdwgc: upgrade 8.2.2 -> 8.2.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Christophe Vu-Brugier
db5e11c890 switchtec-user: add new recipe
switchtec-user provides an easy to use CLI and C library for
communicating with Microsemi's Switchtec management interface.

https://github.com/Microsemi/switchtec-user/

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-26 08:28:37 -07:00
Wang Mingyu
8c18a3e887 zchunk: upgrade 1.3.0 -> 1.3.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:57:47 -07:00
Wang Mingyu
85c7e7bda4 c-ares: upgrade 1.19.0 -> 1.19.1
Changelog:
==========
Security
---------
- CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service [12]
- CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
query IDs [13]
- CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton() [14]
- CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
compilation [15]

Bug fixes
----------
- Fix uninitialized memory warning in test [1]
- Turn off IPV6_V6ONLY on Windows to allow IPv4-mapped IPv6 addresses [2]
- ares_getaddrinfo() should allow a port of 0 [3]
- Fix memory leak in ares_send() on error [4]
- Fix comment style in ares_data.h [5]
- Remove unneeded ifdef for Windows [6]
- Fix typo in ares_init_options.3 [7]
- Re-add support for Watcom compiler [8]
- Sync ax_pthread.m4 with upstream [9]
- Windows: Invalid stack variable used out of scope for HOSTS path [10]
- Sync ax_cxx_compile_stdcxx_11.m4 with upstream to fix uclibc support [11]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:57:47 -07:00
Wang Mingyu
615f1c3078 mailcap: upgrade 2.1.53 -> 2.1.54
Changelog:
==========
- mime.types: Sync with IANA as of 2023-05-22
- typediff.py: remove unnecessary import

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:57:47 -07:00
Wang Mingyu
2424b1500a double-conversion: upgrade 3.2.1 -> 3.3.0
Changelog:
=========
Fix some compile warnings in Visual Studio
Set permissions for github workflows
Add flags to control trailing decimal and zero in exponent form when input has one significant digit

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:57:47 -07:00
Wang Mingyu
d08c6f03da hidapi: upgrade 0.13.1 -> 0.14.0
Changelog:
==========
general: add hid_get_report_descriptor API function (#451)
macOS: fix retrieving USB Interface number on macOS 13.3 (#534)
macOS: Properly handle the close of run loop on macOS (#522)
libusb: fix crash in hid_enumerate() caused by a stale device handle (#526)
windows: alternative way to get USB Serial Number if not provided by HidD_GetSerialNumberString (#464)
windows: don't mark with dllexport in static build (#507/#515)
windows: Get Bluetooth device Model Number String instead of Device Name into product string (#500)
general: fixes (mostly error handling) of issues found by Coverity Scan (#552/#554/#555/#559/#560/#561)
general: variouse fixes and improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:57:47 -07:00
Khem Raj
3f5c02b1d6 remmina: Fix buildpaths QA warnings
buildflags.h is generated file which contains buildtime CFLAGS and it
gets included into sources via src/remmina_exec.c

Fixes
WARNING: remmina-1.4.30-r0 do_package_qa: QA Issue: File /usr/bin/remmina in package remmina contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Khem Raj
f523a41888 freerdp: Fix reference to TMPDIR in libfreerdp2.so
Fixes
File /usr/lib/libwinpr2.so.2.10.0 in package libfreerdp contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Joe Slater
d891624096 libgpiod: modify test 'gpioset: toggle (continuous)'
Look for level transitions when testing toggling
values because using fixed delays to assume value
changes is not reliable.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Martin Jansa
efcb56dc0c libinih: remove unused patch file
* it was removed from SRC_URI with git recipe in:
  https://git.openembedded.org/meta-openembedded/commit/?id=da03785ff19c2db4210318759a011c6919692876

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:55 -07:00
Martin Jansa
078d920366 libiio: remove unused patch file
* it was removed from SRC_URI in:
  https://git.openembedded.org/meta-openembedded/commit/?id=998219d2e8179c8ca758da822b8dc17a1e3533b8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:55 -07:00
Martin Jansa
fd41263da1 opencv: remove unused patch file
* it was removed from SRC_URI in:
  https://git.openembedded.org/meta-openembedded/commit/?id=d0e72f07d3f6362a8d3f070ca00c153aae718cb7

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:55 -07:00
Khem Raj
d9fb985b87 openct: Fix buildpaths being emitted into generated types.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 15:04:38 -07:00
Khem Raj
fcdb991b80 fftw: Check for TOOLCHAIN_OPTIONS to be non-empty before sed ops
Ensures that we do not apply empty sed expression which might happen
when building native recipe

Cc: jan vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
e34fa43eec libnice: Remove buildpaths from binaries
Fixes
WARNING: libnice-0.1.21-r0 do_package_qa: QA Issue: File /usr/src/debug/libnice/0.1.21-r0/agent/agent-enum-types.h in package libnice-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
7552a26887 mce-test: Pass CFLAGS to make
Fixes QA errors like below
File /opt/mce-test/cases/function/erst-inject/erst-inject.o in package mce-test contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj
63c9747a32 mce-test: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj
29e6c4928c mcelog: Upgrade to 194
Drop unneeded autotools-brokensep class inherit, this package has
traditional makefile build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Khem Raj
9f1f22f95b mce-inject: Pass CFLAGS to make
This ensures right debug directory remapping options are passed to
compiler

Fixes
 WARNING: mce-inject-git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mce-inject in package mce-inject-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Sanjay Chitroda
9edbe7033c gnulib: Update recipe name to 2018-12-18
As per gnulib_2018-03-07 recipe information,
SRCREV = "0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3"
This revision was committed on "2018-12-18".

There is a discrepancy between SRCREV and the recipe version.
Which reports "CVE-2018-17942" as unpatched.

To report "CVE-2018-17942" as patched,
We need to align a recipe name with SRCREV commit date.

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-19 10:12:51 -07:00
Wang Mingyu
da0a748ac0 spdlog: fix build error for master fmt
error message:
include/spdlog/common.h:168:111: error: 'basic_runtime' is not a member of 'fmt'

Add fix-build-for-master-fmt.patch:
* update fmt_runtime_string macro
* fix build of updated macro

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Wang Mingyu
7b55d7ef83 fmt: upgrade 9.1.0 -> 10.0.0
License-Update:
 Add " and {fmt} contributors" to Copyright

Changelog:
 https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:24 -07:00
Martin Siegumfeldt
998219d2e8 libiio: update to version 0.24
- drop 0001-CMake-Move-include-CheckCSourceCompiles-before-its-m.patch
   (integrated upstream)

 - updated CMakeLists.txt requires pkgconfig

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-17 17:43:11 -07:00
Ming Liu
2a4532c29c libusbgx: check scripts in /etc/usbgx.d
Sometimes an end user might want to change some values in
/sys/kernel/config/usb_gadget/ at runtime, for instance, a product id
or serial number must be read from /proc/device-tree, and so on.

Support that by letting gadget-start run all scripts in /etc/usbgx.d
after importing the schemas.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Ming Liu
00cae16967 libusbgx: drop hard-coded /usr/bin,/etc
Drop hard-coded /usr/bin,/etc from gadget-start.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-16 22:31:14 -07:00
Khem Raj
2efc81182a libiio: Do not generate lineinfo in lex/yacc generated files
This avoid buildpaths being in target packages. These are emitted into
generated lexer.c and parser.c, therefore ensure that lex and yacc are
directled to not include lines in their output.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 17:43:32 -07:00
Martin Jansa
00ac843c5c poppler: add dependency on glib-2.0-native
* in some builds (probably without gobject-introspection-data enabled) it fails to find native glib-mkenums and fails with:
  poppler/23.04.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file 'poppler/23.04.0-r0/poppler-23.04.0/glib/GLIB2_MKENUMS-NOTFOUND': [Errno 2] No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 09:37:58 -07:00
Khem Raj
ef03326d31 fftw: Remove hardcoded sysroot into binaries
FFTW_CC is added to image via version.o and its CC + CFLAGS however CC
in OE containes --syroot compiler option which encodes buildpaths into
binary, therefore remove this option from FFTW_CC in config.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-13 20:58:07 -07:00
Khem Raj
f0ac251433 psutils: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 08:01:07 -07:00
Khem Raj
60c7509ee5 libpaper: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 08:01:07 -07:00
Khem Raj
021f16504a idevicerestore: Update to latest on master branch
Needed to pick fixes to build with latest libplist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 06:33:14 -07:00
Matija Tudan
77b6df94c1 serial: add recipe for version 1.2.1
Serial is cross-platform library for interfacing with
RS-232 serial like ports.

Signed-off-by: Matija Tudan <tudan.matija@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:37:30 -07:00
Vasileios Anagnostopoulos
d0f8afe666 asio: update to 1.28.0
License-Update: change in the copyright year [1]

[1] 8d176a2c81

Signed-off-by: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Markus Volk
d5f721182b imaagemagick: update 7.1.1-5 -> 7.1.1-8
- add PACKAGECONFIG for xml
- add configuration
- workaround reproducibility issues

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Ming Liu
48bc4b2d5e libusbgx: fix some systemd service conditions
Let usbgx.service require and run after sys-kernel-config.mount.

Use "Type=simple" rather than "Type=oneshot", this ensures
usbgx.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbgx.service twice, or someting
wrong in /etc/default/usbgx or /etc/usbgx/*.schema.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Marcel Ziswiler
e111f75c31 libusbgx: fix device hot-plug use case
Upon hot-plugging device (resp. un-plugging host) dwc3_gadget_init()
does nicely get executed. However, for an actual gadget to get started,
it also requires the libusbgx dance as well. Instead of only doing this
upon boot aka after multi-user.target (which is fine only if the device
is already there at boot), execute it after usb-gadget.target. This
ensures dwc3_gadget_start() gets executed also during hot-plugging.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Ming Liu
f4fd477923 libusbgx: uprev to the latest commit
Uprev libusbgx to 721e3a1 to get following fixes:
```
721e3a1 correct attribute import / export
bbdaad2 Document the license of the library and examples
36e71e1 Rename the net class variables to class_
efdd7a6 tests: update test code with new net attributes
4ca4a76 net: adds class, subclass and protocol attributes
b1c8586 Merge pull request #64 from mgrzeschik/master
8b91dbb uvc: add isoc parameter settings
50fe6a7 uvc: fix init_formats function
afec0d6 uvc: fix exporting attrs with layouts missing a format
0607844 Merge pull request #63 from mgrzeschik/uvc-fix
20d7fe2 uvc: fix unsigned nmb to int
ed1fb6d Merge pull request #62 from linux-usb-gadgets/uvc-fix
157cbd8 uvc: fix return check on scandir
741230b Merge pull request #61 from linux-usb-gadgets/uvc-libconfig-import-export-support
53231c7 uvc: add import/export support
61a4186 uvc: consistently use defines for common strings
57dc1d5 uvc: check attr pointer in set_attrs
4061ffd uvc: remove unnedded USBG_UVC_MAX_PATH_LENGTH define
1c94fb8 uvc: remove unused variable
b28dd77 uvc: fix compile warnings
6bd989c gadget-uvc: fix 4k format resolution
d0f2f4f Revert "Use an unnamed variable instead of a named one"
92deb97 pkgconfig: make Requires for libconfig optional
38dd92f gadget-vid-pid-remove: re-split default vendor/product defines from variables
fa4e7e9 Use an unnamed variable instead of a named one
1ee53e4 Copy ether_addr structs to avoid union pointer alignment issues
4852080 Delete embedded copies of libtool m4 files
ccba65f Tell git which paths to ignore are directories
3a0f66a Tell git to ignore autotools cruft in the src functions subdirectory
37fcf90 Tell git to ignore generated usbg_version.h header
1e7161d Tell git to ignore the generated cmake config file
b9a5b9c Tell git to ignore the right generated pkg-config .pc file
e972b9e Document that the configfs Linux kernel module needs to be loaded
97b6477 Support printer function
ad378b4 Fix --without-libconfig segment fault on gadget-hid attr setting
67605a0 libusbgx: examples: gadget-vid-pid-remove: fix exit code on success
e0cdec8 Merge pull request #54 from mgrzeschik/gadget-vid-pid-remove
547a759 Merge pull request #55 from mgrzeschik/uvc
52aa5ed libusbgx: Add UVC support
852087a libusbgx: examples: gadget-vid-pid-remove: add dynamic vid pid support
af2292c Fix typo in comment
664b7e6 Added support for CMake projects macros
b5ad66e Fix #39 Compilation fails on gcc v8
283879d libusbgx: fix --without-libconfig build against glibc-2.28
```

Also add two pending MRs from github:
```
https://github.com/linux-usb-gadgets/libusbgx/pull/72
https://github.com/linux-usb-gadgets/libusbgx/pull/73
```

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Khem Raj
3042c14399 enca: Remove buildpaths from target scripts
Using configure checks to detect mktemp can result in problems in
cross-builds where buildtime mktemp ( native ) maybe detected in a path
that does not exist on target, therefore rely upon PATH variable to find
this binary when executing this script.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Wang Mingyu
366e40427b mg: upgrade 20230406 -> 20230501
License-Update: version of hboetes updated to 20230501

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:45:53 -07:00
Wang Mingyu
2080452f1d log4cpp: upgrade 1.1.3 -> 1.1.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:37:55 -07:00
Wang Mingyu
fc0a506bde libjs-jquery-cookie: upgrade 3.0.1 -> 3.0.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:37:55 -07:00
Wang Mingyu
28f70dc1eb hwdata: upgrade 0.369 -> 0.370
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-08 21:37:55 -07:00