summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-08-31 11:37:26 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-08-31 11:37:26 +0000
commitc278da9e17df7d4fa6e8cf88ecf236a4c6802352 (patch)
tree0c7e4e394ddbca12a5676d4b381b454dfe8bcee3 /sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild
parentUpdate media-sound/banshee mask to current unstable version. (diff)
downloadhistorical-c278da9e17df7d4fa6e8cf88ecf236a4c6802352.tar.gz
historical-c278da9e17df7d4fa6e8cf88ecf236a4c6802352.tar.bz2
historical-c278da9e17df7d4fa6e8cf88ecf236a4c6802352.zip
Revision bump for new genpatches, add easy way to use resynced version of ck patch for given kernel. ck1-r1 for 2.6.34-r2 and 2.6.35-r2 is the same version as for base kernel with a small update so it applies cleanly on stable kernels (2.6.34.6 and 2.6.35.4).
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild')
-rw-r--r--sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild b/sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild
index af015f6fbec5..5f7ff2cfbeb7 100644
--- a/sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild
+++ b/sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.1 2010/06/23 19:17:33 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ck-sources/ck-sources-2.6.34-r1.ebuild,v 1.2 2010/08/31 11:37:26 nelchael Exp $
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
@@ -15,11 +15,19 @@ 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"
-CK_URI="mirror://kernel/linux/kernel/people/ck/patches/2.6/${PV}/${PV}-ck${CK_VERSION}/patch-${PV}-ck${CK_VERSION}.bz2"
+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_LIST="${DISTDIR}/patch-${PV}-ck${CK_VERSION}.bz2"
UNIPATCH_STRICTORDER="yes"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI}"
IUSE=""