summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2006-02-19 15:59:23 +0000
committerChris Bainbridge <chrb@gentoo.org>2006-02-19 15:59:23 +0000
commit8c8a29e1c80d711e5e9081506b61220a35495d23 (patch)
tree1912a514e710bb0bedfce4f4e9e82b691080050a /app-emulation/xen
parentMoved hddtemp db update code to pkg_config (bug #116348). (diff)
downloadhistorical-8c8a29e1c80d711e5e9081506b61220a35495d23.tar.gz
historical-8c8a29e1c80d711e5e9081506b61220a35495d23.tar.bz2
historical-8c8a29e1c80d711e5e9081506b61220a35495d23.zip
new xen-unstable snapshot
Package-Manager: portage-2.0.54
Diffstat (limited to 'app-emulation/xen')
-rw-r--r--app-emulation/xen/ChangeLog7
-rw-r--r--app-emulation/xen/Manifest4
-rw-r--r--app-emulation/xen/files/digest-xen-88851
-rw-r--r--app-emulation/xen/xen-8885.ebuild118
4 files changed, 128 insertions, 2 deletions
diff --git a/app-emulation/xen/ChangeLog b/app-emulation/xen/ChangeLog
index 92dc7d11cc9b..a0f2e547e15b 100644
--- a/app-emulation/xen/ChangeLog
+++ b/app-emulation/xen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/xen
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.24 2006/02/05 10:37:28 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.25 2006/02/19 15:59:23 chrb Exp $
+
+*xen-8885 (19 Feb 2006)
+
+ 19 Feb 2006; <chrb@gentoo.org> +xen-8885.ebuild:
+ new xen-unstable snapshot
*xen-3.0.1-r1 (05 Feb 2006)
diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest
index f071e6f6925e..b0c6f94dc44e 100644
--- a/app-emulation/xen/Manifest
+++ b/app-emulation/xen/Manifest
@@ -1,8 +1,10 @@
-MD5 836e5fd0fefecf46da52c863f6806a1c ChangeLog 4067
+MD5 71247da73ce6094877c44901920d3923 ChangeLog 4172
MD5 7934c87d6994825fb9e8ff09a531d0ae files/digest-xen-3.0.1-r1 63
+MD5 19ac706176443a42b9b1cab8f17be305 files/digest-xen-8885 71
MD5 16d372298e94a8eef72c1943b1ed5561 files/xend-conf 347
MD5 b16cb40a29cb947b2a9b76cc8f9f3894 files/xend-init 844
MD5 11ef318e35fcfed12931f182fc01955a files/xendomains-conf 180
MD5 a3c0c26c30ce1271b439661b68ca9e74 files/xendomains-init 1671
MD5 23ec60d5040f966fda250a47d8903428 metadata.xml 252
MD5 5214c524a30e89593485454acdf55b61 xen-3.0.1-r1.ebuild 3093
+MD5 53e3274385aa4f3c7a9abde54349cae6 xen-8885.ebuild 3161
diff --git a/app-emulation/xen/files/digest-xen-8885 b/app-emulation/xen/files/digest-xen-8885
new file mode 100644
index 000000000000..3cd1558023db
--- /dev/null
+++ b/app-emulation/xen/files/digest-xen-8885
@@ -0,0 +1 @@
+MD5 cebdc6f0523a64a7a2f218d947b2109e xen-unstable-8885.tar.bz2 3429557
diff --git a/app-emulation/xen/xen-8885.ebuild b/app-emulation/xen/xen-8885.ebuild
new file mode 100644
index 000000000000..bee9903fd532
--- /dev/null
+++ b/app-emulation/xen/xen-8885.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-8885.ebuild,v 1.1 2006/02/19 15:59:23 chrb Exp $
+
+inherit mount-boot flag-o-matic
+
+DESCRIPTION="The Xen virtual machine monitor and Xend daemon"
+HOMEPAGE="http://xen.sourceforge.net"
+REV="8885"
+MY_P="xen-unstable-${REV}"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc debug screen custom-cflags"
+
+DEPEND="sys-apps/iproute2
+ net-misc/bridge-utils
+ dev-lang/python
+ net-misc/curl
+ sys-libs/zlib
+ doc? (
+ dev-tex/latex2html
+ media-gfx/transfig
+ )
+ screen? (
+ app-misc/screen
+ app-admin/logrotate
+ )
+ sys-devel/dev86
+ || ( sys-fs/udev sys-apps/hotplug )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ # if the user *really* wants to use their own custom-cflags, let them
+ if use custom-cflags; then
+ einfo "User wants their own CFLAGS - removing defaults"
+ for f in Makefile Rules.mk Config.mk; do
+ # try and remove all the default custom-cflags
+ find ${S} -name ${f} -exec sed \
+ -e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
+ -i {} \;
+ done
+ # odd fixes
+ sed -e "s/int mode/int mode=-1/" -i ${S}/tools/misc/xc_shadow.c
+ fi
+}
+
+src_compile() {
+ local myopt
+ if use debug; then
+ myopt="${myopt} debug=y"
+ fi
+
+ if ! use custom-cflags; then
+ unset CFLAGS
+ fi
+ filter-flags -fPIE -fstack-protector
+
+ make ${myopt} -C xen || die "compiling xen failed"
+ make ${myopt} -C tools || die "compiling tools failed"
+
+ if use doc; then
+ sh ./docs/check_pkgs || die "package check failed"
+ make ${myopt} -C docs || die "compiling docs failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} -C xen install || die "installing xen failed"
+
+ make DESTDIR=${D} XEN_PYTHON_NATIVE_INSTALL=1 -C tools install \
+ || die "installing tools failed"
+
+ if use doc; then
+ make DESTDIR=${D} -C docs install \
+ || die "installing docs failed"
+ # Rename doc/xen to the Gentoo-style doc/xen-x.y
+ mv ${D}/usr/share/doc/{${PN},${PF}}
+ fi
+
+ # bind xend to localhost per default
+ sed -i -e "s/\((xend-address *\)'')/\1\'localhost\')/" \
+ ${D}/etc/xen/xend-config.sxp
+
+ newinitd ${FILESDIR}/xend-init xend
+ newconfd ${FILESDIR}/xend-conf xend
+ newconfd ${FILESDIR}/xendomains-conf xendomains
+ newinitd ${FILESDIR}/xendomains-init xendomains
+
+ # for upstream change tracking
+ dodoc ${S}/XEN-VERSION
+
+ if use screen; then
+ sed -i -e 's/SCREEN="no"/SCREEN="yes"/' ${D}/etc/init.d/xendomains
+ fi
+
+ # xend expects these to exist
+ dodir /var/run/xenstored
+ dodir /var/lib/xenstored
+ dodir /var/xen/dump
+}
+
+pkg_postinst() {
+ einfo "Please visit the Xen and Gentoo wiki:"
+ einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
+ einfo ""
+ einfo "This is a snapshot of the xen-unstable tree."
+ einfo "Please report bugs in xen itself (and not the packaging) to"
+ einfo "bugzilla.xensource.com"
+}