diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-08-14 18:50:24 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-08-14 18:50:24 +0000 |
commit | fa195664e0de2db20b0f5ea6918b2d41496b3cf2 (patch) | |
tree | 8eaa8624510a18f7a1ff99118546131075d1d477 /sys-kernel/selinux-sources | |
parent | mark stable (diff) | |
download | historical-fa195664e0de2db20b0f5ea6918b2d41496b3cf2.tar.gz historical-fa195664e0de2db20b0f5ea6918b2d41496b3cf2.tar.bz2 historical-fa195664e0de2db20b0f5ea6918b2d41496b3cf2.zip |
new upstream version
Diffstat (limited to 'sys-kernel/selinux-sources')
4 files changed, 57 insertions, 2 deletions
diff --git a/sys-kernel/selinux-sources/ChangeLog b/sys-kernel/selinux-sources/ChangeLog index 76d2ea800f65..fbfdc318ae7b 100644 --- a/sys-kernel/selinux-sources/ChangeLog +++ b/sys-kernel/selinux-sources/ChangeLog @@ -1,6 +1,13 @@ # 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.18 2003/08/14 18:41:41 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/ChangeLog,v 1.19 2003/08/14 18:50:19 pebenito Exp $ + +*selinux-sources-2.4.21-r2 (14 Aug 2003) + + 14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> + selinux-sources-2.4.21-r2.ebuild: + New upstream version. NOTE: This has the new SELinux API, backported from 2.6. + The userland is libselinux, not libsecure (selinux-small). 14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> selinux-sources-2.4.20-r5.ebuild, selinux-sources-2.4.21.ebuild: diff --git a/sys-kernel/selinux-sources/Manifest b/sys-kernel/selinux-sources/Manifest index 2c6fa147dba9..9c409a304d34 100644 --- a/sys-kernel/selinux-sources/Manifest +++ b/sys-kernel/selinux-sources/Manifest @@ -1,4 +1,6 @@ -MD5 51ab036b1110b21d707872e3d21ea6e1 ChangeLog 2497 +MD5 6e55a5a8249376e519291515d3c335c5 ChangeLog 2770 MD5 f455fbb5d96167058282b93599457a4f metadata.xml 470 +MD5 67326c00d5f657713ee95bbf0571e439 selinux-sources-2.4.21-r2.ebuild 1362 MD5 e9ac96de67957f74af114eba21ee319a selinux-sources-2.4.21.ebuild 1716 MD5 ba4d23bb69d489a7ae374d964a9eafc5 files/digest-selinux-sources-2.4.21 142 +MD5 a5b316ee2473a6445842f81c9e3eba7d files/digest-selinux-sources-2.4.21-r2 145 diff --git a/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21-r2 b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21-r2 new file mode 100644 index 000000000000..c51e7fb2164d --- /dev/null +++ b/sys-kernel/selinux-sources/files/digest-selinux-sources-2.4.21-r2 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 327e793ddb5344b6a897bb3a0fb98a7d patches-2.4.21-selinux-r2.tar.bz2 240736 diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.21-r2.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r2.ebuild new file mode 100644 index 000000000000..b67992e7fa83 --- /dev/null +++ b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r2.ebuild @@ -0,0 +1,44 @@ +# 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-r2.ebuild,v 1.1 2003/08/14 18:50:19 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 +#KV="2.4.21-selinux" + +S=${WORKDIR}/linux-${KV} +DESCRIPTION="LSM patched kernel with SELinux" +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() { + kernel_src_install + + dosed 's:-r0::' /usr/src/linux-${KV}/Makefile +} + |