7 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Peter Marko
c048c04101 libconfuse: patch CVE-2022-40320
Pick patch per [1] poiting to [2] pointing to [3].

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-40320
[2] https://github.com/libconfuse/libconfuse/issues/163
[3] d73777c2c3

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:09 -08:00
Enrico Jörns
342d82096a
libconfuse: add backported patch to fix search path logic
The fix is required to deal with absolute paths when using genimage in
openembedded context.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
5c87230ad0
libconfuse: switch to release tar archive
Building autotools packages from git can be a bit tricky and requires
manual invocations of autogen.sh, etc.

An attempt to build for native build fails with:

| autoreconf: running: autopoint --force
| Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318.
| autoreconf: error: autopoint failed with exit status: 2
| WARNING: exit code 2 from a shell command.

Since the project itself states

> Please ensure you download a versioned archive from:
> https://github.com/libconfuse/libconfuse/releases/

simply switch this recipe to using release archives and thus simplify it
and fix the automake issue.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
2f95897a63
libconfuse: replace DESCRIPTION by SUMMARY
DESCRIPTION will default to SUMMARY, but not the other way round.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
d88ae3885f
libconfuse: provide native and nativesdk support
Allows to use libconfuse in native tools like 'genimage'.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
eeda4f91bb
libconfuse: move to meta-oe
This prepares for using libconfuse for the 'genimage' recipe which
should reside in meta-oe.

Also libftdi (which is in meta-oe already) optionally requires
libconfuse when PACKAGECONFIG option 'ftdi-eeprom' is enabled.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00