summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2003-09-03 19:24:13 +0000
committerChristian Birchinger <joker@gentoo.org>2003-09-03 19:24:13 +0000
commit788f2b2473370c42c688d55ac3cbd20d864ab311 (patch)
tree3792f406c40a3cd2ef6f113df8895d2528535da2 /sys-kernel/sparc-sources
parentMark stable on x86. (diff)
downloadgentoo-2-788f2b2473370c42c688d55ac3cbd20d864ab311.tar.gz
gentoo-2-788f2b2473370c42c688d55ac3cbd20d864ab311.tar.bz2
gentoo-2-788f2b2473370c42c688d55ac3cbd20d864ab311.zip
Version bump
Diffstat (limited to 'sys-kernel/sparc-sources')
-rw-r--r--sys-kernel/sparc-sources/ChangeLog8
-rw-r--r--sys-kernel/sparc-sources/Manifest4
-rw-r--r--sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.222
-rw-r--r--sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild55
4 files changed, 67 insertions, 2 deletions
diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog
index d313040983f9..c8fd0d587fd7 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.28 2003/08/16 13:59:21 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.29 2003/09/03 19:24:02 joker Exp $
+
+*sparc-sources-2.4.22 (03 Sep 2003)
+
+ 03 Sep 2003; Christian Birchinger <joker@gentoo.org>
+ sparc-sources-2.4.22.ebuild:
+ Version bump
16 Aug 2003; Jason Wever <weeve@gentoo.org> metadata.xml:
Added metadata.xml
diff --git a/sys-kernel/sparc-sources/Manifest b/sys-kernel/sparc-sources/Manifest
index 92c8b5f7cd97..2d20c4a86af6 100644
--- a/sys-kernel/sparc-sources/Manifest
+++ b/sys-kernel/sparc-sources/Manifest
@@ -1,11 +1,13 @@
-MD5 ee5491b81977ce90b7f4c8b0f8aff04b ChangeLog 5178
+MD5 310f4ba8d463fcf51f7f6332ce20e7a9 ChangeLog 5317
MD5 b301ca9ef152c622be6b90d0042667fc sparc-sources-2.2.21_pre3.ebuild 5119
MD5 88c883a16f802a48e81f49ab103e16a1 sparc-sources-2.4.20-r8.ebuild 2133
MD5 8f30ddbc7dd5b32d29021fc73a93f362 sparc-sources-2.4.21-r1.ebuild 1966
MD5 6706a601c155869440dcb544e3759a04 metadata.xml 381
+MD5 6eb5f552d6c30698ed3339cba1727cf8 sparc-sources-2.4.22.ebuild 1968
MD5 935f3a9c9a5209ad79a0cdbf9ca4b610 files/U1-hme-lockup.patch 263
MD5 167e790d7861e0ed3a31577b31a92968 files/digest-sparc-sources-2.2.21_pre3 281
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 25553b42e5daa2638570a8b019a35069 files/generate-asm-sparc 1656
MD5 707798c011eaadc59870bfbe99d10c2b files/sparc-asm_offsets.h 23000
diff --git a/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.22 b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.22
new file mode 100644
index 000000000000..9d9f1d27d3f0
--- /dev/null
+++ b/sys-kernel/sparc-sources/files/digest-sparc-sources-2.4.22
@@ -0,0 +1,2 @@
+MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612
+MD5 d339475347d5ee6509950d19e59cd399 patches-2.4.22-sparc.tar.bz2 136290
diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild
new file mode 100644
index 000000000000..919313a6ebc6
--- /dev/null
+++ b/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild
@@ -0,0 +1,55 @@
+# 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.22.ebuild,v 1.1 2003/09/03 19:24:02 joker Exp $
+
+IUSE="build ultra1"
+
+# OKV=original kernel version, KV=patched kernel version. They can be the same.
+
+# 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
+KV="2.4.22-sparc"
+# 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"
+
+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 ${WORKDIR}/${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
+}