summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ross <aross@gentoo.org>2006-11-02 05:25:57 +0000
committerAndrew Ross <aross@gentoo.org>2006-11-02 05:25:57 +0000
commit4db3b4fbcfc11eb41ff95d454dc1e67b3214d168 (patch)
treef62067b7422501799a3ba2cb24f03809b8dd8671
parentImport proposed xen-3.0.3 ebuild from bug #151764 (diff)
downloadaross-4db3b4fbcfc11eb41ff95d454dc1e67b3214d168.tar.gz
aross-4db3b4fbcfc11eb41ff95d454dc1e67b3214d168.tar.bz2
aross-4db3b4fbcfc11eb41ff95d454dc1e67b3214d168.zip
Import proposed xen-sources-2.6.16.29 (for xen 3.0.3) from bug #151764
svn path=/; revision=27
-rw-r--r--sys-kernel/xen-sources/Manifest10
-rw-r--r--sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.299
-rw-r--r--sys-kernel/xen-sources/xen-sources-2.6.16.29.ebuild47
3 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/xen-sources/Manifest b/sys-kernel/xen-sources/Manifest
new file mode 100644
index 0000000..f4d82ea
--- /dev/null
+++ b/sys-kernel/xen-sources/Manifest
@@ -0,0 +1,10 @@
+DIST linux-2.6.16.tar.bz2 40845005 RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 SHA1 bef21cd5063a648f33a99a26f4742dd05eb4dca2 SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7
+DIST patch-2.6.16.29.bz2 86922 RMD160 9a20ca718ccf2b486f3825d5263840eb0467be49 SHA1 ee40534bc4439b77b078148252747d26dc10d975 SHA256 da632ce49b5f3a78560445211237ecce0f68de3584212e4b830f2e55778e0634
+DIST xen-3.0.3_0-src.tgz 5465968 RMD160 528020035ee32144b52bcdfccc8c44708b0196ea SHA1 9505ae3a5a42bc969836de81f501341409291f78 SHA256 7220bb4b0474e530559f558fcb4da8c88f1095c8e2f420602a26dfea5020443f
+EBUILD xen-sources-2.6.16.29.ebuild 1578 RMD160 df5ff923cfd39c2cbad230c0c55f919a18155e4c SHA1 7bf00e87635461c319d7b08899f0bea1045a0a01 SHA256 14ea18e187b533a1513cf0a44baab171b2a5a98b395bd5b66e33048f8f55b4bd
+MD5 24f51266bdb40429b69c57782227730b xen-sources-2.6.16.29.ebuild 1578
+RMD160 df5ff923cfd39c2cbad230c0c55f919a18155e4c xen-sources-2.6.16.29.ebuild 1578
+SHA256 14ea18e187b533a1513cf0a44baab171b2a5a98b395bd5b66e33048f8f55b4bd xen-sources-2.6.16.29.ebuild 1578
+MD5 e3dd60d0bb0cb4389169dd12b87fda93 files/digest-xen-sources-2.6.16.29 723
+RMD160 d3d06eb72807564bbbcbd7758e836ec4731b0f09 files/digest-xen-sources-2.6.16.29 723
+SHA256 f2ca6938f7cfb5fb8167c27707a6c3fd1bbe7b631ddc2e2f08a37f604c72412d files/digest-xen-sources-2.6.16.29 723
diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.29 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.29
new file mode 100644
index 0000000..60444b2
--- /dev/null
+++ b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.29
@@ -0,0 +1,9 @@
+MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005
+RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005
+SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005
+MD5 eaac691e53491e9523e0adea2bb0a3c0 patch-2.6.16.29.bz2 86922
+RMD160 9a20ca718ccf2b486f3825d5263840eb0467be49 patch-2.6.16.29.bz2 86922
+SHA256 da632ce49b5f3a78560445211237ecce0f68de3584212e4b830f2e55778e0634 patch-2.6.16.29.bz2 86922
+MD5 75d895858a467405114599abf94d60a2 xen-3.0.3_0-src.tgz 5465968
+RMD160 528020035ee32144b52bcdfccc8c44708b0196ea xen-3.0.3_0-src.tgz 5465968
+SHA256 7220bb4b0474e530559f558fcb4da8c88f1095c8e2f420602a26dfea5020443f xen-3.0.3_0-src.tgz 5465968
diff --git a/sys-kernel/xen-sources/xen-sources-2.6.16.29.ebuild b/sys-kernel/xen-sources/xen-sources-2.6.16.29.ebuild
new file mode 100644
index 0000000..ef71868
--- /dev/null
+++ b/sys-kernel/xen-sources/xen-sources-2.6.16.29.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+ETYPE="sources"
+inherit kernel-2 eutils
+detect_arch
+detect_version
+[ "${PR}" == "r0" ] && KV=${PV/_/-}-xen || KV=${PV/_/-}-xen-${PR}
+
+DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen"
+HOMEPAGE="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html"
+XEN_VERSION="3.0.3_0"
+MY_P="xen-${XEN_VERSION}-src"
+SRC_URI="${KERNEL_URI} mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PV}.bz2 http://bits.xensource.com/oss-xen/release/${XEN_VERSION/_/-}/src.tgz/xen-${XEN_VERSION}-src.tgz"
+
+KEYWORDS="~x86 ~amd64"
+#RDEPEND="~app-emulation/xen-${XEN_VERSION}"
+S="${WORKDIR}"
+RESTRICT="nostrip"
+XEN_KV=${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}
+
+src_unpack() {
+ unpack ${A}
+
+ # patch to the latest kernel first
+ cd "${WORKDIR}"/linux-${XEN_KV}
+ epatch "${WORKDIR}"/patch-${PV}
+
+ cd "${WORKDIR}"/${MY_P}
+ sed -e 's:relative_lndir \([^(].*\):cp -dpPR \1/* .:' \
+ -i linux-2.6-xen-sparse/mkbuildtree || die
+
+ # No need to run oldconfig
+ sed -e 's:$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) oldconfig::' \
+ -i buildconfigs/mk.linux-2.6-xen
+
+ # Move the kernel sources to pristine-linux-${PV}
+ mv "${WORKDIR}"/linux-${XEN_KV} pristine-linux-${PV} || die
+ touch pristine-linux-${PV}/.valid-pristine || die
+
+ make LINUX_SRC_PATH=${DISTDIR} XEN_ROOT=${WORKDIR}/${MY_P} \
+ -f buildconfigs/mk.linux-2.6-xen \
+ linux-${PV}-xen/include/linux/autoconf.h || die
+ mv linux-${KV} "${WORKDIR}"/linux-${KV} || die
+ rm -rf "${WORKDIR}/${MY_P}" || die
+}