diff options
-rw-r--r-- | app-emulation/xen/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/xen/Manifest | 22 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.2 | 3 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.2.ebuild | 90 |
4 files changed, 108 insertions, 14 deletions
diff --git a/app-emulation/xen/ChangeLog b/app-emulation/xen/ChangeLog index b030bb373122..9688bb55a352 100644 --- a/app-emulation/xen/ChangeLog +++ b/app-emulation/xen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/xen # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.31 2006/04/01 14:30:49 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.32 2006/04/09 21:24:11 chrb Exp $ + +*xen-3.0.2 (09 Apr 2006) + + 09 Apr 2006; <chrb@gentoo.org> +xen-3.0.2.ebuild: + bump, #129191 *xen-3.0.1_p9029 (24 Mar 2006) *xen-3.0.1-r5 (24 Mar 2006) diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest index 3fc7866565bc..5013cf97a1fe 100644 --- a/app-emulation/xen/Manifest +++ b/app-emulation/xen/Manifest @@ -1,9 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 24527d23e7e44437236ced780d538f60 ChangeLog 5657 -RMD160 141a9b2d72defe0009ee3068e8455fbfe8053d3e ChangeLog 5657 -SHA256 515c3c99d33b9f8cf2ede2b0c00cdd5e6a0fb453379121680e2546f3b10c0004 ChangeLog 5657 +MD5 80b4f6aadbb4511955acdc4a33a3071c ChangeLog 5752 +RMD160 035ef8b9f6991f0ba266a4dd3283ddba7c65becf ChangeLog 5752 +SHA256 aa0d50dbb1537fcaf09dac0d650c248d6a4016beacfcae1f9f7c6c9d08894959 ChangeLog 5752 MD5 7934c87d6994825fb9e8ff09a531d0ae files/digest-xen-3.0.1-r4 63 RMD160 897e07562d499a7ac4f74f324031738527ae38e2 files/digest-xen-3.0.1-r4 63 SHA256 b503a88ad3b4457384161967969c3d341ab7f3b09bf0925e925270650fb8d378 files/digest-xen-3.0.1-r4 63 @@ -13,6 +10,9 @@ SHA256 2bdbb205f6f9f9ed4a9a06093a63768214a9d14df48cf32e0f10c2cbfbfb8098 files/di MD5 2ddf0133ffa840ddb0ff85770d2a8770 files/digest-xen-3.0.1_p9029 259 RMD160 79c9eaf49563f42eea950aea8597fa1cc309786e files/digest-xen-3.0.1_p9029 259 SHA256 a035a6a1cd2752da07db13617674322479f049833240b801f7ad828ddab38557 files/digest-xen-3.0.1_p9029 259 +MD5 6923762444fb7024862461773f66c0e6 files/digest-xen-3.0.2 235 +RMD160 81bcec08f6decd6b204f370926fb43afc1b5248d files/digest-xen-3.0.2 235 +SHA256 a1c65be37f1287699413ecebc10f13f7447db890995c5c2fc9cefc0e3845f86e files/digest-xen-3.0.2 235 MD5 cbd69f44ee0f0649253e7ab4af11d909 files/gentoo-makefile-targets 118 RMD160 0ffa087d15a57377b5a32356bdb4f264e4f04f01 files/gentoo-makefile-targets 118 SHA256 21f04a03aeeba9862740669f77b846f1c4745e6d1e070e582fb9312b364f2df9 files/gentoo-makefile-targets 118 @@ -40,10 +40,6 @@ SHA256 e1f71b0d9e846579baa33980e05bbe2ebe84c0d8d3ca19a7f155c67a12d0077b xen-3.0. MD5 27f160e7574f05519ba83c939c613f20 xen-3.0.1_p9029.ebuild 2517 RMD160 f26b29f05521daabfcaa884fb2f98534dca21531 xen-3.0.1_p9029.ebuild 2517 SHA256 8a9a73aa307faa4a0c7d7833af43575a39377558a5be74eb8ca910a3e70d78c3 xen-3.0.1_p9029.ebuild 2517 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFELo6kJrHF4yAQTrARAmDuAKCdQyQoytEnLjXdgvZUqLaVA3xvwwCgix80 -scvVBB6hxvZs8Db9dHV/LBA= -=+Q8E ------END PGP SIGNATURE----- +MD5 e2bbac44200cdfcd90bf22eafd18f8c5 xen-3.0.2.ebuild 2514 +RMD160 94acb0f6be5c4b5bd0b9bffc95a2f72928e4433b xen-3.0.2.ebuild 2514 +SHA256 e1f71b0d9e846579baa33980e05bbe2ebe84c0d8d3ca19a7f155c67a12d0077b xen-3.0.2.ebuild 2514 diff --git a/app-emulation/xen/files/digest-xen-3.0.2 b/app-emulation/xen/files/digest-xen-3.0.2 new file mode 100644 index 000000000000..d0716148e4b2 --- /dev/null +++ b/app-emulation/xen/files/digest-xen-3.0.2 @@ -0,0 +1,3 @@ +MD5 0a09976ccad6c627ef62a53e17780998 xen-3.0.2-src.tgz 4932396 +RMD160 8622621e7c42e2fa61ca15b463977a3dda3138a0 xen-3.0.2-src.tgz 4932396 +SHA256 3aed5343183d49250d5ea8ace7e2536a4860faebe28958beb8e9d864e76d1202 xen-3.0.2-src.tgz 4932396 diff --git a/app-emulation/xen/xen-3.0.2.ebuild b/app-emulation/xen/xen-3.0.2.ebuild new file mode 100644 index 000000000000..57e5bab703ed --- /dev/null +++ b/app-emulation/xen/xen-3.0.2.ebuild @@ -0,0 +1,90 @@ +# 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.1 2006/04/09 21:24:11 chrb 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" + +DEPEND="sys-devel/dev86" +RDEPEND="" + +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 {} \; + # odd fixes + sed -e "s/int mode/int mode=-1/" -i ${S}/tools/misc/xc_shadow.c + fi +} + +src_compile() { + local myopt + use debug && myopt="${myopt} debug=y" + use pae && myopt="${myopt} XEN_TARGET_X86_PAE=y" + + if use custom-cflags; then + filter-flags -fPIE -fstack-protector + else + unset CFLAGS + fi + + emake -C xen ${myopt} || die "compile failed" +} + +src_install() { + local myopt + use pae && myopt="${myopt} XEN_TARGET_X86_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 +} |