summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2007-05-12 19:40:04 +0000
committerMichael Marineau <marineam@gentoo.org>2007-05-12 19:40:04 +0000
commit6af8ee2234d22c0f068a038052882307fae53f7c (patch)
treed07429a56058a0e9f0b3d23eff31918f4efa5f08 /sys-kernel
parentStable on mips. (diff)
downloadgentoo-2-6af8ee2234d22c0f068a038052882307fae53f7c.tar.gz
gentoo-2-6af8ee2234d22c0f068a038052882307fae53f7c.tar.bz2
gentoo-2-6af8ee2234d22c0f068a038052882307fae53f7c.zip
ck-sources: Add fix for swap prefetch.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/ck-sources/ChangeLog8
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.6.21_p1-r1.ebuild52
-rw-r--r--sys-kernel/ck-sources/files/digest-ck-sources-2.6.21_p1-r115
3 files changed, 74 insertions, 1 deletions
diff --git a/sys-kernel/ck-sources/ChangeLog b/sys-kernel/ck-sources/ChangeLog
index aed467e084dc..af0cc1166176 100644
--- a/sys-kernel/ck-sources/ChangeLog
+++ b/sys-kernel/ck-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/ck-sources
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.161 2007/05/07 11:04:12 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.162 2007/05/12 19:40:04 marineam Exp $
+
+*ck-sources-2.6.21_p1-r1 (12 May 2007)
+
+ 12 May 2007; Michael Marineau <marineam@gentoo.org>
+ +ck-sources-2.6.21_p1-r1.ebuild:
+ Add a fix for swap-prefetch, bug #178222.
07 May 2007; Christian Heim <phreak@gentoo.org>
files/digest-ck-sources-2.6.21, files/digest-ck-sources-2.6.21_p1,
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.21_p1-r1.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.21_p1-r1.ebuild
new file mode 100644
index 000000000000..80ae7b71b371
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-2.6.21_p1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ck-sources-2.6.21_p1-r1.ebuild,v 1.1 2007/05/12 19:40:04 marineam Exp $
+
+DESCRIPTION="Full sources for the Linux kernel with Con Kolivas' high performance patchset and Gentoo's basic patchset."
+HOMEPAGE="http://members.optusnet.com.au/ckolivas/kernel/"
+IUSE="ck-server"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+K_NOUSENAME="yes"
+K_WANT_GENPATCHES="base"
+K_GENPATCHES_VER="1"
+UNIPATCH_STRICTORDER="1"
+ETYPE="sources"
+inherit kernel-2
+
+detect_version
+# A few hacks to set ck version via _p instead of -r
+MY_PR=${PR/r/-r}
+MY_PR=${MY_PR/-r0/}
+EXTRAVERSION=-ck${PV/*_p/}${MY_PR}
+KV_FULL=${OKV}${EXTRAVERSION}
+KV_CK=${KV_FULL/-r*/}
+
+CKPATCH="patch-${KV_CK}.bz2"
+
+if use ck-server; then
+ UNIPATCH_LIST="${DISTDIR}/${CKPATCH/ck/cks}"
+else
+ UNIPATCH_LIST="${DISTDIR}/${CKPATCH}"
+fi
+UNIPATCH_LIST="${UNIPATCH_LIST} ${DISTDIR}/ck1-sp35-sp37.patch"
+
+# Note: 2.6.x.y updates in genpatches begin with 10 but are included in -ck
+#UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE}"
+
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI}
+ ck-server? (
+ mirror://kernel/linux/kernel/people/ck/patches/2.6/${OKV}/${KV_CK}/${CKPATCH/ck/cks}
+ )
+ !ck-server? (
+ mirror://kernel/linux/kernel/people/ck/patches/2.6/${OKV}/${KV_CK}/${CKPATCH} )
+ http://ck.kolivas.org/patches/swap-prefetch/ck1-sp35-sp37.patch"
+
+
+pkg_postinst() {
+ postinst_sources
+
+ einfo "The ck patchset is tuned for desktop usage."
+ einfo "To better tune the kernel for server applications add"
+ einfo "ck-server to your use flags and reemerge ck-sources"
+}
diff --git a/sys-kernel/ck-sources/files/digest-ck-sources-2.6.21_p1-r1 b/sys-kernel/ck-sources/files/digest-ck-sources-2.6.21_p1-r1
new file mode 100644
index 000000000000..e20127d1ba1c
--- /dev/null
+++ b/sys-kernel/ck-sources/files/digest-ck-sources-2.6.21_p1-r1
@@ -0,0 +1,15 @@
+MD5 3ace9f72055bcfe28c0ac71636d5d3c0 ck1-sp35-sp37.patch 15312
+RMD160 7cae50811103858390c45b5c9087717fa96bdf0c ck1-sp35-sp37.patch 15312
+SHA256 c785631f1dc7cf5af2d22ababf57ea544a150879baa2d22672a339d004602504 ck1-sp35-sp37.patch 15312
+MD5 5831fd3adc21152fbd8dcebe12f2e52f genpatches-2.6.21-1.base.tar.bz2 1050
+RMD160 da561dd019aea7c4b4b33e1afce1004ba93f504f genpatches-2.6.21-1.base.tar.bz2 1050
+SHA256 4d9d263d4c3916a68526a7b6ec4208afce071aaf541aa884f5bd78e0654e063a genpatches-2.6.21-1.base.tar.bz2 1050
+MD5 1b515f588078dfa7f4bab2634bd17e80 linux-2.6.21.tar.bz2 43997476
+RMD160 b2badf41c61f66b0dda059d99a57c2e2c0ea13f4 linux-2.6.21.tar.bz2 43997476
+SHA256 f187b12d70e0a48ce81f0472dfe9504fb5f0f966be339ac9d57dd2b991a74942 linux-2.6.21.tar.bz2 43997476
+MD5 02e8c1fc37ee73dac11a3deb99188183 patch-2.6.21-ck1.bz2 38708
+RMD160 9174feffdd9a5af4dc0ea613a1a6d458d23fc87b patch-2.6.21-ck1.bz2 38708
+SHA256 4247bb7bbe3204b0d9b739ccdbfa874dd0ea034fe43d16cc77f932ba1c666735 patch-2.6.21-ck1.bz2 38708
+MD5 59c37e5665198a36d20bd209ae72f0ca patch-2.6.21-cks1.bz2 38766
+RMD160 4a452bd8fefb1547504c7e8b95becb9161e13d4e patch-2.6.21-cks1.bz2 38766
+SHA256 34c4139ce4084bcbfae21b302564a463e6a277b64059b8d243a38a831e3e60a8 patch-2.6.21-cks1.bz2 38766