diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-06-29 18:08:40 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-06-29 18:08:40 +0000 |
commit | e4885e0ec88fe89c3cd3ae73ad96dc4948307adb (patch) | |
tree | 2d061c24fdd70595f6acf7a46390c493126f1582 /sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild | |
parent | Version bump to 3.5.9 bug #373445 , Adding notes to smb.conf.default #352869 (diff) | |
download | gentoo-2-e4885e0ec88fe89c3cd3ae73ad96dc4948307adb.tar.gz gentoo-2-e4885e0ec88fe89c3cd3ae73ad96dc4948307adb.tar.bz2 gentoo-2-e4885e0ec88fe89c3cd3ae73ad96dc4948307adb.zip |
Revision bumps for new genpatches, remove old version.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild')
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild new file mode 100644 index 000000000000..e173dd182393 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-2.6.38-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 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.38-r3.ebuild,v 1.1 2011/06/29 18:08:40 nelchael Exp $ + +ETYPE="sources" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="8" + +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="3" +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}" +} |