diff options
author | 2009-09-17 13:02:36 +0000 | |
---|---|---|
committer | 2009-09-17 13:02:36 +0000 | |
commit | ec706e2b2e01fb5ff50f3fed21c2f9a4961d4839 (patch) | |
tree | a6435ebdfedc018527e7c57fa5135773bcde6d7e /sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild | |
parent | www-apps/davical: New version (diff) | |
download | sunrise-ec706e2b2e01fb5ff50f3fed21c2f9a4961d4839.tar.gz sunrise-ec706e2b2e01fb5ff50f3fed21c2f9a4961d4839.tar.bz2 sunrise-ec706e2b2e01fb5ff50f3fed21c2f9a4961d4839.zip |
sys-kernel/ccs-sources: Version bumped.
svn path=/sunrise/; revision=9241
Diffstat (limited to 'sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild')
-rw-r--r-- | sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild b/sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild new file mode 100644 index 000000000..87b13fa34 --- /dev/null +++ b/sys-kernel/ccs-sources/ccs-sources-2.6.27-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="12" + +inherit eutils kernel-2 +detect_version +detect_arch + +CCS_TGP="ccs-patch-1.7.0-20090911" +CCS_TGP_SRC="mirror://sourceforge.jp/tomoyo/43375/${CCS_TGP}.tar.gz" + +DESCRIPTION="TOMOYO Linux sources for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="http://tomoyo.sourceforge.jp/index.html.en" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CCS_TGP_SRC}" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="sys-apps/ccs-tools" + +K_EXTRAEINFO="Before booting with TOMOYO enabled kernel, you need to +run this command to initialize TOMOYO policies: +# /usr/lib/ccs/init_policy.sh" + +src_unpack() { + kernel-2_src_unpack + + cd "${WORKDIR}" + unpack "${CCS_TGP}.tar.gz" + cp -dpR security include "${S}" || die + + if [ -f "${FILESDIR}/${PF}.patch" ]; then + cd "${WORKDIR}/patches/" + epatch "${FILESDIR}/${PF}.patch" + fi + + cd "${S}" + epatch "${WORKDIR}/patches/ccs-patch-${PV}.diff" +} |