# Copyright 1999-2004 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-r7.ebuild,v 1.1 2004/08/10 01:53:22 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" 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 ${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" #============================================================================ # 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 }