summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2009-06-20 14:13:53 +0000
committerNaohiro Aota <naota@gentoo.org>2009-06-20 14:13:53 +0000
commitbe26c1225431c1eff4e767a1299fafc5b67f94b4 (patch)
tree5d8ca4e5c6f563b81c632deda150d6c0dc8cdc55 /sys-kernel
parentremoving, in gentoo-x86 (diff)
downloadsunrise-be26c1225431c1eff4e767a1299fafc5b67f94b4.tar.gz
sunrise-be26c1225431c1eff4e767a1299fafc5b67f94b4.tar.bz2
sunrise-be26c1225431c1eff4e767a1299fafc5b67f94b4.zip
sys-kernel/ccs-sources: New ebuild for bug 273199 thanks to Tommy[D], _AxS_, ssuomine, mrpouet, and idl0r
svn path=/sunrise/; revision=8679
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ccs-sources/ChangeLog9
-rw-r--r--sys-kernel/ccs-sources/Manifest7
-rw-r--r--sys-kernel/ccs-sources/ccs-sources-2.6.30-r1.ebuild41
-rw-r--r--sys-kernel/ccs-sources/metadata.xml5
4 files changed, 62 insertions, 0 deletions
diff --git a/sys-kernel/ccs-sources/ChangeLog b/sys-kernel/ccs-sources/ChangeLog
new file mode 100644
index 000000000..041e699cf
--- /dev/null
+++ b/sys-kernel/ccs-sources/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-kernel/ccs-sources
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 20 Jun 2009; Naohiro Aota <naota@elisp.net> +ccs-sources-2.6.30-r1.ebuild,
+ +metadata.xml:
+ New ebuild for bug 273199 thanks to Tommy[D], _AxS_, ssuomine, mrpouet, and
+ idl0r
+
diff --git a/sys-kernel/ccs-sources/Manifest b/sys-kernel/ccs-sources/Manifest
new file mode 100644
index 000000000..36fd51d92
--- /dev/null
+++ b/sys-kernel/ccs-sources/Manifest
@@ -0,0 +1,7 @@
+DIST ccs-patch-1.6.8-20090528.tar.gz 829922 RMD160 7d6f67263330c9c3ad4c869d351d4a40c3fe9f5b SHA1 9561cd218401578884ec56ba08bf96fcf1205d2b SHA256 c29dda2699eff64fc09278fd39a3cf7c06df896cc1c698860899b1db7306e3e5
+DIST genpatches-2.6.30-2.base.tar.bz2 945 RMD160 53c99ef4b6f514a20f6ef29f914d046c2443ae5b SHA1 e06a4f55abb4baed2d67ad0ebcbcbfd75ca4da25 SHA256 9a0e65eb6433a38a4b2e71fa2f4db631a5504486d6dc0f43ba986ea164ca02c2
+DIST genpatches-2.6.30-2.extras.tar.bz2 24671 RMD160 e8cadff5be621233e664a3e35b5210818cc4d083 SHA1 886172bdaa420b1ecf54d8e57f3c36bb2e07eb2a SHA256 7b71b08797f6e3e05b662b98f8f7a80da7cb708070ff50eed9d01fe7c2e42a3f
+DIST linux-2.6.30.tar.bz2 59435895 RMD160 72219f992c6266dfe78c6d803d0506c9db1e45b8 SHA1 5fb7f2ccdc59c57887d586971a157bee7af324d1 SHA256 d7b9f19b92fd5c693c16cd62f441d051b699f28ec6a175d1b464e58bacd8c78f
+EBUILD ccs-sources-2.6.30-r1.ebuild 1052 RMD160 1ebc3f1fc9f1e609cf08048e3a8116829dbfa0b7 SHA1 0ae5d98ab05fe0646f26cf8f509c01711a65e834 SHA256 63d0bf6d332c00410a605738c335c05ceae5805e8e39a47cb8ff8a71040a267a
+MISC ChangeLog 304 RMD160 c71079f96b03112eba983ae2c7ed46904e4e0848 SHA1 4bdf5f9eb897a7da07706a42adc8ff2f8681f033 SHA256 b120c5388fb861bb09bc4d98adb182fe0990cb9cb9609b8bcdcf4ebf899715bb
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-kernel/ccs-sources/ccs-sources-2.6.30-r1.ebuild b/sys-kernel/ccs-sources/ccs-sources-2.6.30-r1.ebuild
new file mode 100644
index 000000000..20f708a34
--- /dev/null
+++ b/sys-kernel/ccs-sources/ccs-sources-2.6.30-r1.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="2"
+
+inherit eutils kernel-2
+detect_version
+detect_arch
+
+CCS_TGP="ccs-patch-1.6.8-20090528"
+CCS_TGP_SRC="mirror://sourceforge.jp/tomoyo/30297/${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"
+DEPEND=""
+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 fs 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"
+}
diff --git a/sys-kernel/ccs-sources/metadata.xml b/sys-kernel/ccs-sources/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/sys-kernel/ccs-sources/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>