diff mbox series

[meta-oe,04/55] snapper: upgrade 0.13.1 -> 0.13.2

Message ID 20261125080732.2419614-10-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-multimedia] clightd: Port ALS sensor to libiio 1.0 | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:06 a.m. UTC
- Add snapper-sync script and service to synchronize the highest
  snapshot number, and allow disabling all-time unique snapshot numbers
- snbk: new meta-parse command validates info.xml checksums using
  libcrypto, so OpenSSL is now a build dependency; libsnapper soversion
  bumped to 8.2.0
- Improve error handling when snapperd is disconnected from D-Bus or the
  client uid cannot be detected; service files now depend on dbus
- Fix LVM device name parsing with escaped hyphens, CRLF handling in
  config files and a memory leak on error paths
- Hardening: validate STOMP content-length before reading frames,
  validate unsigned JSON config values in the zypp plugin, handle NULL
  D-Bus connections in pam_snapper

Add openssl to DEPENDS for the libcrypto check, and point CAT_BIN at the
target cat, which the new snbk tool would otherwise take from the build
host. Add an upstream check that skips the yast-snapper tags in the same
repository.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb}   | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb} (86%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/snapper/snapper_0.13.1.bb b/meta-oe/recipes-support/snapper/snapper_0.13.2.bb
similarity index 86%
rename from meta-oe/recipes-support/snapper/snapper_0.13.1.bb
rename to meta-oe/recipes-support/snapper/snapper_0.13.2.bb
index aa8547b33d..920a4fb274 100644
--- a/meta-oe/recipes-support/snapper/snapper_0.13.1.bb
+++ b/meta-oe/recipes-support/snapper/snapper_0.13.2.bb
@@ -3,13 +3,16 @@  HOMEPAGE = "https://github.com/openSUSE/snapper"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib"
+DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses openssl zlib"
 
 # Build separation is slightly broken
 inherit autotools-brokensep pkgconfig gettext manpages
 
-SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master"
-SRCREV = "8cfc33817b91dbf7194d7fd043dc378026d01db5"
+SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master;tag=v${PV}"
+SRCREV = "43475845a712bc2327cec2ed641063df406705de"
+
+# The repository also carries yast-snapper tags
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 
 EXTRA_OECONF += "--disable-zypp"
 
@@ -24,6 +27,7 @@  export RM_BIN = "${bindir}/rm"
 export RMDIR_BIN = "${bindir}/rmdir"
 export MKDIR_BIN = "${bindir}/mkdir"
 export TOUCH_BIN = "${bindir}/touch"
+export CAT_BIN = "${bindir}/cat"
 export CP_BIN = "${bindir}/cp"
 export REALPATH_BIN = "${bindir}/realpath"
 export SHA256SUM_BIN = "${bindir}/sha256sum"