Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | SUMMARY = "Tomoyo" |
| 2 | 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" |
| 3 | |
| 4 | SECTION = "security" |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-only" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING.ccs;md5=751419260aa954499f7abaabaa882bbe" |
| 7 | |
| 8 | DEPENDS = "ncurses" |
| 9 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 10 | DS = "20210910" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 11 | SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz" |
| 12 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 13 | SRC_URI[sha256sum] = "7900126cf2dd8706c42c2c1ef7a37fd8b50f1505abd7d9c3d653dc390fb4d620" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 14 | |
Andrew Geissler | 5bea8d8 | 2020-07-24 16:10:05 -0500 | [diff] [blame] | 15 | S = "${WORKDIR}/${BPN}" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 16 | |
Brad Bishop | 95dbbac | 2019-12-02 13:55:25 -0500 | [diff] [blame] | 17 | inherit features_check |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 18 | |
| 19 | do_make(){ |
| 20 | oe_runmake USRLIBDIR=${libdir} all |
| 21 | cd ${S}/kernel_test |
| 22 | oe_runmake all |
| 23 | } |
| 24 | |
| 25 | do_install(){ |
Andrew Geissler | 80d4184 | 2023-09-11 08:36:15 -0400 | [diff] [blame] | 26 | oe_runmake INSTALLDIR=${D} USRLIBDIR=${libdir} install |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | PACKAGE="${PN} ${PN}-dbg ${PN}-doc" |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN} = "\ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 32 | ${sbindir}/* \ |
| 33 | ${base_sbindir}/* \ |
| 34 | ${libdir}/* \ |
| 35 | " |
| 36 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 37 | FILES:${PN}-doc = "\ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 38 | ${mandir}/man8/* \ |
| 39 | " |
| 40 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 41 | FILES:${PN}-dbg = "\ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 42 | ${base_sbindir}/.debug/* \ |
| 43 | ${sbindir}/.debug/* \ |
| 44 | ${libdir}/.debug/* \ |
| 45 | ${libdir}/ccs/.debug/* \ |
| 46 | /usr/src/debug/* \ |
| 47 | " |
| 48 | |
| 49 | REQUIRED_DISTRO_FEATURES ?=" tomoyo" |