blob: ff800ce9efc859cc9e913b7e2d75fdd6cccd58b6 [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
Andrew Geissler615f2f12022-07-15 14:00:58 -050010DS = "20210910"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053011SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz"
12
Andrew Geissler615f2f12022-07-15 14:00:58 -050013SRC_URI[sha256sum] = "7900126cf2dd8706c42c2c1ef7a37fd8b50f1505abd7d9c3d653dc390fb4d620"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053014
Andrew Geissler5bea8d82020-07-24 16:10:05 -050015S = "${WORKDIR}/${BPN}"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053016
Brad Bishop95dbbac2019-12-02 13:55:25 -050017inherit features_check
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053018
19do_make(){
20 oe_runmake USRLIBDIR=${libdir} all
21 cd ${S}/kernel_test
22 oe_runmake all
23}
24
25do_install(){
26 oe_runmake INSTALLDIR=${D} USRLIBDIR=${libdir} install
27}
28
29PACKAGE="${PN} ${PN}-dbg ${PN}-doc"
30
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN} = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053032 ${sbindir}/* \
33 ${base_sbindir}/* \
34 ${libdir}/* \
35"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037FILES:${PN}-doc = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053038 ${mandir}/man8/* \
39"
40
Patrick Williams213cb262021-08-07 19:21:33 -050041FILES:${PN}-dbg = "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053042 ${base_sbindir}/.debug/* \
43 ${sbindir}/.debug/* \
44 ${libdir}/.debug/* \
45 ${libdir}/ccs/.debug/* \
46 /usr/src/debug/* \
47"
48
49REQUIRED_DISTRO_FEATURES ?=" tomoyo"