summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2003-12-02 08:13:07 +0000
committerSteve Arnold <nerdboy@gentoo.org>2003-12-02 08:13:07 +0000
commit9cdbe227e8380b41f73e86c0b6c761c35eb7ab73 (patch)
treea48fbcd060079f62586346912c6158919454c77a /sys-kernel
parentbumped to -r3 and x86 for brk exploit patch (diff)
downloadgentoo-2-9cdbe227e8380b41f73e86c0b6c761c35eb7ab73.tar.gz
gentoo-2-9cdbe227e8380b41f73e86c0b6c761c35eb7ab73.tar.bz2
gentoo-2-9cdbe227e8380b41f73e86c0b6c761c35eb7ab73.zip
bumped to -r3 and x86 for brk exploit patch
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/planet-ccrma-sources/ChangeLog5
-rw-r--r--sys-kernel/planet-ccrma-sources/Manifest6
-rw-r--r--sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r32
-rw-r--r--sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild4
-rw-r--r--sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r3.ebuild76
5 files changed, 87 insertions, 6 deletions
diff --git a/sys-kernel/planet-ccrma-sources/ChangeLog b/sys-kernel/planet-ccrma-sources/ChangeLog
index 99881144e1ca..d8e14c476181 100644
--- a/sys-kernel/planet-ccrma-sources/ChangeLog
+++ b/sys-kernel/planet-ccrma-sources/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-kernel/planet-ccrma-sources
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/ChangeLog,v 1.6 2003/12/02 00:22:30 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/ChangeLog,v 1.7 2003/12/02 08:13:04 nerdboy Exp $
+
+ 02 Dec 2003; <nerdboy@gentoo.org> planet-ccrma-sources-2.4.21-r3.ebuild:
+ updated to -r3 and x86 for brk expploit patch
01 Dec 2003; Brian Jackson <iggy@gentoo.org>
planet-ccrma-sources-2.4.21-r1.ebuild,
diff --git a/sys-kernel/planet-ccrma-sources/Manifest b/sys-kernel/planet-ccrma-sources/Manifest
index 61dea0acc6be..6d5b421e83ce 100644
--- a/sys-kernel/planet-ccrma-sources/Manifest
+++ b/sys-kernel/planet-ccrma-sources/Manifest
@@ -1,9 +1,9 @@
MD5 4ed1b9bdb738956a8138f3b61cd65d24 planet-ccrma-sources-2.4.21.ebuild 2951
MD5 fb311162d56a954e09b111a7d8d0340e metadata.xml 473
-MD5 653ba917bb52f05e5fb300936e019980 ChangeLog 1304
+MD5 143bfac8ff3c995fbc34e4f7da16b22c ChangeLog 1307
MD5 7e06442ed438cd2fd68ca7fa0d6b8caf planet-ccrma-sources-2.4.21-r1.ebuild 3184
-MD5 c3c1e73a1cbf504aa094f1ef9401321c planet-ccrma-sources-2.4.21-r2.ebuild 2921
-MD5 c3c1e73a1cbf504aa094f1ef9401321c planet-ccrma-sources-2.4.21-r3.ebuild 2921
+MD5 9dfcc6c3ee4bf8dee68464082235b786 planet-ccrma-sources-2.4.21-r2.ebuild 2924
+MD5 91afc1d62459d23391eca9204cc6b3c8 planet-ccrma-sources-2.4.21-r3.ebuild 2924
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-r3 b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r3
new file mode 100644
index 000000000000..d42092c1bc83
--- /dev/null
+++ b/sys-kernel/planet-ccrma-sources/files/digest-planet-ccrma-sources-2.4.21-r3
@@ -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
index fe69fe45eb4a..c955b7124174 100644
--- 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
@@ -1,6 +1,6 @@
# 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.2 2003/12/02 00:22:30 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r2.ebuild,v 1.3 2003/12/02 08:13:04 nerdboy Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
ETYPE="sources"
@@ -38,7 +38,7 @@ DESCRIPTION="Kernel source used in Planet CCRMA custom audio upgrade (based on R
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"
+KEYWORDS="x86"
SLOT="${KV}"
src_unpack() {
diff --git a/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r3.ebuild b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r3.ebuild
new file mode 100644
index 000000000000..52f86518f16a
--- /dev/null
+++ b/sys-kernel/planet-ccrma-sources/planet-ccrma-sources-2.4.21-r3.ebuild
@@ -0,0 +1,76 @@
+# 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-r3.ebuild,v 1.1 2003/12/02 08:13:04 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}
+
+ epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln"
+
+ 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..."
+}