From ea965e298ac9ec0bfe1f4ae0e59252bd8f7f03f2 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 --- recipes-compliance/lynis/lynis_3.1.5.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes-compliance/lynis/lynis_3.1.5.bb b/recipes-compliance/lynis/lynis_3.1.5.bb index 3d1e8b7..51414c0 100644 --- a/recipes-compliance/lynis/lynis_3.1.5.bb +++ b/recipes-compliance/lynis/lynis_3.1.5.bb @@ -6,14 +6,12 @@ HOMEDIR = "https://cisofy.com/lynis/" 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 = "${UNPACKDIR}/${BPN}" - inherit autotools-brokensep do_compile[noexec] = "1"