diff options
Diffstat (limited to 'app-emulation/xen')
-rw-r--r-- | app-emulation/xen/Manifest | 47 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.2 | 3 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.2-r1 | 3 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.3 | 3 | ||||
-rw-r--r-- | app-emulation/xen/files/gentoo-makefile-targets | 8 | ||||
-rw-r--r-- | app-emulation/xen/files/xen-3.0.2-nopiessp.patch | 10 | ||||
-rw-r--r-- | app-emulation/xen/files/xend-conf | 7 | ||||
-rw-r--r-- | app-emulation/xen/files/xend-init | 42 | ||||
-rw-r--r-- | app-emulation/xen/files/xendomains-conf | 6 | ||||
-rw-r--r-- | app-emulation/xen/files/xendomains-init | 68 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.2-r1.ebuild | 91 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.2.ebuild | 108 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.3.ebuild | 94 |
13 files changed, 0 insertions, 490 deletions
diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest deleted file mode 100644 index bc57764..0000000 --- a/app-emulation/xen/Manifest +++ /dev/null @@ -1,47 +0,0 @@ -AUX gentoo-makefile-targets 118 RMD160 0ffa087d15a57377b5a32356bdb4f264e4f04f01 SHA1 63012c9b267a270d6dc23ca4a216ece0849318e2 SHA256 21f04a03aeeba9862740669f77b846f1c4745e6d1e070e582fb9312b364f2df9 -MD5 cbd69f44ee0f0649253e7ab4af11d909 files/gentoo-makefile-targets 118 -RMD160 0ffa087d15a57377b5a32356bdb4f264e4f04f01 files/gentoo-makefile-targets 118 -SHA256 21f04a03aeeba9862740669f77b846f1c4745e6d1e070e582fb9312b364f2df9 files/gentoo-makefile-targets 118 -AUX xen-3.0.2-nopiessp.patch 443 RMD160 6143efc84069b1d66c9b3fcc625e7c44b27dbce6 SHA1 d838ea87de1cbf13f3984cc05502a2491acd5c26 SHA256 b206dbb8bf55ece33a851f8c9de511d5abd031825b339df9446ef5689f05c088 -MD5 eb2960e0572c35e38e37d9f16282cfed files/xen-3.0.2-nopiessp.patch 443 -RMD160 6143efc84069b1d66c9b3fcc625e7c44b27dbce6 files/xen-3.0.2-nopiessp.patch 443 -SHA256 b206dbb8bf55ece33a851f8c9de511d5abd031825b339df9446ef5689f05c088 files/xen-3.0.2-nopiessp.patch 443 -AUX xend-conf 347 RMD160 8cc17df2b744342f728f933dea16f61295d52ad0 SHA1 867bd23679aa3a9e99bd5101125de9ebc31c8453 SHA256 3a3f6c87fd4bda91ec944ec7d81e3240e3669f7a089280c5c27385b7062a37ae -MD5 16d372298e94a8eef72c1943b1ed5561 files/xend-conf 347 -RMD160 8cc17df2b744342f728f933dea16f61295d52ad0 files/xend-conf 347 -SHA256 3a3f6c87fd4bda91ec944ec7d81e3240e3669f7a089280c5c27385b7062a37ae files/xend-conf 347 -AUX xend-init 844 RMD160 9d95e22738333da4767c8aa5a53fd993ef79c977 SHA1 a0aba81287cd7b664983474baafd487f00c13b33 SHA256 9f6c5f5e3ca65599cccf2058399a2723b1fdf1d58d572e93ba1303c9915ae6f3 -MD5 b16cb40a29cb947b2a9b76cc8f9f3894 files/xend-init 844 -RMD160 9d95e22738333da4767c8aa5a53fd993ef79c977 files/xend-init 844 -SHA256 9f6c5f5e3ca65599cccf2058399a2723b1fdf1d58d572e93ba1303c9915ae6f3 files/xend-init 844 -AUX xendomains-conf 180 RMD160 17f791a0369e9e1f1cbd15c7513a4ca14d3f5f18 SHA1 b0448805ff0dd0567f5b7d5ce3832553852e6f11 SHA256 78427be48c93ec744206df4dcafaedb584dee8a200efbbc54cba432d96cf0ca3 -MD5 11ef318e35fcfed12931f182fc01955a files/xendomains-conf 180 -RMD160 17f791a0369e9e1f1cbd15c7513a4ca14d3f5f18 files/xendomains-conf 180 -SHA256 78427be48c93ec744206df4dcafaedb584dee8a200efbbc54cba432d96cf0ca3 files/xendomains-conf 180 -AUX xendomains-init 1671 RMD160 e2dbb7b4da5ff8be60532e5a393988f47f28c036 SHA1 9146eaec333f3e4b49066d1b34a390bd27b98cc5 SHA256 19aac7da0ba103ae800ed10b7d151912b3a9476edf63c3651073a197ea291e49 -MD5 a3c0c26c30ce1271b439661b68ca9e74 files/xendomains-init 1671 -RMD160 e2dbb7b4da5ff8be60532e5a393988f47f28c036 files/xendomains-init 1671 -SHA256 19aac7da0ba103ae800ed10b7d151912b3a9476edf63c3651073a197ea291e49 files/xendomains-init 1671 -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-3.0.2-r1.ebuild 2513 RMD160 de1bf27d680c6fca08040d08595ce8aebf3e71d2 SHA1 1baf5e3e35ee86d8e958b8d32b1fb12207f8a97d SHA256 b5f532a44bdcdb4258e89abd8a9752a3b534d9a17a3a7c9bfc4a40e052691f5b -MD5 a5d26c8799ac4141a64d7bdf05213ab2 xen-3.0.2-r1.ebuild 2513 -RMD160 de1bf27d680c6fca08040d08595ce8aebf3e71d2 xen-3.0.2-r1.ebuild 2513 -SHA256 b5f532a44bdcdb4258e89abd8a9752a3b534d9a17a3a7c9bfc4a40e052691f5b xen-3.0.2-r1.ebuild 2513 -EBUILD xen-3.0.2.ebuild 2813 RMD160 a976c13cccc9dd0fabab095c7a6f495f58a05728 SHA1 70afd3b5b3306a90b2960854f35524c3f961013d SHA256 2d6ff896b947f7235d4a61689cadb499b2783177ad7eda9f1ffee7ea800c4eae -MD5 824b5794d05d8bccb56eee25012dc09b xen-3.0.2.ebuild 2813 -RMD160 a976c13cccc9dd0fabab095c7a6f495f58a05728 xen-3.0.2.ebuild 2813 -SHA256 2d6ff896b947f7235d4a61689cadb499b2783177ad7eda9f1ffee7ea800c4eae xen-3.0.2.ebuild 2813 -EBUILD xen-3.0.3.ebuild 2448 RMD160 b75f4477bd36333c716bf26c1f93481a66e4d0e9 SHA1 72c0074e673bfe320233333fb984d03842825d10 SHA256 14d6957a8ebf5a6284fe24f707b0ba6fe0c37360898f8dc3b0657d593245851f -MD5 7f1b7f15867ccfc9695cae7046fc9ef9 xen-3.0.3.ebuild 2448 -RMD160 b75f4477bd36333c716bf26c1f93481a66e4d0e9 xen-3.0.3.ebuild 2448 -SHA256 14d6957a8ebf5a6284fe24f707b0ba6fe0c37360898f8dc3b0657d593245851f xen-3.0.3.ebuild 2448 -MD5 6618adc624bc8ab64af0f4555c33529a files/digest-xen-3.0.2 235 -RMD160 ad3a1d2a82c40b0bca653431c2d7964809580e5e files/digest-xen-3.0.2 235 -SHA256 274536fc8a3cb10fda114e533062b0dbddcda4ae15f52033a39b85785b221794 files/digest-xen-3.0.2 235 -MD5 6618adc624bc8ab64af0f4555c33529a files/digest-xen-3.0.2-r1 235 -RMD160 ad3a1d2a82c40b0bca653431c2d7964809580e5e files/digest-xen-3.0.2-r1 235 -SHA256 274536fc8a3cb10fda114e533062b0dbddcda4ae15f52033a39b85785b221794 files/digest-xen-3.0.2-r1 235 -MD5 12dd00fa0bb9c2e41430eb5ce8982919 files/digest-xen-3.0.3 241 -RMD160 49d94fe9ef9ea6b0c3b47ab119fe58bfee581e89 files/digest-xen-3.0.3 241 -SHA256 bd445798febcfd9845666be6a1f8a0969d951389aa4984f6a8445eab6bac43fd files/digest-xen-3.0.3 241 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 724d092..0000000 --- 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.0.2-r1 b/app-emulation/xen/files/digest-xen-3.0.2-r1 deleted file mode 100644 index 724d092..0000000 --- a/app-emulation/xen/files/digest-xen-3.0.2-r1 +++ /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.0.3 b/app-emulation/xen/files/digest-xen-3.0.3 deleted file mode 100644 index c045c5b..0000000 --- a/app-emulation/xen/files/digest-xen-3.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 75d895858a467405114599abf94d60a2 xen-3.0.3_0-src.tgz 5465968 -RMD160 528020035ee32144b52bcdfccc8c44708b0196ea xen-3.0.3_0-src.tgz 5465968 -SHA256 7220bb4b0474e530559f558fcb4da8c88f1095c8e2f420602a26dfea5020443f xen-3.0.3_0-src.tgz 5465968 diff --git a/app-emulation/xen/files/gentoo-makefile-targets b/app-emulation/xen/files/gentoo-makefile-targets deleted file mode 100644 index 2f6defe..0000000 --- a/app-emulation/xen/files/gentoo-makefile-targets +++ /dev/null @@ -1,8 +0,0 @@ - -gentoo-compile: - $(MAKE) -C xen - $(MAKE) -C tools - -gentoo-install: - $(MAKE) -C xen install - $(MAKE) -C tools install 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 2735124..0000000 --- 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-conf b/app-emulation/xen/files/xend-conf deleted file mode 100644 index e82a727..0000000 --- a/app-emulation/xen/files/xend-conf +++ /dev/null @@ -1,7 +0,0 @@ -# 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-conf,v 1.1 2005/09/07 18:18:59 chrb Exp $ - -# set to YES to enable the web frontend to xend on port 8080. -# To change the port, edit /usr/lib/python/xen/sv/params.py -XENSV="NO" diff --git a/app-emulation/xen/files/xend-init b/app-emulation/xen/files/xend-init deleted file mode 100644 index 8d35528..0000000 --- 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 bbc8ff6..0000000 --- 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 9e68970..0000000 --- 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 -} diff --git a/app-emulation/xen/xen-3.0.2-r1.ebuild b/app-emulation/xen/xen-3.0.2-r1.ebuild deleted file mode 100644 index 145446f..0000000 --- a/app-emulation/xen/xen-3.0.2-r1.ebuild +++ /dev/null @@ -1,91 +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/xen-3.0.2.ebuild,v 1.6 2006/08/04 15:09:42 chrb Exp $ - -inherit mount-boot flag-o-matic - -DESCRIPTION="The Xen hypervisor" -HOMEPAGE="http://www.xensource.com/xen/xen/" -SRC_URI="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/${P}-src.tgz" -S="${WORKDIR}/xen-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug custom-cflags pae" - -DEPEND="sys-devel/dev86" -RDEPEND="" - -RESTRICT="test" - -pkg_setup() { - if [[ -z ${XEN_TARGET_ARCH} ]] ; then - if use x86; then - export XEN_TARGET_ARCH="x86_32" - elif use amd64; then - export XEN_TARGET_ARCH="x86_64" - else - die "Unsupported architecture!" - fi - fi -} - -src_unpack() { - unpack ${A} - # 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 FLAG in -fno-stack-protector -fno-stack-protector-all -nopie -fnopie ; - do - test-flag-CC ${FLAG} && HARDFLAGS="${HARDFLAGS} ${FLAG}" - done - sed -i "s/^CFLAGS-y += -g -D__XEN__$/&\nCFLAGS-y += ${HARDFLAGS}/" "${S}"/xen/Rules.mk -} - -src_compile() { - local myopt - use debug && myopt="${myopt} debug=y" - use pae && myopt="${myopt} pae=y" - - if use custom-cflags; then - filter-flags -fPIE -fstack-protector -fstack-protector-all - else - unset CFLAGS - fi - - # Send raw LDFLAGS so that --as-needed works - emake LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" -} - -src_install() { - local myopt - use pae && myopt="${myopt} pae=y" - - make DESTDIR="${D}" ${myopt} install-xen \ - || die "install failed" -} - -pkg_postinst() { - einfo "Please visit the Xen and Gentoo wiki:" - einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" - - echo - einfo "Note: xen tools have been moved to app-emulation/xen-tools;" - einfo "you need to install that package to manage your domains." - - if use pae; then - echo - einfo "This is a PAE build of Xen. It will *only* boot PAE kernels!" - fi -} diff --git a/app-emulation/xen/xen-3.0.2.ebuild b/app-emulation/xen/xen-3.0.2.ebuild deleted file mode 100644 index d0fb237..0000000 --- a/app-emulation/xen/xen-3.0.2.ebuild +++ /dev/null @@ -1,108 +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/xen-3.0.2.ebuild,v 1.7 2006/10/06 23:20:25 aross Exp $ - -inherit mount-boot flag-o-matic - -DESCRIPTION="The Xen virtual machine monitor" -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/${P}-src.tgz" - S="${WORKDIR}/xen-${PV}" -fi - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug custom-cflags pae hardened" - -DEPEND="sys-devel/dev86" -RDEPEND="" - -RESTRICT="test" - -pkg_setup() { - if [[ -z ${XEN_TARGET_ARCH} ]]; then - if use x86; then - export XEN_TARGET_ARCH="x86_32" - elif use amd64; then - export XEN_TARGET_ARCH="x86_64" - else - die "Unsupported architecture!" - fi - fi -} - - -src_unpack() { - unpack ${A} - # 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 - if use hardened; then - cd "${S}" - epatch "${FILESDIR}/${PN}"-3.0.2-nopiessp.patch - fi -} - -src_compile() { - local myopt - use debug && myopt="${myopt} debug=y" - use pae && myopt="${myopt} pae=y" - - if use custom-cflags; then - filter-flags -fPIE -fstack-protector - else - unset CFLAGS - fi - - # Send raw LDFLAGS so that --as-needed works - emake LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" -} - -src_install() { - local myopt - use pae && myopt="${myopt} pae=y" - - make DESTDIR="${D}" ${myopt} install-xen \ - || die "install failed" - - # for upstream change tracking - if [[ -n ${XEN_UNSTABLE} ]]; then - dodoc "${S}"/XEN-VERSION - fi -} - -pkg_postinst() { - einfo "Please visit the Xen and Gentoo wiki:" - einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" - - echo - einfo "Note: xen tools have been moved to app-emulation/xen-tools;" - einfo "you need to install that package to manage your domains." - - if [[ -n ${XEN_UNSTABLE} ]]; then - echo - einfo "This is a snapshot of the xen-unstable tree." - einfo "Please report bugs in xen itself (and not the packaging) to" - einfo "bugzilla.xensource.com" - fi - - if use pae; then - echo - einfo "This is a PAE build of Xen. It will *only* boot PAE kernels!" - fi -} diff --git a/app-emulation/xen/xen-3.0.3.ebuild b/app-emulation/xen/xen-3.0.3.ebuild deleted file mode 100644 index 39f1e26..0000000 --- a/app-emulation/xen/xen-3.0.3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit mount-boot flag-o-matic - -DESCRIPTION="The Xen virtual machine monitor" -HOMEPAGE="http://xen.sourceforge.net" -XEN_VERSION="3.0.3_0" -SRC_URI="http://bits.xensource.com/oss-xen/release/${XEN_VERSION/_/-}/src.tgz/xen-${XEN_VERSION}-src.tgz" -S="${WORKDIR}/xen-${XEN_VERSION}-src" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug custom-cflags pae hardened" - -DEPEND="sys-devel/dev86" -RDEPEND="sys-boot/grub" -PDEPEND="~app-emulation/xen-tools-${PV}" - -RESTRICT="test" - -# Approved by QA team in bug #144032 -QA_WX_LOAD="boot/xen-syms-${XEN_VERSION/_/-}" - -pkg_setup() { - if [[ -z ${XEN_TARGET_ARCH} ]]; then - if use x86; then - export XEN_TARGET_ARCH="x86_32" - elif use amd64; then - export XEN_TARGET_ARCH="x86_64" - else - die "Unsupported architecture!" - fi - fi -} - - -src_unpack() { - unpack ${A} - # 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 - if use hardened; then - cd "${S}" - epatch "${FILESDIR}/${PN}"-3.0.2-nopiessp.patch - fi -} - -src_compile() { - local myopt - use debug && myopt="${myopt} debug=y" - use pae && myopt="${myopt} pae=y" - - if use custom-cflags; then - filter-flags -fPIE -fstack-protector - else - unset CFLAGS - fi - - # Send raw LDFLAGS so that --as-needed works - emake LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" -} - -src_install() { - local myopt - use pae && myopt="${myopt} pae=y" - - make DESTDIR="${D}" ${myopt} install-xen || die "install failed" -} - -pkg_postinst() { - einfo "Please visit the Xen and Gentoo wiki:" - einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" - - echo - einfo "Note: xen tools have been moved to app-emulation/xen-tools;" - einfo "you need to install that package to manage your domains." - - if use pae; then - echo - einfo "This is a PAE build of Xen. It will *only* boot PAE kernels!" - fi -} |