version bump
authorChris Bainbridge <chrb@gentoo.org>
Thu, 27 Oct 2005 16:40:23 +0000 (16:40 +0000)
committerChris Bainbridge <chrb@gentoo.org>
Thu, 27 Oct 2005 16:40:23 +0000 (16:40 +0000)
Package-Manager: portage-2.0.51.22-r3

app-emulation/xen/ChangeLog
app-emulation/xen/Manifest
app-emulation/xen/files/digest-xen-3.0.0_pre20051027 [new file with mode: 0644]
app-emulation/xen/files/xendomains-init
app-emulation/xen/xen-3.0.0_pre20051027.ebuild [new file with mode: 0644]

index aae15e7097ca0e6ce37ba011619bafd869857cd6..c36be1daf79e6287bd689870c46781ca8ac0e94e 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-emulation/xen
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.10 2005/10/26 15:26:51 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.11 2005/10/27 16:40:23 chrb Exp $
+
+*xen-3.0.0_pre20051027 (27 Oct 2005)
+
+  27 Oct 2005; <chrb@gentoo.org> files/xendomains-init,
+  +xen-3.0.0_pre20051027.ebuild:
+  version bump
 
 *xen-3.0.0_pre20051010-r1 (26 Oct 2005)
 
index 9599ffe5cd1c018ff213d31c7b840ffcbb032a01..709b221962ac98409c807a1a4500a04fd559b126 100644 (file)
@@ -1,12 +1,14 @@
-MD5 b929a0985ed34e585a7952aebd02aba8 ChangeLog 2034
+MD5 11a12d633eee4cf53b7c737e4960e9dc ChangeLog 2177
 MD5 23ec60d5040f966fda250a47d8903428 metadata.xml 252
 MD5 b25e5ad259e28bab5d8d3b4c0a62d278 xen-2.0.7.ebuild 2853
 MD5 916e692537638b6382c0feda6bda89d1 xen-3.0.0_pre20051010.ebuild 2012
+MD5 3d185e164d3d5963aa0a4e4aea9ec626 xen-3.0.0_pre20051027.ebuild 2029
 MD5 e55170a9bc3648d438ba60cd80b3daee xen-3.0.0_pre20051010-r1.ebuild 2032
 MD5 16d372298e94a8eef72c1943b1ed5561 files/xend-conf 347
 MD5 b659e1e802207d647698236ddbc2e7a3 files/xend-init 838
 MD5 11ef318e35fcfed12931f182fc01955a files/xendomains-conf 180
-MD5 a8399d2d398bb05f40dd3e9bf4332af1 files/xendomains-init 1663
+MD5 f13640a07af78a60cfb562fa1d2088f3 files/xendomains-init 1659
 MD5 7c6c9b0e7a2a6c7598fc2840e95de285 files/digest-xen-3.0.0_pre20051010 75
+MD5 2e39cb335339f213e3daac1e0ff12598 files/digest-xen-3.0.0_pre20051027 75
 MD5 7c6c9b0e7a2a6c7598fc2840e95de285 files/digest-xen-3.0.0_pre20051010-r1 75
 MD5 6eaea330ed78459069eb5ba608e654dd files/digest-xen-2.0.7 63
diff --git a/app-emulation/xen/files/digest-xen-3.0.0_pre20051027 b/app-emulation/xen/files/digest-xen-3.0.0_pre20051027
new file mode 100644 (file)
index 0000000..5122d03
--- /dev/null
@@ -0,0 +1 @@
+MD5 960e3bd28b9e2802d158d14dada74300 xen-unstable-20051027.tar.bz2 3419934
index afc796c9367a90aad877846ddc87c48c74b96d63..1ef25e6b9fc92a486a43df961c520aed81ea9034 100644 (file)
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xendomains-init,v 1.3 2005/10/08 12:32:33 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xendomains-init,v 1.4 2005/10/27 16:40:23 chrb Exp $
 
 opts="start stop status restart"
 
@@ -20,7 +20,7 @@ is_running() {
 start() {
        einfo "Starting ${AUTODIR} Xen domains"
        if [[ ${SCREEN} == "yes" ]]; then
-               screen -d -m -S xen -t xen-cbc0
+               screen -d -m -S xen -t dom0
                screen -r xen -X zombie dr
                logrotate -f /usr/share/xen/xen-consoles-logrotate
                screen -r xen -X logfile /var/log/xen-consoles/%t
diff --git a/app-emulation/xen/xen-3.0.0_pre20051027.ebuild b/app-emulation/xen/xen-3.0.0_pre20051027.ebuild
new file mode 100644 (file)
index 0000000..2f82ad0
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.0.0_pre20051027.ebuild,v 1.1 2005/10/27 16:40:23 chrb Exp $
+
+inherit mount-boot
+
+DESCRIPTION="The Xen virtual machine monitor and Xend daemon"
+HOMEPAGE="http://xen.sourceforge.net"
+DATE="20051027"
+SRC_URI="mirror://gentoo/xen-unstable-${DATE}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc debug screen"
+
+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"
+
+S="${WORKDIR}/xen-unstable-${DATE}"
+
+src_compile() {
+       local myopt
+       if use debug; then
+               myopt="${myopt} debug=y"
+       fi
+
+       unset CFLAGS
+       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
+}
+
+pkg_postinst() {
+       einfo "Please visit the Xen and Gentoo wiki:"
+       einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"
+}