mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
Move to fetching from GitHub hashes to avoid issues at releases, when the last-recent release changes place. Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
41 lines
1.3 KiB
BlitzBasic
41 lines
1.3 KiB
BlitzBasic
# Copyright (C) 2017 Armin Kuster <akuster808@gmail.com>
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
SUMMARY = "Lynis is a free and open source security and auditing tool."
|
|
HOMEDIR = "https://cisofy.com/lynis/"
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3edd6782854304fd11da4975ab9799c1"
|
|
|
|
SRC_URI = "git://github.com/CISOfy/lynis.git;branch=master;protocol=https"
|
|
|
|
SRCREV = "380b414e09bbca70be59a1b7ddccfaed4c30e1aa"
|
|
|
|
#UPSTREAM_CHECK = "https://downloads.cisofy.com/lynis"
|
|
|
|
inherit autotools-brokensep
|
|
|
|
do_compile[noexec] = "1"
|
|
do_configure[noexec] = "1"
|
|
|
|
do_install () {
|
|
install -d ${D}/${bindir}
|
|
install -d ${D}/${sysconfdir}/lynis
|
|
install -m 555 ${S}/lynis ${D}/${bindir}
|
|
|
|
install -d ${D}/${datadir}/lynis/db
|
|
install -d ${D}/${datadir}/lynis/plugins
|
|
install -d ${D}/${datadir}/lynis/include
|
|
install -d ${D}/${datadir}/lynis/extras
|
|
|
|
cp -r ${S}/db/* ${D}/${datadir}/lynis/db/.
|
|
cp -r ${S}/plugins/* ${D}/${datadir}/lynis/plugins/.
|
|
cp -r ${S}/include/* ${D}/${datadir}/lynis/include/.
|
|
cp -r ${S}/extras/* ${D}/${datadir}/lynis/extras/.
|
|
cp ${S}/*.prf ${D}/${sysconfdir}/lynis
|
|
}
|
|
|
|
FILES:${PN} += "${sysconfdir}/developer.prf ${sysconfdir}/default.prf"
|
|
FILES:${PN}-doc += "lynis.8 FAQ README CHANGELOG.md CONTRIBUTIONS.md CONTRIBUTORS.md"
|
|
|
|
RDEPENDS:${PN} += "procps findutils coreutils iproute2-ip iproute2-ss net-tools"
|