diff mbox series

[meta-oe,19/39] libstatgrab: upgrade 0.92.1 -> 0.92.2

Message ID 20261127003543.2167775-20-khem.raj@oss.qualcomm.com
State New
Headers show
Series Source fixes, upgrades and build fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:35 a.m. UTC
Bug-fix release:
- Fix buffer overruns when reading process command lines and when the
  number of entries decreases between samples or grows from zero to one.
- Fix use-after-free and double-free errors after empty or failed
  statistics refreshes, and a memory leak when cleaning up user stats.
- Initialise process session IDs on platforms which do not provide them.
- Fix virtual memory usage calculation in the vm_stats example and the
  build on OmniOS.

Derive the release tag in SRC_URI from PV and anchor the upstream check
regex on the release tag.

License-Update: COPYING updated to the current FSF text; the FSF postal
address was replaced by the https://www.gnu.org/licenses/ URL.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{libstatgrab_0.92.1.bb => libstatgrab_0.92.2.bb}      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-extended/libstatgrab/{libstatgrab_0.92.1.bb => libstatgrab_0.92.2.bb} (77%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.2.bb
similarity index 77%
rename from meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb
rename to meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.2.bb
index 85d3853f4c..89ffd9b4ac 100644
--- a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb
+++ b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.2.bb
@@ -2,19 +2,19 @@  DESCRIPTION = "Utilities to collect and visualise system statistics"
 HOMEPAGE = "http://www.i-scream.org/libstatgrab/"
 
 LICENSE = "GPL-2.0-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce"
 
 DEPENDS = "ncurses"
 
 PACKAGES:prepend = "statgrab statgrab-dbg saidar saidar-dbg ${PN}-mrtg "
 
 # don't use the git tag unless docbooc2x is available to build the manpages
-SRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_0_92_1/libstatgrab-${PV}.tar.gz \
+SRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_${@d.getVar('PV').replace('.', '_')}/libstatgrab-${PV}.tar.gz \
           "
-SRC_URI[sha256sum] = "5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11"
+SRC_URI[sha256sum] = "ff559fcd4da75a4023af986c02c52ad51d4b68ae83fc0c8c461026126a8ebefa"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\_\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/LIBSTATGRAB_(?P<pver>\d+(_\d+)+)"
 
 # Perl5 is for tests only
 EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"