summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-09-21 14:02:21 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-09-21 14:02:21 +0000
commit0a2a77cbdddcacbc6bd3f071775e2c3a8b8e495b (patch)
treeded681aaa8624821ab53b080f76c20bd74bf0c3c /sys-kernel
parentKeyworded ~sparc, makes ciaranm and geoman happy (diff)
downloadgentoo-2-0a2a77cbdddcacbc6bd3f071775e2c3a8b8e495b.tar.gz
gentoo-2-0a2a77cbdddcacbc6bd3f071775e2c3a8b8e495b.tar.bz2
gentoo-2-0a2a77cbdddcacbc6bd3f071775e2c3a8b8e495b.zip
Initial openvz kernel. Thx to kir from freenode#openvz
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/openvz-sources/ChangeLog10
-rw-r--r--sys-kernel/openvz-sources/Manifest5
-rw-r--r--sys-kernel/openvz-sources/files/digest-openvz-sources-022.0342
-rw-r--r--sys-kernel/openvz-sources/files/linux-2.6.8.1.patch33
-rw-r--r--sys-kernel/openvz-sources/metadata.xml11
-rw-r--r--sys-kernel/openvz-sources/openvz-sources-022.034.ebuild28
6 files changed, 89 insertions, 0 deletions
diff --git a/sys-kernel/openvz-sources/ChangeLog b/sys-kernel/openvz-sources/ChangeLog
new file mode 100644
index 000000000000..81f189e3987d
--- /dev/null
+++ b/sys-kernel/openvz-sources/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-kernel/openvz-sources
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/ChangeLog,v 1.1 2005/09/21 14:02:21 hollow Exp $
+
+*openvz-sources-022.034 (21 Sep 2005)
+
+ 21 Sep 2005; Benedikt Boehm <hollow@gentoo.org>
+ +files/linux-2.6.8.1.patch, +metadata.xml, +openvz-sources-022.034.ebuild:
+ Initial openvz kernel. Thx to kir from freenode#openvz
+
diff --git a/sys-kernel/openvz-sources/Manifest b/sys-kernel/openvz-sources/Manifest
new file mode 100644
index 000000000000..383dcb9e4da3
--- /dev/null
+++ b/sys-kernel/openvz-sources/Manifest
@@ -0,0 +1,5 @@
+MD5 98b64efbbebc1f4c6169d84df691a970 metadata.xml 504
+MD5 cfbee5cb769c03646555403e497970ff openvz-sources-022.034.ebuild 911
+MD5 4ac616fafece9ad19d16f63574fda986 ChangeLog 350
+MD5 3ae3bab30256016777b44cbe71b53f76 files/linux-2.6.8.1.patch 711
+MD5 8059df244197e2bc4c9001148e7b089d files/digest-openvz-sources-022.034 143
diff --git a/sys-kernel/openvz-sources/files/digest-openvz-sources-022.034 b/sys-kernel/openvz-sources/files/digest-openvz-sources-022.034
new file mode 100644
index 000000000000..ae3e04066bb9
--- /dev/null
+++ b/sys-kernel/openvz-sources/files/digest-openvz-sources-022.034
@@ -0,0 +1,2 @@
+MD5 2f8b0030ce970f3c1a460faf5d2b1cec linux-2.6.8.tar.bz2 35634061
+MD5 4a8c86ffe316bae776fe477ff3b944f1 openvz-022stab034-core.patch.bz2 371640
diff --git a/sys-kernel/openvz-sources/files/linux-2.6.8.1.patch b/sys-kernel/openvz-sources/files/linux-2.6.8.1.patch
new file mode 100644
index 000000000000..7c7004406a2b
--- /dev/null
+++ b/sys-kernel/openvz-sources/files/linux-2.6.8.1.patch
@@ -0,0 +1,33 @@
+diff -Nru a/Makefile b/Makefile
+--- a/Makefile 2004-08-14 03:56:28 -07:00
++++ b/Makefile 2004-08-14 03:56:28 -07:00
+@@ -1,7 +1,7 @@
+ VERSION = 2
+ PATCHLEVEL = 6
+ SUBLEVEL = 8
+-EXTRAVERSION =
++EXTRAVERSION = .1
+ NAME=Zonked Quokka
+
+ # *DOCUMENTATION*
+diff -Nru a/fs/nfs/file.c b/fs/nfs/file.c
+--- a/fs/nfs/file.c 2004-08-14 03:56:28 -07:00
++++ b/fs/nfs/file.c 2004-08-14 03:56:28 -07:00
+@@ -72,7 +72,7 @@
+
+ static int nfs_check_flags(int flags)
+ {
+- if (flags & (O_APPEND | O_DIRECT))
++ if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT))
+ return -EINVAL;
+
+ return 0;
+@@ -89,7 +89,7 @@
+ int res;
+
+ res = nfs_check_flags(filp->f_flags);
+- if (!res)
++ if (res)
+ return res;
+
+ lock_kernel();
diff --git a/sys-kernel/openvz-sources/metadata.xml b/sys-kernel/openvz-sources/metadata.xml
new file mode 100644
index 000000000000..1d0cf5496434
--- /dev/null
+++ b/sys-kernel/openvz-sources/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>vserver</herd>
+ <longdescription>
+ OpenVZ is an Operating System-level server virtualization solution,
+ built on Linux. OpenVZ creates isolated, secure virtual private
+ servers (VPSs) or virtual environments on a single physical server
+ enabling better server utilization and ensuring that applications do not conflict.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-kernel/openvz-sources/openvz-sources-022.034.ebuild b/sys-kernel/openvz-sources/openvz-sources-022.034.ebuild
new file mode 100644
index 000000000000..e654160ac01e
--- /dev/null
+++ b/sys-kernel/openvz-sources/openvz-sources-022.034.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-022.034.ebuild,v 1.1 2005/09/21 14:02:21 hollow Exp $
+
+ETYPE="sources"
+CKV="2.6.8"
+
+K_USEPV=1
+K_NOSETEXTRAVERSION=1
+
+inherit kernel-2 versionator
+detect_version
+detect_arch
+
+OVZ_TREE="$(get_version_component_range 1 ${PV})"
+OVZ_BUILD="$(get_version_component_range 2 ${PV})"
+OVZ_STATUS="stab"
+OVZ_VER="${OVZ_TREE}${OVZ_STATUS}${OVZ_BUILD}"
+OVZ_COREPATCH="openvz-${OVZ_VER}-core.patch.bz2"
+
+KEYWORDS="~x86"
+
+DESCRIPTION="Full sources including OenVZ patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+HOMEPAGE="http://www.openvz.org"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} mirror://gentoo/${OVZ_COREPATCH}"
+
+UNIPATCH_STRICTORDER=1
+UNIPATCH_LIST="${FILESDIR}/linux-2.6.8.1.patch ${DISTDIR}/${OVZ_COREPATCH}"