summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-08-02 11:11:09 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-08-02 11:11:09 +0000
commita70981f593bf6e0a030dddb39b7e4241a219b809 (patch)
tree0d21231701959f0305861e0319bf138ef57d0d19 /sys-kernel/gentoo-sources
parentx11-plugins/wmupmon-0.1.2 stable for x86. Wipe out old ebuilds. (Manifest rec... (diff)
downloadgentoo-2-a70981f593bf6e0a030dddb39b7e4241a219b809.tar.gz
gentoo-2-a70981f593bf6e0a030dddb39b7e4241a219b809.tar.bz2
gentoo-2-a70981f593bf6e0a030dddb39b7e4241a219b809.zip
2.4.19 and 2.4.20 patched for CAN-2003-0643.
Diffstat (limited to 'sys-kernel/gentoo-sources')
-rw-r--r--sys-kernel/gentoo-sources/ChangeLog10
-rw-r--r--sys-kernel/gentoo-sources/Manifest91
-rw-r--r--sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r19 (renamed from sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r18)0
-rw-r--r--sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r22 (renamed from sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r21)0
-rw-r--r--sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0643.patch26
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r19.ebuild (renamed from sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r18.ebuild)11
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild (renamed from sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r21.ebuild)7
7 files changed, 93 insertions, 52 deletions
diff --git a/sys-kernel/gentoo-sources/ChangeLog b/sys-kernel/gentoo-sources/ChangeLog
index 7f055328120a..50ba6cc2d0dc 100644
--- a/sys-kernel/gentoo-sources/ChangeLog
+++ b/sys-kernel/gentoo-sources/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-kernel/gentoo-sources
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.82 2004/07/17 21:06:12 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.83 2004/08/02 11:11:09 plasmaroo Exp $
+
+*gentoo-sources-2.4.20-r22 (02 Aug 2004)
+
+ 02 Aug 2004; <plasmaroo@gentoo.org> -gentoo-sources-2.4.19-r18.ebuild,
+ +gentoo-sources-2.4.19-r19.ebuild, -gentoo-sources-2.4.20-r21.ebuild,
+ +gentoo-sources-2.4.20-r22.ebuild,
+ +files/gentoo-sources-2.4.CAN-2003-0643.patch:
+ 2.4.19 and 2.4.20 patched for CAN-2003-0643.
16 Jul 2004; Chris Gianelloni <wolf31o2@gentoo.org>
gentoo-sources-2.4.26-r6.ebuild:
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
index 4c83dc940615..140526ba4adf 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -1,58 +1,59 @@
+MD5 b35dcdf558aea08fc01815e3b810a521 ChangeLog 20654
+MD5 91ea2908f17a4069774ffce01264df0c metadata.xml 354
+MD5 86aee6498007ed2f5a40bc96cee32e37 gentoo-sources-2.4.26-r6.ebuild 776
+MD5 e00dbf8eb2ecbcb5579a25bf938821cc gentoo-sources-2.4.19-r19.ebuild 4078
MD5 d5f89a22a0596c204b5530120a5ad9b0 gentoo-sources-2.4.25-r6.ebuild 1011
-MD5 013d5311de2ca1ca7a2930df5cebf153 gentoo-sources-2.4.26-r5.ebuild 754
+MD5 574fd37b9663dc5a6669993ffdae8c42 gentoo-sources-2.4.20-r22.ebuild 6764
MD5 39e765c1228a24fc938248ae5c92cddf gentoo-sources-2.4.22-r13.ebuild 1617
-MD5 f1906bf632397610b8d7649830e04bc4 gentoo-sources-2.4.20-r21.ebuild 6666
-MD5 86aee6498007ed2f5a40bc96cee32e37 gentoo-sources-2.4.26-r6.ebuild 776
-MD5 37850cda887c49bd5886cd5effd9a9de ChangeLog 20333
-MD5 a7dc495c28a8174d99347be70f1c9792 gentoo-sources-2.4.19-r18.ebuild 3863
-MD5 91ea2908f17a4069774ffce01264df0c metadata.xml 354
-MD5 2ac4fd77e067652901ccf234c9687bb1 files/i810_drm.patch 1247
-MD5 147fec50180ad91b6260fc7201dcb90f files/gentoo-sources-2.4.CAN-2004-0010.patch 6050
-MD5 9601c35f96d297ed0d13753875fb3068 files/gentoo-sources-2.4.20-gcc33.patch 13455
+MD5 013d5311de2ca1ca7a2930df5cebf153 gentoo-sources-2.4.26-r5.ebuild 754
+MD5 6450fd1b19f30aa33866e5e467c0d828 files/gentoo-sources-2.4.20-cs46xx-gcc33.patch 374
+MD5 c460ea130cb4ae84a5063ba044e3ce72 files/gentoo-sources-2.4.CAN-2004-0427.patch 460
+MD5 b40c150e8529876064e1ec409a47984e files/security.patch4 783
MD5 2f4db0083c0ed762c0af63f26812a68b files/gentoo-sources-2.4.20-fix-proc-mm.patch 1300
-MD5 1326d31d343f60512dfb1376bfe134a2 files/gentoo-sources-2.4.20-sched-interrupt.patch 400
-MD5 d4a740ae56c2049247083af387a22a85 files/gentoo-sources-2.4.CAN-2004-0394.patch 350
-MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/gentoo-sources-2.4.CAN-2004-0497.patch 707
-MD5 032ff70c5895cc1a2dfbe2a58ebde1f7 files/gentoo-sources-2.4.19-munmap.patch 819
-MD5 9f412f3083cdd87db058dd2f5fbcd103 files/gentoo-sources-2.4.20-ipt-realm.patch 1028
-MD5 d96fe98630a0a160723a67e4ca93dcff files/gentoo-sources-2.4.20-grsec-datasize_fix.patch 1421
+MD5 e77a93fdf26f06cf3ea5080b27211725 files/gentoo-sources-2.4.CAN-2003-0985.patch 414
+MD5 9601c35f96d297ed0d13753875fb3068 files/gentoo-sources-2.4.20-gcc33.patch 13455
MD5 174438d215b70cad5ffb00ca8123c062 files/gentoo-sources-2.4.munmap.patch 837
-MD5 394bae02a20af95fc9d320f6cea3834e files/gentoo-sources-2.4.22-kmsgdump.patch 887
-MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/gentoo-sources-2.4.CAN-2004-0177.patch 384
+MD5 032ff70c5895cc1a2dfbe2a58ebde1f7 files/gentoo-sources-2.4.19-munmap.patch 819
MD5 df40eece807d039cba79f477e80ebda2 files/gentoo-sources-2.4.19-rtc_fix.patch 4974
-MD5 02b1f745c441693b1558b2b6d3f28c45 files/gentoo-sources-2.4.20-mdcount.patch 1345
-MD5 5bf9836a632a861728d33f9736bb7431 files/gentoo-sources-2.4.CAN-2004-0133.patch 427
-MD5 cbd2a33f15a8d2e7ab700a0b45fac377 files/gentoo-sources-2.4.20-grsec-disabled.patch 562
+MD5 4612e51dce8b55ac628056ec3d44707c files/digest-gentoo-sources-2.4.26-r6 145
+MD5 ac42024b6e6ee1e2165914db4b22a61c files/gentoo-sources-2.4.CAN-2004-0178.patch 424
+MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/gentoo-sources-2.4.CAN-2004-0497.patch 707
+MD5 21ebf0ddc4b8ec4013470c4d243cd03b files/gentoo-sources-2.4.20-munmap.patch 826
MD5 7b306c2be9db38aeb8e0dbfea6dea17a files/gentoo-sources-2.4.20-hpt372.patch 31675
-MD5 21f3a4f186017d925067335e24db36a1 files/gentoo-sources-2.4.CAN-2004-0109.patch 1877
-MD5 9c816c892d6e3d3f0b7b77d3d503ab10 files/gentoo-sources-2.4.22-CAN-2004-0075.patch 634
-MD5 3bf2f78421fe7eb5babc154d4ad4dbbd files/security.patch1 14328
+MD5 d4a740ae56c2049247083af387a22a85 files/gentoo-sources-2.4.CAN-2004-0394.patch 350
+MD5 9f412f3083cdd87db058dd2f5fbcd103 files/gentoo-sources-2.4.20-ipt-realm.patch 1028
+MD5 dc18e982f8149588a291956481885a8c files/gentoo-sources-2.4.CAN-2004-0495.patch 17549
+MD5 528da73c9e4a6fb017561e51dc0ab815 files/gentoo-sources-2.4.CAN-2003-0643.patch 747
+MD5 751d36c76691a7cab7c5bb48ca2ac092 files/gentoo-sources-2.4.26-OpenSWAN-CompileFix.patch 1447
+MD5 d96fe98630a0a160723a67e4ca93dcff files/gentoo-sources-2.4.20-grsec-datasize_fix.patch 1421
+MD5 0f54abe62bc4311334eb74604dc39e52 files/digest-gentoo-sources-2.4.25-r6 144
+MD5 de75cfa969ed092578d9ddda6c5be334 files/gentoo-sources-2.4.CAN-2004-0181.patch 1233
MD5 f308aef282ea75ea55d5c6035dafa100 files/security.patch2 4014
-MD5 0d1cdff97252338dc5acc37c5f84d7c6 files/security.patch3 3333
-MD5 b40c150e8529876064e1ec409a47984e files/security.patch4 783
-MD5 ac42024b6e6ee1e2165914db4b22a61c files/gentoo-sources-2.4.CAN-2004-0178.patch 424
-MD5 6bd1b3d66aca4f2ae0cfd964caa28cc9 files/gentoo-sources-2.4.20-devfs-snd-fix.patch 1973
-MD5 857ff623313f874e811763a2db96e831 files/lcall-DoS.patch 885
-MD5 a580e6b8c602c2e13fb5de7cc2de65a0 files/do_brk_fix.patch 242
-MD5 8c31359a134b927f7038539e7dd896d4 files/digest-gentoo-sources-2.4.19-r18 146
-MD5 34487f5dc39d4ce8178004ced591fa83 files/digest-gentoo-sources-2.4.20-r21 146
MD5 180cbe4b3ff8f173552bca65b345beaa files/digest-gentoo-sources-2.4.22-r13 147
+MD5 1326d31d343f60512dfb1376bfe134a2 files/gentoo-sources-2.4.20-sched-interrupt.patch 400
+MD5 39af009b63a2f2042ac251fa801044d9 files/gentoo-sources-2.4.19-CAN-2004-0181.patch 1180
MD5 a61e57d5483a06f20da339d91f98fbb8 files/gentoo-sources-2.4.20-rtc_fix.patch 6769
-MD5 152e60bd6e74485e08c4f0bd8f98250a files/gentoo-sources-2.4.19-gcc33.patch 8526
-MD5 bf2b609e8cab6460d220b1267db09826 files/gentoo-sources-2.4.CAN-2004-0001.patch 982
-MD5 21ebf0ddc4b8ec4013470c4d243cd03b files/gentoo-sources-2.4.20-munmap.patch 826
-MD5 0f54abe62bc4311334eb74604dc39e52 files/digest-gentoo-sources-2.4.25-r6 144
+MD5 147fec50180ad91b6260fc7201dcb90f files/gentoo-sources-2.4.CAN-2004-0010.patch 6050
+MD5 6bd1b3d66aca4f2ae0cfd964caa28cc9 files/gentoo-sources-2.4.20-devfs-snd-fix.patch 1973
MD5 173483399b1085c13c80332579f333d0 files/digest-gentoo-sources-2.4.26-r5 145
-MD5 4612e51dce8b55ac628056ec3d44707c files/digest-gentoo-sources-2.4.26-r6 145
-MD5 e30386f1121b1197396ed9082eae7dcb files/gentoo-sources-2.4.I2C_Limits.patch 1037
-MD5 6450fd1b19f30aa33866e5e467c0d828 files/gentoo-sources-2.4.20-cs46xx-gcc33.patch 374
+MD5 8c31359a134b927f7038539e7dd896d4 files/digest-gentoo-sources-2.4.19-r19 146
+MD5 152e60bd6e74485e08c4f0bd8f98250a files/gentoo-sources-2.4.19-gcc33.patch 8526
+MD5 5bf9836a632a861728d33f9736bb7431 files/gentoo-sources-2.4.CAN-2004-0133.patch 427
+MD5 e2e2b545b6fcdcecf49e33798efa5b84 files/gentoo-sources-2.4.22-rtc_fix.patch 7073
MD5 0f66013f643c79c97fda489618a4e2fd files/gentoo-sources-2.4.CAN-2004-0535.patch 476
-MD5 dc18e982f8149588a291956481885a8c files/gentoo-sources-2.4.CAN-2004-0495.patch 17549
+MD5 3bf2f78421fe7eb5babc154d4ad4dbbd files/security.patch1 14328
+MD5 857ff623313f874e811763a2db96e831 files/lcall-DoS.patch 885
MD5 012e8ba5d18dbb8d508ac4955e143e3a files/gentoo-sources-2.4.20-ipt-route.patch 13307
+MD5 34487f5dc39d4ce8178004ced591fa83 files/digest-gentoo-sources-2.4.20-r22 146
+MD5 e30386f1121b1197396ed9082eae7dcb files/gentoo-sources-2.4.I2C_Limits.patch 1037
MD5 c9da1bc82b906f6abc648c056e7bf662 files/gentoo-sources-2.4.FPULockup-53804.patch 354
-MD5 751d36c76691a7cab7c5bb48ca2ac092 files/gentoo-sources-2.4.26-OpenSWAN-CompileFix.patch 1447
-MD5 e2e2b545b6fcdcecf49e33798efa5b84 files/gentoo-sources-2.4.22-rtc_fix.patch 7073
-MD5 c460ea130cb4ae84a5063ba044e3ce72 files/gentoo-sources-2.4.CAN-2004-0427.patch 460
-MD5 de75cfa969ed092578d9ddda6c5be334 files/gentoo-sources-2.4.CAN-2004-0181.patch 1233
-MD5 e77a93fdf26f06cf3ea5080b27211725 files/gentoo-sources-2.4.CAN-2003-0985.patch 414
-MD5 39af009b63a2f2042ac251fa801044d9 files/gentoo-sources-2.4.19-CAN-2004-0181.patch 1180
+MD5 cbd2a33f15a8d2e7ab700a0b45fac377 files/gentoo-sources-2.4.20-grsec-disabled.patch 562
+MD5 2ac4fd77e067652901ccf234c9687bb1 files/i810_drm.patch 1247
+MD5 0d1cdff97252338dc5acc37c5f84d7c6 files/security.patch3 3333
+MD5 394bae02a20af95fc9d320f6cea3834e files/gentoo-sources-2.4.22-kmsgdump.patch 887
+MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/gentoo-sources-2.4.CAN-2004-0177.patch 384
+MD5 9c816c892d6e3d3f0b7b77d3d503ab10 files/gentoo-sources-2.4.22-CAN-2004-0075.patch 634
+MD5 a580e6b8c602c2e13fb5de7cc2de65a0 files/do_brk_fix.patch 242
+MD5 bf2b609e8cab6460d220b1267db09826 files/gentoo-sources-2.4.CAN-2004-0001.patch 982
+MD5 02b1f745c441693b1558b2b6d3f28c45 files/gentoo-sources-2.4.20-mdcount.patch 1345
+MD5 21f3a4f186017d925067335e24db36a1 files/gentoo-sources-2.4.CAN-2004-0109.patch 1877
diff --git a/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r18 b/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r19
index 19d991259834..19d991259834 100644
--- a/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r18
+++ b/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.19-r19
diff --git a/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r21 b/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r22
index 0d9abd01d13b..0d9abd01d13b 100644
--- a/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r21
+++ b/sys-kernel/gentoo-sources/files/digest-gentoo-sources-2.4.20-r22
diff --git a/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0643.patch b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0643.patch
new file mode 100644
index 000000000000..346641ee93be
--- /dev/null
+++ b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.CAN-2003-0643.patch
@@ -0,0 +1,26 @@
+# This is a BitKeeper generated diff -Nru style patch.
+#
+# ChangeSet
+# 2003/07/25 09:53:06-07:00 kaber@trash.net
+# [NET]: Fix signnedness test in socket filter code.
+#
+# net/core/filter.c
+# 2003/07/25 09:52:50-07:00 kaber@trash.net +2 -3
+# [NET]: Fix signnedness test in socket filter code.
+#
+diff -Nru a/net/core/filter.c b/net/core/filter.c
+--- a/net/core/filter.c 2004-06-27 19:54:06 -07:00
++++ b/net/core/filter.c 2004-06-27 19:54:06 -07:00
+@@ -294,10 +294,9 @@
+ goto load_b;
+
+ case BPF_LDX|BPF_B|BPF_MSH:
+- k = fentry->k;
+- if(k >= 0 && (unsigned int)k >= len)
++ if(fentry->k >= len)
+ return (0);
+- X = (data[k] & 0xf) << 2;
++ X = (data[fentry->k] & 0xf) << 2;
+ continue;
+
+ case BPF_LD|BPF_IMM:
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r18.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r19.ebuild
index f8bb727b1a66..ed241544d76b 100644
--- a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r18.ebuild
+++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r18.ebuild,v 1.2 2004/07/15 03:49:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r19.ebuild,v 1.1 2004/08/02 11:11:09 plasmaroo Exp $
IUSE="acpi4linux crypt xfs"
@@ -35,7 +35,7 @@ S=${WORKDIR}/linux-${KV}
DESCRIPTION="Full sources for the Gentoo Linux kernel"
SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://gentoo.lostlogicx.com/patches-${KV/18/10}.tar.bz2"
+ http://gentoo.lostlogicx.com/patches-${KV/-r19/-r10}.tar.bz2"
KEYWORDS="x86 -ppc -sparc -amd64 -ia64"
SLOT="${KV}"
@@ -43,7 +43,7 @@ src_unpack() {
unpack ${A}
mv linux-${OKV} linux-${KV} || die
- cd ${KV/18/10}
+ cd ${KV/-r19/-r10}
# Kill patches we aren't suppposed to use, don't worry about
# failures, if they aren't there that is a good thing!
@@ -63,11 +63,16 @@ src_unpack() {
epatch ${FILESDIR}/${P}-gcc33.patch || die "GCC 3.3 patch failed!"
epatch ${FILESDIR}/${PN}-2.4.20-cs46xx-gcc33.patch || die "GCC 3.3 patch failed!"
+ epatch ${FILESDIR}/security.patch2
+ epatch ${FILESDIR}/security.patch3
+ epatch ${FILESDIR}/security.patch4
+
epatch ${FILESDIR}/lcall-DoS.patch || die "lcall-DoS patch failed"
epatch ${FILESDIR}/i810_drm.patch || die "i810_drm patch failed"
epatch ${FILESDIR}/do_brk_fix.patch || die "Failed to apply do_brk() patch!"
epatch ${FILESDIR}/${P}-munmap.patch || die "Failed to apply munmap patch!"
epatch ${FILESDIR}/${P}-rtc_fix.patch || die "Failed to apply the RTC fixes!"
+ epatch ${FILESDIR}/${PN}-2.4.CAN-2003-0643.patch || die "Failed to add the CAN-2003-0643 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2003-0985.patch || die "Failed to add the CAN-2003-0985 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r21.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild
index 46f9788dd8df..b0123093c3c8 100644
--- a/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r21.ebuild
+++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r21.ebuild,v 1.2 2004/07/15 03:49:23 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.20-r22.ebuild,v 1.1 2004/08/02 11:11:09 plasmaroo Exp $
IUSE="aavm crypt evms2 usagi"
@@ -30,7 +30,7 @@ S=${WORKDIR}/linux-${KV}
DESCRIPTION="Full sources for the Gentoo Kernel."
SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-sources/patches-${KV/r21/r14}.tar.bz2"
+ http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-sources/patches-${KV/r22/r14}.tar.bz2"
HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc -alpha -hppa -mips"
@@ -40,7 +40,7 @@ src_unpack() {
unpack ${A}
mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
- cd ${WORKDIR}/${KV/r21/r14}
+ cd ${WORKDIR}/${KV/r22/r14}
# This is the *ratified* aavm USE flag, enables aavm support in this kernel
if ! use aavm; then
@@ -127,6 +127,7 @@ src_unpack() {
epatch ${FILESDIR}/do_brk_fix.patch || die "Failed to apply do_brk() fix!"
epatch ${FILESDIR}/${P}-munmap.patch || die "Failed to apply munmap patch!"
epatch ${FILESDIR}/${P}-rtc_fix.patch || die "Failed to apply RTC fix!"
+ epatch ${FILESDIR}/${PN}-2.4.CAN-2003-0643.patch || die "Failed to add the CAN-2003-0643 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2003-0985.patch || die "Failed to apply mremap() fix!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0001.patch || die "Failed to apply AMD64 ptrace patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"