* [meta-security][PATCH] toyomo: ccs-tools
@ 2014-07-31 23:45 Armin Kuster
2014-08-01 2:11 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Armin Kuster @ 2014-07-31 23:45 UTC (permalink / raw)
To: yocto
Add userland support program ccs-tools
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
recipes-security/ccs-tools/README | 12 ++++++++
recipes-security/ccs-tools/ccs-tools_1.8.3.bb | 42 +++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 recipes-security/ccs-tools/README
create mode 100644 recipes-security/ccs-tools/ccs-tools_1.8.3.bb
diff --git a/recipes-security/ccs-tools/README b/recipes-security/ccs-tools/README
new file mode 100644
index 0000000..89d2d00
--- /dev/null
+++ b/recipes-security/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-tools/init_policy
+
+DISTRO_FEATURES_append = " tomoyo"
diff --git a/recipes-security/ccs-tools/ccs-tools_1.8.3.bb b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
new file mode 100644
index 0000000..939a5d7
--- /dev/null
+++ b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
@@ -0,0 +1,42 @@
+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."
+SECTION = "security"
+LICENSE = "GPL-2.0"
+LIC_FILES_CHKSUM = "file://README.ccs;md5=5b80632c6a2a3b7fa92ea46eff15bee9"
+
+DEPENDS = "ncurses"
+
+SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/ccs-tools-1.8.3-20130406.tar.gz"
+
+SRC_URI[md5sum] = "ffff535584cdf9ae28b85061c32e5618"
+SRC_URI[sha256sum] = "1e4129b59cd7fdb963962af7f2cccf4a66c77a4b0948f67320b569aaf6585fcf"
+
+S = "${WORKDIR}/${PN}"
+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"
+
+FILES_${PN} = "\
+ ${sbindir}/* \
+ ${base_sbindir}/* \
+ ${libdir}/* \
+ ${mandir}/man8/* \
+"
+
+FILES_${PN}-dbg = "\
+ ${base_sbindir}/.debug/* \
+ ${sbindir}/.debug/* \
+ ${libdir}/.debug/* \
+ ${libdir}/ccs/.debug/* \
+ /usr/src/debug/* \
+"
+
+
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-security][PATCH] toyomo: ccs-tools
2014-07-31 23:45 [meta-security][PATCH] toyomo: ccs-tools Armin Kuster
@ 2014-08-01 2:11 ` Khem Raj
2014-08-01 22:08 ` akuster808
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2014-08-01 2:11 UTC (permalink / raw)
To: Armin Kuster; +Cc: yocto
On Thu, Jul 31, 2014 at 4:45 PM, Armin Kuster <akuster@mvista.com> wrote:
> Add userland support program ccs-tools
>
> Signed-off-by: Armin Kuster <akuster@mvista.com>
> ---
> recipes-security/ccs-tools/README | 12 ++++++++
> recipes-security/ccs-tools/ccs-tools_1.8.3.bb | 42 +++++++++++++++++++++++++++
> 2 files changed, 54 insertions(+)
> create mode 100644 recipes-security/ccs-tools/README
> create mode 100644 recipes-security/ccs-tools/ccs-tools_1.8.3.bb
>
> diff --git a/recipes-security/ccs-tools/README b/recipes-security/ccs-tools/README
> new file mode 100644
> index 0000000..89d2d00
> --- /dev/null
> +++ b/recipes-security/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-tools/init_policy
the above info would be nicer on target. May be add it to package description
> +
> +DISTRO_FEATURES_append = " tomoyo"
> diff --git a/recipes-security/ccs-tools/ccs-tools_1.8.3.bb b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
> new file mode 100644
> index 0000000..939a5d7
> --- /dev/null
> +++ b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
> @@ -0,0 +1,42 @@
> +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."
> +SECTION = "security"
> +LICENSE = "GPL-2.0"
> +LIC_FILES_CHKSUM = "file://README.ccs;md5=5b80632c6a2a3b7fa92ea46eff15bee9"
> +
> +DEPENDS = "ncurses"
> +
> +SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/ccs-tools-1.8.3-20130406.tar.gz"
> +
> +SRC_URI[md5sum] = "ffff535584cdf9ae28b85061c32e5618"
> +SRC_URI[sha256sum] = "1e4129b59cd7fdb963962af7f2cccf4a66c77a4b0948f67320b569aaf6585fcf"
> +
> +S = "${WORKDIR}/${PN}"
> +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"
> +
> +FILES_${PN} = "\
> + ${sbindir}/* \
> + ${base_sbindir}/* \
> + ${libdir}/* \
> + ${mandir}/man8/* \
manpages should go into ${PN}-doc
> +"
> +
> +FILES_${PN}-dbg = "\
> + ${base_sbindir}/.debug/* \
> + ${sbindir}/.debug/* \
> + ${libdir}/.debug/* \
> + ${libdir}/ccs/.debug/* \
> + /usr/src/debug/* \
> +"
> +
> +
> --
> 1.9.1
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-security][PATCH] toyomo: ccs-tools
2014-08-01 2:11 ` Khem Raj
@ 2014-08-01 22:08 ` akuster808
0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2014-08-01 22:08 UTC (permalink / raw)
To: Khem Raj, Armin Kuster; +Cc: yocto
Khem,
Thanks for the feedback. Will incorporate suggestions into V2.
- Armin
On 07/31/2014 07:11 PM, Khem Raj wrote:
> On Thu, Jul 31, 2014 at 4:45 PM, Armin Kuster <akuster@mvista.com> wrote:
>> Add userland support program ccs-tools
>>
>> Signed-off-by: Armin Kuster <akuster@mvista.com>
>> ---
>> recipes-security/ccs-tools/README | 12 ++++++++
>> recipes-security/ccs-tools/ccs-tools_1.8.3.bb | 42 +++++++++++++++++++++++++++
>> 2 files changed, 54 insertions(+)
>> create mode 100644 recipes-security/ccs-tools/README
>> create mode 100644 recipes-security/ccs-tools/ccs-tools_1.8.3.bb
>>
>> diff --git a/recipes-security/ccs-tools/README b/recipes-security/ccs-tools/README
>> new file mode 100644
>> index 0000000..89d2d00
>> --- /dev/null
>> +++ b/recipes-security/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-tools/init_policy
>
> the above info would be nicer on target. May be add it to package description
>
>> +
>> +DISTRO_FEATURES_append = " tomoyo"
>> diff --git a/recipes-security/ccs-tools/ccs-tools_1.8.3.bb b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
>> new file mode 100644
>> index 0000000..939a5d7
>> --- /dev/null
>> +++ b/recipes-security/ccs-tools/ccs-tools_1.8.3.bb
>> @@ -0,0 +1,42 @@
>> +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."
>> +SECTION = "security"
>> +LICENSE = "GPL-2.0"
>> +LIC_FILES_CHKSUM = "file://README.ccs;md5=5b80632c6a2a3b7fa92ea46eff15bee9"
>> +
>> +DEPENDS = "ncurses"
>> +
>> +SRC_URI = "http://osdn.dl.sourceforge.jp/tomoyo/49693/ccs-tools-1.8.3-20130406.tar.gz"
>> +
>> +SRC_URI[md5sum] = "ffff535584cdf9ae28b85061c32e5618"
>> +SRC_URI[sha256sum] = "1e4129b59cd7fdb963962af7f2cccf4a66c77a4b0948f67320b569aaf6585fcf"
>> +
>> +S = "${WORKDIR}/${PN}"
>> +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"
>> +
>> +FILES_${PN} = "\
>> + ${sbindir}/* \
>> + ${base_sbindir}/* \
>> + ${libdir}/* \
>> + ${mandir}/man8/* \
>
> manpages should go into ${PN}-doc
>
>> +"
>> +
>> +FILES_${PN}-dbg = "\
>> + ${base_sbindir}/.debug/* \
>> + ${sbindir}/.debug/* \
>> + ${libdir}/.debug/* \
>> + ${libdir}/ccs/.debug/* \
>> + /usr/src/debug/* \
>> +"
>> +
>> +
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-01 22:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 23:45 [meta-security][PATCH] toyomo: ccs-tools Armin Kuster
2014-08-01 2:11 ` Khem Raj
2014-08-01 22:08 ` akuster808
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.