summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-04-18 12:28:52 +0000
committerThilo Bangert <bangert@gentoo.org>2009-04-18 12:28:52 +0000
commit43778c67d9e7d9899da6b07d5abbb62c3cb3d7e0 (patch)
treee0128901c39d08c049729deced9fb7fc8c843175 /sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild
parentmake .24 behave as the newer builds (diff)
downloadbangert-43778c67d9e7d9899da6b07d5abbb62c3cb3d7e0.tar.gz
bangert-43778c67d9e7d9899da6b07d5abbb62c3cb3d7e0.tar.bz2
bangert-43778c67d9e7d9899da6b07d5abbb62c3cb3d7e0.zip
make 2.6.24.009.1-r2 KV and EXTRAVERSION behave like .26 and .27 try two
svn path=/ebuilds/; revision=85
Diffstat (limited to 'sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild')
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild
new file mode 100644
index 0000000..c2ee0ea
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-2.6.24.009.1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.24.008.1.ebuild,v 1.1 2009/03/17 07:49:00 bangert Exp $
+
+inherit versionator
+
+ETYPE="sources"
+
+CKV=$(get_version_component_range 1-3)
+OKV=${OKV:-${CKV}}
+OVZ_REV="$(get_version_component_range 5)"
+OVZ_KERNEL="$(get_version_component_range 4)"
+if [[ ${PR} == "r0" ]]; then
+ EXTRAVERSION=-${PN/-*}-${OVZ_KERNEL}.${OVZ_REV}
+else
+ EXTRAVERSION=-${PN/-*}-${OVZ_KERNEL}.${OVZ_REV}-${PR}
+fi
+KV_FULL=${CKV}${EXTRAVERSION}
+KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
+
+inherit kernel-2
+detect_version
+
+KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DESCRIPTION="Full sources including OpenVZ patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+HOMEPAGE="http://www.openvz.org"
+SRC_URI="${KERNEL_URI} ${ARCH_URI}
+ http://download.openvz.org/kernel/branches/${CKV}/${CKV}-${OVZ_KERNEL}.${OVZ_REV}/patches/patch-ovz${OVZ_KERNEL}.${OVZ_REV}-combined.gz"
+
+UNIPATCH_STRICTORDER=1
+UNIPATCH_LIST="${DISTDIR}/patch-ovz${OVZ_KERNEL}.${OVZ_REV}-combined.gz"
+
+K_EXTRAEINFO="This is development branch of openvz-sources. For more information
+about this kernel tak a look at:
+http://wiki.openvz.org/Download/kernel/${CKV}/${CKV}-${OVZ_KERNEL}.${OVZ_REV}"