0106-libmodbus-GfA.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff --git a/package/libmodbus/Config.in b/package/libmodbus/Config.in
  2. index 642b57c..ccf1190 100644
  3. --- a/package/libmodbus/Config.in
  4. +++ b/package/libmodbus/Config.in
  5. @@ -1,8 +1,8 @@
  6. config BR2_PACKAGE_LIBMODBUS
  7. bool "libmodbus"
  8. help
  9. - libmodbus is a free software library to send/receive data
  10. - according to the Modbus protocol. This library is written in C
  11. - and supports RTU (serial) and TCP (Ethernet) communications.
  12. + libmodbus is a free software library to send/receive data according
  13. + to the Modbus protocol. This library is written in C and supports
  14. + RTU (serial) and TCP (Ethernet) communications.
  15. http://libmodbus.org
  16. diff --git a/package/libmodbus/libmodbus.hash b/package/libmodbus/libmodbus.hash
  17. deleted file mode 100644
  18. index 2931f3f..0000000
  19. --- a/package/libmodbus/libmodbus.hash
  20. +++ /dev/null
  21. @@ -1,3 +0,0 @@
  22. -# Locally computed
  23. -sha256 d7d9fa94a16edb094e5fdf5d87ae17a0dc3f3e3d687fead81835d9572cf87c16 libmodbus-3.1.6.tar.gz
  24. -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER
  25. diff --git a/package/libmodbus/libmodbus.mk b/package/libmodbus/libmodbus.mk
  26. index 584ac75..13b9b26 100644
  27. --- a/package/libmodbus/libmodbus.mk
  28. +++ b/package/libmodbus/libmodbus.mk
  29. @@ -4,11 +4,12 @@
  30. #
  31. ################################################################################
  32. -LIBMODBUS_VERSION = 3.1.6
  33. -LIBMODBUS_SITE = http://libmodbus.org/releases
  34. -LIBMODBUS_LICENSE = LGPL-2.1+
  35. +LIBMODBUS_VERSION = GfATest
  36. +LIBMODBUS_SITE = https://gogs.reru.org/GfA/libmodbus.git
  37. +LIBMODBUS_SITE_METHOD = git
  38. +LIBMODBUS_LICENSE = LGPLv2.1+
  39. LIBMODBUS_LICENSE_FILES = COPYING.LESSER
  40. +LIBMODBUS_AUTORECONF = YES
  41. LIBMODBUS_INSTALL_STAGING = YES
  42. -LIBMODBUS_CONF_OPTS = --without-documentation --disable-tests
  43. $(eval $(autotools-package))