summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-07-12 16:25:38 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-07-12 16:25:38 +0000
commit48f51904b2913bb84c6e06143d70123320522e8b (patch)
tree86e14b9a7eb343e11a340dbad07db3048234b178 /sys-kernel
parentunmasks and changelog fixes (diff)
downloadgentoo-2-48f51904b2913bb84c6e06143d70123320522e8b.tar.gz
gentoo-2-48f51904b2913bb84c6e06143d70123320522e8b.tar.bz2
gentoo-2-48f51904b2913bb84c6e06143d70123320522e8b.zip
new upstream version
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/selinux-sources/ChangeLog8
-rw-r--r--sys-kernel/selinux-sources/Manifest4
-rw-r--r--sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.212
-rw-r--r--sys-kernel/selinux-sources/selinux-sources-2.4.21.ebuild55
4 files changed, 67 insertions, 2 deletions
diff --git a/sys-kernel/selinux-sources/ChangeLog b/sys-kernel/selinux-sources/ChangeLog
index cf1e20566a59..60db8d7e8c93 100644
--- a/sys-kernel/selinux-sources/ChangeLog
+++ b/sys-kernel/selinux-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/selinux-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/ChangeLog,v 1.16 2003/05/29 16:05:55 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/ChangeLog,v 1.17 2003/07/12 16:25:34 pebenito Exp $
+
+*selinux-sources-2.4.21 (12 Jul 2003)
+
+ 12 Jul 2003; Chris PeBenito <pebenito@gentoo.org>
+ selinux-sources-2.4.21.ebuild:
+ New upstream NSA release for 2.4.21
29 May 2003; Chris PeBenito <pebenito@gentoo.org>
selinux-sources-2.4.20-r5.ebuild:
diff --git a/sys-kernel/selinux-sources/Manifest b/sys-kernel/selinux-sources/Manifest
index ac370ef1349d..db7247c7f7d5 100644
--- a/sys-kernel/selinux-sources/Manifest
+++ b/sys-kernel/selinux-sources/Manifest
@@ -1,4 +1,6 @@
-MD5 30b1ae8baf0a175a391d5cb62a8bb232 ChangeLog 2200
+MD5 379e432019705a0e93879cb3fbf3a782 ChangeLog 2363
MD5 f455fbb5d96167058282b93599457a4f metadata.xml 470
MD5 2d8e06f7cdb3c51887bda683bf9d787c selinux-sources-2.4.20-r5.ebuild 1679
+MD5 93a7bfcab33592547f577be18ec193e7 selinux-sources-2.4.21.ebuild 1724
+MD5 ba4d23bb69d489a7ae374d964a9eafc5 files/digest-selinux-sources-2.4.21 142
MD5 d39cf9ecfcb242095ac601b7fb6c73a5 files/digest-selinux-sources-2.4.20-r5 145
diff --git a/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21 b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21
new file mode 100644
index 000000000000..b49770abccba
--- /dev/null
+++ b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21
@@ -0,0 +1,2 @@
+MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
+MD5 35a1b66d65a2871cfba6b4c50e87e5de patches-2.4.21-selinux.tar.bz2 207201
diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.21.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.21.ebuild
new file mode 100644
index 000000000000..d549dbfdc0d1
--- /dev/null
+++ b/sys-kernel/selinux-sources/selinux-sources-2.4.21.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/selinux-sources-2.4.21.ebuild,v 1.1 2003/07/12 16:25:34 pebenito Exp $
+
+IUSE="selinux"
+
+# 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.21-selinux"
+
+S=${WORKDIR}/linux-${KV}
+DESCRIPTION="LSM patched kernel with SELinux archive"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
+ mirror://gentoo/patches-${KV}.tar.bz2"
+
+HOMEPAGE="http://www.kernel.org/ http://www.nsa.gov/selinux"
+KEYWORDS="~x86"
+SLOT="${KV}"
+
+src_unpack() {
+ unpack ${A}
+ mv linux-${OKV} linux-${KV} || die
+
+ cd ${KV}
+ kernel_src_unpack
+}
+
+src_install() {
+ insinto /usr/flask
+ doins ${S}/security/selinux/flask/access_vectors
+ doins ${S}/security/selinux/flask/security_classes
+ doins ${S}/security/selinux/flask/initial_sids
+
+ insinto /usr/include/linux/flask
+ doins ${S}/security/selinux/include/linux/flask/*.h
+
+ insinto /usr/include/asm/flask
+ doins ${S}/security/selinux/include/asm/flask/uninstd.h
+
+ kernel_src_install
+
+ dosed 's:-r0::' /usr/src/linux-${KV}/Makefile
+}
+