summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-12-02 08:46:56 +0000
committerBrian Jackson <iggy@gentoo.org>2003-12-02 08:46:56 +0000
commit8f8a85853d40a4e2317f6a82ccd77bc3ef270e2e (patch)
tree5595ab160d61514ae1971f217d6d398947842035
parentversion bump for do_brk vuln (diff)
downloadhistorical-8f8a85853d40a4e2317f6a82ccd77bc3ef270e2e.tar.gz
historical-8f8a85853d40a4e2317f6a82ccd77bc3ef270e2e.tar.bz2
historical-8f8a85853d40a4e2317f6a82ccd77bc3ef270e2e.zip
version bump for do_brk vuln
-rw-r--r--sys-kernel/selinux-sources/Manifest4
-rw-r--r--sys-kernel/selinux-sources/selinux-sources-2.4.21-r5.ebuild42
2 files changed, 44 insertions, 2 deletions
diff --git a/sys-kernel/selinux-sources/Manifest b/sys-kernel/selinux-sources/Manifest
index ba5cb14a95e5..2e650ef01ac3 100644
--- a/sys-kernel/selinux-sources/Manifest
+++ b/sys-kernel/selinux-sources/Manifest
@@ -1,6 +1,6 @@
-MD5 6e8cc3832e3945f48394991b1fe2d51d selinux-sources-2.4.21-r5.ebuild 1062
+MD5 2d14774a77ed63688b8ac17a2427b54b selinux-sources-2.4.21-r5.ebuild 1220
MD5 d06e186a49502b4eb5afeb2d32e968b4 selinux-sources-2.4.21-r4.ebuild 1058
-MD5 8714173f7e9ae01a4d479c0d0f4b40ac ChangeLog 3683
+MD5 c8b505d97d79a9e5ae30e5c69111f651 ChangeLog 3840
MD5 f455fbb5d96167058282b93599457a4f metadata.xml 470
MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
MD5 76ec5f9fe491fd7c166830604f3651e2 files/digest-selinux-sources-2.4.21-r4 145
diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.21-r5.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r5.ebuild
new file mode 100644
index 000000000000..e9ef6f4cec76
--- /dev/null
+++ b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r5.ebuild
@@ -0,0 +1,42 @@
+# 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-r5.ebuild,v 1.1 2003/12/02 08:46:54 iggy Exp $
+
+# WARNING don't use this ebuild for a template, it's been hacked to pieces
+
+IUSE=""
+
+ETYPE="sources"
+inherit kernel
+OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
+EXTRAVERSION="-${PN/-*/}"
+[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
+KV="${OKV}${EXTRAVERSION}"
+
+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/5/4}.tar.bz2"
+
+HOMEPAGE="http://www.kernel.org/ http://www.nsa.gov/selinux"
+KEYWORDS="x86 -ppc -alpha -sparc -mips -hppa -arm -amd64 -ia64"
+SLOT="${KV}"
+
+src_unpack() {
+ unpack ${A}
+ mv linux-${OKV} linux-${KV} || die
+
+ cd ${S}
+ for patch in ` ls ${WORKDIR}/2.4.21-selinux-r4/*_*` ; do
+ epatch ${patch}
+ done
+ epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln"
+ kernel_src_unpack
+}
+
+src_install() {
+ kernel_src_install
+
+ dosed 's:-r0::' /usr/src/linux-${KV}/Makefile
+}
+