summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Marineau <marineam@gentoo.org>2007-08-26 19:08:36 +0000
committerMichael Marineau <marineam@gentoo.org>2007-08-26 19:08:36 +0000
commit8911d6666bc0ab7c8ca22ca877c65d2db071d042 (patch)
treee74aa9ea67bc4b1e067788ff8898683387ca0433 /app-emulation/xen-tools/files
parentForgot that patch before (diff)
downloadxen-8911d6666bc0ab7c8ca22ca877c65d2db071d042.tar.gz
xen-8911d6666bc0ab7c8ca22ca877c65d2db071d042.tar.bz2
xen-8911d6666bc0ab7c8ca22ca877c65d2db071d042.zip
Clean out the ebuilds from this overlay, they are now in the portage tree.
svn path=/overlay/; revision=30
Diffstat (limited to 'app-emulation/xen-tools/files')
-rw-r--r--app-emulation/xen-tools/files/digest-xen-tools-3.1.03
-rw-r--r--app-emulation/xen-tools/files/xen-consoles.logrotate5
-rw-r--r--app-emulation/xen-tools/files/xen-tools-3.0.4_p1--as-needed.patch12
-rw-r--r--app-emulation/xen-tools/files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch19
-rw-r--r--app-emulation/xen-tools/files/xen-tools-3.1.0-python-site-packages.patch31
-rw-r--r--app-emulation/xen-tools/files/xend.initd61
-rw-r--r--app-emulation/xen-tools/files/xendomains-screen.confd15
-rw-r--r--app-emulation/xen-tools/files/xendomains.confd7
-rw-r--r--app-emulation/xen-tools/files/xendomains.initd96
9 files changed, 0 insertions, 249 deletions
diff --git a/app-emulation/xen-tools/files/digest-xen-tools-3.1.0 b/app-emulation/xen-tools/files/digest-xen-tools-3.1.0
deleted file mode 100644
index e436de9..0000000
--- a/app-emulation/xen-tools/files/digest-xen-tools-3.1.0
+++ /dev/null
@@ -1,3 +0,0 @@
-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-tools/files/xen-consoles.logrotate b/app-emulation/xen-tools/files/xen-consoles.logrotate
deleted file mode 100644
index c644523..0000000
--- a/app-emulation/xen-tools/files/xen-consoles.logrotate
+++ /dev/null
@@ -1,5 +0,0 @@
-/var/log/xen-consoles/*.log {
- rotate 7
- missingok
- compress
-}
diff --git a/app-emulation/xen-tools/files/xen-tools-3.0.4_p1--as-needed.patch b/app-emulation/xen-tools/files/xen-tools-3.0.4_p1--as-needed.patch
deleted file mode 100644
index 8243ac8..0000000
--- a/app-emulation/xen-tools/files/xen-tools-3.0.4_p1--as-needed.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rpuN xen-3.0.4_1-src.orig/tools/xenmon/Makefile xen-3.0.4_1-src/tools/xenmon/Makefile
---- xen-3.0.4_1-src.orig/tools/xenmon/Makefile 2007-01-08 15:00:51.000000000 +0000
-+++ xen-3.0.4_1-src/tools/xenmon/Makefile 2007-02-09 01:02:08.000000000 +0000
-@@ -42,6 +42,6 @@ clean:
-
-
- %: %.c Makefile
-- $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lxenctrl
- xentrace_%: %.c Makefile
-- $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lxenctrl
diff --git a/app-emulation/xen-tools/files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch b/app-emulation/xen-tools/files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch
deleted file mode 100644
index e830de5..0000000
--- a/app-emulation/xen-tools/files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ru xen-3.0.4_1-src.orig/tools/examples/network-bridge xen-3.0.4_1-src/tools/examples/network-bridge
---- xen-3.0.4_1-src.orig/tools/examples/network-bridge 2007-01-08 07:00:48.000000000 -0800
-+++ xen-3.0.4_1-src/tools/examples/network-bridge 2007-03-05 17:37:32.000000000 -0800
-@@ -70,13 +70,13 @@
- vif0="vif0.${vifnum}"
-
- get_ip_info() {
-- addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/ .*//'`
-+ addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e "s/$1//"`
- gateway=`ip route show dev $1 | fgrep default | sed 's/default via //'`
- }
-
- do_ifup() {
- if ! ifup $1 ; then
-- if [ ${addr_pfx} ] ; then
-+ if [ "${addr_pfx}" ] ; then
- # use the info from get_ip_info()
- ip addr flush $1
- ip addr add ${addr_pfx} dev $1
diff --git a/app-emulation/xen-tools/files/xen-tools-3.1.0-python-site-packages.patch b/app-emulation/xen-tools/files/xen-tools-3.1.0-python-site-packages.patch
deleted file mode 100644
index ea5a217..0000000
--- a/app-emulation/xen-tools/files/xen-tools-3.1.0-python-site-packages.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-With xen-3.1.0 on Pardus 2007, "/usr/sbin/xend start" returns "Cannot find Xen
-Python modules." cause Xen Python modules installed
-into "/usr/lib/python2.4/site-packages/"
-
-Following patch adds site-packages into search path
-
-Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
-
-diff -r aee991c7723a tools/misc/xen-python-path
---- a/tools/misc/xen-python-path Wed May 09 16:34:47 2007 +0100
-+++ b/tools/misc/xen-python-path Sat May 19 02:24:24 2007 +0300
-@@ -30,12 +30,13 @@ import sys
-
- for p in ['python%s' % sys.version[:3], 'python']:
- for l in ['/usr/lib64', '/usr/lib']:
-- d = os.path.join(l, p)
-- if os.path.exists(os.path.join(d, AUXBIN)):
-- sys.path.append(d)
-- import xen.util.auxbin
-- print os.path.join(xen.util.auxbin.libpath(), p)
-- sys.exit(0)
-+ for k in ['', 'site-packages/']:
-+ d = os.path.join(l, p, k)
-+ if os.path.exists(os.path.join(d, AUXBIN)):
-+ sys.path.append(d)
-+ import xen.util.auxbin
-+ print os.path.join(xen.util.auxbin.libpath(), p)
-+ sys.exit(0)
-
- print >>sys.stderr, "Cannot find Xen Python modules."
- sys.exit(1)
diff --git a/app-emulation/xen-tools/files/xend.initd b/app-emulation/xen-tools/files/xend.initd
deleted file mode 100644
index 7c24793..0000000
--- a/app-emulation/xen-tools/files/xend.initd
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-opts="start stop status restart"
-
-depend() {
- need net
- before xendomains sshd ntp-client 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
-}
-
-is_privileged_domain() {
- grep -qsE '^control_d$' /proc/xen/capabilities
- return $?
-}
-
-start() {
- if is_privileged_domain ; then
- ebegin "Starting Xen control daemon"
- /usr/sbin/xend start
- /usr/sbin/xend status || await_daemons_up
- eend $?
- else
- eerror "Can't start xend - this is not a privileged domain."
- return 1
- fi
-}
-
-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 $?
-
- # This needs more testing (bug #149321)
- #ebegin "Stopping xenconsoled"
- #kill $(</var/run/xenconsoled.pid)
- #eend $?
-
- #ebegin "Stopping xenstored"
- #kill $(</var/run/xenstore.pid)
- #eend $?
-}
-
-status() {
- is_privileged_domain && /usr/sbin/xend status
-}
diff --git a/app-emulation/xen-tools/files/xendomains-screen.confd b/app-emulation/xen-tools/files/xendomains-screen.confd
deleted file mode 100644
index 1482c0a..0000000
--- a/app-emulation/xen-tools/files/xendomains-screen.confd
+++ /dev/null
@@ -1,15 +0,0 @@
-# When SCREEN="yes", domains in AUTODIR have their consoles connected to a
-# screen session named SCREEN_NAME, with output logged to individual files
-# named after each domain and written to /var/log/xen-consoles/ . These files
-# are rotated (using app-admin/logrotate) every time xendomains is started.
-
-SCREEN="yes"
-SCREEN_NAME="xen"
-
-# Number of seconds between writes to screen's logfiles.
-#
-# Lower values mean more disk activity and hence a possible performance
-# impact, but higher values mean a greater chance of loosing some output
-# in the event of a crash.
-
-SCREEN_LOG_INTERVAL="1"
diff --git a/app-emulation/xen-tools/files/xendomains.confd b/app-emulation/xen-tools/files/xendomains.confd
deleted file mode 100644
index f1d810d..0000000
--- a/app-emulation/xen-tools/files/xendomains.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/xendomains
-
-# Directory of domains to boot. AUTODIR should contain one or more symlinks
-# to domain config files in /etc/xen
-
-AUTODIR=/etc/xen/auto
-
diff --git a/app-emulation/xen-tools/files/xendomains.initd b/app-emulation/xen-tools/files/xendomains.initd
deleted file mode 100644
index 6b408f9..0000000
--- a/app-emulation/xen-tools/files/xendomains.initd
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-opts="start stop status restart"
-
-depend() {
- need xend
- after dhcp
-}
-
-get_domname() {
- local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alnum:]_\.-]+)\"?\W*;?/\1/p' "${1}" | tail -n 1)
-
- if [[ -z ${name_from_file} ]] ; then
- basename "${1}"
- else
- echo ${name_from_file}
- fi
-}
-
-is_running() {
- /usr/sbin/xm list "${1}" >/dev/null 2>&1
-}
-
-using_screen() {
- [[ "${SCREEN}" == "yes" || "${SCREEN}" == "YES" ]]
-}
-
-set_screen_cmd() {
- screen_cmd="screen -q -r ${SCREEN_NAME:=xen} -X"
-}
-
-start() {
- set_screen_cmd
-
- einfo "Starting Xen domains from ${AUTODIR:=/etc/xen/auto}"
- if using_screen ; then
- ebegin "Creating screen session to hold domain consoles"
- ( screen -d -m -S ${SCREEN_NAME} -t dom0 \
- && ${screen_cmd} zombie dr \
- && logrotate -f /etc/xen/xen-consoles.logrotate \
- && ${screen_cmd} logfile /var/log/xen-consoles/%t.log \
- && ${screen_cmd} logfile flush ${SCREEN_LOG_INTERVAL:-1} \
- && ${screen_cmd} log on \
- && ${screen_cmd} deflog on ) >/dev/null
- if [[ $? -ne 0 ]] ; then
- eend 1
- return 1
- else
- eend
- fi
- 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 using_screen ; then
- ${screen_cmd} screen -t ${name} xm create ${dom} -c
- else
- xm create --quiet ${dom}
- fi
- eend $?
- else
- einfo " Not starting domain ${name} - already running"
- fi
- done
-}
-
-stop() {
- set_screen_cmd
-
- einfo "Shutting down Xen domains from ${AUTODIR:=/etc/xen/auto}"
- # 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 using_screen ; then
- ebegin "Closing screen session ${SCREEN_NAME}"
- ${screen_cmd} quit
- eend $?
- fi
-}
-
-status() {
- /usr/sbin/xm list
-}