Adding ~x86 masked selinux-sources
authorJoachim Blaabjerg <styx@gentoo.org>
Wed, 30 Oct 2002 18:23:44 +0000 (18:23 +0000)
committerJoachim Blaabjerg <styx@gentoo.org>
Wed, 30 Oct 2002 18:23:44 +0000 (18:23 +0000)
sys-kernel/selinux-sources/ChangeLog [new file with mode: 0644]
sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.19 [new file with mode: 0644]
sys-kernel/selinux-sources/selinux-sources-2.4.19.ebuild [new file with mode: 0644]

diff --git a/sys-kernel/selinux-sources/ChangeLog b/sys-kernel/selinux-sources/ChangeLog
new file mode 100644 (file)
index 0000000..36474d2
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for sys-kernel/selinux-sources
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/ChangeLog,v 1.1 2002/10/30 18:23:44 styx Exp $
+
+*selinux-sources-2.4.19 (30 Oct 2002)
+
+  30 Oct 2002; Joachim Blaabjerg <styx@gentoo.org>
+  selinux-sources-2.4.19.ebuild, ChangeLog, files/digest-selinux-sources-2.4.19:
+
+  Initial submission. Ebuild originally written by Joshua Brindle
+  <method@gentoo.org>.
diff --git a/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.19 b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.19
new file mode 100644 (file)
index 0000000..185405b
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494
+MD5 b57fb4535efb92214e4cda410e28d85e patches-2.4.19-selinux.tar.bz2 202557
diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.19.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.19.ebuild
new file mode 100644 (file)
index 0000000..4197336
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE=""
+
+# OKV=original kernel version, KV=patched kernel version.  They can be the same.
+
+# Kernel ebuilds using the kernel.eclass can remove any patch that you
+# do not want to apply by simply setting the KERNEL_EXCLUDE shell
+# variable to the string you want to exclude (for instance
+# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
+# *evms*).  Kernels are only tested in the default configuration, but
+# this may be useful if you know that a particular patch is causing a
+# conflict with a patch you personally want to apply, or some other
+# similar situation.
+
+ETYPE="sources"
+
+inherit kernel || die
+
+KV=2.4.19-selinux
+EXTRAVERSION=selinux
+S=${WORKDIR}/linux-${KV}
+OKV=2.4.19
+DESCRIPTION="LSM patched kernel with SELinux archive"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 
+       http://gentoo.org/~styx/patches-${KV}.tar.bz2"
+HOMEPAGE="http://www.kernel.org/ http://www.nsa.gov/selinux"
+KEYWORDS="~x86 -ppc -sparc -sparc64"
+
+src_unpack() {
+       unpack ${A}
+       mv linux-${OKV} linux-${KV} || die
+
+       cd ${KV}
+       kernel_src_unpack
+}