aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-security/tomoyo-tools
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-10-26 13:59:07 -0700
committerArmin Kuster <akuster808@gmail.com>2018-02-24 09:36:30 -0800
commitd6def03ed7143f82644da16f8a295aa860f24820 (patch)
tree064cff58d7e3e4ded3a5072f13f9d2dc0ea9fdcd /meta-oe/recipes-security/tomoyo-tools
parentde8786a47b75182b2884e9bb126dd2658507ad1f (diff)
downloadmeta-openembedded-contrib-d6def03ed7143f82644da16f8a295aa860f24820.tar.gz
tomoyo-tools: move to recipes-secuity
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-security/tomoyo-tools')
-rw-r--r--meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.5.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.5.0.bb b/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.5.0.bb
new file mode 100644
index 0000000000..f362775999
--- /dev/null
+++ b/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.5.0.bb
@@ -0,0 +1,30 @@
+SUMMARY = "TOMOYO Linux tools"
+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."
+HOMEPAGE = "http://tomoyo.sourceforge.jp/"
+SECTION = "System Environment/Kernel"
+
+SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/53357/${BP}-20170102.tar.gz"
+SRC_URI[md5sum] = "888804d58742452fe213a68f7eadd0ad"
+SRC_URI[sha256sum] = "00fedfac5e514321250bbe69eaccc732c8a8158596f77a785c2e3ae9f9968283"
+
+S = "${WORKDIR}/${BPN}"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe"
+
+FILES_${PN} += "${libdir}/tomoyo"
+FILES_${PN}-dbg += "${libdir}/tomoyo/.debug"
+
+DEPENDS = "linux-libc-headers ncurses"
+
+EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
+
+do_compile () {
+ oe_runmake 'CC=${CC}'
+}
+
+do_install() {
+ oe_runmake install INSTALLDIR=${D}
+}