[yocto] [PATCH] Use lynis download link from github releases

Joshua Watt jpewhacker at gmail.com
Thu Nov 15 06:40:18 PST 2018


On Thu, Nov 15, 2018, 8:29 AM Stefan Lendl <ste.lendl at gmail.com wrote:

> Unlike the official download page, it also works for older releases
>
> Signed-off-by: Stefan Lendl <ste.lendl at gmail.com>
> ---
>  meta-security-compliance/recipes-auditors/lynis/lynis_2.5.1.bb | 8
> ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta-security-compliance/recipes-auditors/lynis/
> lynis_2.5.1.bb b/meta-security-compliance/recipes-auditors/lynis/
> lynis_2.5.1.bb
> index c25b804..1ee71ef 100644
> --- a/meta-security-compliance/recipes-auditors/lynis/lynis_2.5.1.bb
> +++ b/meta-security-compliance/recipes-auditors/lynis/lynis_2.5.1.bb
> @@ -6,12 +6,12 @@ HOMEDIR = "https://cisofy.com/"
>  LICENSE = "GPL-3.0"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=3edd6782854304fd11da4975ab9799c1"
>
> -SRC_URI = "https://cisofy.com/files/${BPN}-${PV}.tar.gz"
> +SRC_URI = "https://github.com/CISOfy/lynis/archive/${PV}.tar.gz"
>

Using the archive links from GitHub in the past has caused problems because
the checksums change. I think most other recipes use the git fetcher and
specify the sha1 that corresponds to the release.


> -SRC_URI[md5sum] = "5b9da89c616344bbc73cbc5688a4a0bd"
> -SRC_URI[sha256sum] =
> "7a09c6fc71c65d572ca702df7b4394d71f9037484062ef71b76f59a2c498b029"
> +SRC_URI[md5sum] = "f91840acc0801b77844363fc55c5d688"
> +SRC_URI[sha256sum] =
> "e143eaefec3222f98a0f74dd6dcb3818aa348dea3d0379bd3a45455911b6ee2a"
>
> -S = "${WORKDIR}/${BPN}"
> +S = "${WORKDIR}/${BPN}-${PV}"
>
>  inherit autotools-brokensep
>
> --
> 2.14.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181115/574dabb0/attachment-0001.html>


More information about the yocto mailing list