diff options
author | Joshua Kinard <kumba@gentoo.org> | 2004-10-21 22:42:11 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2004-10-21 22:42:11 +0000 |
commit | 63921379cdeb3ba67e9c991d5377355fc15b0465 (patch) | |
tree | 53bf4a2806944d800233e79ec10b1af11724c936 /sys-kernel/mips-sources | |
parent | minor fixes & updates (diff) | |
download | gentoo-2-63921379cdeb3ba67e9c991d5377355fc15b0465.tar.gz gentoo-2-63921379cdeb3ba67e9c991d5377355fc15b0465.tar.bz2 gentoo-2-63921379cdeb3ba67e9c991d5377355fc15b0465.zip |
New version - Contains known fixes for many things, including functional IP22 (Indy/Indigo2 support (including ip22zilog), big changes in IP32 code, gcc-3.4.x fixes, and various other tweaks.
Diffstat (limited to 'sys-kernel/mips-sources')
-rw-r--r-- | sys-kernel/mips-sources/ChangeLog | 9 | ||||
-rw-r--r-- | sys-kernel/mips-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mips-sources/files/digest-mips-sources-2.6.9 | 5 | ||||
-rw-r--r-- | sys-kernel/mips-sources/mips-sources-2.6.9.ebuild | 132 |
4 files changed, 148 insertions, 2 deletions
diff --git a/sys-kernel/mips-sources/ChangeLog b/sys-kernel/mips-sources/ChangeLog index 1c9ee0bba63b..41b8cf18e4a1 100644 --- a/sys-kernel/mips-sources/ChangeLog +++ b/sys-kernel/mips-sources/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/mips-sources # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.55 2004/09/29 09:46:15 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.56 2004/10/21 22:42:11 kumba Exp $ + +*mips-sources-2.6.9 (21 Oct 2004) + + 21 Oct 2004; Joshua Kinard <kumba@gentoo.org> +mips-sources-2.6.9.ebuild: + New version - Contains known fixes for many things, including functional IP22 + (Indy/Indigo2 support (including ip22zilog), big changes in IP32 code, + gcc-3.4.x fixes, and various other tweaks. *mips-sources-2.4.26-r9 (29 Sep 2004) diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest index 51b375efdced..e50f34416292 100644 --- a/sys-kernel/mips-sources/Manifest +++ b/sys-kernel/mips-sources/Manifest @@ -1,4 +1,4 @@ -MD5 aa5abc0a3a47813c73cec575e68312f2 ChangeLog 23400 +MD5 7e300091bc77ec138bc828106400d799 ChangeLog 23710 MD5 ad25a2a0b6ade60c13ad8040f3c319c6 metadata.xml 378 MD5 893517a6e0ac0aacc24a86edd1b1a30a mips-sources-2.4.25-r9.ebuild 3541 MD5 934e335d3e0c5b3db9d0eedb85939a08 mips-sources-2.4.26-r9.ebuild 2826 @@ -7,6 +7,7 @@ MD5 71f1e5f2f6af33e5864642f03005e865 mips-sources-2.6.4-r9.ebuild 4193 MD5 a7cea5c94f6572ad21d374d6cc1bc1f7 mips-sources-2.6.6-r9.ebuild 3827 MD5 9fc3ac7b1ea25e3080ea3dc04e3bc28e mips-sources-2.6.7-r7.ebuild 4006 MD5 0dd4c5d1e1e58c26c073d8ecbdbf14f2 mips-sources-2.6.8.1-r1.ebuild 4864 +MD5 94c508925af3ffaa00d8a646932c49e4 mips-sources-2.6.9.ebuild 3947 MD5 78fa861fb27977a77c40bb56fe1a9ae4 files/digest-mips-sources-2.4.25-r9 386 MD5 59a7ea73fd0d417be02d033a892f80a7 files/digest-mips-sources-2.4.26-r9 387 MD5 189b09f9cd21ff2c298279c2a91be8f4 files/digest-mips-sources-2.4.27-r1 387 @@ -14,3 +15,4 @@ MD5 9702a71d858fa96d68bf98b60777b6ff files/digest-mips-sources-2.6.4-r9 468 MD5 504a5c390970d4da0c25c1eefa6a3958 files/digest-mips-sources-2.6.6-r9 468 MD5 ec15aeb9b5f17b470c6080185ccf7dba files/digest-mips-sources-2.6.7-r7 468 MD5 666046b65f46134e19982a15ea560454 files/digest-mips-sources-2.6.8.1-r1 389 +MD5 296e2ec204e526142f3d626e7bedb097 files/digest-mips-sources-2.6.9 385 diff --git a/sys-kernel/mips-sources/files/digest-mips-sources-2.6.9 b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.9 new file mode 100644 index 000000000000..92f4ba5d7619 --- /dev/null +++ b/sys-kernel/mips-sources/files/digest-mips-sources-2.6.9 @@ -0,0 +1,5 @@ +MD5 e921200f074ca97184e150ef5a4af825 linux-2.6.9.tar.bz2 36261440 +MD5 75e061644607a5e1d17f90e17f77af50 mipscvs-2.6.9-20041021.diff.bz2 350451 +MD5 520976e1fe8af95227005bfeceb4becf mips-sources-security_patches-1.2.tar.bz2 59859 +MD5 80ae7850c4c0366f92fe132e1000439d mips-sources-generic_patches-1.1.tar.bz2 14515 +MD5 dc6516ffe9fc9b264fc571874d30af47 cobalt-patches-26xx-1.8.tar.bz2 7414 diff --git a/sys-kernel/mips-sources/mips-sources-2.6.9.ebuild b/sys-kernel/mips-sources/mips-sources-2.6.9.ebuild new file mode 100644 index 000000000000..b689b442dff6 --- /dev/null +++ b/sys-kernel/mips-sources/mips-sources-2.6.9.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.9.ebuild,v 1.1 2004/10/21 22:42:11 kumba Exp $ + + +# Version Data +OKV=${PV/_/-} +CVSDATE="20041021" # Date of diff between kernel.org and lmo CVS +#IP30DATE="" # Date of diff for IP30 (Octane) patches - XXX - Not Implemented Yet +COBALTPATCHVER="1.8" # Tarball version for cobalt patches +SECPATCHVER="1.2" # Tarball version for security patches +GENPATCHVER="1.1" # Tarball version for generic patches +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 14 Aug 2004 +# 3) Generic Fixes +# 4) Security fixes +# 5) Patches for Cobalt support + + +HOMEPAGE="http://www.linux-mips.org/" +SLOT="${OKV}" +PROVIDE="virtual/linux-sources" +KEYWORDS="-*" +IUSE="cobalt" +#IUSE="cobalt ip30 ip27" + +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/${PN}-security_patches-${SECPATCHVER}.tar.bz2 + mirror://gentoo/${PN}-generic_patches-${GENPATCHVER}.tar.bz2 + cobalt? ( mirror://gentoo/cobalt-patches-26xx-${COBALTPATCHVER}.tar.bz2 )" +# ip30? ( mirror://gentoo/ip30-patches-${IP30DATE}.tar.bz2 ) # IP30 Patches - XXX - Not Implemented +# ip27? ( mirror://lmoftp/blah.tar.bz2 ) # IP27 Patches - XXX - Not Implemented + +pkg_setup() { + # See if we're on a cobalt system (must use the cobalt-mips profile) + if use cobalt; then + echo -e "" + einfo "Please keep in mind that the 2.6 kernel will NOT boot on Cobalt" + einfo "systems that are still using the old Cobalt bootloader. In" + einfo "order to boot a 2.6 kernel on Cobalt systems, you must be using" + einfo "Peter Horton's new bootloader, which does not have the kernel" + einfo "size limitation that the older bootloader has. If you want" + einfo "to use the newer bootloader, make sure you have sys-boot/colo" + einfo "installed and setup." + echo -e "" + fi + +# # See if we're using IP30 (Octane) - XXX - Not Implemented +# if use ip30; then +# echo -e "" +# einfo "" +# echo -e "" +# fi + +# # See if we're using IP27 (Origin) - XXX - Not Implemented +# if use ip27; then +# echo -e "" +# einfo "" +# 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 + + # Generic patches we always include + echo -e "" + einfo ">>> Generic Patches" + # IP32 Patches + epatch ${WORKDIR}/mips-patches/misc-2.6-ip32-onion2-gbefb-fixes-old.patch + epatch ${WORKDIR}/mips-patches/misc-2.6.9-ths-ip32-misc.patch + + # Generic + epatch ${WORKDIR}/mips-patches/misc-2.6-force_mouse_detection.patch + epatch ${WORKDIR}/mips-patches/misc-2.6-fix-prologue-error.patch + eend + + +# # Security Fixes +# echo -e "" +# ebegin ">>> Applying Security Fixes" +# eend + + + # Cobalt Patches + if use 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 + + +# # IP30 (Octane) Patch - XXX - Not Implemented +# if use ip30; then +# echo -e "" +# einfo ">>> Patching kernel for SGI Octane (IP30) support ..." +# fi + +# # IP27 (Origin) Hacks - XXX - Not Implemented +# if use ip27; then +# echo -e "" +# einfo ">>> Patching kernel for SGI Origin (IP27) support ..." +# fi + + + kernel_universal_unpack +} |