mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
v2 : also fix some typos while we are here. v3 : add fixes for isic and checksecurity Signed-off-by: Jason Schonberg <schonm@gmail.com> [removed already applied change] Signed-off-by: Scott Murray <scott.murray@konsulko.com>
50 lines
1.3 KiB
BlitzBasic
50 lines
1.3 KiB
BlitzBasic
SUMMARY = "Tomoyo"
|
|
DESCRIPTION = "TOMOYO Linux is a Mandatory Access Control (MAC) implementation for Linux that can be used to increase the security of a system, while also being useful purely as a system analysis tool. \nTo start via command line add: \nsecurity=tomoyo TOMOYO_trigger=/usr/lib/systemd/systemd \nTo initialize: \n/usr/lib/ccs/init_policy"
|
|
|
|
SECTION = "security"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING.ccs;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
DEPENDS = "ncurses"
|
|
|
|
DS = "20210910"
|
|
SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz"
|
|
|
|
SRC_URI[sha256sum] = "7900126cf2dd8706c42c2c1ef7a37fd8b50f1505abd7d9c3d653dc390fb4d620"
|
|
|
|
S = "${UNPACKDIR}/${BPN}"
|
|
|
|
inherit features_check
|
|
|
|
do_make(){
|
|
oe_runmake USRLIBDIR=${libdir} all
|
|
cd ${S}/kernel_test
|
|
oe_runmake all
|
|
}
|
|
|
|
do_install(){
|
|
oe_runmake INSTALLDIR=${D} USRLIBDIR=${libdir} SBINDIR=${sbindir} install
|
|
}
|
|
|
|
PACKAGES = "${PN} ${PN}-dbg ${PN}-doc"
|
|
|
|
FILES:${PN} = "\
|
|
${sbindir}/* \
|
|
${base_sbindir}/* \
|
|
${libdir}/* \
|
|
"
|
|
|
|
FILES:${PN}-doc = "\
|
|
${mandir}/man8/* \
|
|
"
|
|
|
|
FILES:${PN}-dbg = "\
|
|
${base_sbindir}/.debug/* \
|
|
${sbindir}/.debug/* \
|
|
${libdir}/.debug/* \
|
|
${libdir}/ccs/.debug/* \
|
|
/usr/src/debug/* \
|
|
"
|
|
|
|
REQUIRED_DISTRO_FEATURES ?= " tomoyo"
|