blob: 8d148bb37901ac48054bd5d7a3fe333dbb929092 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301SUMMARY = "Tomoyo"
2DESCRIPTION = "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"
3
4SECTION = "security"
Patrick Williams03907ee2022-05-01 06:28:52 -05005LICENSE = "GPL-2.0-only"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05306LIC_FILES_CHKSUM = "file://COPYING.ccs;md5=751419260aa954499f7abaabaa882bbe"
7
8DEPENDS = "ncurses"
9
10DS = "20150505"
11SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz"
12
13SRC_URI[md5sum] = "eeee8eb96a7680bfa9c8f6de55502c44"
14SRC_URI[sha256sum] = "c358b80a2ea77a9dda79dc2a056dae3acaf3a72fcb8481cfb1cd1f16746324b4"
15
Andrew Geissler5bea8d82020-07-24 16:10:05 -050016S = "${WORKDIR}/${BPN}"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053017
Brad Bishop95dbbac2019-12-02 13:55:25 -050018inherit features_check
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053019
20do_make(){
21 oe_runmake USRLIBDIR=${libdir} all
22 cd ${S}/kernel_test
23 oe_runmake all
24}
25
26do_install(){
27 oe_runmake INSTALLDIR=${D} USRLIBDIR=${libdir} install
28}
29
30PACKAGE="${PN} ${PN}-dbg ${PN}-doc"
31
Patrick Williams213cb262021-08-07 19:21:33 -050032FILES:${PN} = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053033 ${sbindir}/* \
34 ${base_sbindir}/* \
35 ${libdir}/* \
36"
37
Patrick Williams213cb262021-08-07 19:21:33 -050038FILES:${PN}-doc = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053039 ${mandir}/man8/* \
40"
41
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:${PN}-dbg = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053043 ${base_sbindir}/.debug/* \
44 ${sbindir}/.debug/* \
45 ${libdir}/.debug/* \
46 ${libdir}/ccs/.debug/* \
47 /usr/src/debug/* \
48"
49
50REQUIRED_DISTRO_FEATURES ?=" tomoyo"