diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-04-14 19:09:38 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-04-14 19:09:38 +0000 |
commit | dc1227022235ec6ebc07d04522b751bf8dd86dd0 (patch) | |
tree | 0210619debd952a478e86bbaa89847c1eccbee71 /sys-kernel/selinux-sources | |
parent | New upstream version. Added ptrace and ext3 data=journal fixes. (diff) | |
download | gentoo-2-dc1227022235ec6ebc07d04522b751bf8dd86dd0.tar.gz gentoo-2-dc1227022235ec6ebc07d04522b751bf8dd86dd0.tar.bz2 gentoo-2-dc1227022235ec6ebc07d04522b751bf8dd86dd0.zip |
New upstream version. Added ptrace and ext3 data=journal fixes.
Diffstat (limited to 'sys-kernel/selinux-sources')
4 files changed, 62 insertions, 2 deletions
diff --git a/sys-kernel/selinux-sources/ChangeLog b/sys-kernel/selinux-sources/ChangeLog index fce8b042d98d..c3af026fae73 100644 --- a/sys-kernel/selinux-sources/ChangeLog +++ b/sys-kernel/selinux-sources/ChangeLog @@ -1,6 +1,11 @@ # 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.12 2003/04/02 03:26:45 method Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/ChangeLog,v 1.13 2003/04/14 19:09:12 pebenito Exp $ + +*selinux-sources-2.4.20-r4 (14 Apr 2003) + + 14 Apr 2003; <pebenito@gentoo.org> selinux-sources-2.4.20-r4.ebuild: + New NSA upstream version. Added ptrace and ext3 data=journal fixes. *selinux-sources-2.4.20-r3 (01 Apr 2003) diff --git a/sys-kernel/selinux-sources/Manifest b/sys-kernel/selinux-sources/Manifest index f3f0c6b3771f..eef4974e8b80 100644 --- a/sys-kernel/selinux-sources/Manifest +++ b/sys-kernel/selinux-sources/Manifest @@ -1,4 +1,4 @@ -MD5 26fa94a7b817744bd5a3e54d3b54493c ChangeLog 1623 +MD5 d58290fb3d1600a3e362d8922f673416 ChangeLog 1810 MD5 54abc60c20ec9b312d50436e982f910d selinux-sources-2.4.20-r1.ebuild 1578 MD5 268688138f313062b3a9e4f6de72ccf6 selinux-sources-2.4.20-r2.ebuild 1771 MD5 2ae06f0cbae565e2e6f334754c2cf150 selinux-sources-2.4.20-r3.ebuild 1937 diff --git a/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.20-r4 b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.20-r4 new file mode 100644 index 000000000000..70758b6bde5e --- /dev/null +++ b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.20-r4 @@ -0,0 +1,2 @@ +MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 +MD5 685fa813bde0bba49f9eef85a0800473 patches-2.4.20-selinux-r4.tar.bz2 213783 diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.20-r4.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.20-r4.ebuild new file mode 100644 index 000000000000..2eb2a7509fd7 --- /dev/null +++ b/sys-kernel/selinux-sources/selinux-sources-2.4.20-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +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 + +S=${WORKDIR}/linux-${KV} +OKV=2.4.20 +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 +} + |