Commit Graph

1483 Commits

Author SHA1 Message Date
Alexander Kanavin
33902c6d9a libsigrockdecode: add python 3.11 compatibility
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-14 11:25:11 -07:00
Alexander Kanavin
543ce73b1d collectd: add a python PACKAGECONFIG, off by default
This resolves python 3.11 errors as well.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-14 11:25:11 -07:00
Alexander Kanavin
ba2d152465 mozjs-91: update to 91.13.0
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-14 11:25:11 -07:00
Khem Raj
28d9c472f3 minifi-cpp: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-11 20:42:05 -07:00
Khem Raj
5b73deaf18 minifi-cpp: Disable lto.
lto does not work always. Its enabled only in civetweb and no where
else. Fow cosnsitent builds disable it everywhere.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-07 16:44:54 -07:00
Khem Raj
1d42950097 sblim-sfcb: Include config.h before using CONFIG_ERROR_H
Fix use before definition case.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-07 16:44:54 -07:00
Khem Raj
c5f7b7eb69 minifi-cpp: Disable gnu extention of strerror_r when using musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
3ab3b08ad9 fluentbit: Drop redundant patch
Instead of applying one and then reverting it via another patch, its
better to apply SRC_URI:remove on the original patch for x86 (32bit)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
6c25184859 enscript: Include string.h form str* function prototypes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
d40f392732 uml-utilities: Add missing headers for exit and str+ functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
47365afb51 scsirastools: Pass -D_LARGEFILE64_SOURCE via CFLAGS
It uses lseek64 which is enabled only with this macro

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
cc6ecbe502 hplip: Upgrade to 3.22.6
Add fix to remove python2 need.
Add fixes to build with clang+musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
d8fd28626f libgxim: Enable debug mode
This helps compile because it uses gdk_x11_atom_to_xatom_for_display()
in libgxim/gximcore.c unconditionally but guards use of gdk/gdkx.h via GNOME_ENABLE_DEBUG

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
3cfe757729 sanlock: Add missing prototype for mem* functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
6333570966 sblim-sfcb: Add missing headers file for clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
697293421d sblim-sfcc: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
5dec03ef88 libx86: Fix pointer typecasting in assignment
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
9502097f2f pam-ssh-agent-auth: Fix __progname configure check
This check needs to include stdio.h for printf() API to work
otherwise test fails.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
6f01823298 sblim-sfcb: Fix AC_CHECK_LIB tests for various libraries
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
7f7179c275 pam-plugin-ccreds: Fix AC_CHECK_LIB for libdb
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
4465019bcb libpwquality: Do not use fgetpwent_r on musl
It does not exist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
b02b4f5967 nana: Include stdlib.h form exit() and abort() functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj
6d9b67af95 libuio: Update to latest tip of trunk
Drop upstreamed 0001-include-fcntl.h-for-O_RDWR-define.patch
Drop replace_inline_with_static-inline.patch, it has been fixed
differently

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Sergio Prado
0d5a3e6755 polkit: refresh patch to fix warning
Fix the following warning:

WARNING: polkit-0.119-r0 do_patch: Fuzz detected:

Applying patch 0004-Make-netgroup-support-optional.patch
patching file configure.ac
Hunk #1 succeeded at 117 with fuzz 2 (offset 17 lines).
patching file meson.build
patching file src/polkit/polkitidentity.c
patching file src/polkit/polkitunixnetgroup.c
patching file src/polkitbackend/polkitbackendinteractiveauthority.c
patching file src/polkitbackend/polkitbackendjsauthority.cpp
Hunk #1 succeeded at 1291 (offset -233 lines).
Hunk #2 succeeded at 1306 (offset -233 lines).
patching file test/polkit/polkitidentitytest.c
patching file test/polkit/polkitunixnetgrouptest.c
patching file test/polkitbackend/test-polkitbackendjsauthority.c

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Wang Mingyu
4fdcfdec80 libblockdev: upgrade 2.26 -> 2.27
0001-lvm-Do-not-include-duplicate-entries-in-bd_lvm_lvs-o.patch
removed since it's included in 2.27

Changelog:
=========
 fs: Return BD_FS_ERROR_UNKNOWN_FS on mounting unknown filesystem
 overrides: Fix translating exceptions in ErrorProxy
 tests: Do not check that swap flag is not supported on DOS table
 tests: Lower expected free space on newly created Ext filesystems
 tests: Remove test for NTFS read-only mounting
 vdo_stats: Default to 100 % savings for invalid savings values
 lvm: Fix reading statistics for VDO pools with VDO 8
 tests: Fix creating loop device for CryptoTestLuksSectorSize
 tests: Use losetup to create 4k sector size loop device for testing
 s390: Remove double fclose in bd_s390_dasd_online (#2045784)
 lvm-dbus: Add support for changing compression and deduplication
 tests: Skip test_lvcreate_type on CentOS/RHEL 9
 tests: Fix expected extended partition flags with new parted
 lvm: Do not set global config to and empty string
 lvm: Do not include duplicate entries in bd_lvm_lvs output
 lvm: Use correct integer type in for comparison
 crypto: Remove useless comparison in progress report in luks_format
 boilerplate_generator: Remove unused variable assignment
 kbd: Add missing progress reporting to bd_kbd_bcache_create
 kbd: Fix leaking error in bd_kbd_bcache_detach
 kbd: Fix potential NULL pointer dereference in bd_kbd_bcache_create
 crypto: Remove unused and leaking error in write_escrow_data_file

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Wang Mingyu
fbb99e9ad5 logwatch: upgrade 7.6 -> 7.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-28 23:57:15 -07:00
Potin Lai
1ddbf3f7a3 libusbmuxd: add libusbmuxd_git.bb
Add libusbmuxd_git.bb to point to latest commit on github

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-27 07:37:45 -07:00
Potin Lai
d13b37bf8f libplist: add libplist_git.bb
Add libplist_git.bb to point to latest commit on github

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-27 07:37:45 -07:00
Wang Mingyu
82a4a3fc27 zlog: upgrade 1.2.15 -> 1.2.16
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 19:12:52 -07:00
Changqing Li
e4f8e83541 dlt-daemon: fix dlt-system.service failed since buffer overflow
dlt-system.service start failed with error:
dlt-system[367]: *** buffer overflow detected ***: terminated
dlt-system.service: Failed with result 'watchdog'.
dlt-system.service: Main process exited, code=dumped, status=6/ABRT                                                                                        dlt-system.service: Watchdog timeout (limit 2s)!

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-19 09:28:58 -07:00
Khem Raj
d1fb6cd8a5 fluentbit: Upgrade to 1.9.7 and fix build on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-18 23:41:11 -07:00
Khem Raj
6c998191cd fluentbit: Use CMAKE_C_STANDARD_LIBRARIES cmake var to pass libatomic
Since libatomic needs to be linked last in the list of libs, take
advantange of using CMAKE_C_STANDARD_LIBRARIES insread of FLB_DEPS
since DFLB_DEPS is not appended last to linker flags in CMakefiles
it ends up with undefined references for libatomic symbols in libs
appearing after FLB_LIBS in sequence

Use it for mips too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-18 23:41:11 -07:00
Wang Mingyu
e29afd0c0c icewm: upgrade 2.9.8 -> 2.9.9
Changelog:
===========
-Permit percentages to have comma's in icesh.
-Keep accurate track of window changes in workspace buttons for
  PagerShowPreview.  Only redraw affected workspace buttons, which reduces
  the total number of workspace button redraws, especially for larges
  number of workspace buttons.
-Add key bindings for single window tiling operations for issues
  bbidulock/icewm#335, ice-wm/icewm#74 and ice-wm/icewm#84.
-Complete -e option.
-WindowMaker dock apps are supported.
-Support more HTML entities in icehelp.
-Remove dependency on asciidoc and prefer markdown format for the manual.
-Prevent warnings.
-Also install markdown.
-Try srcdir.
-Cleanup test and prefer markdown manual.
-Cleanup key grabs.
-Drop obsolete wmOccupyAll().
-Accept either markdown or asciidoc to generate manual html with CMake.
-Add markdown and icesh.
-Automatically detect and prevent race conditions in icesh relating to
  moving and sizing windows for issue #335. Improve the accuracy of the
  "sizeto" command in icesh for issue #335. Add "extents" command to
  icesh. Add "workarea" command to icesh.
-Get rid of the frameContext.
-Prefer findClient in two cases: unmap notify and recv ping.
-Merge remote-tracking branch 'upstream/icewm-1-4-BRANCH' into
  icewm-1-4-BRANCH
-Merge branch 'icewm-1-4-BRANCH'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
Changqing Li
15a1c43d24 redis: fix do_patch fuzz warning
Fix:
WARNING: lib32-redis-7.0.4-r0 do_patch: Fuzz detected:
Applying patch GNU_SOURCE.patch
patching file src/zmalloc.c
Hunk #1 succeeded at 32 with fuzz 2 (offset 4 lines).

There are two version of redis, and need different GNU_SOURCE.patch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-14 19:29:06 -07:00
Mingli Yu
015fcc4053 liblockfile: fix buildpaths issue
Fixes:
  WARNING: liblockfile-1.14-r0 do_package_qa: QA Issue: File /usr/lib/liblockfile.a in package liblockfile-staticdev contains reference to TMPDIR [buildpaths]
  WARNING: liblockfile-1.14-r0 do_package_qa: QA Issue: File /usr/lib/liblockfile.so.1.0 in package liblockfile contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
Alex Kiernan
68d5d03be4 ostree: Cleanup PACKAGECONFIGs
Add ed25519-libsodium to PACKAGECONFIG, mark glib/gnutls/openssl as
mutual conflicts.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
Khem Raj
bc2b1482a0 fluentbit: Fix build with musl
Pass large enough default for FLB_CORO_STACK_SIZE
Remove unused jemalloc patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-10 08:48:30 -07:00
Khem Raj
0f8dced8c7 fluentbit: Fix build with clang
Fix build using clang-15 which is even stricter then clang-14
These patches are worth upstream too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Paulo Neves <ptsneves@gmail.com>
2022-08-10 08:48:26 -07:00
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
Khem Raj
32b42cd3e5 ostree: Upgrade to 2022.5 release
Backport a fix for building with glibc 2.36+ while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-06 22:53:24 -07:00
Paulo Neves
d09755e8e3 fluentbit Upgrade to 1.3.5 -> 1.9.6
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-06 09:12:15 -07:00
wangmy
eb7b368ffc icewm: upgrade 2.9.7 -> 2.9.8
Changelog:
=========
 Omit trailing dot in CPU temperature and add centigrade symbol for issue bbidulock/icewm#652.
 If there is no WM active, then a request to restart will start icewm.
 Don't create the ~/.icewm directory, unless required to save a file.
 When showing the desktop, also minimize a focused fullscreen window.
 Add support for COMPOUND_TEXT title names in WM_NAME strings for issue bbidulock/icewm#26.
 Limit window dimensions to 32732 pixels in the icesh command.
 Improve the truncation of titles for TaskBarTaskGrouping in issue bbidulock/icewm#658.
 Let TaskBarShowAllWindows influence TaskBarTaskGrouping for issue bbidulock/icewm#560.
 Update the TaskBarTaskGrouping menu, when tasks are added or removed.
 Restore the 2.5.0 container handling of button presses for issue bbidulock/icewm#649.
 Make the TaskBarGraphHeight preference themable for issue bbidulock/icewm#659.
 Clarify which preferences are themable in icewm-preferences(5).
 Update the translations for Macedonian and Swedish.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-06 09:12:15 -07:00
Marta Rybczynska
271282b1a5 polkit: update patches for musl compilation
Update the patch to make netgroup support optional to fit the commit
merged upstream [1], update the other patch depending on one of the
changes.

Without this update, a compilation using duktape with musl fails with:
| ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c: In function 'js_polkit_user_is_in_netgroup':
| ../../../polkit-0.119/src/polkitbackend/polkitbackendduktapeauthority.c:1039:7: warning: implicit declaration of function 'innetgr' [-Wimplicit-function-declaration]
|  1039 |   if (innetgr (netgroup,
|       |       ^~~~~~~

The main patch has been split in two, to apply the duktape part only when duktape is
applied.

[1] b57deee817

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-29 09:18:14 -07:00
Akash Hadke
7ca63e5454 polkit: Add --shell /bin/nologin to polkitd user
polkitd user has default access to /bin/sh, add --shell /bin/nologin
to remove default access to /bin/sh and avoid login through it.

Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-28 08:34:19 -07:00
Mingli Yu
f563466af7 s-nail: fix buildpaths issue
Fixes:
  WARNING: s-nail-14.9.24-r0 do_package_qa: QA Issue: File /usr/bin/s-nail in package s-nail contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-27 11:59:40 -04:00
wangmy
a487ec9362 redis: upgrade 7.0.2 -> 7.0.4
Changelog:
==========
Upgrade urgency: SECURITY, contains fixes to security issues.

Security Fixes:
----------------
    (CVE-2022-31144) A specially crafted XAUTOCLAIM command on a stream
    key in a specific state may result with heap overflow, and potentially
    remote code execution. The problem affects Redis versions 7.0.0 or newer.

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
wangmy
b85feca281 redis-plus-plus: upgrade 1.3.3 -> 1.3.5
0001-cmake-Use-CMAKE_INSTALL_LIBDIR-from-GNUInstallDirs.patch
removed since it's included in 1.3.5

Changelog:
==========
  Ensure running async callback when error happens.
  Add sentinel support for coroutine interface.
  Add publish command for async interface.

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
wangmy
7568000c31 pegtl: upgrade 3.2.6 -> 3.2.7
Removed superfluous deprecated include.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-19 18:38:44 -07:00
Davide Gardenal
efa12676dd meta-oe: ignore patched CVEs
Some old CVEs don't have a vulnerable version range in the NVD database,
this causes come mismatch with cve-check. Ignore many CVEs that are
picked up by the class but are patched in our products.

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
Davide Gardenal
261465eb6e libplist: ignore patched CVEs
CVE-2017-5834, CVE-2017-5835 and CVE-2017-5836 are patched in our
version of libplist but they don't have a vulnerable version range in
the NVD database, that's why they need to be 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