blob: e25c66e3154be52172c698e7a8fb42a27b072f17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/wolk-sources/wolk-sources-4.14-r13.ebuild,v 1.1 2005/01/09 16:21:03 plasmaroo Exp $
OKV="2.4.20"
OKB="2.4"
EXTRAVERSION="-${PN%-*}-${PV/$OKV./}-${PR}"
KV="${OKV}${EXTRAVERSION}"
S="${WORKDIR}/linux-${KV}"
WOLK_SRC="linux-${OKV}-wolk${PV/${OKV}./}-fullkernel.tar.bz2"
WOLK_DIR="linux-${OKV}-wolk${PV/${OKV}./}-fullkernel"
ETYPE="sources"
inherit kernel-2
RESTRICT="nomirror"
DESCRIPTION="Full sources for Marc-Christian Peterson's WOLK kernel, based on 2.4.20 vanilla with many popular patches and fixes"
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/mcp/${OKB}-WOLK/"
SRC_URI="mirror://kernel/linux/kernel/people/mcp/${OKB}-WOLK/${WOLK_SRC}
http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${PN}-4.11-CAN-2004-0415.patch
http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${PN}-4.9-CAN-2004-0814.2.patch"
KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa -mips"
K_EXTRAEINFO="If there are issues with this kernel, then please direct any queries to the
mailing list: http://sourceforge.net/mailarchive/forum.php?forum_id=8245.
Refer to the 2.4-WOLK-README file for further information. You will find
this file in the directory containing the sources."
UNIPATCH_LIST="
${DISTDIR}/${PN}-4.11-CAN-2004-0415.patch
${DISTDIR}/${PN}-4.9-CAN-2004-0814.2.patch
${FILESDIR}/${PN}.CAN-2004-0133.patch
${FILESDIR}/${PN}.CAN-2004-0181.patch
${FILESDIR}/${PN}.CAN-2004-0394.patch
${FILESDIR}/${PN}.CAN-2004-0495.patch
${FILESDIR}/${PN}.CAN-2004-0497.patch
${FILESDIR}/${PN}.CAN-2004-0535.patch
${FILESDIR}/${PN}.CAN-2004-0685.patch
${FILESDIR}/${PN}.FPULockup-53804.patch
${FILESDIR}/${PN}.cmdlineLeak.patch
${FILESDIR}/${PN}.XDRWrapFix.patch
${FILESDIR}/${PN}.binfmt_elf.patch
${FILESDIR}/${PN}.smbfs.patch
${FILESDIR}/${PN}.AF_UNIX.patch
${FILESDIR}/${PN}.binfmt_a.out.patch
${FILESDIR}/${PN}.vma.patch
${FILESDIR}/${PN}.CAN-2004-1016.patch
${FILESDIR}/${PN}.CAN-2004-1056.patch
${FILESDIR}/${PN}.brk-locked.patch
${FILESDIR}/${PN}.77094.patch"
#============================================================================
# We'll override the src_unpack() function from the eclass. This is necessary
# due to the inclusion of optional patches in the sources. These cannot be
# applied until after the initial base WOLK patch has been applied which is
# a problem, given that the eclass checks for the validity of any patches.
#============================================================================
src_unpack() {
cd ${WORKDIR}
unpack ${WOLK_SRC}
mv ${WOLK_DIR} linux-${KV} || die "Unable to move source tree to ${KV}."
cd ${S}
unipatch ${UNIPATCH_LIST}
unpack_set_extraversion
}
|