blob: 6461e2f5a36f8867791376908bf42db08034bbc7 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-dev-sources/gentoo-dev-sources-2.6.8-r4.ebuild,v 1.3 2004/10/04 21:35:20 pvdabeel Exp $
ETYPE="sources"
inherit kernel-2
detect_version
detect_arch
#version of gentoo patchset
GPV=8.50
GPV_SRC="mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-base.tar.bz2
mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-extras.tar.bz2"
KEYWORDS="~x86 amd64 ppc ~ppc64 ~ia64 ~alpha"
UNIPATCH_LIST="${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-base.tar.bz2
${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-extras.tar.bz2
${DISTDIR}/x86_64-2.6.8-1.bz2"
UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}/0000_README"
DESCRIPTION="Full sources including the gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
SRC_URI="${KERNEL_URI} ${GPV_SRC} \
ftp://ftp.x86-64.org/pub/linux/v2.6/x86_64-2.6.8-1.bz2"
DEPEND="${DEPEND} >=dev-libs/ucl-1"
IUSE="ultra1"
use ultra1 || UNIPATCH_EXCLUDE="1399_sparc-U1-hme-lockup.patch"
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1321_x86_64-noiommu.patch"
pkg_postinst() {
postinst_sources
echo
if [ "${ARCH}" = "sparc" ]; then
if [ x"`cat /proc/openprom/name 2>/dev/null`" \
= x"'SUNW,Ultra-1'" ]; then
einfo "For users with an Enterprise model Ultra 1 using the HME"
einfo "network interface, please emerge the kernel using the"
einfo "following command: USE=ultra1 emerge ${PN}"
fi
fi
}
|