summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2007-08-24 23:22:32 +0000
committerMichael Marineau <marineam@gentoo.org>2007-08-24 23:22:32 +0000
commitdd814f5ff2a9aeae81a0d22caf55ca8d03bd89c3 (patch)
tree6305a9d26a91bdf3e07422f29008b01286bc25c1 /app-emulation/xen/files
parentCopy Xen 3.1.0 ebuilds over from the Xen project overlay. (diff)
downloadgentoo-2-dd814f5ff2a9aeae81a0d22caf55ca8d03bd89c3.tar.gz
gentoo-2-dd814f5ff2a9aeae81a0d22caf55ca8d03bd89c3.tar.bz2
gentoo-2-dd814f5ff2a9aeae81a0d22caf55ca8d03bd89c3.zip
Copy Xen 3.1.0 ebuilds over from the Xen project overlay.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-emulation/xen/files')
-rw-r--r--app-emulation/xen/files/digest-xen-3.0.23
-rw-r--r--app-emulation/xen/files/digest-xen-3.1.03
-rw-r--r--app-emulation/xen/files/xen-3.0.2-nopiessp.patch10
-rw-r--r--app-emulation/xen/files/xend-init42
-rw-r--r--app-emulation/xen/files/xendomains-conf6
-rw-r--r--app-emulation/xen/files/xendomains-init68
6 files changed, 3 insertions, 129 deletions
diff --git a/app-emulation/xen/files/digest-xen-3.0.2 b/app-emulation/xen/files/digest-xen-3.0.2
deleted file mode 100644
index 724d092d5489..000000000000
--- a/app-emulation/xen/files/digest-xen-3.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 544eab940a0734a55459d648e5c3b224 xen-3.0.2-src.tgz 4933621
-RMD160 34e4431a981891319f8a5ea0c3f604e7d8d7d7af xen-3.0.2-src.tgz 4933621
-SHA256 f18ffab16a457fa721d11933c75f8288f6958c88c2669857c7c11d5107ba2951 xen-3.0.2-src.tgz 4933621
diff --git a/app-emulation/xen/files/digest-xen-3.1.0 b/app-emulation/xen/files/digest-xen-3.1.0
new file mode 100644
index 000000000000..e436de9ac59e
--- /dev/null
+++ b/app-emulation/xen/files/digest-xen-3.1.0
@@ -0,0 +1,3 @@
+MD5 b7ae1f652b071862ae4c90b72d549627 xen-3.1.0-src.tgz 6831094
+RMD160 2fd65a3b81e522d0ed2d62fd11e5977167f1ceb3 xen-3.1.0-src.tgz 6831094
+SHA256 b5d7cea6deeee1439e8883fed4b3f1a8e4f675b4af8148178721f99bd76676b7 xen-3.1.0-src.tgz 6831094
diff --git a/app-emulation/xen/files/xen-3.0.2-nopiessp.patch b/app-emulation/xen/files/xen-3.0.2-nopiessp.patch
deleted file mode 100644
index 27351247b925..000000000000
--- a/app-emulation/xen/files/xen-3.0.2-nopiessp.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./xen/Rules.mk 2006-04-09 22:05:55.000000000 +0000
-+++ ./xen/Rules.mk 2006-04-16 16:39:26.000000000 +0000
-@@ -48,6 +48,7 @@
- ALL_OBJS-y += $(BASEDIR)/arch/$(TARGET_ARCH)/built_in.o
-
- CFLAGS-y += -g -D__XEN__
-+CFLAGS-y += -fno-pie -fno-stack-protector-all -fno-stack-protector
- CFLAGS-$(ACM_SECURITY) += -DACM_SECURITY
- CFLAGS-$(verbose) += -DVERBOSE
- CFLAGS-$(crash_debug) += -DCRASH_DEBUG
diff --git a/app-emulation/xen/files/xend-init b/app-emulation/xen/files/xend-init
deleted file mode 100644
index 8d35528a7968..000000000000
--- a/app-emulation/xen/files/xend-init
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/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/xend-init,v 1.4 2005/12/23 14:22:55 chrb Exp $
-
-opts="start stop status restart"
-
-depend() {
- need net
- before xendomains sshd ntpd nfs nfsmount rsyncd portmap dhcp
-}
-
-await_daemons_up() {
- for ((i=0; i<5; i++)); do
- sleep 1
- /usr/sbin/xend status && return 0
- done
- return 1
-}
-
-start() {
- ebegin "Starting Xen control daemon"
- /usr/sbin/xend start
- /usr/sbin/xend status || await_daemons_up
- eend $?
-}
-
-stop() {
- if [ "$(xm list | wc -l)" -gt 2 ]; then
- ebegin " Stopping all domains"
- /usr/sbin/xm shutdown --all --wait >/dev/null
- eend $?
- fi
-
- ebegin "Stopping Xen control daemon"
- /usr/sbin/xend stop
- eend $?
-}
-
-status() {
- /usr/sbin/xend status
-}
diff --git a/app-emulation/xen/files/xendomains-conf b/app-emulation/xen/files/xendomains-conf
deleted file mode 100644
index bbc8ff6c3b0d..000000000000
--- a/app-emulation/xen/files/xendomains-conf
+++ /dev/null
@@ -1,6 +0,0 @@
-# Directory of domain configs to automatically boot
-AUTODIR=/etc/xen/auto
-
-# set to yes to run all auto 'xm create's in screen
-# with logging to /var/log/xen-consoles/
-SCREEN="no"
diff --git a/app-emulation/xen/files/xendomains-init b/app-emulation/xen/files/xendomains-init
deleted file mode 100644
index 9e68970f60c6..000000000000
--- a/app-emulation/xen/files/xendomains-init
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/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.5 2005/12/23 14:22:55 chrb Exp $
-
-opts="start stop status restart"
-
-depend() {
- need xend
- after dhcp
-}
-
-get_domname() {
- sed -ne 's/^[ \t]*name[ \t]*=[ \t]*"\([^"]*\)"/\1/p' $1
-}
-
-is_running() {
- [ -n "`/usr/sbin/xm list | grep "^${1} "`" ]
-}
-
-start() {
- einfo "Starting ${AUTODIR} Xen domains"
- if [[ ${SCREEN} == "yes" ]]; then
- 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
- screen -r xen -X logfile flush 1
- screen -r xen -X deflog on
- fi
- # Create all domains with config files in AUTODIR.
- for dom in $(ls ${AUTODIR}/* 2>/dev/null); do
- name=$(get_domname ${dom})
- if ! is_running ${name} ; then
- ebegin " Starting domain ${name}"
- if [[ ${SCREEN} == "yes" ]]; then
- screen -r xen -X screen -t ${name} xm create ${dom} -c
- else
- xm create --quiet ${dom}
- fi
- eend $?
- else
- einfo " Not Starting domain ${name} - allready running"
- fi
- done
-}
-
-stop() {
- einfo "Shutting down ${AUTODIR} Xen domains"
- # Stop all domains with config files in AUTODIR.
- for dom in $(ls ${AUTODIR}/* 2>/dev/null); do
- name=$(get_domname ${dom})
- if is_running ${name} ; then
- ebegin " Stopping domain ${name}"
- xm shutdown --wait ${name} >/dev/null
- eend $?
- else
- einfo " Not Stopping domain ${name} - not running"
- fi
- done
- if [[ ${SCREEN} == "yes" ]]; then
- screen -r xen -X quit
- fi
-}
-
-status() {
- /usr/sbin/xm list
-}