summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2012-02-24 18:20:16 +0000
committerPeter Volkov <pva@gentoo.org>2012-02-24 18:20:16 +0000
commitbe416f0f768c129ac3f16ace092e20e87c63ee45 (patch)
tree1022f88769f7f1d47c312009c3ec4ba948f09580 /sys-kernel/openvz-sources
parentVersion bump for dev channel release. (diff)
downloadgentoo-2-be416f0f768c129ac3f16ace092e20e87c63ee45.tar.gz
gentoo-2-be416f0f768c129ac3f16ace092e20e87c63ee45.tar.bz2
gentoo-2-be416f0f768c129ac3f16ace092e20e87c63ee45.zip
Version bump, should fix bug #402077, thank slepnoga for report.
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/openvz-sources')
-rw-r--r--sys-kernel/openvz-sources/ChangeLog10
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-2.6.32.49.6.ebuild45
2 files changed, 53 insertions, 2 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog
index 0ce8301b49a8..96617642b30f 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.175 2011/12/22 16:17:29 pva Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.176 2012/02/24 18:20:16 pva Exp $
+
+*openvz-sources-2.6.32.49.6 (24 Feb 2012)
+
+ 24 Feb 2012; Peter Volkov <pva@gentoo.org>
+ +openvz-sources-2.6.32.49.6.ebuild:
+ Version bump, should fix bug #402077, thank slepnoga for report.
*openvz-sources-2.6.32.44.11 (22 Dec 2011)
diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.32.49.6.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.32.49.6.ebuild
new file mode 100644
index 000000000000..0167ff41d8b9
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-2.6.32.49.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 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.32.49.6.ebuild,v 1.1 2012/02/24 18:20:16 pva Exp $
+
+inherit versionator
+
+OVZ_KV="0$(get_version_component_range 4).$(get_version_component_range 5)"
+
+CKV=$(get_version_component_range 1-3)
+OKV=${OKV:-${CKV}}
+EXTRAVERSION=-${PN/-*}-${OVZ_KV}
+ETYPE="sources"
+KV_FULL=${CKV}${EXTRAVERSION}
+if [[ ${PR} != "r0" ]]; then
+ KV_FULL+=-${PR}
+ EXTRAVERSION+=-${PR}
+fi
+S=${WORKDIR}/linux-${KV_FULL}
+
+# ${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
+
+KEYWORDS="~amd64 ~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/rhel6-${CKV}/042stab${OVZ_KV}/patches/patch-042stab${OVZ_KV}-combined.gz"
+
+UNIPATCH_STRICTORDER=1
+UNIPATCH_LIST="${DISTDIR}/patch-042stab${OVZ_KV}-combined.gz"
+
+K_EXTRAEINFO="This openvz kernel uses RHEL6 patchset instead of vanilla kernel.
+This patchset considered to be more stable and security supported by upstream,
+but for us RHEL6 patchset is very fragile and fails to build in many
+configurations so if you have problems use config files from openvz team
+http://wiki.openvz.org/Download/kernel/rhel6/042stab${OVZ_KV}"