summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-03-08 09:15:50 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-03-08 09:15:50 +0000
commite258a5a937655ab95a3bc94818bcb12e664562e3 (patch)
tree336f721e993cf1dd4642d740bf66bc6bcc53ed6d /sys-kernel
parentinitial commit; ebuild submitted by Robert Morris via bug #43927 (Manifest re... (diff)
downloadgentoo-2-e258a5a937655ab95a3bc94818bcb12e664562e3.tar.gz
gentoo-2-e258a5a937655ab95a3bc94818bcb12e664562e3.tar.bz2
gentoo-2-e258a5a937655ab95a3bc94818bcb12e664562e3.zip
2.6.x versions of mips-sources. Snapshots are from 20040218, 20040301, and 20040305. Cobalt-mips patches are included for eventual usage of 2.6 on Cobalt microserver systems. The 20040305 ebuild also contains a minimal patchset from Iluxa that allows proper SGI O2 functionality.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mips-sources/ChangeLog11
-rw-r--r--sys-kernel/mips-sources/Manifest34
-rw-r--r--sys-kernel/mips-sources/files/digest-mips-sources-2.6.33
-rw-r--r--sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r13
-rw-r--r--sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r24
-rw-r--r--sys-kernel/mips-sources/mips-sources-2.6.3-r1.ebuild74
-rw-r--r--sys-kernel/mips-sources/mips-sources-2.6.3-r2.ebuild101
-rw-r--r--sys-kernel/mips-sources/mips-sources-2.6.3.ebuild74
8 files changed, 289 insertions, 15 deletions
diff --git a/sys-kernel/mips-sources/ChangeLog b/sys-kernel/mips-sources/ChangeLog
index 9ccfd4477c60..61eaf875bc3c 100644
--- a/sys-kernel/mips-sources/ChangeLog
+++ b/sys-kernel/mips-sources/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-kernel/mips-sources
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.28 2004/02/27 11:52:12 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.29 2004/03/08 09:15:49 kumba Exp $
+
+*mips-sources-2.6.3-r1 (08 Mar 2004)
+
+ 08 Mar 2004; Joshua Kinard <kumba@gentoo.org> mips-sources-2.6.3-r1.ebuild,
+ mips-sources-2.6.3-r2.ebuild, mips-sources-2.6.3.ebuild:
+ 2.6.x versions of mips-sources. Snapshots are from 20040218, 20040301, and
+ 20040305. Cobalt-mips patches are included for eventual usage of 2.6 on Cobalt
+ microserver systems. The 20040305 ebuild also contains a minimal patchset from
+ Iluxa that allows proper SGI O2 functionality.
*mips-sources-2.4.22-r10 (18 Feb 2004)
diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest
index cd1788c3a712..c3c9021123b3 100644
--- a/sys-kernel/mips-sources/Manifest
+++ b/sys-kernel/mips-sources/Manifest
@@ -1,22 +1,28 @@
-MD5 b26e5e89167ed7dbe332e080fb1a7e1d mips-sources-2.4.23-r6.ebuild 2925
-MD5 827706c9fd682fa87523068eae0ae756 mips-sources-2.4.22-r10.ebuild 2139
+MD5 fe59d4eeb2fa6802c94752a568fc469f ChangeLog 9556
+MD5 ad25a2a0b6ade60c13ad8040f3c319c6 metadata.xml 378
MD5 f68ccd8232d3fad9033d4bad71f68dbf mips-sources-2.4.21-r7.ebuild 2311
+MD5 827706c9fd682fa87523068eae0ae756 mips-sources-2.4.22-r10.ebuild 2139
+MD5 b26e5e89167ed7dbe332e080fb1a7e1d mips-sources-2.4.23-r6.ebuild 2925
MD5 e3122859dab57240462cad155b0ecbcf mips-sources-2.4.25.ebuild 1949
-MD5 cb2370f18bbf9a290e4a43d42061729e ChangeLog 9092
-MD5 ad25a2a0b6ade60c13ad8040f3c319c6 metadata.xml 378
-MD5 a361526659bf1585152b2c819e329941 files/mipscvs-2.4.23-makefile-inlinelimit.patch 1314
+MD5 7584c345c3df7b100fad4ffd6d79290c mips-sources-2.6.3-r1.ebuild 2197
+MD5 9a0587105edaee5c61d59f8ef7552ad4 mips-sources-2.6.3.ebuild 2197
+MD5 f5f5767dbe4a2eac3efa49618fe09069 mips-sources-2.6.3-r2.ebuild 3151
+MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557
+MD5 0a3a1be2517b274c5a0c0748a437b6bd files/digest-mips-sources-2.4.21-r7 219
+MD5 93f8e3701539d6699921e4becaa72f2d files/digest-mips-sources-2.4.22-r10 218
+MD5 5aa63a0a1f498866f08339bcbd33f8e3 files/digest-mips-sources-2.4.23-r6 426
+MD5 054c3c8e9c8804a13c79d01ec52793ed files/mipscvs-2.4.21-makefile-fix.patch 915
MD5 1d8857f9bf884fc661beb87cc9d043d1 files/mipscvs-2.4.22-makefile-fix.patch 1873
-MD5 95ba3093147f4188db0ea4949e4317cf files/mipscvs-2.4.25-makefile-inlinelimit.patch 1588
MD5 6ff178aa1398ac2347921194944376f8 files/mipscvs-2.4.23-makefile-fix.patch 1906
+MD5 a361526659bf1585152b2c819e329941 files/mipscvs-2.4.23-makefile-inlinelimit.patch 1314
+MD5 fbb6766828584e454bf053286aad6207 files/mipscvs-2.4.25-makefile-fix.patch 428
+MD5 95ba3093147f4188db0ea4949e4317cf files/mipscvs-2.4.25-makefile-inlinelimit.patch 1588
MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/CAN-2003-0961-do_brk.patch 242
+MD5 5e4b24d4c540af721c5bc7e3ad77f40b files/CAN-2003-0985-mremap.patch 414
MD5 1f646066ee81f7aea1f79a79e38a252d files/rtc-fixes.patch 2125
MD5 de2c00e2df9c2bf74e5c090ade2c23b0 files/digest-mips-sources-2.4.25 217
-MD5 0a3a1be2517b274c5a0c0748a437b6bd files/digest-mips-sources-2.4.21-r7 219
-MD5 5aa63a0a1f498866f08339bcbd33f8e3 files/digest-mips-sources-2.4.23-r6 426
-MD5 fbb6766828584e454bf053286aad6207 files/mipscvs-2.4.25-makefile-fix.patch 428
-MD5 174438d215b70cad5ffb00ca8123c062 files/CAN-2004-0077-do_munmap.patch 837
-MD5 93f8e3701539d6699921e4becaa72f2d files/digest-mips-sources-2.4.22-r10 218
MD5 147fec50180ad91b6260fc7201dcb90f files/CAN-2004-0010-ncpfs.patch 6050
-MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557
-MD5 054c3c8e9c8804a13c79d01ec52793ed files/mipscvs-2.4.21-makefile-fix.patch 915
-MD5 5e4b24d4c540af721c5bc7e3ad77f40b files/CAN-2003-0985-mremap.patch 414
+MD5 174438d215b70cad5ffb00ca8123c062 files/CAN-2004-0077-do_munmap.patch 837
+MD5 cb37cacd47cc28dfd7fa3d1e16504f4a files/digest-mips-sources-2.6.3-r1 216
+MD5 87920142747e774c5c3949b91ebabdfc files/digest-mips-sources-2.6.3-r2 299
+MD5 ddbe29ad6a5452bccbd05a9ec1a00f0c files/digest-mips-sources-2.6.3 216
diff --git a/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3 b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3
new file mode 100644
index 000000000000..59cb008cf027
--- /dev/null
+++ b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3
@@ -0,0 +1,3 @@
+MD5 6063a7e424355ec52e0cb559fb99034d linux-2.6.3.tar.bz2 34271622
+MD5 a020e3cd14776fd5f0fe11d4d344d38e mipscvs-2.6.3-20040218.diff.bz2 815784
+MD5 75efa77eb07a856831ce196abf890cc1 cobalt-patches-26xx-1.1.tar.bz2 6542
diff --git a/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r1 b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r1
new file mode 100644
index 000000000000..4838db6c7ba8
--- /dev/null
+++ b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r1
@@ -0,0 +1,3 @@
+MD5 6063a7e424355ec52e0cb559fb99034d linux-2.6.3.tar.bz2 34271622
+MD5 197a63a35637f66baaa29bd5befc3f47 mipscvs-2.6.3-20040301.diff.bz2 837854
+MD5 75efa77eb07a856831ce196abf890cc1 cobalt-patches-26xx-1.1.tar.bz2 6542
diff --git a/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r2 b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r2
new file mode 100644
index 000000000000..9384420031ee
--- /dev/null
+++ b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.3-r2
@@ -0,0 +1,4 @@
+MD5 6063a7e424355ec52e0cb559fb99034d linux-2.6.3.tar.bz2 34271622
+MD5 efdd8b6bfb00d1a1e7b6c71014460c89 mipscvs-2.6.3-20040305.diff.bz2 840150
+MD5 75efa77eb07a856831ce196abf890cc1 cobalt-patches-26xx-1.1.tar.bz2 6542
+MD5 9f0061615a95c9e31f30b2b7dacd23ef ip32-iluxa-minpatchset-20040229.diff.bz2 1409
diff --git a/sys-kernel/mips-sources/mips-sources-2.6.3-r1.ebuild b/sys-kernel/mips-sources/mips-sources-2.6.3-r1.ebuild
new file mode 100644
index 000000000000..fbb0c3d360df
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-2.6.3-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.3-r1.ebuild,v 1.1 2004/03/08 09:15:50 kumba Exp $
+
+
+# Version Data
+OKV=${PV/_/-}
+CVSDATE="20040301"
+EXTRAVERSION="-mipscvs-${CVSDATE}"
+KV="${OKV}${EXTRAVERSION}"
+COBALTPATCHVER="1.1"
+
+# Miscellaneous stuff
+S=${WORKDIR}/linux-${OKV}-${CVSDATE}
+
+# Eclass stuff
+ETYPE="sources"
+inherit kernel eutils
+
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+# 2) linux-mips.org CVS snapshot diff from 18 Feb 2004
+# 3) Patches for Cobalt support
+
+
+DESCRIPTION="Linux-Mips CVS sources for MIPS-based machines, dated ${CVSDATE}"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ mirror://gentoo/mipscvs-${OKV}-${CVSDATE}.diff.bz2
+ mirror://gentoo/cobalt-patches-26xx-${COBALTPATCHVER}.tar.bz2"
+HOMEPAGE="http://www.linux-mips.org/"
+SLOT="${OKV}"
+PROVIDE="virtual/linux-sources"
+KEYWORDS="-* ~mips"
+
+
+pkg_setup() {
+ # See if we're on a cobalt system (must use the cobalt-mips profile)
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ ewarn "Please keep in mind that the 2.6 kernel will NOT boot on Cobalt"
+ ewarn "systems that are still using the old Cobalt bootloader. In"
+ ewarn "order to boot a 2.6 kernel on Cobalt systems, you must be using"
+ ewarn "Peter Horton's new bootloader, which does not have the kernel"
+ ewarn "size limitation that the older bootloader has. As of this"
+ ewarn "ebuild revision, this bootloader is not in portage, and 2.6"
+ ewarn "support on cobalt should be regarded as HIGHLY experimental."
+ echo -e ""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${OKV}-${CVSDATE}
+ cd ${S}
+
+ # Update the vanilla sources with linux-mips CVS changes
+ epatch ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff
+
+ # Cobalt Patches
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ einfo ">>> Patching kernel for Cobalt support ..."
+ for x in ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/*.patch; do
+ epatch ${x}
+ done
+ cp ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/cobalt-patches.txt ${S}
+ cd ${WORKDIR}
+ mv ${WORKDIR}/linux-${OKV}-${CVSDATE} ${WORKDIR}/linux-${OKV}-${CVSDATE}.cobalt
+ S="${S}.cobalt"
+ fi
+
+ kernel_universal_unpack
+}
diff --git a/sys-kernel/mips-sources/mips-sources-2.6.3-r2.ebuild b/sys-kernel/mips-sources/mips-sources-2.6.3-r2.ebuild
new file mode 100644
index 000000000000..b6d31a75cb53
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-2.6.3-r2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.3-r2.ebuild,v 1.1 2004/03/08 09:15:50 kumba Exp $
+
+
+# Version Data
+OKV=${PV/_/-}
+CVSDATE="20040305"
+COBALTPATCHVER="1.1"
+IP32DIFFDATE="20040229"
+[ "${USE_IP32}" = "yes" ] && EXTRAVERSION="-mipscvs-${CVSDATE}-ip32" || EXTRAVERSION="-mipscvs-${CVSDATE}"
+KV="${OKV}${EXTRAVERSION}"
+
+
+
+
+# Miscellaneous stuff
+S=${WORKDIR}/linux-${OKV}-${CVSDATE}
+
+# Eclass stuff
+ETYPE="sources"
+inherit kernel eutils
+
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+# 2) linux-mips.org CVS snapshot diff from 18 Feb 2004
+# 3) Patches for Cobalt support
+
+
+DESCRIPTION="Linux-Mips CVS sources for MIPS-based machines, dated ${CVSDATE}"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ mirror://gentoo/mipscvs-${OKV}-${CVSDATE}.diff.bz2
+ mirror://gentoo/cobalt-patches-26xx-${COBALTPATCHVER}.tar.bz2
+ mirror://gentoo/ip32-iluxa-minpatchset-${IP32DIFFDATE}.diff.bz2"
+
+HOMEPAGE="http://www.linux-mips.org/"
+SLOT="${OKV}"
+PROVIDE="virtual/linux-sources"
+KEYWORDS="-* ~mips"
+
+
+pkg_setup() {
+ # See if we're on a cobalt system (must use the cobalt-mips profile)
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ ewarn "Please keep in mind that the 2.6 kernel will NOT boot on Cobalt"
+ ewarn "systems that are still using the old Cobalt bootloader. In"
+ ewarn "order to boot a 2.6 kernel on Cobalt systems, you must be using"
+ ewarn "Peter Horton's new bootloader, which does not have the kernel"
+ ewarn "size limitation that the older bootloader has. As of this"
+ ewarn "ebuild revision, this bootloader is not in portage, and 2.6"
+ ewarn "support on cobalt should be regarded as HIGHLY experimental."
+ echo -e ""
+ fi
+
+ # See if we're building IP32 sources
+ if [ "${USE_IP32}" = "yes" ]; then
+ echo -e ""
+ ewarn "SGI O2 (IP32) support is still a work in progress, and may or may"
+ ewarn "not work properly. Any bugs encountered running these sources on"
+ ewarn "an O2 should be reported to the gentoo-mips mailing list. Patches"
+ ewarn "any bugs are also welcome."
+ echo -e ""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${OKV}-${CVSDATE}
+ cd ${S}
+
+ # Update the vanilla sources with linux-mips CVS changes
+ epatch ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff
+
+ # Cobalt Patches
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ einfo ">>> Patching kernel for Cobalt support ..."
+ for x in ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/*.patch; do
+ epatch ${x}
+ done
+ cp ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/cobalt-patches.txt ${S}
+ cd ${WORKDIR}
+ mv ${WORKDIR}/linux-${OKV}-${CVSDATE} ${WORKDIR}/linux-${OKV}-${CVSDATE}.cobalt
+ S="${S}.cobalt"
+ fi
+
+ # IP32 Support
+ # The USE_IP32 variable below must be passed on the command line to the emerge call
+ if [ "${USE_IP32}" = "yes" ]; then
+ echo -e ""
+ einfo ">>> Patching kernel with iluxa's minimal IP32 patchset ..."
+ epatch ${WORKDIR}/ip32-iluxa-minpatchset-${IP32DIFFDATE}.diff
+ KV="${KV}-ip32"
+ cd ${WORKDIR}
+ mv ${WORKDIR}/linux-${OKV}-${CVSDATE} ${WORKDIR}/linux-${OKV}-${CVSDATE}.ip32
+ S="${S}.ip32"
+ fi
+ kernel_universal_unpack
+}
diff --git a/sys-kernel/mips-sources/mips-sources-2.6.3.ebuild b/sys-kernel/mips-sources/mips-sources-2.6.3.ebuild
new file mode 100644
index 000000000000..39e0c5335ea5
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-2.6.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.3.ebuild,v 1.1 2004/03/08 09:15:50 kumba Exp $
+
+
+# Version Data
+OKV=${PV/_/-}
+CVSDATE="20040218"
+EXTRAVERSION="-mipscvs-${CVSDATE}"
+KV="${OKV}${EXTRAVERSION}"
+COBALTPATCHVER="1.1"
+
+# Miscellaneous stuff
+S=${WORKDIR}/linux-${OKV}-${CVSDATE}
+
+# Eclass stuff
+ETYPE="sources"
+inherit kernel eutils
+
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+# 2) linux-mips.org CVS snapshot diff from 18 Feb 2004
+# 3) Patches for Cobalt support
+
+
+DESCRIPTION="Linux-Mips CVS sources for MIPS-based machines, dated ${CVSDATE}"
+SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${OKV}.tar.bz2
+ mirror://gentoo/mipscvs-${OKV}-${CVSDATE}.diff.bz2
+ mirror://gentoo/cobalt-patches-26xx-${COBALTPATCHVER}.tar.bz2"
+HOMEPAGE="http://www.linux-mips.org/"
+SLOT="${OKV}"
+PROVIDE="virtual/linux-sources"
+KEYWORDS="-* ~mips"
+
+
+pkg_setup() {
+ # See if we're on a cobalt system (must use the cobalt-mips profile)
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ ewarn "Please keep in mind that the 2.6 kernel will NOT boot on Cobalt"
+ ewarn "systems that are still using the old Cobalt bootloader. In"
+ ewarn "order to boot a 2.6 kernel on Cobalt systems, you must be using"
+ ewarn "Peter Horton's new bootloader, which does not have the kernel"
+ ewarn "size limitation that the older bootloader has. As of this"
+ ewarn "ebuild revision, this bootloader is not in portage, and 2.6"
+ ewarn "support on cobalt should be regarded as HIGHLY experimental."
+ echo -e ""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${OKV}-${CVSDATE}
+ cd ${S}
+
+ # Update the vanilla sources with linux-mips CVS changes
+ epatch ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff
+
+ # Cobalt Patches
+ if [ "${PROFILE_ARCH}" = "cobalt" ]; then
+ echo -e ""
+ einfo ">>> Patching kernel for Cobalt support ..."
+ for x in ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/*.patch; do
+ epatch ${x}
+ done
+ cp ${WORKDIR}/cobalt-patches-26xx-${COBALTPATCHVER}/cobalt-patches.txt ${S}
+ cd ${WORKDIR}
+ mv ${WORKDIR}/linux-${OKV}-${CVSDATE} ${WORKDIR}/linux-${OKV}-${CVSDATE}.cobalt
+ S="${S}.cobalt"
+ fi
+
+ kernel_universal_unpack
+}