diff mbox series

[meta-oe,08/12] live555: Upgrade 20260112 -> 2026.06.24

Message ID 20261202060612.3378528-9-khem.raj@oss.qualcomm.com
State New
Headers show
Series Fix broken upstream version checks in meta-oe | expand

Commit Message

Khem Raj Dec. 2, 2026, 6:06 a.m. UTC
upstream no longer publishes a changelog; changes from the source diff:
- RTSP request parsing is stricter: CSeq must be non-empty and numeric,
  and NUL characters in requests are rejected
- extra sanity checks in the Ogg and Matroska file parsers
- RTSPServer requires authentication for SET_PARAMETER and handles
  DESCRIBE and SETUP asynchronously
- sockets can be bound to a given interface (SO_BINDTODEVICE)

Use upstream's dotted live.YYYY.MM.DD version as PV instead of the
compact YYYYMMDD form, which could not be compared with the release
tarball names and forced UPSTREAM_VERSION_UNKNOWN. PE = "1" since
2026.06.24 < 20260112 in vercmp. Check the videolan mirror listing
for new releases.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../{live555_20260112.bb => live555_2026.06.24.bb}  | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-multimedia/live555/{live555_20260112.bb => live555_2026.06.24.bb} (89%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/live555/live555_20260112.bb b/meta-oe/recipes-multimedia/live555/live555_2026.06.24.bb
similarity index 89%
rename from meta-oe/recipes-multimedia/live555/live555_20260112.bb
rename to meta-oe/recipes-multimedia/live555/live555_2026.06.24.bb
index b6d2283527..1fabd00ef5 100644
--- a/meta-oe/recipes-multimedia/live555/live555_20260112.bb
+++ b/meta-oe/recipes-multimedia/live555/live555_2026.06.24.bb
@@ -9,17 +9,18 @@  SECTION = "devel"
 
 DEPENDS = "openssl"
 
-URLV = "${@d.getVar('PV')[0:4]}.${@d.getVar('PV')[4:6]}.${@d.getVar('PV')[6:8]}"
-SRC_URI = "https://download.videolan.org/pub/contrib/live555/live.${URLV}.tar.gz \
+SRC_URI = "https://download.videolan.org/pub/contrib/live555/live.${PV}.tar.gz \
            file://config.linux-cross"
 
 # only latest live version stays on http://www.live555.com/liveMedia/public/, add mirror for older
 MIRRORS += "http://www.live555.com/liveMedia/public/ http://download.videolan.org/contrib/live555/ \n"
 
-SRC_URI[sha256sum] = "2c54c2e090065849d0ab8cc7b06942f4e66dde17f2a0c80ae20b907d562c937e"
-# PV is a compact date (YYYYMMDD) while upstream tarballs use live.YYYY.MM.DD,
-# which do not compare against PV; the check cannot map the two schemes.
-UPSTREAM_VERSION_UNKNOWN = "1"
+SRC_URI[sha256sum] = "b22182db20fe554be886f74c453f6b900e471de9585a401b0b60228aebc27ef7"
+# PV follows the upstream live.YYYY.MM.DD tarball names; PE covers the move
+# from the compact YYYYMMDD form, which sorted above them
+PE = "1"
+UPSTREAM_CHECK_URI = "https://download.videolan.org/pub/contrib/live555/"
+UPSTREAM_CHECK_REGEX = "live\.(?P<pver>\d+\.\d+\.\d+)\.tar\.gz"
 CVE_PRODUCT = "live555 live555_media_server live555:streaming_media live555:liblivemedia"
 
 S = "${UNPACKDIR}/live"