summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2007-05-02 04:27:24 +0000
committerMichael Marineau <marineam@gentoo.org>2007-05-02 04:27:24 +0000
commit323f60cc42a93750f2446782812c86dac32d922e (patch)
tree8233e78e31f3fe0e723e04930702caeefa7b6453 /app-emulation/xen/xen-3.0.2.ebuild
parentMask Xen for 2.4 kernel systems (diff)
downloadhistorical-323f60cc42a93750f2446782812c86dac32d922e.tar.gz
historical-323f60cc42a93750f2446782812c86dac32d922e.tar.bz2
historical-323f60cc42a93750f2446782812c86dac32d922e.zip
Add Xen 3.0.4 from the marineam-xen overlay
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'app-emulation/xen/xen-3.0.2.ebuild')
-rw-r--r--app-emulation/xen/xen-3.0.2.ebuild40
1 files changed, 13 insertions, 27 deletions
diff --git a/app-emulation/xen/xen-3.0.2.ebuild b/app-emulation/xen/xen-3.0.2.ebuild
index 6601ded044dc..2e363d9e41fd 100644
--- a/app-emulation/xen/xen-3.0.2.ebuild
+++ b/app-emulation/xen/xen-3.0.2.ebuild
@@ -1,30 +1,29 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.2.ebuild,v 1.8 2007/01/25 23:07:09 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.2.ebuild,v 1.9 2007/05/02 04:27:24 marineam Exp $
inherit mount-boot flag-o-matic
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.sourceforge.net"
-if [[ ${PV} == *_p* ]]; then
- XEN_UNSTABLE="xen-unstable-${PV#*_p}"
- SRC_URI="mirror://gentoo/${XEN_UNSTABLE}.tar.bz2"
- S="${WORKDIR}/${XEN_UNSTABLE}"
-else
- SRC_URI="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/${P}-src.tgz"
- S="${WORKDIR}/xen-${PV}"
-fi
+MY_PV=${PV/_p/_}
+SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV/_/-}/src.tgz/xen-${MY_PV}-src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug custom-cflags pae hardened"
-DEPEND="sys-devel/dev86"
-RDEPEND=""
+RDEPEND="|| ( sys-boot/grub
+ sys-boot/grub-static )
+ ~sys-kernel/xen-sources-2.6.16.28"
+PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
+# Approved by QA team in bug #144032
+QA_WX_LOAD="boot/xen-syms-${MY_PV/_/-}"
+
pkg_setup() {
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86; then
@@ -75,15 +74,10 @@ src_compile() {
src_install() {
local myopt
+ use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
- make DESTDIR="${D}" ${myopt} install-xen \
- || die "install failed"
-
- # for upstream change tracking
- if [[ -n ${XEN_UNSTABLE} ]]; then
- dodoc "${S}"/XEN-VERSION
- fi
+ make DESTDIR="${D}" install-xen ${myopt} || die "install failed"
}
pkg_postinst() {
@@ -91,15 +85,7 @@ pkg_postinst() {
elog "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
echo
- elog "Note: xen tools have been moved to app-emulation/xen-tools;"
- elog "you need to install that package to manage your domains."
-
- if [[ -n ${XEN_UNSTABLE} ]]; then
- echo
- elog "This is a snapshot of the xen-unstable tree."
- elog "Please report bugs in xen itself (and not the packaging) to"
- elog "bugzilla.xensource.com"
- fi
+ elog "Note: xen tools have been moved to app-emulation/xen-tools"
if use pae; then
echo