summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-12-04 21:42:06 +0000
committerBrian Jackson <iggy@gentoo.org>2003-12-04 21:42:06 +0000
commit82a5b840490042a00e5ed6c265ae7ad46518dd4d (patch)
tree7e91525d67700f2e3ba23d4abf05098c5cc143ca /sys-kernel/ck-sources
parentadd 2.4.23-ck1 fixes 35081, thanks to dominik.stadler@gmx.at (diff)
downloadgentoo-2-82a5b840490042a00e5ed6c265ae7ad46518dd4d.tar.gz
gentoo-2-82a5b840490042a00e5ed6c265ae7ad46518dd4d.tar.bz2
gentoo-2-82a5b840490042a00e5ed6c265ae7ad46518dd4d.zip
add 2.4.23-ck1 fixes 35081, thanks to dominik.stadler@gmx.at
Diffstat (limited to 'sys-kernel/ck-sources')
-rw-r--r--sys-kernel/ck-sources/ChangeLog7
-rw-r--r--sys-kernel/ck-sources/Manifest4
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.4.23-r1.ebuild66
-rw-r--r--sys-kernel/ck-sources/files/digest-ck-sources-2.4.23-r14
4 files changed, 78 insertions, 3 deletions
diff --git a/sys-kernel/ck-sources/ChangeLog b/sys-kernel/ck-sources/ChangeLog
index ebd66acb08c8..53b9da0c3d89 100644
--- a/sys-kernel/ck-sources/ChangeLog
+++ b/sys-kernel/ck-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/ck-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.13 2003/12/02 20:04:46 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.14 2003/12/04 21:42:03 iggy Exp $
+
+*ck-sources-2.4.23-r1 (04 Dec 2003)
+
+ 04 Dec 2003; Brian Jackson <iggy@gentoo.org> ck-sources-2.4.23-r1.ebuild:
+ add 2.4.23-ck1 fixes 35081, thanks to dominik.stadler@gmx.at
*ck-sources-2.4.22-r3 (02 Dec 2003)
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index e5b1c921e59d..bedbb5c2903d 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -1,8 +1,8 @@
MD5 26a42caa31c658da5824ff9848515a8c ck-sources-2.4.22-r3.ebuild 2645
MD5 e6d869c0e9276d185a22614a3d32b56c ck-sources-2.4.22-r2.ebuild 2632
-MD5 e6d869c0e9276d185a22614a3d32b56c ck-sources-2.4.23-r1.ebuild 2632
+MD5 1241d23faa9f7ed443dfcfe7d55dfa56 ck-sources-2.4.23-r1.ebuild 2111
MD5 22b810c8d6cb3feba96554d3d972a1fb ck-sources-2.4.22-r1.ebuild 2189
-MD5 ef81574217e8485a68c268a12bcb0410 ChangeLog 2179
+MD5 6014e6fa78a3497bcb80f88c5dd01957 ChangeLog 2356
MD5 7187b8c28501f454a2412c9e4a7fcf53 metadata.xml 421
MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
MD5 21de1cea06112ebc3b93be74f0cd68cd files/digest-ck-sources-2.4.22-r1 132
diff --git a/sys-kernel/ck-sources/ck-sources-2.4.23-r1.ebuild b/sys-kernel/ck-sources/ck-sources-2.4.23-r1.ebuild
new file mode 100644
index 000000000000..9901e01f0879
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-2.4.23-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ck-sources-2.4.23-r1.ebuild,v 1.1 2003/12/04 21:42:03 iggy Exp $
+
+IUSE="build"
+
+# OKV=original kernel version, KV=patched kernel version.
+
+ETYPE="sources"
+
+inherit kernel
+
+# CKV=con kolivas release version
+CKV=ck${PR/r/}
+# KV=patched kernel version
+KV="${PV/_/-}-${CKV}"
+# OKV=original kernel version as provided by ebuild
+OKV="`echo ${KV} | cut -d- -f1`"
+# OKVLAST=(working) last digit of OKV
+OKVLAST="`echo ${OKV} | cut -d. -f3`"
+# OKVLASTPR=the previous kernel version (for a marcelo pre/rc release)
+OKVLASTPR="`expr ${OKVLAST} - 1`"
+# If _ isn't there, then it's a stable+ac, otherwise last-stable+pre/rc+ac
+PRERC="`echo ${PV}|grep \_`"
+
+# Other working variables
+S=${WORKDIR}/linux-${KV}
+EXTRAVERSION="`echo ${KV}|sed -e 's:[^-]*\(-.*$\):\1:'`"
+BASE="`echo ${KV}|sed -e s:${EXTRAVERSION}::`"
+
+# If it's a last-stable+pre/rc+ac (marcelo), we need to handle it differently
+# ourkernel is the stable kernel we'll be working with (previous or current)
+if [ ${PRERC} ]; then
+ OURKERNEL="2.4.${OKVLASTPR}"
+ SRC_URI="mirror:/kernel/linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2
+ http://members.optusnet.com.au/ckolivas/kernel/patch-${KV}.bz2
+ mirror://kernel/linux/kernel/v2.4/testing/patch-${PV/_/-}.bz2"
+else
+ OURKERNEL="2.4.${OKVLAST}"
+ SRC_URI="mirror:/kernel//linux/kernel/v2.4/linux-${OURKERNEL}.tar.bz2
+ http://ck.kolivas.org/patches/2.4/${BASE}/${KV}/patch-${KV}.bz2"
+fi
+
+DESCRIPTION="Full sources for the Stock Linux kernel Con Kolivas's high performance patchset"
+HOMEPAGE="http://members.optusnet.com.au/ckolivas/kernel/"
+
+KEYWORDS="x86 -ppc"
+SLOT="${KV}"
+
+src_unpack() {
+ sleep 1
+ unpack linux-${OURKERNEL}.tar.bz2
+ mv linux-${OURKERNEL} linux-${KV} || die
+
+ cd linux-${KV}
+
+ # if we need a pre/rc patch, then use it
+ if [ ${PRERC} ]; then
+ bzcat ${DISTDIR}/patch-${PV/_/-}.bz2|patch -p1 || die "-marcelo patch failed"
+ fi
+
+ bzcat ${DISTDIR}/patch-${KV}.bz2|patch -p1 || die "-ck patch failed"
+
+ kernel_universal_unpack
+}
+
diff --git a/sys-kernel/ck-sources/files/digest-ck-sources-2.4.23-r1 b/sys-kernel/ck-sources/files/digest-ck-sources-2.4.23-r1
new file mode 100644
index 000000000000..2515b5bfc4b2
--- /dev/null
+++ b/sys-kernel/ck-sources/files/digest-ck-sources-2.4.23-r1
@@ -0,0 +1,4 @@
+MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609
+MD5 ca3a289c94b170aa0f559f18dffc00a8 patch-2.4.22-ck2-fix.patch 2267
+MD5 76983144a5d010166f6b1f5d18ec258e patch-2422-ck2-sm1.2.8-sm1.2.9-0309171736 4355
+MD5 6a8307d813dd9828af7639f0ba343422 patch-2.4.23-ck1.bz2 788506