Skip to contentSkip to conversation

Revert "lldpd: Use github release assets for SRC_URI"

PATCH New Peter Kjellerstedt 1 participant 2 messages Nov 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Revert "lldpd: Use github release assets for SRC_URI"

This reverts commit e1549147181d96e84b73b7fc952cf33e43bb007c.

The change of SRC_URI was probably triggered by the checksum for the tarball not having been updated when the recipe version was stepped.

---
 meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb +1 -1
index 6638de1ba..c7237d74b 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/ISC;md5=f3b90e
 DEPENDS = "libbsd libevent"
 
 SRC_URI = "\
-    https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \
+    http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \
     file://lldpd.init.d \
     file://lldpd.default \
     file://run-ptest \
#1 lore raw

PATCH 2/2 lldpd: Correct the checksum for the tar ball to match 1.0.16

The checksum was not updated when the recipe version was stepped.

Also simplify the SRC_URI by replacing "${BPN}-${PV}" with "${BP}".

---
 meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-daemons/lldpd/lldpd_1.0.16.bb +2 -2
index c7237d74b..799270510 100644
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/ISC;md5=f3b90e
 DEPENDS = "libbsd libevent"
 
 SRC_URI = "\
-    http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \
+    http://media.luffy.cx/files/${BPN}/${BP}.tar.gz \
     file://lldpd.init.d \
     file://lldpd.default \
     file://run-ptest \
     "
 
-SRC_URI[sha256sum] = "f7fe3a130be98a19c491479ef60f36b8ee41a9e6bc4d7f2c41033f63956a3126"
+SRC_URI[sha256sum] = "e3b391650c7ba67cea2fe84d67fdb4d7fc8aa1ec5cf86eb8bb984711df8465a9"
 
 inherit autotools update-rc.d useradd systemd pkgconfig bash-completion github-releases ptest