summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-01-06 17:06:47 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-01-06 17:06:47 +0000
commit9d11c5ac0b55775f4bf5bb45bfd66ada1e20ce34 (patch)
tree8219d478b1287cdedbed86a33422979446072f1c /sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild
parentblock gnupg-1.9.0 (diff)
downloadgentoo-2-9d11c5ac0b55775f4bf5bb45bfd66ada1e20ce34.tar.gz
gentoo-2-9d11c5ac0b55775f4bf5bb45bfd66ada1e20ce34.tar.bz2
gentoo-2-9d11c5ac0b55775f4bf5bb45bfd66ada1e20ce34.zip
Added 2.4.24 security patches to 2.4.22-r1.
Diffstat (limited to 'sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild')
-rw-r--r--sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild b/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild
index 9b71220952fb..04523cb3e27c 100644
--- a/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild
+++ b/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild,v 1.3 2004/01/05 22:22:57 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/aa-sources/aa-sources-2.4.23-r1.ebuild,v 1.4 2004/01/06 17:06:28 plasmaroo Exp $
IUSE="build"
@@ -14,8 +14,7 @@ inherit kernel
AAV=aa${PR/r/}
# KV=patched kernel version
KV="${PV/_/-}-${AAV}"
-# OKV=original kernel version as provided by ebuild
-OKV="`echo ${KV} | cut -d- -f1`"
+# OKV=original kernel version as provided by ebuildOKV="`echo ${KV} | cut -d- -f1`"
# OKVLAST=(working) last digit of OKV
OKVLAST="`echo ${OKV} | cut -d. -f3`"
# OKVLASTPR=the previous kernel version (for a marcelo pre/rc release)
@@ -61,8 +60,8 @@ src_unpack() {
bzcat ${DISTDIR}/${KV/-}.bz2|patch -p1 || die "-aa patch failed"
sed -e '51i \ qsort.o \\' -i fs/xfs/support/Makefile
- epatch ${FILESDIR}/${P}.CAN-2003-0985.patch
- epatch ${FILESDIR}/${P}.rtc_fix.patch
+ epatch ${FILESDIR}/${P}.CAN-2003-0985.patch || die "Failed to apply mremap() patch!"
+ epatch ${FILESDIR}/${P}.rtc_fix.patch || die "Failed to apply RTC patch!"
kernel_universal_unpack
}