summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Wesolowski <wesolows@gentoo.org>2004-01-09 10:05:28 +0000
committerKeith Wesolowski <wesolows@gentoo.org>2004-01-09 10:05:28 +0000
commit90b086fb9f0b38a8c4c5e1237ab70c8e6fd9ae13 (patch)
tree0a151394e7e5da638b368df7d43cd0e7b0b17e82 /sys-kernel
parentBump to 2.6.1 final. (diff)
downloadgentoo-2-90b086fb9f0b38a8c4c5e1237ab70c8e6fd9ae13.tar.gz
gentoo-2-90b086fb9f0b38a8c4c5e1237ab70c8e6fd9ae13.tar.bz2
gentoo-2-90b086fb9f0b38a8c4c5e1237ab70c8e6fd9ae13.zip
Bump to 2.6.1 final.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/sparc-dev-sources/ChangeLog8
-rw-r--r--sys-kernel/sparc-dev-sources/Manifest4
-rw-r--r--sys-kernel/sparc-dev-sources/files/digest-sparc-dev-sources-2.6.12
-rw-r--r--sys-kernel/sparc-dev-sources/sparc-dev-sources-2.6.1.ebuild73
4 files changed, 84 insertions, 3 deletions
diff --git a/sys-kernel/sparc-dev-sources/ChangeLog b/sys-kernel/sparc-dev-sources/ChangeLog
index 3587e2e13e03..12d49f878435 100644
--- a/sys-kernel/sparc-dev-sources/ChangeLog
+++ b/sys-kernel/sparc-dev-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/sparc-dev-sources
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-dev-sources/ChangeLog,v 1.3 2004/01/08 04:53:09 wesolows Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-dev-sources/ChangeLog,v 1.4 2004/01/09 10:05:12 wesolows Exp $
+
+*sparc-dev-sources-2.6.1 (09 Jan 2004)
+
+ 09 Jan 2004; Keith M Wesolowski <wesolows@gentoo.org>
+ sparc-dev-sources-2.6.1.ebuild:
+ Bump to 2.6.1 final.
*sparc-dev-sources-2.6.1_rc2 (07 Jan 2004)
diff --git a/sys-kernel/sparc-dev-sources/Manifest b/sys-kernel/sparc-dev-sources/Manifest
index eb8b3bab3fab..37caece436fe 100644
--- a/sys-kernel/sparc-dev-sources/Manifest
+++ b/sys-kernel/sparc-dev-sources/Manifest
@@ -1,5 +1,5 @@
-MD5 174c49f5be715d2ab731084c5c90553d sparc-dev-sources-2.6.1.ebuild 2530
-MD5 7f7ef0c4a68c98dfef3afca04ddd6e03 ChangeLog 1087
+MD5 53d3441ff8971a44fdfb5eacc30d168f sparc-dev-sources-2.6.1.ebuild 2526
+MD5 eb4f0342f2abcf9a16018a807db65b2d ChangeLog 1241
MD5 a4a4e3febcacb7664d2bec3a8688a130 metadata.xml 454
MD5 614b885e43abc025fcb5945b2427b07d sparc-dev-sources-2.6.0_beta11.ebuild 2310
MD5 eacf7bb2664f6a2dfd5fa151ad46aac5 sparc-dev-sources-2.6.0.ebuild 2353
diff --git a/sys-kernel/sparc-dev-sources/files/digest-sparc-dev-sources-2.6.1 b/sys-kernel/sparc-dev-sources/files/digest-sparc-dev-sources-2.6.1
new file mode 100644
index 000000000000..72566088db2a
--- /dev/null
+++ b/sys-kernel/sparc-dev-sources/files/digest-sparc-dev-sources-2.6.1
@@ -0,0 +1,2 @@
+MD5 fa82d1e4be518261b2eeb78eabf9cca7 linux-2.6.1.tar.bz2 33240033
+MD5 c0ab9ee206c96642218b1a13d236390d patches-2.6.1-sparc.tar.bz2 38479
diff --git a/sys-kernel/sparc-dev-sources/sparc-dev-sources-2.6.1.ebuild b/sys-kernel/sparc-dev-sources/sparc-dev-sources-2.6.1.ebuild
new file mode 100644
index 000000000000..0641b7901c87
--- /dev/null
+++ b/sys-kernel/sparc-dev-sources/sparc-dev-sources-2.6.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-dev-sources/sparc-dev-sources-2.6.1.ebuild,v 1.1 2004/01/09 10:05:12 wesolows Exp $
+
+IUSE="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
+
+#Original Kernel Version before Patches
+# eg: 2.6.0-test11
+OKV=${PV/_beta/-test}
+OKV=${OKV/_rc/-rc}
+KV=${OKV}
+
+#Kernel version after patches
+# eg: 2.6.0-test8-bk1
+EXTRAVERSION=$(echo ${KV} | sed -e 's/[0-9]*\.[0-9]*\.[0-9]*//')
+EXTRAVERSION="${EXTRAVERSION}-${PN/-*/}"
+KV=${KV//-*/}
+[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
+KV="${KV}${EXTRAVERSION}"
+
+# Documentation on the patches contained in this kernel will be installed
+# to /usr/share/doc/sparc-sources-dev-${PV}/patches.txt.gz
+
+DESCRIPTION="Full sources for the Gentoo Sparc Linux development kernel"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-${OKV}.tar.bz2
+ mirror://gentoo/patches-${KV}.tar.bz2"
+
+S=${WORKDIR}/linux-${KV}
+KEYWORDS="~x86 -ppc ~sparc"
+SLOT="${KV}"
+
+DEPEND="${DEPEND} sys-apps/module-init-tools"
+[ `uname -m` = "sparc64" ] && DEPEND="${DEPEND} >=sys-devel/gcc-sparc64-3.2.3"
+
+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
+ keepdir /sys
+
+ # 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-dev"
+ einfo
+ fi
+}