summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-01-09 10:58:44 +0000
committerPeter Volkov <pva@gentoo.org>2010-01-09 10:58:44 +0000
commit6a00379b016e22ab969da54b368acea1015c67ed (patch)
tree7f7ee93ed8b985e5d0b631a8607c49f78ce5a636 /sys-kernel
parentChange KDE 3.5.10, KOffice 1.6.3 mask into a single placeholder. (diff)
downloadgentoo-2-6a00379b016e22ab969da54b368acea1015c67ed.tar.gz
gentoo-2-6a00379b016e22ab969da54b368acea1015c67ed.tar.bz2
gentoo-2-6a00379b016e22ab969da54b368acea1015c67ed.zip
Version bump, bug #300109.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/openvz-sources/ChangeLog10
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-2.6.27.3.1.ebuild56
2 files changed, 64 insertions, 2 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog
index 29edb153f73c..db64551dae28 100644
--- a/sys-kernel/openvz-sources/ChangeLog
+++ b/sys-kernel/openvz-sources/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/openvz-sources
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.123 2009/12/14 08:26:49 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.124 2010/01/09 10:58:44 pva Exp $
+
+*openvz-sources-2.6.27.3.1 (09 Jan 2010)
+
+ 09 Jan 2010; Peter Volkov <pva@gentoo.org>
+ +openvz-sources-2.6.27.3.1.ebuild:
+ Version bump, bug #300109.
*openvz-sources-2.6.18.028.066.10 (14 Dec 2009)
diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.27.3.1.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.27.3.1.ebuild
new file mode 100644
index 000000000000..b5056dfb129b
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-2.6.27.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 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.27.3.1.ebuild,v 1.1 2010/01/09 10:58:44 pva Exp $
+
+inherit versionator
+
+# Upstream uses string to version their releases. To make portage version
+# comparisment working we have to use numbers instead of strings, that is 4th
+# component of our version. So we have aivazovsky - 1, briullov - 2 and so on.
+# Keep this string on top since we have to modify it each new release.
+OVZ_CODENAME="chistyakov"
+OVZ_CODENAME_SUBRELEASE=$(get_version_component_range 5)
+
+#http://download.openvz.org/kernel/branches/2.6.27/2.6.27-chistyakov.1/patches/patch-chistyakov.1-combined.gz
+
+OVZ_KV="${OVZ_CODENAME}.${OVZ_CODENAME_SUBRELEASE}"
+
+ETYPE="sources"
+
+CKV=$(get_version_component_range 1-3)
+OKV=${OKV:-${CKV}}
+EXTRAVERSION=-${PN/-*}-${OVZ_KV}
+KV_FULL=${CKV}${EXTRAVERSION}
+if [[ ${PR} != r0 ]]; then
+ KV_FULL+=-${PR}
+ EXTRAVERSION+=-${PR}
+fi
+
+# ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
+KV_MAJOR=$(get_version_component_range 1 ${OKV})
+KV_MINOR=$(get_version_component_range 2 ${OKV})
+KV_PATCH=$(get_version_component_range 3 ${OKV})
+
+KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
+
+inherit kernel-2
+detect_version
+
+SLOT=${CKV}-${OVZ_KV}
+if [[ ${PR} != r0 ]]; then
+ SLOT+=-${PR}
+fi
+
+KEYWORDS="~amd64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DESCRIPTION="Kernel sources with OpenVZ patchset"
+HOMEPAGE="http://www.openvz.org"
+SRC_URI="${KERNEL_URI} ${ARCH_URI}
+ http://download.openvz.org/kernel/branches/${CKV}/${CKV}-${OVZ_KV}/patches/patch-${OVZ_KV}-combined.gz"
+
+UNIPATCH_STRICTORDER=1
+UNIPATCH_LIST="${DISTDIR}/patch-${OVZ_KV}-combined.gz"
+
+K_EXTRAEINFO="For more information about this kernel take a look at:
+http://wiki.openvz.org/Download/kernel/${CKV}/${CKV}-${OVZ_KV}"