From 2f5a74181b415b79afe3532118e32cbea3e0463e Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Sat, 4 Nov 2006 02:11:27 +0000 Subject: Remove xen-tools-3.0.2-r3, since development will occur on -r4 and above. svn path=/; revision=33 --- app-emulation/xen-tools/Manifest | 11 -- .../xen-tools/files/digest-xen-tools-3.0.2-r3 | 3 - app-emulation/xen-tools/files/xend-init | 42 ----- app-emulation/xen-tools/xen-tools-3.0.2-r3.ebuild | 190 --------------------- 4 files changed, 246 deletions(-) delete mode 100644 app-emulation/xen-tools/files/digest-xen-tools-3.0.2-r3 delete mode 100644 app-emulation/xen-tools/files/xend-init delete mode 100644 app-emulation/xen-tools/xen-tools-3.0.2-r3.ebuild diff --git a/app-emulation/xen-tools/Manifest b/app-emulation/xen-tools/Manifest index 0e11c35..d84ac8e 100644 --- a/app-emulation/xen-tools/Manifest +++ b/app-emulation/xen-tools/Manifest @@ -34,10 +34,6 @@ AUX xen-tools-3.0.2-test-xauthority.patch 2362 RMD160 4974965318e02b151c0ba2cb51 MD5 0f94816ea4743531f5919592ce077c00 files/xen-tools-3.0.2-test-xauthority.patch 2362 RMD160 4974965318e02b151c0ba2cb516b4f246388e465 files/xen-tools-3.0.2-test-xauthority.patch 2362 SHA256 a232f43a7a560b6cdea93daca422addbbc85f3ee75d10895423db3d5d3c6a452 files/xen-tools-3.0.2-test-xauthority.patch 2362 -AUX xend-init 854 RMD160 e19cc95563c3e128255f3575297bc0d35786b5a4 SHA1 820fa00ddea6ba4c42c8d089b61c48b7a37bba80 SHA256 3991a74268dd4bc8b6fe53ed784f3cd764eb7112844dee34f3115bcd15d33377 -MD5 b8d59e2eba1f6b245eb22e39c01df78c files/xend-init 854 -RMD160 e19cc95563c3e128255f3575297bc0d35786b5a4 files/xend-init 854 -SHA256 3991a74268dd4bc8b6fe53ed784f3cd764eb7112844dee34f3115bcd15d33377 files/xend-init 854 AUX xend.initd 993 RMD160 0d24a6f194976e0f7b9173a29c49b45e7acec656 SHA1 30344990846eaaf46b6cc7182f493fe14dcff1ae SHA256 339bcae98acd8137992c91e424d5bb805e11b29e5391215da24241ba710742ef MD5 bf51eb9bcb9a310dd7f9d7b90c0b2970 files/xend.initd 993 RMD160 0d24a6f194976e0f7b9173a29c49b45e7acec656 files/xend.initd 993 @@ -56,10 +52,6 @@ RMD160 ef57e016a0c6076f385ece4da77ea62b18349924 files/xendomains.initd 2272 SHA256 6cdba349028a8af689a960a700f32f2e146334c38ae75b8afd7141dbd160d000 files/xendomains.initd 2272 DIST xen-3.0.2-src.tgz 4933621 RMD160 34e4431a981891319f8a5ea0c3f604e7d8d7d7af SHA1 b7e797048b516f8b385afd3da9ae2eded1b8033a SHA256 f18ffab16a457fa721d11933c75f8288f6958c88c2669857c7c11d5107ba2951 DIST xen-3.0.3_0-src.tgz 5465968 RMD160 528020035ee32144b52bcdfccc8c44708b0196ea SHA1 9505ae3a5a42bc969836de81f501341409291f78 SHA256 7220bb4b0474e530559f558fcb4da8c88f1095c8e2f420602a26dfea5020443f -EBUILD xen-tools-3.0.2-r3.ebuild 5530 RMD160 fe932ebe8722970f5a433a0619552c6ec2f93eaf SHA1 421419794bd2c77c6780d936c91f1c19c000dfb2 SHA256 cff3399ef7a791cafcf2053c00124ab56772b730ac8aa32a088ced857b011c1e -MD5 11588a83ffd3177430efeca5cc668ba3 xen-tools-3.0.2-r3.ebuild 5530 -RMD160 fe932ebe8722970f5a433a0619552c6ec2f93eaf xen-tools-3.0.2-r3.ebuild 5530 -SHA256 cff3399ef7a791cafcf2053c00124ab56772b730ac8aa32a088ced857b011c1e xen-tools-3.0.2-r3.ebuild 5530 EBUILD xen-tools-3.0.2-r4.ebuild 5606 RMD160 4e79b938e0c67f8b74b0c7a59634e0f95408a913 SHA1 1ed7cec4f074a923e85d4abe055f4f68610225f3 SHA256 4bbfe1ce372e6c21e87e7177757b847361669e371dfa9c30ba80590d80527e74 MD5 0ddef7e6f6bf4b683d51ac27aed477c8 xen-tools-3.0.2-r4.ebuild 5606 RMD160 4e79b938e0c67f8b74b0c7a59634e0f95408a913 xen-tools-3.0.2-r4.ebuild 5606 @@ -68,9 +60,6 @@ EBUILD xen-tools-3.0.3.ebuild 5194 RMD160 9552aa8d220179eaa6ff0d50a0d200be13880e MD5 be0cb2908bf004a8eb3d9b470085d73b xen-tools-3.0.3.ebuild 5194 RMD160 9552aa8d220179eaa6ff0d50a0d200be13880e4f xen-tools-3.0.3.ebuild 5194 SHA256 6b3e333d1d22ac88a730148e0876abd5915c2f59d8a3a9803b9ee87550742a61 xen-tools-3.0.3.ebuild 5194 -MD5 6618adc624bc8ab64af0f4555c33529a files/digest-xen-tools-3.0.2-r3 235 -RMD160 ad3a1d2a82c40b0bca653431c2d7964809580e5e files/digest-xen-tools-3.0.2-r3 235 -SHA256 274536fc8a3cb10fda114e533062b0dbddcda4ae15f52033a39b85785b221794 files/digest-xen-tools-3.0.2-r3 235 MD5 6618adc624bc8ab64af0f4555c33529a files/digest-xen-tools-3.0.2-r4 235 RMD160 ad3a1d2a82c40b0bca653431c2d7964809580e5e files/digest-xen-tools-3.0.2-r4 235 SHA256 274536fc8a3cb10fda114e533062b0dbddcda4ae15f52033a39b85785b221794 files/digest-xen-tools-3.0.2-r4 235 diff --git a/app-emulation/xen-tools/files/digest-xen-tools-3.0.2-r3 b/app-emulation/xen-tools/files/digest-xen-tools-3.0.2-r3 deleted file mode 100644 index 724d092..0000000 --- a/app-emulation/xen-tools/files/digest-xen-tools-3.0.2-r3 +++ /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-tools/files/xend-init b/app-emulation/xen-tools/files/xend-init deleted file mode 100644 index 891ab66..0000000 --- a/app-emulation/xen-tools/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-tools/files/xend-init,v 1.1 2006/03/24 23:55:01 agriffis 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-tools/xen-tools-3.0.2-r3.ebuild b/app-emulation/xen-tools/xen-tools-3.0.2-r3.ebuild deleted file mode 100644 index 3457ddd..0000000 --- a/app-emulation/xen-tools/xen-tools-3.0.2-r3.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.0.2-r3.ebuild,v 1.1 2006/08/14 07:11:47 aross Exp $ - -inherit mount-boot flag-o-matic distutils eutils multilib - -DESCRIPTION="Xend daemon and tools" -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/xen-${PV}-src.tgz" - S="${WORKDIR}/xen-${PV}" -fi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc debug screen custom-cflags hardened vnc sdl" - -CDEPEND="dev-lang/python - sys-libs/zlib - sdl? ( media-libs/libsdl ) - vnc? ( media-libs/libsdl )" - -DEPEND="${CDEPEND} - sys-devel/gcc - dev-lang/perl - app-misc/pax-utils - doc? ( - dev-tex/latex2html - media-gfx/transfig - ) - vnc? ( net-libs/libvncserver )" - -RDEPEND="${CDEPEND} - >=app-emulation/xen-3.0.2 - sys-apps/iproute2 - net-misc/bridge-utils - screen? ( - app-misc/screen - app-admin/logrotate - ) - || ( sys-fs/udev sys-apps/hotplug )" - -PYTHON_MODNAME="xen grub" - -pkg_setup() { - if use vnc && ! use sdl ; then - ewarn "You have the 'vnc' USE flag set, but not 'sdl'." - ewarn "VNC functionality requires SDL support, so it" - ewarn "will be enabled anyway." - fi - - if [[ "$(scanelf -s __guard -q `which python`)" ]] ; then - eerror "xend doesn't work when python is built with stack smashing protection (ssp)." - eerror "Please append the following to your CFLAGS and remerge python:" - eerror " '-fno-stack-protector -fno-stack-protector-all'" - die "python was built with stack smashing protection (ssp)" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # 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" - # try and remove all the default custom-cflags - find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -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 {} \; - fi - # for some reason the xen gcc checks don't work on gentoo-hardened - if use hardened; then - HARDFLAGS="-nopie -fno-stack-protector -fno-stack-protector-all" - sed -e "s/CFLAGS :=/CFLAGS := ${HARDFLAGS}/" \ - -i "${S}"/tools/firmware/hvmloader/Makefile \ - "${S}"/tools/firmware/vmxassist/Makefile - fi - - # Disable the 32bit-only vmxassist, if we are not on x86 and we don't support the x86 ABI - if ! use x86 && ! has x86 $(get_all_abis); then - sed -i -e "/SUBDIRS += vmxassist/d" "${S}"tools/firmware/Makefile - fi - - # Fixes for hardened and amd64 - epatch "${FILESDIR}"/${P}-bxclobber.patch - epatch "${FILESDIR}"/${P}-pushpop.patch - - # Allow --as-needed LDFLAGS - epatch "${FILESDIR}/${P}"--as-needed.patch - - # Fix upstream's broken test cases (bug #141233) - epatch "${FILESDIR}/${P}"-test-uuid.patch - epatch "${FILESDIR}/${P}"-test-xauthority.patch -} - -src_compile() { - local myopt myconf - use debug && myopt="${myopt} debug=y" - - myconf="${myconf} $(use_enable vnc)" - if use vnc ; then - myconf="${myconf} --enable-sdl" - else - myconf="${myconf} $(use_enable sdl)" - fi - - use custom-cflags || unset CFLAGS - gcc-specs-ssp && append-flags -fno-stack-protector -fno-stack-protector-all - - (cd tools/ioemu && econf ${myconf}) || die "configure failured" - emake -C tools ${myopt} || die "compile failed" - - if use doc; then - sh ./docs/check_pkgs || die "package check failed" - emake -C docs || die "compiling docs failed" - fi - - emake -C docs man-pages || die "make man-pages failed" -} - -src_install() { - local myopt="XEN_PYTHON_NATIVE_INSTALL=1" - - make DESTDIR="${D}" ${myopt} install-tools \ - || die "install failed" - - # Remove RedHat-specific stuff - rm -rf "${D}"/etc/sysconfig - - if use doc; then - make DESTDIR="${D}" -C docs install || die "install docs failed" - # Rename doc/xen to the Gentoo-style doc/xen-x.y - mv "${D}"/usr/share/doc/{${PN},${PF}} - fi - - doman docs/man?/* - - newinitd "${FILESDIR}"/xend-init xend - newconfd "${FILESDIR}"/xendomains.confd xendomains - newinitd "${FILESDIR}"/xendomains.initd xendomains - - if use screen; then - cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains - cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ - keepdir /var/log/xen-consoles - fi - - # xend expects these to exist - keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump - - - # for upstream change tracking - if [[ -n ${XEN_UNSTABLE} ]]; then - dodoc "${S}"/XEN-VERSION - fi -} - -pkg_postinst() { - elog "Please visit the Xen and Gentoo wiki:" - elog "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" - - if ! built_with_use dev-lang/python ncurses; then - echo - ewarn "NB: Your dev-lang/python is built without USE=ncurses." - ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." - fi - - if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then - echo - elog "xensv is broken upstream (Gentoo bug #142011)." - elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." - fi - - 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 -} -- cgit v1.2.3-65-gdbad