Drop patches now part of new upstream release:
- 0001-Fix-memory-leak.patch
- 0001-cmake-Link-with-libatomic-on-rv32-rv64.patch
- 0001-dlt-system-Fix-buffer-overflow-detection-on-32bit-ta.patch
Cherry-pick and propose upstream two patches to fix build failures with security hardening flags enabled
and with some systemd configuration (underlink)
- 481.patch
- 482.patch
Add new dlt-adaptor-stdin cmake optional flag
Drop PV variable, not needed anymore
Drop latomic manual added flag, upstream code changed to avoid its need
See: https://github.com/COVESA/dlt-daemon/pull/433 and 2224cddf14
(changed from atomic_bool to atomic_int, the latter doesn't require manual atomic library link since
it can be optimized properly by the compiler on riscv platforms)
What's Changed:
dlt-system: fix a libc buffer overflow detection on 32bit targets by @mtitinger in #337
dlt-daemon: create sockets using "android way" by @sebastienraillet in #333
fixes compilation issue with clang by @sebastienraillet in #339
dlt-daemon: Only create directories if they do not exist yet by @alexmohr in #340
dlt-system : fix invalid free with ConfigurationFileName by @mtitinger in #342
fix for the issue #341 by @rvalovyi in #347
Forcibly the severity level set by @dhnatiuk1 in #346
fix -Wformat issues reported by clang by @sebastienraillet in #349
dlt-system: fix invalid free by removing unused TempDir by @andreirusu96 in #350
Support for Cygwin toolchain. by @DoctorNoobingstoneIPresume in #351
filetransfer: Return error if no free space by @ssugiura in #354
lib: Correct VARI usage in dlt_user_log_write_uint by @ssugiura in #356
Fix DLT User/Client tests by @andreirusu96 in #357
tests: Deplicate unused files and variables by @ssugiura in #359
Fix the target name in documentation by @mawillers in #372
cmake: Add option to enable each adaptor by itself by @alexmohr in #364
cmake: Add options to enable/disable each dlt console tool by @alexmohr in #363
filetransfer: Fix getFileCreationDate2 stat check by @andreirusu96 in #361
dlt_config_file_parser.c:Fix a pointer release bug in the file。 by @Leslie-bcy in #376
Update workflow by @thanhbnq in #389
README: Update link to github actions by @ssugiura in #392
Fix handle returned value by @thanhbnq in #384
systemd: install adaptor-udp service for adaptor=on by @danielweber2018 in #393
automotive-dlt.pc: add the path to find the static library by @zeerd in #387
enforce-trace-limit: ContextLogLevel is now enforced in the daemon by @alexmohr in #382
dlt-daemon-connection: Start up even if not all bindings are valid by @alexmohr in #380
dlt_common.c: Change default logging_mode by @wusto in #406
logstorage: Truncate ECUid in Logstorage filter to prevent crash by @andreirusu96 in #402
Update dlt_for_developers.md by @marques-bruno in #405
dlt-gateway: Fix crash on invalid ip by @alexmohr in #381
dlt_client:Block in connect() by @thanhbnq in #409
dlt_daemon_client: Fix change loglevel of application by @lti9hc in #408
Update maintainer by @thanhbnq in #410
systemd: add support for socket activation via systemd by @alexmohr in #401
internal-logging: Fix issues with file logging by @alexmohr in #378
dlt_common: change output of message for log initialization by @lti9hc in #412
Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id by @michael-methner in #411
dlt_daemon_client: Fix Control Msg ECUId comparison with active Gateway by @andreirusu96 in #414
Fix for Resource and Memory Leak by @lti9hc in #418
dlt-receive: set host interface and allow multiple udp multicast addresses by @thanhbnq in #420
dlt-system: Fix buffer overflow detection on 32bit targets by @sandy-lcq in #398
cmake: network trace enable toggle by @danielweber2018 in #424
client: Fix Get Log Info response conversion method by @andreirusu96 in #422
filetransfer: fix filesize divisible by blocksize case by @danielweber2018 in #383
Updates for Coding Styles by @thanhbnq in #425
gateway: Fix Node handling and ECUid checks by @andreirusu96 in #429
Update contacts and removed mailing lists by @michael-methner in #431
dlt-user: Fix crashes in dlt_free during dlt_init by @alexmohr in #362
dlt-convert: Fix memory leak by calling dlt_file_free by @lvklevankhanh in #434
dlt-user: fix potential non closed socket in init/free by @alexmohr in #435
Check for negative index in dlt_file_message by @michael-methner in #437
Fix memory leak by @lvklevankhanh in #441
dlt-connection: add socket timeout by @alexmohr in #439
Installs dlt.conf on android by @sebastienraillet in #446
This changes a mispatch from fcb676a to install udp binary correctly by @smooge in #449
logfile: exhance internal dlt logging by introducing size limits by @danielweber2018 in #369
dlt-logd-converter: fixes android 12 compilation by @sebastienraillet in #445
dlt-logd-converter: Fix getting log level from log msg by @RobinChenJP in #456
house-keeper: remove infinite wait by @alexmohr in #438
cmake: remove duplicated option message by @minminlittleshrimp in #454
Android: Add new feature in Android bp by @minminlittleshrimp in #461
dlt_multiple_files: remove superfluous mode bits and add header file to header list by @minminlittleshrimp in #462
dlt-user: fix crash with certain strings by @alexmohr in #463
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
etcd-cpp-apiv3 is a C++ API for etcd's v3 client API.
This is etcd community recommended C++ library for etcd.
libetcd-cpp-api.so shared library provides both synchronous runtime
(etcd/SyncClient.hpp) and asynchronous runtime (etcd/Client.hpp).
To fix the build issues reported in OpenEmbedded setup updated commit id
on top of v0.14.2 release. Refer #etcd-cpp-apiv3/issues/210 for details.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Don't forget to apply object type filters to "perflevel" caches detected
on recent Mac OS X releases, thanks to Michel Lesoinne for the report.
* Fix a failed assertion in hwloc_topology_restrict() when some NUMA nodes
are removed because of HWLOC_RESTRICT_FLAG_REMOVE_CPULESS but no PUs are.
Thanks to Mark Grondona for reporting the issue.
* Mark HPE Cray Slingshot NICs with subtype "Slingshot".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
stat64 is an alias to stat on 64bit linux moreover this makes it work
with musl where LFS64 functions are deprecated
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add 'sysroot.bootprefix' option
deploy: Use 'semodule --refresh' if available
configure: post-release version bump
Release rust/ bindings 0.17.1
rust-bindings: Regenerate for 2023.1
rust-bindings: 'Sysroot' is 'Send'
itest-pull-space: Use mkfs.ext4, align to at least 512b
tests: Set size on fileinfo
Enable 'trust_return_value_nullability'
Add docs and fix annotations for ostree-repo-file.c
rust: Bump semver
lib: Fix two nullable annotations
repo: Fix nullability for remote options
rust: Renerate bindings
Revert "repo: Fix nullability for remote options"
rust-bindings: Regenerate
configure: post-release version bump
build: Do not include private headers in the introspection
libostree: Ignore new_and_connect in the introspection
libostree: Enhance the annotation coverage
core: Ensure glib standard::size attribute is always set
ci: update for new kolaTestIso()
lib/fetcher-util: Wake up main context when a request is complete
Increase buffer size for create_regular_tmpfile_linkable_with_content
tests: Ensure non-root users have access to libcap tools
ostree_raw_file_to_content_stream: Make size default to 0
_ostree_zlib_file_header_new: Default size to 0
write_content_object: Don't assume file info has standard::size
Use g_steal_fd() in preference to glnx_steal_fd()
docs: Use upstream theme & update to 0.4.1
build(deps): bump libglnx from '4e44fd9' to '07e3e49'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed a bug where the build type didn't default to "Release" when using
CMake 3.10 or earlier.
* Fixed a bug where some optimized code wasn't used when building with
Clang 15 or later (x86), or with Clang 16 or later (aarch64).
* Fixed build errors with some architecture and compiler combos:
* aarch64 with Clang 16
* armv6kz or armv7e-m with gcc
* armhf with gcc (on Debian only)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With version 3.22.11 it's not enough avoid linking to the
closed source ImageProcessor library, it must not be installed
either. This library is pre-stripped so package QA fails.
Add a new patch to fix installing HPLIP.conf into
/usr/share/ipp-usb/quirks. The upstream Makefile.am fails
to take DESTDIR into account and do_install fails because
of this. Also, instead of detecting the presence of the
target directory which is invalid for a source build,
create it and install the quirk file.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Support of new kernel features:
-----------------------------------
j1939: make use of new RX UAPI
isotp: rework FRAME_TXTIME handling and buffer size (Linux v5.18+)
isotp: add support for transmission without flow control (Linux v5.19+)
mcp251xfd-dump: add support for dumps created with Linux kernel >= v5.18
can-calc-bit-timing: import bit timing calculation algorithm from v5.19
cangen: add support for SO_TXTIME
includes: update to Linux 6.2 upstream (with CAN XL data structures)
Improvements and features:
--------------------------------
canfdtest: Add extended frame format / message length / FD / BRS support
can-calc-bit-timing: add support for calculation of CAN-FD bit timings
cangen: add option for absolute timeouts
cangen: new generation mode - partially randomized payload (-D)
slcan: increase BTR char limit to 8 for 32bit BTR
log asc converter: support len8_dlc for Classical CAN frames
candump: handle individual logfile name for stdout
cansniffer: add CAN FD support
cansniffer: make ASCII output switchable in CAN FD mode
canplayer: introduce option to limit the number of processed frames
Fixes:
-----------------------
candump: print number of dropped frames as unsigned values
candump: reserve enough space for ctrlmsg
candump: fix accidentally disabled traffic timeout feature
lib: fix seperator in snprintf_error_data
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
They are not cross compile friendly as they poke into build host
directories to determine if system is upstart based and it can fail
build on such hosts e.g. ubuntu
If someone is still using upstart with OE then please fix it and send a
better fix upstream to re-enable it here.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade urgency: SECURITY, contains fixes to security issues.
Security Fixes:
* (CVE-2023-28425) Specially crafted MSETNX command can lead to assertion and denial-of-service
Bug Fixes
=========
* Large blocks of replica client output buffer may lead to psync loops and unnecessary memory usage (#11666)
* Fix CLIENT REPLY OFF|SKIP to not silence push notifications (#11875)
* Trim excessive memory usage in stream nodes when exceeding `stream-node-max-bytes` (#11885)
* Fix module RM_Call commands failing with OOM when maxmemory is changed to zero (#11319)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Under sysvinit when trying to restart redis-server using
service redis-server restart two calls are made to start-stop-daemon, first
with the --stop argument and then with --start argument consecutively.
Because the process doesn't immediately terminate when start-stop-daemon
--stop is called, the next call to start-stop-daemon --start finds the
process still running and does not attempt to start another one.
This leads to only a stop of the redis-server process when a restart is
requested. This behavior affects all redis versions using sysvinit only.
This can be fixed by using the --retry <timeout/schedule> argument with
start-stop-daemon --stop in order for the call to block until the process
terminates so that start-stop-daemon --start will attempt to start a new
process.
Unfortunately the --retry argument works only in the implementation of
start-stop-daemon provided by dpkg package and is ignored in the
implementation provided by busybox package.
A repeated check if the process is still running and another try with
another signal after a timeout will effectively simulate a stop with
--retry=TERM/5/KILL/5 schedule.
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update SRC_REV and change recipe name.
Modify patches to apply and remove unrecognized configure
option --without-python2. Retain --with-python3 even
though it is the default.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To prevent naming collisions when BB_GENERATE_MIRROR_TARBALLS is used,
the packagename is used for the downloaded file.
Otherwise it would just be source-${PV}.tar.gz
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
regen
* test/ok_syntax1.y:
modify test for %union to add tag for testing reader.c
* reader.c:
provide for a named union, e.g., "%union foo" by detecting the name and
deferring the typedef in that case until the end of copying the union
definition
* VERSION, package/byacc.spec, package/debian/changelog,
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
With DEBUG_BUILD = "1", the following error occurs:
src/relpsess.c:95:1: error:
inlining failed in call to 'relpSessFreePermittedPeers': function not considered for inlining [-Werror=inline]
so use the compiler flag '-Wno-error=inline' for DEBUG_OPTIMIZATION only.
Tracked by upstream bug: https://github.com/rsyslog/librelp/issues/256
but it's looking like a toolchain bug.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add PACKAGECONFIG to enable dropping capabilities but leave it as disabled
to follow upstream and avoid a systemd issue described below.
rsyslog-8.2302 added a configure option to drop capabilities from
full to:
chown, dac_override, setgid, setuid, setpcap, net_bind_service,
net_admin, ipc_lock, sys_chroot, sys_admin, sys_resource, lease,
syslog, block_suspend
This works fine and passes ptests with sysvinit however
there is a bug when using systemd that breaks some tests:
https://github.com/rsyslog/rsyslog/issues/5091
Therefore only add a non-default PACKAGECONFIG option in keeping
with the rsyslog upstream.
One can install libcap-ng-bin to run pscap to see the capabilities.
Without this option the ptest result with systemd as init is:
Version | Passed | Failed | Skipped
8.2302 | 473 | 0 | 3
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1.15.3
Released: 2023-02-21
Build system:
Building this version of Flatpak with Meson is recommended. The source release flatpak-1.15.3.tar.xz no longer contains Autotools-generated files, although this version can still be built using Autotools after running ./autogen.sh. Future versions are likely to remove the Autotools build system.
Bug fixes:
When splitting an upgrade into two steps (download without installing, and then upgrade without allowing further downloads) like GNOME Software does, if an app is marked EOL and superseded by a replacement, don't remove the superseded app in the first step, which would result in the replacement incorrectly not being installed (#5172)
Fix a crash when --socket=gpg-agent is used (#5095)
Fix a crash when listing apps if one of them is broken or misconfigured (#5293)
If an app has invalid syntax in its overrides or metadata, mention the filename in the error message (#5293)
Unset $GDK_BACKEND for apps, ensuring GTK apps with --socket=fallback-x11 can work (#5303)
Fix a deprecation warning when compiled with curl >= 7.85 (#5284)
Translation updates: es, ru (#5266, #5312, #5313)
Internal changes:
Better diagnostic messages for why runtimes are or are not considered unused (#5237)
1.15.2
Released: 2023-02-06
Bug fixes:
Never try to export a parent of reserved directories as a --filesystem,
for example /run, which would prevent the app from starting (#5205, #5207)
Never try to export a --filesystem below /run/flatpak or /run/host,
which could similarly prevent the app from starting
The above change also fixes apps not starting if a --filesystem is a
symlink to the root directory (#1357)
Show a warning when the --filesystem exists but cannot be shared with
the sandbox (#1357, #5035, #5205, #5207)
Display the intended messages for flatpak repair (#5204)
Exporting an app to an existing repository on a CIFS filesystem
now works as intended (#5257)
Unset $GIO_EXTRA_MODULES for apps, avoiding misbehaviour in some GLib
apps when set to a path on the host (#5206)
Unset $XKB_CONFIG_ROOT for apps, avoiding crashes in GTK and Qt apps
under Wayland when this variable is set to a path not available in the
sandbox (#5194)
When using the fish shell, avoid duplicate XDG_DATA_DIRS entries if the
profile script is sourced more than once (#5198)
Update included copy of bubblewrap to 0.7.0 for better error messages
Install SELinux files correctly when building with Meson
Translation updates: ru, tr (#5256, #5262)
Internal changes:
Update included copy of libglnx
flatpak -v now uses the INFO log level, and flatpak -vv uses the
DEBUG log level in the flatpak log domain. Previously, the extra
messages that were logged by flatpak -vv were in a separate "flatpak2"
log domain. G_MESSAGES_DEBUG=flatpak previously had an effect similar to
flatpak -v, and is now more similar to flatpak -vv.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop upstreamed patches, switch to github-releases for upstream checks,
update comments regarding making ptest pass as C.UTF-8 is default in
glibc now.
Alex Kiernan (2):
lib/repo-checkout: Add ALLPERMS for musl
tests: Handle musl's ERANGE mapping
Benno Rice (1):
Replace the radix64 crate with base64
Colin Walters (5):
fetcher: Avoid too large queues for metadata processing
configure: post-release version bump
rust: Bump to 0.17
bindings: Consistently check for `dox` feature
Release 2023.1
Dan Nicholson (16):
tests/inst: Update hyper-staticfile to 0.9.4
Strip trailing whitespace on all C files
repo: Add API to regenerate and sign repo metadata
bin/summary: Use ostree_repo_regenerate_metadata
commit: Allow skipping automatic summary generation
repo: Create metadata commit in ostree_repo_regenerate_metadata
lib: Provide internal summary signing with separate directory
repo: Prevent publishing summary without matching signature
bin: Cleanup documentation of --cache-dir option
bin/refs: Sort listing
bin/refs: Add option to print revisions
bin/remote-refs: Add option to print revisions
bin/show: Add options to list metadata keys
ostree/dump: Add support for summary metadata keys
bin/summary: Add options to show metadata
bin/remote-summary: Add options to show metadata
Eric Curtin (1):
bootloader: Add an aboot (Android) bootloader backend
Jonathan Lebon (1):
ostree/prune: Calculate reachability under exclusive lock
Luca BRUNO (4):
lib: assert more invariants
configure: use pkg-config with newer gpgme and gpg-error
lib/repo: fix an 'unused-function' warning
lib/sysroot-upgrader: add some 'nullable' annotations
Tareque Md Hanif (1):
docs: Fix link to ostree-rs
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Also fixed --with-libxml2=no case in configure.ac
The CF3_WITH_LIBRARY and AC_CHECK_HEADERS were moved to outside of the check for with-libxml2=no
This fix is already merged in cfengine master but will need some time to cherry-pick and arrive in a 3.21.x LTS release.
Ticket: CFE-4023
Changelog: title
Signed-off-by: Craig Comstock <craig@unreasonablefarm.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* command_mode.cc (do_commands): Fix flush stdout after each command.
(Reported by Jeffrey Bosboom).
* New option '-W, --compare-before-write'.
(Suggested by Kajetan Harald Hinner and Petr Slansky).
* main_common.cc (show_option_error):
New function showing argument and option name.
* main.cc: Remove synonym '--direct'.
* Use 'long long' instead of 'long' for time variables.
* loggers.cc: Missing '#include <cstdlib>'.
* Fix two compiler warnings reported by Christian Franke.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
liblockfile do_install task will fail when ldconfig is not installed
on the host. Delete the useless line to fix the issue.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>