package/libmbus: bump version to 0.9.0

Release notes:
https://github.com/rscada/libmbus/blob/0.9.0/release_notes.txt

Downloading the source tarball is broken since at least Oct 30th, 2024
as reported by the buildroot autobuilders:
https://autobuild.buildroot.net/?reason=libmbus-0.8.0&step=50&start=50

Switching to the github helper provides the correct source code but the
tarball downloaded has a different hash. A quick search did not provide
alternative download locations for the original tarball
libmbus-0.8.0.tar.gz.

To solve the broken build we do not only switch _SITE to github but also
bump the package to 0.9.0 and add autoreconf which needs two directories
being created in _POST_PATCH_HOOKS. One missing directory was already
reported upstream: https://github.com/rscada/libmbus/issues/179

Updated license hash due to upstream commit:
ab8919136d

Fixes:
https://autobuild.buildroot.net/results/91a/91a82dc73bf87cf1969cd6a2ddea1809ab9a1613/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: change release notes url to use tag]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e42b3de3b1ccd41ef1907a791a7d3792d201c0be)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Bernd Kuhls
2025-11-22 22:12:23 +01:00
committed by Thomas Perale
parent 4555cb1672
commit 4a146c1e40
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
# Locally calculated
sha256 9fca42592da0ba75df66c6f885a4dbfa916d23e65e3d1ce6e38d940d2a2719a4 libmbus-0.8.0.tar.gz
sha256 ea171a4ae443eca7186f564db2c3cc8b84c1ac343f227f92cd52ec6a948f4a74 COPYING
sha256 89fadb9074f5f719b2988cf30af1f8ced3e40f9f499b5b9047f8f33f876cce2d libmbus-0.9.0.tar.gz
sha256 034b36d855501ea9c5588f4753335d08757149a02faf1d61baa9a6d861be4e3a COPYING

View File

@@ -4,10 +4,18 @@
#
################################################################################
LIBMBUS_VERSION = 0.8.0
LIBMBUS_SITE = http://www.rscada.se/public-dist
LIBMBUS_VERSION = 0.9.0
LIBMBUS_SITE = $(call github,rscada,libmbus,$(LIBMBUS_VERSION))
LIBMBUS_INSTALL_STAGING = YES
LIBMBUS_LICENSE = BSD-3-Clause
LIBMBUS_LICENSE_FILES = COPYING
# github tarball does not include configure
LIBMBUS_AUTORECONF = YES
# Autoreconf is missing some directories
define LIBMBUS_CREATE_DIRS
mkdir -p $(@D)/libltdl
mkdir -p $(@D)/m4
endef
LIBMBUS_POST_PATCH_HOOKS += LIBMBUS_CREATE_DIRS
$(eval $(autotools-package))