From 6113f0e2f8521427374c8c47bf7ed883962651bd Mon Sep 17 00:00:00 2001 From: Marta Rybczynska Date: Mon, 22 Sep 2025 13:21:36 +0200 Subject: [PATCH] lynis: move to GitHub fetching Move to fetching from GitHub hashes to avoid issues at releases, when the last-recent release changes place. Signed-off-by: Marta Rybczynska (adapted for scarthgap) Signed-off-by: Scott Murray --- recipes-compliance/lynis/lynis_3.1.5.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-compliance/lynis/lynis_3.1.5.bb b/recipes-compliance/lynis/lynis_3.1.5.bb index 6264edc..9105bbc 100644 --- a/recipes-compliance/lynis/lynis_3.1.5.bb +++ b/recipes-compliance/lynis/lynis_3.1.5.bb @@ -6,13 +6,13 @@ HOMEDIR = "https://cisofy.com/" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=3edd6782854304fd11da4975ab9799c1" -SRC_URI = "https://downloads.cisofy.com/lynis/${BPN}-${PV}.tar.gz" +SRC_URI = "git://github.com/CISOfy/lynis.git;branch=master;protocol=https" -SRC_URI[sha256sum] = "8d2c6652ba60116a82514522b666ca77293f4bfc69f1e581028769f7ebb52ba4" +SRCREV = "380b414e09bbca70be59a1b7ddccfaed4c30e1aa" #UPSTREAM_CHECK = "https://downloads.cisofy.com/lynis" -S = "${WORKDIR}/${BPN}" +S = "${WORKDIR}/git" inherit autotools-brokensep