diff options
author | Chris Bainbridge <chrb@gentoo.org> | 2006-05-22 16:00:41 +0000 |
---|---|---|
committer | Chris Bainbridge <chrb@gentoo.org> | 2006-05-22 16:00:41 +0000 |
commit | 5d06f04f02835e494c23191eb5ea8b54908731cd (patch) | |
tree | 58e3a40fcf99f0d9eed8a3060733267afb72e0a1 /app-emulation/xen | |
parent | Add hardened patch, thanks to Solar in bug #130167 (diff) | |
download | gentoo-2-5d06f04f02835e494c23191eb5ea8b54908731cd.tar.gz gentoo-2-5d06f04f02835e494c23191eb5ea8b54908731cd.tar.bz2 gentoo-2-5d06f04f02835e494c23191eb5ea8b54908731cd.zip |
Add hardened patch, thanks to Solar in bug #130167
(Portage version: 2.1_rc1-r4)
(Unsigned Manifest commit)
Diffstat (limited to 'app-emulation/xen')
-rw-r--r-- | app-emulation/xen/Manifest | 49 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.1-r4 | 1 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.1-r5 | 3 | ||||
-rw-r--r-- | app-emulation/xen/files/digest-xen-3.0.1_p9029 | 3 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.1-r4.ebuild | 116 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.1-r5.ebuild | 90 | ||||
-rw-r--r-- | app-emulation/xen/xen-3.0.1_p9029.ebuild | 90 |
7 files changed, 22 insertions, 330 deletions
diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest index 248ce716367b..59dc88d29568 100644 --- a/app-emulation/xen/Manifest +++ b/app-emulation/xen/Manifest @@ -1,45 +1,40 @@ -MD5 ab0e329079ae6c25ba978b125ab01c33 ChangeLog 5985 -RMD160 5f85525cca17090cc272c01c809c7a31e1eeb042 ChangeLog 5985 -SHA256 324ec4b2ea2d5488112d06e356d5ea08bce5b48efd5a700b4c02bb242cf010f6 ChangeLog 5985 -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 -MD5 f286994bc4b6be508d4a9e943b44794b files/digest-xen-3.0.1-r5 235 -RMD160 77a42023b130ceef29f79a0c28742a7e8731eadf files/digest-xen-3.0.1-r5 235 -SHA256 2bdbb205f6f9f9ed4a9a06093a63768214a9d14df48cf32e0f10c2cbfbfb8098 files/digest-xen-3.0.1-r5 235 -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 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 +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 SHA256 f18ffab16a457fa721d11933c75f8288f6958c88c2669857c7c11d5107ba2951 +EBUILD xen-3.0.2.ebuild 2491 RMD160 61d8a1ddd94d18c9693496a65421fd16e2e4b767 SHA1 774730b5fd219f796f0f30cc32f51dbfd1c2f9a3 SHA256 f6162fef9aeb9938e7d3fe01c909d55db889605ea5146c894f6ae19142881541 +MD5 34a03ee98e719f76e5ed65c71e8361df xen-3.0.2.ebuild 2491 +RMD160 61d8a1ddd94d18c9693496a65421fd16e2e4b767 xen-3.0.2.ebuild 2491 +SHA256 f6162fef9aeb9938e7d3fe01c909d55db889605ea5146c894f6ae19142881541 xen-3.0.2.ebuild 2491 +MISC ChangeLog 6196 RMD160 964813237fb890d634a30546c9a521d9f48a20b4 SHA1 9916d66a8d4c7d5ff03e7714a13119ca60ef4ac2 SHA256 47f53dc9b2d5747362477fc805b7b9fab60e8f82b45b70b5d85cdaa69bfbc000 +MD5 f6d68ef328c1b2f4196a2dc8da5a7bef ChangeLog 6196 +RMD160 964813237fb890d634a30546c9a521d9f48a20b4 ChangeLog 6196 +SHA256 47f53dc9b2d5747362477fc805b7b9fab60e8f82b45b70b5d85cdaa69bfbc000 ChangeLog 6196 +MISC metadata.xml 340 RMD160 1e505cf59523843b2a5172e50c9c79f4023c6c54 SHA1 4aea63139fc1e9b5f91de64d99905b97517ebcd0 SHA256 1f3de54b689b51f835575a577ab5fc233e54b555dbee2b76b4b6b432c30dda2f MD5 f68bf4749b57b06634857aa467b4c813 metadata.xml 340 RMD160 1e505cf59523843b2a5172e50c9c79f4023c6c54 metadata.xml 340 SHA256 1f3de54b689b51f835575a577ab5fc233e54b555dbee2b76b4b6b432c30dda2f metadata.xml 340 -MD5 d250b02a29030b2e3ed193ba5109865a xen-3.0.1-r4.ebuild 3005 -RMD160 9227ddd18faa2ba6ef7130a7121a29ececbacadc xen-3.0.1-r4.ebuild 3005 -SHA256 dcff71432cc2bca2bd85e71c28c59f087184f876862fd2b069828ad3984f5376 xen-3.0.1-r4.ebuild 3005 -MD5 e2bbac44200cdfcd90bf22eafd18f8c5 xen-3.0.1-r5.ebuild 2514 -RMD160 94acb0f6be5c4b5bd0b9bffc95a2f72928e4433b xen-3.0.1-r5.ebuild 2514 -SHA256 e1f71b0d9e846579baa33980e05bbe2ebe84c0d8d3ca19a7f155c67a12d0077b xen-3.0.1-r5.ebuild 2514 -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 -MD5 cffe1dbcbb638d2c03bee04dc851474b xen-3.0.2.ebuild 2397 -RMD160 b0493fadda62f25005f0df9fa0e0149977d9377e xen-3.0.2.ebuild 2397 -SHA256 8805c0e9acb45753bd8d39fe9ac25a4601ea956a724ceee0f877d72dc4ff8b7a xen-3.0.2.ebuild 2397 +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 diff --git a/app-emulation/xen/files/digest-xen-3.0.1-r4 b/app-emulation/xen/files/digest-xen-3.0.1-r4 deleted file mode 100644 index 2e700fc09ce3..000000000000 --- a/app-emulation/xen/files/digest-xen-3.0.1-r4 +++ /dev/null @@ -1 +0,0 @@ -MD5 d30f17294957d8c0234f8a4ce6d68671 xen-3.0.1-src.tgz 4631469 diff --git a/app-emulation/xen/files/digest-xen-3.0.1-r5 b/app-emulation/xen/files/digest-xen-3.0.1-r5 deleted file mode 100644 index c7c0c449d579..000000000000 --- a/app-emulation/xen/files/digest-xen-3.0.1-r5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d30f17294957d8c0234f8a4ce6d68671 xen-3.0.1-src.tgz 4631469 -RMD160 f68960aed74b7ceae3f7b435af05c273263363ee xen-3.0.1-src.tgz 4631469 -SHA256 4ea553ea07c46ba5cf53c693472f988eb644d85e1b2ed7a9c49a392eeb2733ad xen-3.0.1-src.tgz 4631469 diff --git a/app-emulation/xen/files/digest-xen-3.0.1_p9029 b/app-emulation/xen/files/digest-xen-3.0.1_p9029 deleted file mode 100644 index 8d1f70052bf1..000000000000 --- a/app-emulation/xen/files/digest-xen-3.0.1_p9029 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d8183137f5cffdb1078c675c8b05369e xen-unstable-9029.tar.bz2 3450223 -RMD160 8face26212998bfe5965ddbab4ced697a0d5fc61 xen-unstable-9029.tar.bz2 3450223 -SHA256 1a1871deda3cfd91b07eaf4d6263083ce7615d3999b44a56e689e46f3075ea86 xen-unstable-9029.tar.bz2 3450223 diff --git a/app-emulation/xen/xen-3.0.1-r4.ebuild b/app-emulation/xen/xen-3.0.1-r4.ebuild deleted file mode 100644 index 59739f19683c..000000000000 --- a/app-emulation/xen/xen-3.0.1-r4.ebuild +++ /dev/null @@ -1,116 +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.1-r4.ebuild,v 1.1 2006/03/05 17:01:34 chrb Exp $ - -inherit mount-boot flag-o-matic - -DESCRIPTION="The Xen virtual machine monitor and Xend daemon" -HOMEPAGE="http://xen.sourceforge.net" -SRC_URI="http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-3.0.1-src.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="doc debug screen custom-cflags pae" - -DEPEND="sys-apps/iproute2 - net-misc/bridge-utils - dev-lang/python - net-misc/curl - sys-libs/zlib - doc? ( - dev-tex/latex2html - media-gfx/transfig - ) - screen? ( - app-misc/screen - app-admin/logrotate - ) - sys-devel/dev86 - || ( sys-fs/udev sys-apps/hotplug )" - -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" - for f in Makefile Rules.mk Config.mk; do - # try and remove all the default custom-cflags - find ${S} -name ${f} -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 {} \; - done - # odd fixes - sed -e "s/int mode/int mode=-1/" -i ${S}/tools/misc/xc_shadow.c - fi - - cat ${FILESDIR}/gentoo-makefile-targets >> ${S}/Makefile -} - -src_compile() { - local myopt - if use debug; then - myopt="${myopt} debug=y" - fi - - if use pae; then - myopt="${myopt} XEN_TARGET_X86_PAE=y" - fi - - if ! use custom-cflags; then - unset CFLAGS - fi - filter-flags -fPIE -fstack-protector - - make ${myopt} gentoo-compile || die "compile failed" - - if use doc; then - sh ./docs/check_pkgs || die "package check failed" - make ${myopt} -C docs || die "compiling docs failed" - fi -} - -src_install() { - local myopt="XEN_PYTHON_NATIVE_INSTALL=1" - - if use pae; then - myopt="${myopt} XEN_TARGET_X86_PAE=y" - fi - - make DESTDIR=${D} ${myopt} gentoo-install || die "install xen failed" - - if use doc; then - make DESTDIR=${D} -C docs install || die "install docs failed" - # Rename doc/xen to the Gentoo-style doc/xen-x.y - mv ${D}/usr/share/doc/{${PN},${PF}} - fi - - newinitd ${FILESDIR}/xend-init xend - newconfd ${FILESDIR}/xend-conf xend - newconfd ${FILESDIR}/xendomains-conf xendomains - newinitd ${FILESDIR}/xendomains-init xendomains - - if use screen; then - sed -i -e 's/SCREEN="no"/SCREEN="yes"/' ${D}/etc/init.d/xendomains - fi - - # xend expects these to exist - for dir in /var/run/xenstored /var/lib/xenstored /var/xen/dump; do - dodir ${dir} - keepdir ${dir} - done -} - -pkg_postinst() { - einfo "Please visit the Xen and Gentoo wiki:" - einfo "http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo" - - if use pae; then - einfo "" - einfo "This is a PAE build of Xen. It will *only* boot PAE kernels!" - fi -} diff --git a/app-emulation/xen/xen-3.0.1-r5.ebuild b/app-emulation/xen/xen-3.0.1-r5.ebuild deleted file mode 100644 index 1e432c527320..000000000000 --- a/app-emulation/xen/xen-3.0.1-r5.ebuild +++ /dev/null @@ -1,90 +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.1-r5.ebuild,v 1.2 2006/03/24 23:58:42 agriffis 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 -} diff --git a/app-emulation/xen/xen-3.0.1_p9029.ebuild b/app-emulation/xen/xen-3.0.1_p9029.ebuild deleted file mode 100644 index 79a9bc6182ca..000000000000 --- a/app-emulation/xen/xen-3.0.1_p9029.ebuild +++ /dev/null @@ -1,90 +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.1_p9029.ebuild,v 1.2 2006/03/24 23:58:42 agriffis 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 -} |