summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2003-12-06 16:57:07 +0000
committerChristian Birchinger <joker@gentoo.org>2003-12-06 16:57:07 +0000
commit23797e6f069b0133b546baa1e4d495132ed63f7c (patch)
tree4da4bffd1d03987be3f92b7416100446d5a4dc37 /sys-kernel/sparc-sources
parentadded ~amd64 to keywords (diff)
downloadgentoo-2-23797e6f069b0133b546baa1e4d495132ed63f7c.tar.gz
gentoo-2-23797e6f069b0133b546baa1e4d495132ed63f7c.tar.bz2
gentoo-2-23797e6f069b0133b546baa1e4d495132ed63f7c.zip
New version with ffb_drv-fix included
Diffstat (limited to 'sys-kernel/sparc-sources')
-rw-r--r--sys-kernel/sparc-sources/ChangeLog8
-rw-r--r--sys-kernel/sparc-sources/Manifest8
-rw-r--r--sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23-r12
-rw-r--r--sys-kernel/sparc-sources/sparc-sources-2.4.23-r1.ebuild61
4 files changed, 75 insertions, 4 deletions
diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog
index 73d8b9aa423e..793ea7fcc210 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.41 2003/12/05 17:31:23 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.42 2003/12/06 16:57:02 joker Exp $
+
+*sparc-sources-2.4.23-r1 (06 Dec 2003)
+
+ 06 Dec 2003; Christian Birchinger <joker@gentoo.org>
+ sparc-sources-2.4.23-r1.ebuild:
+ New version with ffb_drv-fix included
04 Dec 2003; Christian Birchinger <joker@gentoo.org>
sparc-sources-2.4.23.ebuild: Marked stable.
diff --git a/sys-kernel/sparc-sources/Manifest b/sys-kernel/sparc-sources/Manifest
index c8206fd021f4..070b9fa9c3ca 100644
--- a/sys-kernel/sparc-sources/Manifest
+++ b/sys-kernel/sparc-sources/Manifest
@@ -1,11 +1,13 @@
-MD5 2b55ca4719d0859c2ba3f3278dbac710 ChangeLog 7324
-MD5 0d524d16d16682fd4af99221b0891296 sparc-sources-2.4.22.ebuild 2241
+MD5 cb4c38405de3cb1aec7e1fc36520ba94 ChangeLog 7490
MD5 ad07544c32101f3f910d9dffb9b90fb7 sparc-sources-2.4.23.ebuild 2145
+MD5 372ceaa962baf8bf7de46b0a57ade5f8 sparc-sources-2.4.23-r1.ebuild 2150
MD5 6706a601c155869440dcb544e3759a04 metadata.xml 381
-MD5 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656
+MD5 0d524d16d16682fd4af99221b0891296 sparc-sources-2.4.22.ebuild 2241
MD5 935f3a9c9a5209ad79a0cdbf9ca4b610 files/U1-hme-lockup.patch 263
MD5 8c8598fb61743bb94c3a9eaf3ff339f4 files/digest-sparc-sources-2.4.23 140
+MD5 5456ce66ce5f748d464a2c14a67d4a6c files/digest-sparc-sources-2.4.23-r1 143
MD5 afd982621a7d4faba455607353e659c9 files/digest-sparc-sources-2.4.22 140
+MD5 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656
MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
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-r1 b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23-r1
new file mode 100644
index 000000000000..2d233363271f
--- /dev/null
+++ b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.23-r1
@@ -0,0 +1,2 @@
+MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609
+MD5 9e12efc4e7881de9472f764b2f09aa4d patches-2.4.23-sparc-r1.tar.bz2 139304
diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.23-r1.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.23-r1.ebuild
new file mode 100644
index 000000000000..6e6c3661e7ed
--- /dev/null
+++ b/sys-kernel/sparc-sources/sparc-sources-2.4.23-r1.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-r1.ebuild,v 1.1 2003/12/06 16:57:02 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
+}