summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-10-22 17:30:26 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-10-22 17:30:26 +0000
commite0563a467dfad3571156268aa7ff0070444438f2 (patch)
tree36c5c8ba55c2f20ae010d14b7c278acc97c89105
parentRemoving vulnerable older versions (bug #336462 et. al.) (diff)
downloadhistorical-e0563a467dfad3571156268aa7ff0070444438f2.tar.gz
historical-e0563a467dfad3571156268aa7ff0070444438f2.tar.bz2
historical-e0563a467dfad3571156268aa7ff0070444438f2.zip
Revision bump for new genpatches, version bump.
Package-Manager: portage-2.1.9.21/cvs/Linux x86_64
-rw-r--r--sys-kernel/ck-sources/ChangeLog11
-rw-r--r--sys-kernel/ck-sources/Manifest27
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.6.34-r5.ebuild47
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.6.35-r5.ebuild47
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.6.36.ebuild47
5 files changed, 170 insertions, 9 deletions
diff --git a/sys-kernel/ck-sources/ChangeLog b/sys-kernel/ck-sources/ChangeLog
index dff3cd03845b..6012abc9202a 100644
--- a/sys-kernel/ck-sources/ChangeLog
+++ b/sys-kernel/ck-sources/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-kernel/ck-sources
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.182 2010/10/08 12:25:59 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ChangeLog,v 1.183 2010/10/22 17:30:26 nelchael Exp $
+
+*ck-sources-2.6.36 (22 Oct 2010)
+*ck-sources-2.6.35-r5 (22 Oct 2010)
+*ck-sources-2.6.34-r5 (22 Oct 2010)
+
+ 22 Oct 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ +ck-sources-2.6.34-r5.ebuild, +ck-sources-2.6.35-r5.ebuild,
+ +ck-sources-2.6.36.ebuild:
+ Revision bump for new genpatches, version bump.
*ck-sources-2.6.35-r4 (08 Oct 2010)
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest
index 06abeae5fd56..3a0d3ccc8efc 100644
--- a/sys-kernel/ck-sources/Manifest
+++ b/sys-kernel/ck-sources/Manifest
@@ -9,6 +9,8 @@ DIST genpatches-2.6.34-10.base.tar.bz2 196949 RMD160 c55b2dae24fa7eedaef31d847a8
DIST genpatches-2.6.34-10.extras.tar.bz2 15527 RMD160 988e3878a7c2a4676988e54010e8e8c76ed9d999 SHA1 1e218561e5d5c2d86e471245819dcc8ce022905e SHA256 7e99fb2c4320446b312110fc6f9f5e2bcc60127f80f80d8cb09c34483c68dca9
DIST genpatches-2.6.34-13.base.tar.bz2 200048 RMD160 e3e32467d3e4cd6fd6f0a7a621031e31ee001cb9 SHA1 6b3b909e890eeb2408ab75a65df32d4bf426240a SHA256 02a9a8501c05c1771e5204deb13743b7b702f9c5b2cff97d7c3a7c483d1e6090
DIST genpatches-2.6.34-13.extras.tar.bz2 15527 RMD160 988e3878a7c2a4676988e54010e8e8c76ed9d999 SHA1 1e218561e5d5c2d86e471245819dcc8ce022905e SHA256 7e99fb2c4320446b312110fc6f9f5e2bcc60127f80f80d8cb09c34483c68dca9
+DIST genpatches-2.6.34-14.base.tar.bz2 200934 RMD160 9f397a885256acf2d4e52c51698d36bf10b84401 SHA1 54467a6bc99bc5cb7f33bb40b969699c1d0ea9ca SHA256 41028f9d3dd9ffdb9d43f8b2f77bb7a188809a803fb68e06f32da14f2444d5a5
+DIST genpatches-2.6.34-14.extras.tar.bz2 15527 RMD160 988e3878a7c2a4676988e54010e8e8c76ed9d999 SHA1 1e218561e5d5c2d86e471245819dcc8ce022905e SHA256 7e99fb2c4320446b312110fc6f9f5e2bcc60127f80f80d8cb09c34483c68dca9
DIST genpatches-2.6.34-3.base.tar.bz2 7695 RMD160 3a5d82dfd4f19dcb06082265d6b0625629e388ff SHA1 a526ad552ad6a143104183a083be6d0b7ffdc340 SHA256 0b603ae584d4915653d5b3249eef00153ac1a2dca7ec4d300fc4d60300c72a48
DIST genpatches-2.6.34-3.extras.tar.bz2 15527 RMD160 988e3878a7c2a4676988e54010e8e8c76ed9d999 SHA1 1e218561e5d5c2d86e471245819dcc8ce022905e SHA256 7e99fb2c4320446b312110fc6f9f5e2bcc60127f80f80d8cb09c34483c68dca9
DIST genpatches-2.6.34-9.base.tar.bz2 173683 RMD160 8e1ced76f78c7520421f4c494e773d7c57c8ca22 SHA1 9d7da2cab0a201dc4211f0d16f8529dbf0b395e3 SHA256 66b69ecfcf8bfc782af770950412d20bdf6c1815dc3e61731d42482466e0cda4
@@ -17,34 +19,43 @@ DIST genpatches-2.6.35-10.base.tar.bz2 151276 RMD160 374ad581d8ccda6092726317de0
DIST genpatches-2.6.35-10.extras.tar.bz2 15486 RMD160 bb61e34c295a5d562f78fe2ac0bc023c9badec2f SHA1 c832349cde052e368cb5ff8c8df296b7a05bd405 SHA256 9291df1cc0f48dba21fff9d5da59c7403ea29269561fca3c0e58658455f208de
DIST genpatches-2.6.35-11.base.tar.bz2 151534 RMD160 5126e7fc128da2929aed397ae7c345818736dff0 SHA1 aaf2bfab07e76a21c66260acc642e02d9a1d6b43 SHA256 d3355026319e2af39e97b274c1788aeb80f632516163dbb4170aa5f2dcd985e1
DIST genpatches-2.6.35-11.extras.tar.bz2 15486 RMD160 bb61e34c295a5d562f78fe2ac0bc023c9badec2f SHA1 c832349cde052e368cb5ff8c8df296b7a05bd405 SHA256 9291df1cc0f48dba21fff9d5da59c7403ea29269561fca3c0e58658455f208de
+DIST genpatches-2.6.35-12.base.tar.bz2 151932 RMD160 fb011957a63dce12c8935866113b42d8ddd7ce76 SHA1 91c0dced6737774987dad56b2226a309b89d1ade SHA256 9977b27e191933ef26afe1dfc235f24a0f7d68aa3c8d8a4394d61388a3490349
+DIST genpatches-2.6.35-12.extras.tar.bz2 15497 RMD160 5c1b00e059b4b29f78390a5f547da26e8fd76484 SHA1 359bc518680aae22a059bcdc42a65d3cd5cd4a9e SHA256 5b8aa073cfe69ac4593d9fa8dec565c517bf4749e71168ed67d00c6317c2a3c7
DIST genpatches-2.6.35-2.base.tar.bz2 21126 RMD160 422798b4a7edf4fe385a276c9340fe55ac3e27cf SHA1 65f7a81f1cba26c105006257eb595c9bbd16ab1d SHA256 1e933af286de79dfe5e850657d0b8ee6160bd4311d3f7b03a6af9bbcf1f1830a
DIST genpatches-2.6.35-2.extras.tar.bz2 15486 RMD160 bb61e34c295a5d562f78fe2ac0bc023c9badec2f SHA1 c832349cde052e368cb5ff8c8df296b7a05bd405 SHA256 9291df1cc0f48dba21fff9d5da59c7403ea29269561fca3c0e58658455f208de
DIST genpatches-2.6.35-6.base.tar.bz2 83842 RMD160 277c9bd93f2b10b74502a8d17552fbba43f39341 SHA1 e670952e4d1116a481993e0838c6d8f6c1b9e75e SHA256 27c494a9a96dace2c1c6df30350e3e71c897cfd84da40cfeb18e993ad1cb650c
DIST genpatches-2.6.35-6.extras.tar.bz2 15486 RMD160 bb61e34c295a5d562f78fe2ac0bc023c9badec2f SHA1 c832349cde052e368cb5ff8c8df296b7a05bd405 SHA256 9291df1cc0f48dba21fff9d5da59c7403ea29269561fca3c0e58658455f208de
+DIST genpatches-2.6.36-1.base.tar.bz2 765 RMD160 2a838b4e9dad9509690cc91eefb00d18345d245a SHA1 61b38cefd7698a6fdd30a67246de8f024c0efdfb SHA256 ad82531741525b188229792e71d95075f7155cc5968464008e25314e2ab4bc6b
+DIST genpatches-2.6.36-1.extras.tar.bz2 15523 RMD160 7a2cf1bab421b7037b9e5b51992e0e4171ba8a8f SHA1 7fce1b44cc9a814da71260779a7021e4eef1c439 SHA256 07d33b39a71569ac0694f94186f041e438143a51924a0a6873b4021bad6c1ae6
DIST linux-2.6.34.tar.bz2 67633622 RMD160 dafd721b00c13e3652405b517b379eed10020bf4 SHA1 4188857ba71f301991dc56285f593e9c311e5824 SHA256 fa395fec7de633df1cb85b6248b8f35af98380ed128a8bc465fb48bc4d252633
DIST linux-2.6.35.tar.bz2 69305709 RMD160 f5d91abb4fa72fac812578d830b22180d85a0e6f SHA1 4cb1fbfbeedcd658ca37739679c65dfaa136bf4e SHA256 18b2e2c336032e366c942622b77302cb05fc034fb19018f086a4ebc9ed41bfcf
+DIST linux-2.6.36.tar.bz2 70277083 RMD160 d739da505a79e71a1370d36e1373b36be055c123 SHA1 b546ab66458d7d614151d80adbc03b4d28977ae2 SHA256 15a076d1a435a6bf8e92834eba4b390b4ec094ce06d47f89d071ca9e5788ce04
DIST patch-2.6.34-ck1-r1.bz2 58629 RMD160 20ae67af85a337ae867a8b235658d2c9e0f36c03 SHA1 6ce56965a5af7359eff0b9ee0425ac3148a754cb SHA256 d902597febac3c6eeeac93866a6558fff4ebf0b1b5ef9bd19c0b7f669b928bcf
DIST patch-2.6.34-ck1.bz2 59238 RMD160 411f1f610014427b7f74295d19ece9c4c917da24 SHA1 0f48fffef0165345d1d7a252ae74725757db3a95 SHA256 3ac27e6b6d3b2cbe0b9790de30c9038e8512545c1525cb09600aed979e66d795
DIST patch-2.6.35-ck1-r1.bz2 58286 RMD160 37ac956b3658a3edec56f7de65df0a462240f299 SHA1 3b500b68391da4a08100cb8e7abce1cf89ab8bfa SHA256 5081fbf9ce0369aede78db8c8fa9ecbd13d7be3ebd3a654656a16f4baa1a97fa
DIST patch-2.6.35-ck1.bz2 58988 RMD160 977fa620e253d59569945b2015945b9b584d9ea8 SHA1 abe41cca3cad6d425869de52279cfdaa5fb69893 SHA256 f46457bf3df8587fad7926c5caba945f10344f212ae3fcbdd2ae2fb9c48c7410
+DIST patch-2.6.36-ck1.bz2 59314 RMD160 6455f637854193e94acb290b0ca92af64ad028ee SHA1 ceae10922149be8bcb972f8e53ac28aaf3aaee11 SHA256 a81c69bee9756bfd1643ee977eb94eae2f861ff813a44122a793836de42f1d96
EBUILD ck-sources-2.6.34-r1.ebuild 1473 RMD160 7618e493bc8371cff0a95eda88ecbe4897fcf166 SHA1 d232bf2163708ed20811bc4dfe69c5d61ce099cb SHA256 80634a4cec529eb72cf407518f2ed02dd7394963f5dd9a580e7ab583641b5e10
EBUILD ck-sources-2.6.34-r2.ebuild 1474 RMD160 1cb7d949326ceb5554682fccf9650aa1f09c8e43 SHA1 4f59cb65b5d9551a5c8ee1bcb2a44579ba2d54eb SHA256 e3d8636dfc30c23347ef3b493c7c28822cb4fad61c013bdff9f4807e3a371766
EBUILD ck-sources-2.6.34-r3.ebuild 1475 RMD160 970d4dd5c07f7e9606322e788d6deaafb4dafc8b SHA1 2c31a1a4cbaacd47c4592cfc48feed8ebf255b2a SHA256 3b37e2db0feff3ba3aa27f7d4d46b855aeb4caf5851dcfda6d443eb72d5310e1
EBUILD ck-sources-2.6.34-r4.ebuild 1475 RMD160 2706d020bde72715247a86fe89741fff41a8d042 SHA1 6f27bab6734009863d4ad0e0559f9ae17eac7b64 SHA256 fd9d472cb0232926430659267038fb18348b896ec914c7087b9f7ad62ebf6add
+EBUILD ck-sources-2.6.34-r5.ebuild 1475 RMD160 7be751732b5fbbf2a7a775aafcf7ec740495ff3d SHA1 45a869cbef7b004b8a4431e8924713568c75c537 SHA256 5d73ebce592aaee0abb2d16dc6fa898538494d4e3738bc01fc5f778e3877df0f
EBUILD ck-sources-2.6.35-r1.ebuild 1473 RMD160 3b7ff6bb4f51abb0f7334ebdff77bc371900d940 SHA1 249ac13200f5f472e0bd5d3eed380176d7e14407 SHA256 7162287ce9ff3c9a283ecab935ec6b4fd1ae7923b72165a7a512ef40c7d0313d
EBUILD ck-sources-2.6.35-r2.ebuild 1474 RMD160 3ec460570743295da56c151b4fcfe149137887ba SHA1 6a99ef50e923f3fcbcd39cba73d97852c10a35eb SHA256 0623db00b7f6196924ec48e2a492a51b65445cc13eea74444ff1f932fff860c0
EBUILD ck-sources-2.6.35-r3.ebuild 1474 RMD160 197004be705226c844e0770533e6f4f9bcd2e735 SHA1 c31c6fa52fe8eb3208bacd02a78f73d09a62913f SHA256 a2320d5bf6c448e2c79a76aa00f17d70285e54895efb5672bd679a926560a4b5
EBUILD ck-sources-2.6.35-r4.ebuild 1474 RMD160 0f5a7bc715c4818508c49577507e250d585afe84 SHA1 f05b14c40608ff17ea044b3696bda3d9474dcb1f SHA256 24cc275c6ceced91ee6c251db5a737e7f72963095017872cd096c3d3b9605dcd
-MISC ChangeLog 3361 RMD160 6f2368c9da72dff37878abdaad93927e64ca1688 SHA1 cbb714bd29939d58c7c4562e6e56efdc3def3fe2 SHA256 d12be7a7f4fd84138b1401a16fd738c0371ad1f888df348d83dd438dea1a585c
+EBUILD ck-sources-2.6.35-r5.ebuild 1474 RMD160 665a7ef8e4eb9c24a3a2e2d342b93db72741eda3 SHA1 195d920003c5c69616f009a6a82da07f834d0548 SHA256 37f5b06fa72e2ddb8f9690e9d744d254059c548f0b96190e90c0e6109a0e51a2
+EBUILD ck-sources-2.6.36.ebuild 1470 RMD160 bbe2171a8f44c31cdd6cbd61983815f91eaa6eb8 SHA1 22403ccbc04a8103f9b0d6c29e92fc054ca58b53 SHA256 7ade701cb5712fd5c0a00110c6fd29c79b8998f0e679e50f734ca61644f92f2e
+MISC ChangeLog 3663 RMD160 df2999550584a85342c62aa6b78190dfecd7e3f1 SHA1 4a136e214373f999acfd88e66198f77421e276b5 SHA256 7b793f1071eb29ea3af989f3e35b431fefb690c1720a69540f7d2a3895c4f45a
MISC metadata.xml 379 RMD160 4081346728d51d445b098c8e56afff0182f2774b SHA1 c8dd1df58e8d71a2f57b2d426587097aaa6f4da7 SHA256 2e5f77825d16ea23d40c6016a4f35ccab9723f679c2e83e3adcca5ce40424905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iQEcBAEBAgAGBQJMrw3fAAoJEBZyv1r2qA5GgrEH/j+/iRb5G3XcYkTzuis2NF1S
-qA+FNX7XmLntZ0KzMOIXCbKSVgYOWQ5Fixf15pTkNdoRrTMjfmXvBApxpVXiG7fe
-ZL0jwb1CVPOmECu+x2AYRDJ6KhvQDTS6TknbxVoaw2TZPbehgB2Oq+KruZhNqBSx
-gVWFQzeXTvhnIRMcfSn7hQKzbXsiJRVtyoyyTaCGoLeOYEgRNTNFJdlWSAt8GR7k
-qBYWNxqghZk/qi7suLR64lfiixk8iSbTkHxS4dgh1Covemgp5UEXBmiR72XKjNYU
-/WZhCgTHxnxXFGNA/V4MqrJb017mwdywGreB9A/J6KFZNycLphHjvRCwTvEQ8Cw=
-=r7y3
+iQEcBAEBAgAGBQJMwco5AAoJEBZyv1r2qA5GObcH/18/dZHpzIYAKVwAXenb/N/o
++3dMLtEHpyfj5Fm4Go0chyt71Lu0ci+KhtFeIzLI/KxOQlQ/DUT3UhFsIEbOPkWA
+AeclJOw07sT0S1CNUxmWjDyO4fIJhfmJk+BYpDaqGd+daJvBBPn01WKRNczBFXiB
+fgOf5kgCNAs1J0nQaRgIdy/bwM/NdqAWx23KtRLH8r1Psvau5/3QjYlLbHviAVmh
+hD9J1J3XKRknzoEfMUoamkoRq2aZ64Tcu8p8QyH+JYID1dmbQGdabXo1mpG60S9q
+KcUvFjlX4jSWoZij3k7EucmdRWNUO8f/NE/4lDNHpxK277BcEOq4vrOWCBQAucM=
+=oB6W
-----END PGP SIGNATURE-----
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.34-r5.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.34-r5.ebuild
new file mode 100644
index 000000000000..02edb9d505d7
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-2.6.34-r5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 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.34-r5.ebuild,v 1.1 2010/10/22 17:30:26 nelchael Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="14"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Con Kolivas' high performance patchset + Gentoo patchset sources"
+HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/
+ http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/"
+
+CK_VERSION="1"
+CK_REVISION="1"
+K_SECURITY_UNSUPPORTED="1"
+
+if [[ -z "${CK_REVISION}" ]]; then
+ CK_URI="mirror://kernel/linux/kernel/people/ck/patches/2.6/${PV}/${PV}-ck${CK_VERSION}/patch-${PV}-ck${CK_VERSION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}.bz2"
+else
+ # This is ck${CK_VERSION} but resynced to apply cleanly to stable kernel
+ # release:
+ CK_URI="mirror://gentoo/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+fi
+
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ kernel-2_src_unpack
+
+ # Comment out EXTRAVERSION added by CK patch:
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.35-r5.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.35-r5.ebuild
new file mode 100644
index 000000000000..dcaefa18cc80
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-2.6.35-r5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 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.35-r5.ebuild,v 1.1 2010/10/22 17:30:26 nelchael Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="12"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Con Kolivas' high performance patchset + Gentoo patchset sources"
+HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/
+ http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/"
+
+CK_VERSION="1"
+CK_REVISION=""
+K_SECURITY_UNSUPPORTED="1"
+
+if [[ -z "${CK_REVISION}" ]]; then
+ CK_URI="mirror://kernel/linux/kernel/people/ck/patches/2.6/${PV}/${PV}-ck${CK_VERSION}/patch-${PV}-ck${CK_VERSION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}.bz2"
+else
+ # This is ck${CK_VERSION} but resynced to apply cleanly to stable kernel
+ # release:
+ CK_URI="mirror://gentoo/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+fi
+
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ kernel-2_src_unpack
+
+ # Comment out EXTRAVERSION added by CK patch:
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.36.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.36.ebuild
new file mode 100644
index 000000000000..0e7d653f4717
--- /dev/null
+++ b/sys-kernel/ck-sources/ck-sources-2.6.36.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 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.36.ebuild,v 1.1 2010/10/22 17:30:26 nelchael Exp $
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="1"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Con Kolivas' high performance patchset + Gentoo patchset sources"
+HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/
+ http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/"
+
+CK_VERSION="1"
+CK_REVISION=""
+K_SECURITY_UNSUPPORTED="1"
+
+if [[ -z "${CK_REVISION}" ]]; then
+ CK_URI="mirror://kernel/linux/kernel/people/ck/patches/2.6/${PV}/${PV}-ck${CK_VERSION}/patch-${PV}-ck${CK_VERSION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}.bz2"
+else
+ # This is ck${CK_VERSION} but resynced to apply cleanly to stable kernel
+ # release:
+ CK_URI="mirror://gentoo/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+ UNIPATCH_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}-r${CK_REVISION}.bz2"
+fi
+
+UNIPATCH_STRICTORDER="yes"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+ kernel-2_src_unpack
+
+ # Comment out EXTRAVERSION added by CK patch:
+ sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}