From 989856f083b942131f1d00e970a855a5df7409a1 Mon Sep 17 00:00:00 2001 From: Christian Birchinger Date: Mon, 1 Dec 2003 17:23:13 +0000 Subject: Kernel and patches updated to 2.4.23 --- sys-kernel/sparc-sources/ChangeLog | 8 ++- sys-kernel/sparc-sources/Manifest | 14 ++--- .../files/digest-sparc-sources-2.4.23 | 2 + .../sparc-sources/sparc-sources-2.4.23.ebuild | 61 ++++++++++++++++++++++ 4 files changed, 78 insertions(+), 7 deletions(-) create mode 100644 sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23 create mode 100644 sys-kernel/sparc-sources/sparc-sources-2.4.23.ebuild diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog index d68ecf693f3c..fbb46af41f95 100644 --- a/sys-kernel/sparc-sources/ChangeLog +++ b/sys-kernel/sparc-sources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/sparc-sources # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.33 2003/11/20 07:43:38 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.34 2003/12/01 17:23:07 joker Exp $ + +*sparc-sources-2.4.23 (01 Dec 2003) + + 01 Dec 2003; Christian Birchinger + sparc-sources-2.4.23.ebuild: + New version 20 Nov 2003; Brandon Low sparc-sources-2.4.20-r8.ebuild, sparc-sources-2.4.21-r1.ebuild, diff --git a/sys-kernel/sparc-sources/Manifest b/sys-kernel/sparc-sources/Manifest index 13038e573f47..8517756125d7 100644 --- a/sys-kernel/sparc-sources/Manifest +++ b/sys-kernel/sparc-sources/Manifest @@ -1,12 +1,14 @@ -MD5 d8daaf8b1916aff1059e181071455c87 sparc-sources-2.4.21-r1.ebuild 2155 +MD5 86eff1cdf3bb6c9c4c0e6229d5fc693d ChangeLog 6150 +MD5 b400578b59d37b14550c83c0908f86d2 sparc-sources-2.4.23.ebuild 2147 MD5 a79bf1f2e01309da7f069b79696061bf sparc-sources-2.4.20-r8.ebuild 2321 -MD5 2c5c5fe6fdd340af6c64aeb0c59f6804 sparc-sources-2.4.22.ebuild 2152 -MD5 9b2de96620a4e9800f378c22847ba50e ChangeLog 6016 +MD5 d8daaf8b1916aff1059e181071455c87 sparc-sources-2.4.21-r1.ebuild 2155 MD5 6706a601c155869440dcb544e3759a04 metadata.xml 381 -MD5 afd982621a7d4faba455607353e659c9 files/digest-sparc-sources-2.4.22 140 +MD5 2c5c5fe6fdd340af6c64aeb0c59f6804 sparc-sources-2.4.22.ebuild 2152 MD5 935f3a9c9a5209ad79a0cdbf9ca4b610 files/U1-hme-lockup.patch 263 -MD5 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656 +MD5 8c8598fb61743bb94c3a9eaf3ff339f4 files/digest-sparc-sources-2.4.23 140 MD5 5cc2d0aaf480b0f39d42e04133d4138a files/digest-sparc-sources-2.4.20-r8 143 +MD5 afd982621a7d4faba455607353e659c9 files/digest-sparc-sources-2.4.22 140 MD5 78fb563990b579b7408f77a65ca176a0 files/digest-sparc-sources-2.4.21-r1 143 -MD5 89fb52efc9018f970ceeeaadac9c0f9e files/2.4.19/sparc64-asm_offsets.h 35521 +MD5 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656 MD5 13f20ae89e814fb87621b471e4d2ca68 files/2.4.19/sparc-asm_offsets.h 23156 +MD5 89fb52efc9018f970ceeeaadac9c0f9e files/2.4.19/sparc64-asm_offsets.h 35521 diff --git a/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23 b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23 new file mode 100644 index 000000000000..cae8d4a5a8ac --- /dev/null +++ b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23 @@ -0,0 +1,2 @@ +MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 +MD5 40a64a2ef557fb332a8ab22d6e5011f5 patches-2.4.23-sparc.tar.bz2 138379 diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.23.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.23.ebuild new file mode 100644 index 000000000000..fce11de2d985 --- /dev/null +++ b/sys-kernel/sparc-sources/sparc-sources-2.4.23.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/sparc-sources-2.4.23.ebuild,v 1.1 2003/12/01 17:23:07 joker Exp $ + +IUSE="build ultra1" + +# Kernel ebuilds using the kernel.eclass can remove any patch that you +# do not want to apply by simply setting the KERNEL_EXCLUDE shell +# variable to the string you want to exclude (for instance +# KERNEL_EXCLUDE="grsecurity" would not patch any patches whose names match +# *grsecurity*). Kernels are only tested in the default configuration, but +# this may be useful if you know that a particular patch is causing a +# conflict with a patch you personally want to apply, or some other +# similar situation. + +ETYPE="sources" +inherit kernel + +# OKV=original kernel version, KV=patched kernel version. They can be the same. +[ "$OKV" == "" ] && OKV="${PV}" + +EXTRAVERSION="-${PN/-*/}" +[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" +KV="${OKV}${EXTRAVERSION}" + +# Documentation on the patches contained in this kernel will be installed +# to /usr/share/doc/sparc-sources-${PV}/patches.txt.gz + +DESCRIPTION="Full sources for the Gentoo Sparc Linux kernel" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + mirror://gentoo/patches-${KV}.tar.bz2" + +S=${WORKDIR}/linux-${KV} +KEYWORDS="~x86 -ppc ~sparc" +SLOT="${KV}" + +src_unpack() { + unpack ${A} + mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}" + cd ${KV} || die "Unable to cd into ${KV}" + + kernel_src_unpack + + # Patch the HME driver only on Ultra1 machines. + use ultra1 && epatch ${FILESDIR}/U1-hme-lockup.patch +} + +pkg_postinst() { + + kernel_pkg_postinst + + # Display SUN Ultra 1 HME warning if it can be detected or if the machinetype is unknown. + if [ ! -r "/proc/openprom/name" -o "`cat /proc/openprom/name 2>/dev/null`" = "'SUNW,Ultra-1'" ]; then + einfo + einfo "For users with an Enterprise model Ultra 1 using the HME network interface," + einfo "please emerge the kernel using the following command:" + einfo + einfo "USE=ultra1 emerge sparc-sources" + einfo + fi +} -- cgit v1.2.3-65-gdbad