diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-04-05 05:43:19 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-07 05:30:12 +0300 |
commit | aec3602cecd423aa92b074a1e8844ed02a8ba25c (patch) | |
tree | e038dd85f2716d06358d505151c5e7494ecf1f54 /meta-security/recipes-mac/ccs-tools | |
parent | 17f4035de9254bc2a731d8a386cfe114446ce0b3 (diff) | |
download | openbmc-aec3602cecd423aa92b074a1e8844ed02a8ba25c.tar.xz |
ccs-tools: move to reciped-mac
(From meta-security rev: 98750e89336a9bd746f44c79b901c7328d314a16)
Change-Id: I02b2ce8beb35d302c95dddde6e11655a963f19b0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-security/recipes-mac/ccs-tools')
-rw-r--r-- | meta-security/recipes-mac/ccs-tools/README | 12 | ||||
-rw-r--r-- | meta-security/recipes-mac/ccs-tools/ccs-tools_1.8.4.bb | 50 |
2 files changed, 62 insertions, 0 deletions
diff --git a/meta-security/recipes-mac/ccs-tools/README b/meta-security/recipes-mac/ccs-tools/README new file mode 100644 index 000000000..4a4faa715 --- /dev/null +++ b/meta-security/recipes-mac/ccs-tools/README @@ -0,0 +1,12 @@ +Documentation: +http://tomoyo.sourceforge.jp/1.8/index.html.en + + +To start via command line add: + +" security=tomoyo TOMOYO_trigger=/usr/lib/systemd/systemd" + +To initialize: +/usr/lib/ccs/init_policy + +DISTRO_FEATURES_append = " tomoyo" diff --git a/meta-security/recipes-mac/ccs-tools/ccs-tools_1.8.4.bb b/meta-security/recipes-mac/ccs-tools/ccs-tools_1.8.4.bb new file mode 100644 index 000000000..189504a55 --- /dev/null +++ b/meta-security/recipes-mac/ccs-tools/ccs-tools_1.8.4.bb @@ -0,0 +1,50 @@ +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" +LIC_FILES_CHKSUM = "file://COPYING.ccs;md5=751419260aa954499f7abaabaa882bbe" + +DEPENDS = "ncurses" + +DS = "20150505" +SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/${BPN}-${PV}-${DS}.tar.gz" + +SRC_URI[md5sum] = "eeee8eb96a7680bfa9c8f6de55502c44" +SRC_URI[sha256sum] = "c358b80a2ea77a9dda79dc2a056dae3acaf3a72fcb8481cfb1cd1f16746324b4" + +S = "${WORKDIR}/${PN}" + +inherit distro_features_check + +do_make(){ + oe_runmake USRLIBDIR=${libdir} all + cd ${S}/kernel_test + oe_runmake all +} + +do_install(){ + oe_runmake INSTALLDIR=${D} USRLIBDIR=${libdir} install +} + +PACKAGE="${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" |