diff options
Diffstat (limited to 'sys-kernel')
3 files changed, 78 insertions, 2 deletions
diff --git a/sys-kernel/planet-ccrma-sources/Manifest b/sys-kernel/planet-ccrma-sources/Manifest index aad76a4070f8..50e6e62c72a0 100644 --- a/sys-kernel/planet-ccrma-sources/Manifest +++ b/sys-kernel/planet-ccrma-sources/Manifest @@ -1,8 +1,8 @@ MD5 40c9d18749a7e7c3b92e710b0960046c planet-ccrma-sources-2.4.21.ebuild 2875 MD5 fb311162d56a954e09b111a7d8d0340e metadata.xml 473 -MD5 e3cf2ce1e516bd46afce695754685bee ChangeLog 973 +MD5 2060954566e0736662c6a0fa06136bbe ChangeLog 973 MD5 62e9dceabebcffd28f79547a316f3c8b planet-ccrma-sources-2.4.21-r1.ebuild 3108 -MD5 bbe71d5903a2c7d655df49c31fd23ece planet-ccrma-sources-2.4.21-r2.ebuild 2843 +MD5 fa38abe07e2febbdd3151ad55a1a5e3c planet-ccrma-sources-2.4.21-r2.ebuild 2846 MD5 59f5e2bd9a32c727f02ad6469a0adc68 files/digest-planet-ccrma-sources-2.4.21 164 MD5 f19e34110f61d3b54f33c176cece8a27 files/kernel.h 473 MD5 59f5e2bd9a32c727f02ad6469a0adc68 files/digest-planet-ccrma-sources-2.4.21-r1 164 diff --git a/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r2 b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r2 new file mode 100644 index 000000000000..d42092c1bc83 --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r2 @@ -0,0 +1,2 @@ +MD5 267966e5d8668543270f6882c8c39d94 kernel-source-2.4.21-1.ll.acpi.i386.rpm 27496483 +MD5 362cad92f71c0ede63d444cfa6ff2109 planet-ccrma-sources-2.4.21.tar.gz 81492 diff --git a/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild new file mode 100644 index 000000000000..1b03d5513268 --- /dev/null +++ b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild,v 1.1 2003/11/24 04:28:45 nerdboy Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel || die +inherit rpm || die + +OKV=2.4.21 +EXTRAVERSION="-1.ll.acpi" +KV=${OKV}${EXTRAVERSION} +S=${WORKDIR}/linux-${KV} + +# This package contains the Linux Kernel source for the version of the +# RedHat Linux Kernel modified by the Planet CCRMA project. +# +# Do not report problems with this source package or the resulting compiled +# compiled kernel to Red Hat, Inc. Red Hat is not responsible for this +# package and has offered no warranties or promises that the kernels +# resulting from the compilation of this package will work on anything +# except specific versions of the Red Hat distribution and specific +# compiler revisions. +# +# Gentoo provides this package without any guarantees that this kernel +# will compile and run correctly and will only respond to bug reports +# dealing with Gentoo specific packaging problems. + +# The easiest way to grab Red Hat kernel sources is from the rpm file +# itself. We used to generate a patch against vanilla sources trees but +# the added dependency of rpm2targz is minimal compared with having to +# generate a new diff for every minor version update. (Also not to many +# people have 2.4.18 vanilla source tarballs floating around these days) + +DEPEND="virtual/glibc" + +DESCRIPTION="Kernel source used in Planet CCRMA custom audio upgrade (based on RedHat)" +SRC_URI="http://ccrma-www.stanford.edu/planetccrma/mirror/redhat/linux/planetcore/9/en/os/i386/kernel-source-${KV}.i386.rpm +mirror://gentoo/${P}.tar.gz" +HOMEPAGE="http://ccrma-www.stanford.edu/ http://www.kernel.org/ http://www.redhat.com/" +KEYWORDS="~x86" +SLOT="${KV}" + +src_unpack() { + + rpm_unpack ${DISTDIR}/kernel-source-${KV}.i386.rpm + cd ${WORKDIR} + + tar xvzf ${DISTDIR}/${P}.tar.gz || die + + mv usr/src/linux-${KV} ${WORKDIR} || die + + cd ${S} + + kernel_universal_unpack +} + +pkg_postinst() { + + ewarn "This kernel should now work with ALSA 0.9.6 or better." + ewarn "You'll need ~x86 for ALSA greater than 0.9.2" + + einfo "A default kernel config has been provided in" + einfo "distfiles/planet-ccrma-sources-2.4.21.tar.gz." + einfo "Copy it to /usr/src/linux/.config and run make oldconfig." + einfo "Then edit to taste, but be careful not to tweak too much." + einfo "Just make sure to enable the devfs support." + einfo "And never run with scissors..." + + ewarn "Mount your /boot partition and copy the file" + ewarn "PORTDIR/sys-kernel/planet-ccrma-sources/files/kernel.h" + ewarn "to /boot before you configure and build the kernel." + einfo "Don't ask why; it's a RedHat thing..." +} |