From 596ece76b577bec30b7969723f867d34fa70ca9f Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Mon, 28 Nov 2011 18:30:55 +0000 Subject: Move xen-pvgrub-9999 to virtualization overlay (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) --- app-emulation/xen-pvgrub/ChangeLog | 5 +- app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild | 114 ------------------------ 2 files changed, 4 insertions(+), 115 deletions(-) delete mode 100644 app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild (limited to 'app-emulation/xen-pvgrub') diff --git a/app-emulation/xen-pvgrub/ChangeLog b/app-emulation/xen-pvgrub/ChangeLog index a06acb87390e..1e53da07fead 100644 --- a/app-emulation/xen-pvgrub/ChangeLog +++ b/app-emulation/xen-pvgrub/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emulation/xen-pvgrub # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/ChangeLog,v 1.10 2011/11/07 17:40:42 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/ChangeLog,v 1.11 2011/11/28 18:30:55 alexxy Exp $ + + 28 Nov 2011; Alexey Shvetsov -xen-pvgrub-9999.ebuild: + Move xen-pvgrub-9999 to virtualization overlay 07 Nov 2011; Alexey Shvetsov xen-pvgrub-4.1.2.ebuild: Minor sytax changes; rm -j1 from install, added die statements, prepared by diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild b/app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild deleted file mode 100644 index c505281b263c..000000000000 --- a/app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-pvgrub/xen-pvgrub-9999.ebuild,v 1.4 2011/09/21 07:55:04 mgorny Exp $ - -EAPI="2" - -inherit flag-o-matic eutils multilib mercurial git-2 - -DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem" -HOMEPAGE="http://xen.org/" -SRC_URI=" - http://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz - http://downloads.sourceforge.net/project/libpng/zlib/1.2.3/zlib-1.2.3.tar.gz - http://www.kernel.org/pub/software/utils/pciutils/pciutils-2.2.9.tar.bz2 - http://download.savannah.gnu.org/releases/lwip/lwip-1.3.0.tar.gz - ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz - " - -MERC_REPO="xen-unstable.hg" -GIT_REPO="qemu-xen-unstable.git" - -EHG_REPO_URI="http://xenbits.xensource.com/${MERC_REPO}" -EGIT_REPO_URI="git://xenbits.xensource.com/${GIT_REPO}" - -S="${WORKDIR}/${MERC_REPO}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="custom-cflags multilib" - -DEPEND="sys-devel/gettext - sys-devel/gcc" - -RDEPEND=">=app-emulation/xen-${PV}" - -pkg_setup() { - # use emerge to fetch qemu/ioemu - export "CONFIG_QEMU=${WORKDIR}/${GIT_REPO}" -} - -src_unpack() { - default_src_unpack - - # unpack xen - mercurial_src_unpack - - local EGIT_COMMIT=$(sed -n -e "s/QEMU_TAG := \(.*\)/\1/p" "${S}"/Config.mk) - - # unpack ioemu repos - local S=${WORKDIR}/${GIT_REPO} - local EGIT_NOUNPACK=1 - git-2_src_unpack -} - -src_prepare() { - # 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 - - sed -i \ - -e 's/WGET=.*/WGET=cp -t . /' \ - -e "s;\$(XEN_EXTFILES_URL);${DISTDIR};" \ - -e 's/$(LD)/$(LD) LDFLAGS=/' \ - -e 's;install-grub: pv-grub;install-grub:;' \ - "${S}"/stubdom/Makefile || die -} - -src_compile() { - use custom-cflags || unset CFLAGS - if test-flag-CC -fno-strict-overflow; then - append-flags -fno-strict-overflow - fi - - emake -C tools/include || die "prepare libelf headers failed" - - if use x86; then - emake XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || die "compile pv-grub_x86_32 failed" - fi - if use amd64; then - emake XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub || die "compile pv-grub_x86_64 failed" - if use multilib; then - multilib_toolchain_setup x86 - emake XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub || die "compile pv-grub_x86_32 failed" - fi - fi -} - -src_install() { - if use x86; then - emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed" - fi - if use amd64; then - emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_64 failed" - if use multilib; then - emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub || die "install pv-grub_x86_32 failed" - fi - fi -} - -pkg_postinst() { - elog "Official Xen Guide and the unoffical wiki page:" - elog " http://www.gentoo.org/doc/en/xen-guide.xml" - elog " http://en.gentoo-wiki.com/wiki/Xen/" -} -- cgit v1.2.3-65-gdbad