Commit Graph

16 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
ffc61c3b93 libmodbus: upgrade 3.1.10 -> 3.1.11
Resolves CVE-2024-10918

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-06 06:58:00 -08:00
alperak
9b8bb00bd6
libmodbus: upgrade 3.1.7 -> 3.1.10
* Fix-float-endianness-issue-on-big-endian-arch.patch removed because fixed in the new version.

Changelog:

* Fix baud rate handling with RTU under Linux
* Fix modbus_disable_quirks signature
* Remove Travis CI
* Move content about migration to libmodbus.org
* Avoid negative value in FD_SET call
* Test socket against positive value instead of -1
* Improvements to autotools by @ndim
* Fix doc links by @jordanjohnson56 (#653)
* Test the protocol id for 0 by @metapsychologe (#509)
* Fix double negative in tests
* New quirks handler (closes #38 #533)
* Fix bitwise OR in documentation
* Improve doc about slave ID in RTU
* Add .clang-format and format code (closes #394)
* Remove constraints on baud rate values
* Accept IP or device in arg of unit test progs
* Avoid compilation issue with VS2022 with strdup
* Display created files in configure.js
* Use strcpy_s under Windows
* Replace inet_addr by inet_pton calls
* Replace inet_ntoa by inet_ptop
* Update configure.ac/config.h.win32 for new inet functions
* Instructions to build libmodbus in a VS project
* Fix connection check for Windows RTU (closes #660, #662)
* Add CIFuzz Github action by @DavidKorczynski (#669)
* Convert a few int to unsigned int (#402)
* Major rewrite of documentation with Material for mkdocs
* Reduce memory use of TCP PI backend (closes #621)
* Fixed MODBUS_ERROR_RECOVERY_LINK not working on Windows (@embeddedmz)
* Replace Travis CI by GitHub CI
* Fix linker error for Windows (VCLinkerTool)
* Address check in single register / coil responses added (#463)
* Swap CRC bytes in request data but not at CRC computing (#397)
* Fix float endianness issue on big endian architecture
* Fix comment about EMBUNKEXC (closes #566)
* Fix network library detection on Haiku
* Fix typos (closes #620)

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-30 07:26:07 -08:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy
e3929a60d6 libmodbus: upgrade 3.1.6 -> 3.1.7
Fix-typo.patch
f1eb4bc7ccb09cd8d19ab641ee37637f8c34d16d.patch
removed since they're included in 3.1.7

Changelog:
=========
modbus_reply: fix copy & paste error in sanity check
Add SECURITY.md
Fix typo in comment
Replace obsolete AC_PROG_CC_STDC by AC_PROG_CC
Fix position of CC flags in documentation
Remove duplicate ';'
Add the baud rate of 256k for Windows
cosmetic changes in man page standardizing itemization
Fix many typos
Replace .dir-locals.el (Emacs) by .editorconfig
Include the test LICENSE in tarball
Install the NEWS and AUTHORS files
Update README.md
docs: fix simple typo, reponse -> response
Add modbus_[get|set]_indication_timeout to doc build
Fix warning issues
Move malloc before starting unit tests
Fixed MODBUS_GET_* macros in case of negative values
SPDX: change LGPL-2.1+ to LGPL-2.1-or-later

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-19 09:01:04 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Gianfranco Costamagna
dab0e5421f libmodbus: update version to 3.1.6
cherry-pick upstream patch and two Debian patches. tweak configure step to force autogenerated files regeneration

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 09:06:54 -07:00
Ming Liu
425c605a6d libmodbus: add documentation PACKAGECONFIG
asciidoc, xmlto programs are being checked to decide if documentation
should be generated or not depending on if they are present, this will
definitely lead to a non-deterministic build.

Fix it by adding documentation to PACKAGECONFIG.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-02 14:13:57 -07:00
Gianfranco Costamagna
0f5e076f09 libmodbus: start to prefer version 3.1.4 as default
Now that even Debian testing is using it, and upstream declares this version as "very stable",
 it might be time to switch using it as default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Nobuhiro Iwamatsu
9405f930b2 libmodbus: update to upstream develop version 3.1.4
Rename recipe then change md5sum and sha256sum.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:57 +02:00
Pascal Bach
1eac35d508 libmodbus: add support for the libmodbus development release
libmodbus has two release streams:
- stable: which currently is 3.0.x and does only receive fixes
- development: 3.1.x which receives new features and according to upstream is also very stable

Some users require access to the newer features.
So a recipe for the development branch but leave the stable branch the default.
This is similar to what is done for the nginx recipe which also has two release streams.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:20 +02:00
Joe Slater
ef531ff6ad libmodbus: version 3.0.5 -> 3.0.6
Rename recipe then change md5sum and sha256sum.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-26 21:37:36 +01:00
Andrea Galbusera
63dda30632 libmodbus: update to upstream stable version 3.0.5
* update SRC_URI according to download location for new releases

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-18 23:20:03 +01:00
Andrea Galbusera
3eb5f6eecf libmodbus: update to 3.0.3
v2: also reword SRC_URI with ${BPN}/${BP}

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-25 09:08:16 +02:00
Andrea Galbusera
984fa94e2b libmodbus: ported recipe from classic and updated
* based on recipe by Radoslav Kolev which was in classic
 * updated to latest released version 3.0.2

 v2:
 * drop git version of recipe
 * drop no longer used PRIORITY

 v3:
 * drop PR = "r0"

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-16 07:29:15 +02:00