summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2014-06-08 16:57:14 +0000
committerPeter Volkov <pva@gentoo.org>2014-06-08 16:57:14 +0000
commit42b07ae3d6ffd1014eede58921ec2111ceb78ad1 (patch)
tree714ac42db183e4dc9fb96a52dc7867d99b67c783 /sys-kernel/openvz-sources
parentia64 stable wrt bug #509056 (diff)
downloadgentoo-2-42b07ae3d6ffd1014eede58921ec2111ceb78ad1.tar.gz
gentoo-2-42b07ae3d6ffd1014eede58921ec2111ceb78ad1.tar.bz2
gentoo-2-42b07ae3d6ffd1014eede58921ec2111ceb78ad1.zip
Version bump, bug 508010. Fixes CVE-2014-3153.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F1989B07)
Diffstat (limited to 'sys-kernel/openvz-sources')
-rw-r--r--sys-kernel/openvz-sources/ChangeLog8
-rw-r--r--sys-kernel/openvz-sources/metadata.xml4
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-2.6.32.90.3.ebuild47
3 files changed, 58 insertions, 1 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog
index 29192840d2d9..88ba4845ff07 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.225 2014/06/01 08:48:55 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.226 2014/06/08 16:57:14 pva Exp $
+
+*openvz-sources-2.6.32.90.3 (08 Jun 2014)
+
+ 08 Jun 2014; Peter Volkov <pva@gentoo.org>
+ +openvz-sources-2.6.32.90.3.ebuild, metadata.xml:
+ Version bump, bug 508010. Fixes CVE-2014-3153.
*openvz-sources-2.6.32.90.2 (01 Jun 2014)
diff --git a/sys-kernel/openvz-sources/metadata.xml b/sys-kernel/openvz-sources/metadata.xml
index 7186aa94efdd..8047feb47ed7 100644
--- a/sys-kernel/openvz-sources/metadata.xml
+++ b/sys-kernel/openvz-sources/metadata.xml
@@ -3,6 +3,10 @@
<pkgmetadata>
<herd>proxy-maintainers</herd>
<maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+ </maintainer>
+ <maintainer>
<email>andreis.vinogradovs@gmail.com</email>
<name>Andreis Vinogradovs</name>
<description>Proxy maintainer, CC him on bugs</description>
diff --git a/sys-kernel/openvz-sources/openvz-sources-2.6.32.90.3.ebuild b/sys-kernel/openvz-sources/openvz-sources-2.6.32.90.3.ebuild
new file mode 100644
index 000000000000..8860c72fcaeb
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-2.6.32.90.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 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.90.3.ebuild,v 1.1 2014/06/08 16:57:14 pva Exp $
+
+EAPI="5"
+
+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.xz"
+
+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}"