Commit Graph

26066 Commits

Author SHA1 Message Date
Yi Zhao d71a08b3d8 mbedtls: upgrade 2.28.2 -> 2.28.3
Mbed TLS 2.28 is a long-time support branch. It will be supported with
bug-fixes and security fixes until end of 2024.

ChangeLog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-28 16:28:35 -04:00
Yi Zhao c403568572 frr: upgrade 8.4.2 -> 8.4.4
ChangeLog:
https://github.com/FRRouting/frr/releases/tag/frr-8.4.4
https://github.com/FRRouting/frr/commit/45e36c0c00a517ad1606135b18c5753e210cfc0d

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-28 16:28:27 -04:00
Polampalli, Archana 473261544c tcpreplay: upgrade 4.4.3 -> 4.4.4
This release contains bug fixes only.
The following CVEs have been addressed:

CVE-2023-27783
CVE-2023-27784
CVE-2023-27785
CVE-2023-27786
CVE-2023-27787
CVE-2023-27788
CVE-2023-27789

Changelog:
=========
dlt_jnpr_ether_cleanup: check subctx before cleanup by @Marsman1996 in #781
Bug #780 assert tcpedit dlt cleanup by @fklassen in #800
Fix bugs caused by strtok_r by @Marsman1996 in #783
Bug #782 #784 #785 #786 #787 #788 strtok r isuses by @fklassen in #801
Update en10mb.c by @david-guti in #793
PR #793 ip6 unicast flood by @fklassen in #802
Bug #719 fix overflow check for parse_mpls() by @fklassen in #804
PR #793 - update tests for corrected IPv6 MAC by @fklassen in #805
PR #793 - update tests for vlandel by @fklassen in #806
Feature #773 gh actions ci by @fklassen in #807

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-28 16:28:13 -04:00
Hitendra Prajapati b3acca0eb1 wireshark: Fix Multiple CVEs
Backport fixes for:
* CVE-2023-0666 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/265cbf15a418b629c3c8f02c0ba901913b1c8fd2
* CVE-2023-0667 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/85fbca8adb09ea8e1af635db3d92727fbfa1e28a
* CVE-2023-0668 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/c4f37d77b29ec6a9754795d0efb6f68d633728d9

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-27 07:05:40 -04:00
Wang Mingyu 30b2c1c064 python3-django: upgrade 4.1.7 -> 4.2.1
Changelog:
https://docs.djangoproject.com/en/4.2/releases/4.2.1/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-23 08:02:41 -04:00
Joe Slater 3b31f80da3 python3-sqlparse: fix CVE-2023-30608
Backport from commit c457abd5f... upstream.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f8df473476)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-23 08:02:41 -04:00
Soumya via 9eaadb6a67 opencv: Fix for CVE-2023-2617
A vulnerability classified as problematic was found in OpenCV
wechat_qrcode Module up to 4.7.0. Affected by this vulnerability
is the function DecodedBitStreamParser::decodeByteSegment of the
file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation
leads to null pointer dereference. The attack can be launched
remotely. The exploit has been disclosed to the public and may
be used. It is recommended to apply a patch to fix this issue.
The associated identifier of this vulnerability is VDB-228547.

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-23 08:02:41 -04:00
Sandeep Gundlupet Raju 837 54ec73da43 opencv: Revert fix runtime dependencies
This reverts commit 0abf5af3ff

libopencv-ts package is not empty and libopencv_ts libraries are
not all installed in the -dev package, these libraries are needed
for sdk development listed in opencv4.pc file.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-23 08:02:41 -04:00
Hitendra Prajapati 5a01ab461c wireshark: CVE-2023-2952 XRA dissector infinite loop
Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/e18d0e369729b0fff5f76f41cbae67e97c2e52e5

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 13:15:57 -04:00
Joe Slater 6e9118383c 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>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>

cherry-pick from meta-oe/master 45a8bb2620...

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 13:15:52 -04:00
Khem Raj 7649dfaedf system-config-printer: Delete __pycache__ files
These pyc files include references to buildtime TMPDIR, therefore delete
them and let them be regerated during runtime if needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b1b7ee87ac)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 13:05:55 -04:00
Ross Burton e394c5d39d system-config-printer: clean up DEPENDS
Remove intltool-native as it is not used, and add autoconf-archive-native.

Also explicitly disable systemd when not selected to be sure it doesn't
automatically enable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0713297ae9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 13:05:20 -04:00
Ross Burton 2a0f5686c9 imsettings: add missing DEPENDS on autoconf-archive-native
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2697f5bcf4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 13:03:03 -04:00
Ross Burton 7075b40f41 libblockdev: clean up DEPENDS
If you try to build libblockdev with an empty PACKAGECONFIG then the
configure fails.

Add autoconf-archive, glib-2.0, and udev; these were implicitly pulled
in via other dependencies.  Move kmod to DEPENDS as it's a hard
requirement.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f14663746b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 12:56:34 -04:00
Ross Burton 9fbb7a0b92 libgxim: add autoconf-archive-native DEPENDS
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5fca30d672)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 12:55:03 -04:00
Ross Burton 3cb7ad2bec glade: add autoconf-archive-native DEPENDS
This can be satisfied via transitive dependencies, but make it an
explicit DEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit dbbafeceb4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-17 12:44:37 -04:00
Chen Qi edd072f647 redis: use the files path correctly
Recipes are not expected to set FILESPATH directly, they are
expected to use FILESEXTRAPATH.

I can see the seting of FILESPATH in this recipe only wants to
find redis-7 specific patches and files. This could be easily achieved by
using redis-7.0.11/ directory to hold all those files.

Using FILESPATH in this way removes the possibility of overriding
some files (e.g., the redis service file) from other layers via
FILESEXTRAPATH:prepend, which is kind of a common practice and is
actually working for basically all other recipes.

This is because we have:
meta/classes-global/base.bbclass:FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"
And FILESEXTRAPATH is handled in base_set_filespath.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-15 08:10:11 -04:00
Urade, Yogita t.mo fec772d55f c-ares: fix CVE-2023-32067
c-ares is an asynchronous resolver library. c-ares is vulnerable
to denial of service. If a target resolver sends a query, the attacker
forges a malformed UDP packet with a length of 0 and returns them to
the target resolver. The target resolver erroneously interprets the 0
length as a graceful shutdown of the connection. This issue has been
patched in version 1.19.1.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-32067
https://github.com/c-ares/c-ares/security/advisories/GHSA-9g78-jv2r-p7vc

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-15 08:10:11 -04:00
Xiangyu Chen 5fb3554563 meta-oe: add pahole to NON_MULTILIB_RECIPES
pahole need to line up with kernel's architectures bitsize,
so add it to NON_MULTILIB_RECIPES.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-15 08:04:04 -04:00
Hitendra Prajapati d31c4447f5 wireshark: Fix CVE-2023-2858 & CVE-2023-2879
Backport fixes for:
* CVE-2023-2858 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/cb190d6839ddcd4596b0205844f45553f1e77105
* CVE-2023-2879 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/118815ca7c9f82c1f83f8f64d9e0e54673f31677

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-15 08:04:00 -04:00
Xiangyu Chen 8b8e344c29 libbpf: installing uapi headers for native package
using libbpf-native provided headers for pahole-native or other application.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-07 07:46:55 -04:00
Hitendra Prajapati 147b663d83 wireshark: Fix CVE-2023-2855 & CVE-2023-2856
Backport fixes for:
* CVE-2023-2855 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/0181fafb2134a177328443a60b5e29c4ee1041cb
* CVE-2023-2856 - Upstream-Status: Backport from https://gitlab.com/wireshark/wireshark/-/commit/db5135826de3a5fdb3618225c2ff02f4207012ca

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-07 07:46:50 -04:00
Khem Raj df5a73dfe3 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>
(cherry picked from commit fcdb991b80)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-07 07:43:59 -04:00
schitrod=cisco.com@lists.openembedded.org 9286582126 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>
(cherry picked from commit 9edbe7033c)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-31 10:50:50 -04:00
Joe Slater 9fd2cedee6 bats: use baselib
Use sed to change scripts to reference ${baselib}.  The
former set of scripts modified was incomplete.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1cc72c41af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-31 10:50:46 -04:00
Khem Raj f8e3d25430 x265: Pass --debug-prefix-map to nasm
Ensures absolute source paths are not emitted into nasm assembled objects

Fixes
WARNING: x265-3.2.1-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libx265.so.179 in package x265-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6ab0ca758a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:42:01 -04:00
Khem Raj 70e1acc999 sgpio: Pass CFLAGS to make
Ensures all compiler options are passed to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit eb0878eccf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:41:27 -04:00
Khem Raj 6609c87eaf vlan: Pass CFLAGS via CCFLAGS
CCFLAGS is used in Make rules which will ensure file remapping options
are used when compiling

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 26842ecc3b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:40:54 -04:00
Khem Raj ffb2a0b552 libgphoto2: Edit out sysroot from CC variable in configure
Configure emits HAVE_CC variable to be used in sourcecode and its built
from CC env var, CC in OE contains buildpaths in --sysroot option,
therefore edit this option out in configure.ac itself and remove all
other workarounds to fix this issue in recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c0a344ab71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:39:29 -04:00
Khem Raj 9e5e6faa1b gimp: Fix buildpaths in binaries and scripts
Fixes

WARNING: gimp-2.10.34-r0 do_package_qa: QA Issue: File /usr/libexec/gimp-debug-tool-2.0 in package gimp contains reference to TMPDIR
File /usr/bin/gimp-console-2.10 in package gimp contains reference to TMPDIR
File /usr/bin/gimptool-2.0 in package gimp contains reference to TMPDIR
File /usr/bin/gimp-2.10 in package gimp contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d3bfe80601)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:37:58 -04:00
Khem Raj dcd8d7d1eb ibus: Point python interpreter to target location
it encoded PYTHON variable during build which otherwise points to python
on build host which is not correct for cross compiled packages.

Add missing dependency on python3-core which is needed for ibus-setup
script to run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fe0e3d77eb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:36:24 -04:00
Khem Raj 69f71ee9ec cgdb: Fix buildpaths emitted into cgdb binary
Do not add builddir to search paths for cgdb.txt

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ee2f57c7c3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:35:43 -04:00
Khem Raj 4bacb23044 nautilus: Fix buildpath QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit aca77cfa3c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:34:05 -04:00
Wang Mingyu 7044c98208 nautilus: upgrade 44.0 -> 44.1
0001-initialize-GdkDragAction-action-to-0.patch
removed since it's included in 44.1

Changelog:
==========
* Resolve some crashes
* Visual bugfixes:
  - Tweak style colors in view items
  - Show custom emblems from extensions again
  - Relayout SELinux property row
  - Flip switches correctly
* Other bugfixes:
  - Disable some actions when not useful
  - Fix dead characters handling in batch rename dialog
  - Fix crashes when rapidly opening and closing windows
  - Prevent location change when autofs timeouts
  - Fix issues with translations in libadwaita widgets
  - Drop workarounds for fixed GTK bugs
  - Fix other issues
* Enhancements:
  - Dismiss toast on undo
  - Select right items after some operations
  - Paste into expanded folders
  - Allow extraction of .tar.zst and .zstd archives
  - Performance optimization
* Translation updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0398ebda11)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:32:35 -04:00
Khem Raj f074fffb73 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>
(cherry picked from commit f523a41888)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:30:18 -04:00
Khem Raj 233e437dab minifi-cpp: Remove references to buildpaths in generated files
bison/flex emits line directives which can be safely removed from
generated files.

agent_version.h is generated by cmake which has build information like
compiler and cflags etc. which contains buildpaths too, therefore
replace real workdir with <WORKDIR>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0d2df1e4c4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:29:35 -04:00
Khem Raj b1e82cba4e openct: Fix buildpaths being emitted into generated types.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d9fb985b87)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:27:25 -04:00
Khem Raj 50b304eb30 uml-utilities: Fix references to TMPDIR
Pass CFLAGS from environment

Fixes
WARNING: uml-utilities-20040406-r1 do_package_qa: QA Issue: File /usr/lib/uml/.debug/port-helper in package uml-utilities-dbg contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a1d047bae7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:26:56 -04:00
Khem Raj 2f03a5380c unbound: Remove references to buildpaths
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9a06629463)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:26:28 -04:00
Khem Raj 4defc24d5e curlpp: Remove references to buildpaths e.g. TMPDIR
Fixes
WARNING: curlpp-0.8.1-r0 do_package_qa: QA Issue: File /usr/bin/curlpp-config in package curlpp-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8257604b8a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:26:07 -04:00
Khem Raj a7c7b77ad8 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>
(cherry picked from commit e34fa43eec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:25:31 -04:00
Khem Raj 71c65d7b54 mpv: Remove references to builddir from mpv binary
Fixes
WARNING: mpv-0.35.1-r0 do_package_qa: QA Issue: File /usr/bin/mpv in package mpv contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 55d92033a2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:25:02 -04:00
Khem Raj be1dd4dfe2 nbdkit: Remove buildpaths from binaries
Drop unused patch 0001-server-Fix-build-when-printf-is-a-macro.patch

Fixes
WARNING: nbdkit-1.33.11-r0 do_package_qa: QA Issue: File /usr/lib/nbdkit/plugins/nbdkit-cc-plugin.so in package nbdkit contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit da331ae8f1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:24:32 -04:00
Khem Raj 6460f9ba8b 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>
(cherry picked from commit 9f1f22f95b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:22:53 -04:00
Khem Raj 43be60ba1c lirc: Define SH_PATH=/bin/sh
It points to sh provided by HOSTTOOLS in the build systems path

Fixes
WARNING: lirc-0.10.2-r0 do_package_qa: QA Issue: File /usr/include/lirc/config.h in package lirc-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d112323521)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:21:41 -04:00
Khem Raj 410bb82d7b libpeas: Fix reference to TMPDIR in tests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4921a6df05)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:20:26 -04:00
Khem Raj 35d3bbf587 libmad: Add a patch to pass cflags to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0474e0b870)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:17:05 -04:00
Khem Raj af36e64fa8 uw-imap: Pass CFLAGS from environment
This ensures that -ffile-prefix-map passed to compiler

Fixes
WARNING: uw-imap-2007f-r0 do_package_qa: QA Issue: File /usr/lib/libc-client.a in package uw-imap-staticdev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b6850eab88)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:15:54 -04:00
Ming Liu 41e2c464f0 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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:15:03 -04:00
Ming Liu e2d28cb3ef 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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:14:23 -04:00