ChangeLog

# ChangeLog for app-emulation/xen
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.54 2008/05/04 18:59:13 rbu Exp $

*xen-3.2.1 (04 May 2008)

04 May 2008; Robert Buchholz -xen-3.1.2.ebuild,
+xen-3.2.1.ebuild:
Version bump to the Xen 3.2.1 release (bug #219339), thanks to Troy Bowman
for testig.

*xen-3.2.0 (08 Feb 2008)

08 Feb 2008; Michael Marineau +xen-3.2.0.ebuild:
Add version 3.2.0

*xen-3.1.3 (03 Feb 2008)

03 Feb 2008; Michael Marineau +xen-3.1.3.ebuild:
Version bump to 3.1.3

03 Feb 2008; Michael Marineau xen-3.1.2.ebuild:
Filter -O3 from CFLAGS when using custom cflags.

*xen-3.1.2 (17 Nov 2007)

17 Nov 2007; Michael Marineau -xen-3.0.4_p1.ebuild,
-xen-3.1.0.ebuild, -xen-3.1.1.ebuild, +xen-3.1.2.ebuild:
Bump to 3.1.2, fixes CVE-2007-5906, Bug #198995. Clean out old versions.

*xen-3.1.1 (15 Oct 2007)

15 Oct 2007; Michael Marineau +xen-3.1.1.ebuild:
Version bump.

27 Aug 2007; Michael Marineau xen-3.0.4_p1.ebuild,
xen-3.1.0.ebuild:
Die if both x86 and amd64 are set in USE.

*xen-3.1.0 (24 Aug 2007)

24 Aug 2007; Michael Marineau
-xen-3.0.2.ebuild, +xen-3.1.0.ebuild:
Copy Xen 3.1.0 related ebuilds over from the Xen project overlay.
Remove Xen 3.0.2.

10 Jul 2007; Michael Marineau xen-3.0.4_p1.ebuild:
Fix building with --as-needed

09 Jul 2007; Michael Marineau xen-3.0.4_p1.ebuild:
It turns out that xen 3.0.4 correctly handles hardened flags, remove useless
code from the ebuild.

25 Jun 2007; Michael Marineau xen-3.0.4_p1.ebuild:
Fix typo in -fno-pie flag.

*xen-3.0.4_p1 (02 May 2007)

02 May 2007; Michael Marineau
-files/gentoo-makefile-targets, -files/xend-conf, xen-3.0.2.ebuild,
+xen-3.0.4_p1.ebuild:
Add xen 3.0.4 from the marineam-xen overlay, cleanup the 3.0.2 ebuild a bit.

25 Jan 2007; Marius Mauch xen-3.0.2.ebuild:
Replacing einfo with elog

06 Oct 2006; xen-3.0.2.ebuild:
Allow compilation under AMD64 with a 64 bit kernel but 32 bit userland.
Thanks to tonich and Sven Wegener
in bug #143999

16 Aug 2006; Andrew Ross metadata.xml:
Convert from individual maintainers to xen herd.

11 Aug 2006; Andrew Ross metadata.xml:
Add myself as a maintainer

04 Aug 2006; Chris Bainbridge xen-3.0.2.ebuild:
Remove in package testing - tests are for xen-tools, not xen hypervisor. Bug
#141227, thanks to Andrew Ross

02 Jun 2006; Roy Marples xen-3.0.2.ebuild:
Send raw LDFLAGS via make to support --as-needed, #135140

22 May 2006; +files/xen-3.0.2-nopiessp.patch,
-xen-3.0.1-r4.ebuild, -xen-3.0.1-r5.ebuild, -xen-3.0.1_p9029.ebuild,
xen-3.0.2.ebuild:
Add hardened patch, thanks to Solar in bug #130167

10 Apr 2006; xen-3.0.2.ebuild:
fix pae, again, #124355

10 Apr 2006; xen-3.0.2.ebuild:
remove sed fix, #129429

10 Apr 2006; files/digest-xen-3.0.2, Manifest:
new digest

*xen-3.0.2 (09 Apr 2006)

09 Apr 2006; +xen-3.0.2.ebuild:
bump, #129191

*xen-3.0.1_p9029 (24 Mar 2006)
*xen-3.0.1-r5 (24 Mar 2006)

24 Mar 2006; Aron Griffis +xen-3.0.1-r5.ebuild,
+xen-3.0.1_p9029.ebuild, -xen-9029-r2.ebuild:
Split xen from xen-tools; now this package only installs the hypervisor and
include files. Unify the release and snapshot ebuilds for easier
maintenance. Switch to a snapshot versioning scheme that keeps
release/snapshot versions in order. Add myself as an additional maintainer in
metadata.xml

*xen-9029-r2 (05 Mar 2006)
*xen-3.0.1-r4 (05 Mar 2006)

05 Mar 2006; Chris Bainbridge -xen-3.0.1-r3.ebuild, +xen-3.0.1-r4.ebuild,
-xen-9029-r1.ebuild, +xen-9029-r2.ebuild:
add ekeep for pre-created xen dirs, bug #123862

*xen-9029-r1 (03 Mar 2006)
*xen-3.0.1-r3 (03 Mar 2006)

03 Mar 2006; Chris Bainbridge +files/gentoo-makefile-targets,
-xen-3.0.1-r2.ebuild, +xen-3.0.1-r3.ebuild, -xen-9029.ebuild,
+xen-9029-r1.ebuild:
more pae fixes

*xen-9029 (02 Mar 2006)
*xen-3.0.1-r2 (02 Mar 2006)

02 Mar 2006; Chris Bainbridge -xen-3.0.1-r1.ebuild, +xen-3.0.1-r2.ebuild,
-xen-8885.ebuild, +xen-9029.ebuild:
Bump unstable. Add PAE support thanks to Christopher G. Stach II (bug #124355).

*xen-8885 (19 Feb 2006)

19 Feb 2006; Chris Bainbridge +xen-8885.ebuild:
new xen-unstable snapshot

*xen-3.0.1-r1 (05 Feb 2006)

05 Feb 2006; Chris Bainbridge -xen-3.0.1.ebuild, +xen-3.0.1-r1.ebuild:
use the official 3.0.1 tarballs

04 Feb 2006; Chris Bainbridge xen-3.0.1.ebuild:
fix snapshot

*xen-3.0.1 (03 Feb 2006)

03 Feb 2006; Chris Bainbridge +xen-3.0.1.ebuild:
bump

*xen-3.0.0-r2 (23 Dec 2005)

23 Dec 2005; Chris Bainbridge files/xend-init, files/xendomains-init,
-xen-2.0.7.ebuild, -xen-3.0.0-r1.ebuild, +xen-3.0.0-r2.ebuild:
Bugs #115970 (/var/xen/dump), #115969 (dhcp), #116332 (hotplug). Removed
xen-2 as bugs are not being fixed upstream since the xen-3.0.0 release.

21 Dec 2005; Alex Howells xen-3.0.0-r1.ebuild:
Keyword ~amd64 added, works fine for me!

08 Dec 2005; Chris Bainbridge xen-3.0.0-r1.ebuild:
rename cflags -> custom-cflags (like mplayer, grub..)

*xen-3.0.0-r1 (08 Dec 2005)

08 Dec 2005; Chris Bainbridge -xen-3.0.0.ebuild, +xen-3.0.0-r1.ebuild:
add dirs expected by xend, bug #114856

07 Dec 2005; Chris Bainbridge xen-3.0.0.ebuild:
Fix CFLAGS for hardened bug #114716

*xen-3.0.0 (06 Dec 2005)

06 Dec 2005; Chris Bainbridge -xen-3.0.0_pre20051027.ebuild,
-xen-3.0.0_pre20051122.ebuild, -xen-3.0.0_pre20051128.ebuild,
-xen-3.0.0_pre20051128-r1.ebuild, +xen-3.0.0.ebuild:
New 3.0.0 release.

*xen-3.0.0_pre20051128-r1 (30 Nov 2005)

30 Nov 2005; Chris Bainbridge xen-3.0.0_pre20051128.ebuild,
+xen-3.0.0_pre20051128-r1.ebuild:
support user specified cflags (must be forced to override defaults with
'cflags' USE flag

*xen-3.0.0_pre20051128 (28 Nov 2005)

28 Nov 2005; Chris Bainbridge +xen-3.0.0_pre20051128.ebuild:
bump

*xen-3.0.0_pre20051122 (22 Nov 2005)

22 Nov 2005; Chris Bainbridge +xen-3.0.0_pre20051122.ebuild:
version bump

03 Nov 2005; Chris Bainbridge -xen-3.0.0_pre20051010.ebuild,
-xen-3.0.0_pre20051010-r1.ebuild:
remove old cvs snapshots

*xen-3.0.0_pre20051027 (27 Oct 2005)

27 Oct 2005; Chris Bainbridge files/xendomains-init,
+xen-3.0.0_pre20051027.ebuild:
version bump

*xen-3.0.0_pre20051010-r1 (26 Oct 2005)

26 Oct 2005; Chris Bainbridge
+xen-3.0.0_pre20051010-r1.ebuild:
added depend on sys-devel/dev86

*xen-3.0.0_pre20051010 (10 Oct 2005)

10 Oct 2005; Chris Bainbridge
-xen-3.0.0_pre20051007.ebuild, +xen-3.0.0_pre20051010.ebuild:
bump

10 Oct 2005; Chris Bainbridge
xen-3.0.0_pre20051007.ebuild:
add disabling cflags einfo

10 Oct 2005; Chris Bainbridge
xen-3.0.0_pre20051007.ebuild:
re-add hardened flags.

*xen-3.0.0_pre20051007 (08 Oct 2005)

08 Oct 2005; Chris Bainbridge files/xend-init,
files/xendomains-conf, files/xendomains-init,
-xen-3.0.0_pre20050929.ebuild, +xen-3.0.0_pre20051007.ebuild:
-m Version bump xen-3, now uses udev rules. Add support for screen consoles
in xendomains. No longer use broken --halt to bring down domains.

*xen-3.0.0_pre20050929 (29 Sep 2005)

29 Sep 2005; Chris Bainbridge
-xen-3.0.0_pre20050919.ebuild, +xen-3.0.0_pre20050929.ebuild:
cvs bump

22 Sep 2005; Chris Bainbridge xen-2.0.7.ebuild,
-xen-3.0.0_pre20050906.ebuild:
Add hardened flags #106731 and remove old snapshot

20 Sep 2005; Chris Bainbridge files/xend-init,
files/xendomains-init:
Change init scripts to absolute paths.

*xen-3.0.0_pre20050919 (19 Sep 2005)

19 Sep 2005; Chris Bainbridge
+xen-3.0.0_pre20050919.ebuild:
Version bump

*xen-3.0.0_pre20050906 (07 Sep 2005)
*xen-2.0.7 (07 Sep 2005)

07 Sep 2005; Chris Bainbridge +files/xend-conf,
+files/xend-init, +files/xendomains-conf, +files/xendomains-init,
+metadata.xml, +xen-2.0.7.ebuild, +xen-3.0.0_pre20050906.ebuild:
New package. Thanks to the many who contributed in bug #70161.

Manifest

DIST xen-3.1.3.tar.bz2 5852287 RMD160 df36208c8e709c61f2b4a74d18d2e81531ab4721 SHA1 5542d2bd07afaf80d70c85f7b75c6e6b432be08b SHA256 b94ab7a07269848dec8904625f348405c4af4ac7b579a402b2d830503ecd53a1
DIST xen-3.2.0.tar.bz2 5452441 RMD160 4b3a144d6cc128ea4d523c9383f29b14587ba310 SHA1 23b962a79104769ed2e3293a279b285e2a27c36e SHA256 6f774a2dd55af81edb54b074ad3210438ab01568fe1c0b8eb68ad13ef1dd01e8
DIST xen-3.2.1.tar.gz 6356315 RMD160 9ddda1185e6a19a6ccd73f5dde15640d2e31b125 SHA1 753f3d79d7ae2175e78b261765a9935db6255996 SHA256 dc3c057acab2173330db88d1f1d0587caf5717a4a882b93694a1bc90c71ad12a
EBUILD xen-3.1.3.ebuild 2543 RMD160 d0f4eb913ebd5e9721698ad9c6f3baec75cb8372 SHA1 94fac9d73c522205c04ae37d500d7dc326317959 SHA256 dad9c783e17507e9461347add4529100c82ca331025d7485c4ca55527fc3ceb7
EBUILD xen-3.2.0.ebuild 2469 RMD160 c5c39b990c71212b9d17f93be90545af45b83eaf SHA1 b3c36e95c99659844a7b0157bf78f4161b08152c SHA256 6a96da89a2b681bf1f85f69b210abec1eacee8f3fd5b41605c0cddaf6ba14f80
EBUILD xen-3.2.1.ebuild 2477 RMD160 59ebd11ed3a10a021cb222deee100c2a24072e4c SHA1 9c686a6ac19feb3a50c83415b3a2921e21f5f384 SHA256 ac8eff2df51615731f424b2421202abbae0f3fe11018903cf933b505f659d285
MISC ChangeLog 8950 RMD160 f37b3c7096d872bc1ddc6d18fff874f5cf9f08fc SHA1 95b2387a13dd0353e2deefe76719fb7b071df4e0 SHA256 6805937d63ac800ae31f191fc72a3cf39d73229acdcfbd8bb6eaba01d58f05b2
MISC metadata.xml 156 RMD160 bb062b1ba5554779dcfd0e73baf533ce9fbcdf68 SHA1 e6da014f2004758c7a806592ef9450489eebf593 SHA256 4a030777459245372bda9f7925f3a5ed3ef2b29b77e1a2971f3400ac2059b1e2

metadata.xml




xen

xen-3.1.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.1.3.ebuild,v 1.1 2008/02/03 01:47:55 marineam Exp $

inherit mount-boot flag-o-matic

DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://www.xensource.com/xen/xen/"
SRC_URI="mirror://gentoo/xen-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug custom-cflags pae"

RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )
>=sys-kernel/xen-sources-2.6.18"
PDEPEND="~app-emulation/xen-tools-${PV}"

RESTRICT="test"

# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"

pkg_setup() {
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif 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
}

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
replace-flags -O3 -O2
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 debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"

emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install || die "install failed"
}

pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"

echo
elog "Note: xen tools have been moved to app-emulation/xen-tools"

if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}

xen-3.2.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.2.0.ebuild,v 1.1 2008/02/08 22:19:23 marineam Exp $

inherit mount-boot flag-o-matic

DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://www.xensource.com/xen/xen/"
SRC_URI="mirror://gentoo/xen-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug custom-cflags pae"

RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )
>=sys-kernel/xen-sources-2.6.18"
PDEPEND="~app-emulation/xen-tools-${PV}"

RESTRICT="test"

# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"

pkg_setup() {
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif 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
}

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
replace-flags -O3 -O2
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 debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"

emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install || die "install failed"
}

pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"

if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}

xen-3.2.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.2.1.ebuild,v 1.1 2008/05/04 18:59:13 rbu Exp $

inherit mount-boot flag-o-matic

DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug custom-cflags pae"

RDEPEND="|| ( sys-boot/grub
sys-boot/grub-static )
>=sys-kernel/xen-sources-2.6.18"
PDEPEND="~app-emulation/xen-tools-${PV}"

RESTRICT="test"

# Approved by QA team in bug #144032
QA_WX_LOAD="boot/xen-syms-${PV}"

pkg_setup() {
if [[ -z ${XEN_TARGET_ARCH} ]]; then
if use x86 && use amd64; then
die "Confusion! Both x86 and amd64 are set in your use flags!"
elif 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
}

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
replace-flags -O3 -O2
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 debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"

emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install || die "install failed"
}

pkg_postinst() {
elog "Official Xen Guide and the unoffical wiki page:"
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo"

if use pae; then
echo
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
fi
}