diff mbox series

[meta-networking,v3] radvd: upgrade 2.20 -> 2.21

Message ID 20260529085309.3596033-1-filipe.pires@konsulko.com
State New
Headers show
Series [meta-networking,v3] radvd: upgrade 2.20 -> 2.21 | expand

Commit Message

fpires96 May 29, 2026, 8:53 a.m. UTC
From: Filipe Pires <filipe.pires@konsulko.com>

The litech.org distribution URL is no longer available for this release,
so switch to fetching directly from the upstream git repository. This
also fixes the src-uri-bad QA warning for using GitHub archive URLs.

radvd 2.21 hardens radvdump against malformed input (CVE-2026-48715).
---
 .../radvd/{radvd_2.20.bb => radvd_2.21.bb}                | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-daemons/radvd/{radvd_2.20.bb => radvd_2.21.bb} (93%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-daemons/radvd/radvd_2.20.bb b/meta-networking/recipes-daemons/radvd/radvd_2.21.bb
similarity index 93%
rename from meta-networking/recipes-daemons/radvd/radvd_2.20.bb
rename to meta-networking/recipes-daemons/radvd/radvd_2.21.bb
index d02433c5ec..7f4cb41431 100644
--- a/meta-networking/recipes-daemons/radvd/radvd_2.20.bb
+++ b/meta-networking/recipes-daemons/radvd/radvd_2.21.bb
@@ -6,7 +6,7 @@  Discovery for IP Version 6 (IPv6). With these \
 advertisements hosts can automatically configure their \
 addresses and some other parameters. They also can \
 choose a default router based on these advertisements."
-HOMEPAGE = "http://www.litech.org/radvd/"
+HOMEPAGE = "https://github.com/radvd-project/radvd"
 SECTION = "net"
 DEPENDS = "flex-native bison-native libdaemon libbsd"
 
@@ -14,14 +14,16 @@  DEPENDS = "flex-native bison-native libdaemon libbsd"
 LICENSE = "radvd"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=73ebbf7182ae996e65e8fadc9a8c45db"
 
-SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \
+SRCREV = "a8500f4035b52028c90b0a938dfe8cd65e38fb50"
+SRC_URI = "git://github.com/radvd-project/radvd.git;branch=master;tag=v${PV};protocol=https \
            file://radvd.init \
            file://radvd.service \
            file://volatiles.03_radvd \
            file://radvd.default \
            file://radvd.conf \
            "
-SRC_URI[sha256sum] = "af37c5a81d59f3bdc00d83056606ffa1810d4550beed6caa4f81181246494220"
+
+S = "${WORKDIR}/git"
 
 UPSTREAM_CHECK_URI = "https://github.com/radvd-project/radvd/releases"
 UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"