1 |
patrick 09/04/26 13:16:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xen-3.3.1.ebuild |
5 |
Log: |
6 |
Bump to 3.3.1. Fixes other half of #254931 |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.59 app-emulation/xen/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/ChangeLog?rev=1.59&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/ChangeLog?rev=1.59&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/ChangeLog?r1=1.58&r2=1.59 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v |
19 |
retrieving revision 1.58 |
20 |
retrieving revision 1.59 |
21 |
diff -u -r1.58 -r1.59 |
22 |
--- ChangeLog 26 Apr 2009 13:02:31 -0000 1.58 |
23 |
+++ ChangeLog 26 Apr 2009 13:16:10 -0000 1.59 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-emulation/xen |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.58 2009/04/26 13:02:31 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.59 2009/04/26 13:16:10 patrick Exp $ |
29 |
+ |
30 |
+*xen-3.3.1 (26 Apr 2009) |
31 |
+ |
32 |
+ 26 Apr 2009; Patrick Lauer <patrick@g.o> +xen-3.3.1.ebuild: |
33 |
+ Bump to 3.3.1. Fixes other half of #254931 |
34 |
|
35 |
26 Apr 2009; Patrick Lauer <patrick@g.o> |
36 |
+files/xen-3.3.0-warning-fix.patch, xen-3.3.0: |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-emulation/xen/xen-3.3.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.3.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/xen/xen-3.3.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: xen-3.3.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.3.1.ebuild,v 1.1 2009/04/26 13:16:10 patrick Exp $ |
50 |
|
51 |
inherit mount-boot flag-o-matic toolchain-funcs |
52 |
|
53 |
DESCRIPTION="The Xen virtual machine monitor" |
54 |
HOMEPAGE="http://xen.org/" |
55 |
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~x86" |
60 |
IUSE="debug custom-cflags pae acm flask xsm" |
61 |
|
62 |
RDEPEND="|| ( sys-boot/grub |
63 |
sys-boot/grub-static ) |
64 |
>=sys-kernel/xen-sources-2.6.18" |
65 |
PDEPEND="~app-emulation/xen-tools-${PV}" |
66 |
|
67 |
RESTRICT="test" |
68 |
|
69 |
# Approved by QA team in bug #144032 |
70 |
QA_WX_LOAD="boot/xen-syms-${PV}" |
71 |
|
72 |
pkg_setup() { |
73 |
if [[ -z ${XEN_TARGET_ARCH} ]]; then |
74 |
if use x86 && use amd64; then |
75 |
die "Confusion! Both x86 and amd64 are set in your use flags!" |
76 |
elif use x86; then |
77 |
export XEN_TARGET_ARCH="x86_32" |
78 |
elif use amd64; then |
79 |
export XEN_TARGET_ARCH="x86_64" |
80 |
else |
81 |
die "Unsupported architecture!" |
82 |
fi |
83 |
fi |
84 |
|
85 |
if use xsm ; then |
86 |
export "XSM_ENABLE=y" |
87 |
use acm && export "ACM_SECURITY=y" |
88 |
if use flask ; then |
89 |
! use acm && export "FLASK_ENABLE=y" |
90 |
use acm && ewarn "Both acm and flask XSM specified, defaulting to acm." |
91 |
fi |
92 |
elif use acm || use flask ; then |
93 |
ewarn "acm and flask require USE=xsm to be set, dropping use flags" |
94 |
fi |
95 |
} |
96 |
|
97 |
src_unpack() { |
98 |
unpack ${A} |
99 |
cd "${S}" |
100 |
|
101 |
# if the user *really* wants to use their own custom-cflags, let them |
102 |
if use custom-cflags; then |
103 |
einfo "User wants their own CFLAGS - removing defaults" |
104 |
# try and remove all the default custom-cflags |
105 |
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \ |
106 |
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \ |
107 |
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \ |
108 |
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \ |
109 |
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \ |
110 |
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \ |
111 |
-i {} \; |
112 |
fi |
113 |
} |
114 |
|
115 |
src_compile() { |
116 |
local myopt |
117 |
use debug && myopt="${myopt} debug=y" |
118 |
use pae && myopt="${myopt} pae=y" |
119 |
|
120 |
if use custom-cflags; then |
121 |
filter-flags -fPIE -fstack-protector |
122 |
replace-flags -O3 -O2 |
123 |
else |
124 |
unset CFLAGS |
125 |
fi |
126 |
|
127 |
# Send raw LDFLAGS so that --as-needed works |
128 |
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed" |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
local myopt |
133 |
use debug && myopt="${myopt} debug=y" |
134 |
use pae && myopt="${myopt} pae=y" |
135 |
|
136 |
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install || die "install failed" |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
elog "Official Xen Guide and the unoffical wiki page:" |
141 |
elog " http://www.gentoo.org/doc/en/xen-guide.xml" |
142 |
elog " http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" |
143 |
|
144 |
if use pae; then |
145 |
echo |
146 |
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!" |
147 |
fi |
148 |
} |