diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-11-24 06:56:15 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-11-24 06:56:15 +0000 |
commit | 2293edb3ecad159f1f2971d4599a191f83c82fc0 (patch) | |
tree | 3d02619d6cbd032714db1e60354ba4f3ef4d9aef /app-emulation | |
parent | Version Bump (diff) | |
download | historical-2293edb3ecad159f1f2971d4599a191f83c82fc0.tar.gz historical-2293edb3ecad159f1f2971d4599a191f83c82fc0.tar.bz2 historical-2293edb3ecad159f1f2971d4599a191f83c82fc0.zip |
bump
Package-Manager: portage-2.2.0/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xen/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/xen/Manifest | 10 | ||||
-rw-r--r-- | app-emulation/xen/xen-4.3.1.ebuild | 135 |
3 files changed, 147 insertions, 5 deletions
diff --git a/app-emulation/xen/ChangeLog b/app-emulation/xen/ChangeLog index 7be8a3a5aa97..01d15ec45318 100644 --- a/app-emulation/xen/ChangeLog +++ b/app-emulation/xen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/xen # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.132 2013/11/22 12:32:12 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.133 2013/11/24 06:55:49 idella4 Exp $ + +*xen-4.3.1 (24 Nov 2013) + + 24 Nov 2013; Ian Delaney <idella4@gentoo.org> +xen-4.3.1.ebuild: + bump *xen-4.3.0-r3 (22 Nov 2013) diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest index a855f989bb7f..c1a3b0e898cb 100644 --- a/app-emulation/xen/Manifest +++ b/app-emulation/xen/Manifest @@ -29,14 +29,16 @@ AUX xen-CVE-2013-4494-XSA-73.patch 3723 SHA256 1c070e66d1bea3c109f22ea4db2e8828f AUX xen-CVE-2013-6375-XSA-78.patch 926 SHA256 63aeab44272c17d079c9b8e22732c8c31e767236bb0ceb73d9f6226c5ae31d35 SHA512 d6aa117c570881015bdb93efaaf386fc4f141ef012017ab0a51bd63a024f5e9eef3856243235533d46ac7b67bffd10e0913a06f65e194581a6a70cbd6a6bf5ca WHIRLPOOL 16b04f8191b2243c05541742a98dface491ebe8db47e050eb14e74352182bfd02a86867c1ad644b3cef209008cfbb5d0499073447fbef49c5de129e1bdf519d6 DIST xen-4.2.2.tar.gz 15602746 SHA256 c9bfe91a5e72f8545acebad9889d64368020359bfe18044c0e683133e55ae005 SHA512 4943b18016ed8c2b194a3b55e6655b3b734b39ffb8cb7ee0a0580f2f4460a1d0e92e1de8ac23f5186272914fad1650586af51fd7c3644d0310eb16f2e11c5e80 WHIRLPOOL 519eb87cb2da694696cbc3e72070a0a3bdb07c46fa266d855d8379eec3a92adfa4d434af3ac01c37834ce4a9174081a6c40030b185a70902329b185cb8d0bbea DIST xen-4.3.0.tar.gz 16425975 SHA256 e1e9faabe4886e2227aacdbde74410653b233d66642ca1972a860cbec6439961 SHA512 e6b8f64e15e48704ea5cee5585cd6151fe6a5a62bc4670caf0b762c1aa71c9598db236c637ac34c42c92c6e8a5001acdd3d9d4b9305401a26273279358f481d6 WHIRLPOOL a91f14bc6535127ab17d3867b92fb3e008089453d5ba7996fd1d0b5c6d32a881c07df320f018c928e919f28de7b4ab4757c6bdb020e0cdb7d67960d4cab9dda0 +DIST xen-4.3.1.tar.gz 16429423 SHA256 3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d26a9fd SHA512 f5250ad5ad3defc5dc1207eb6208a3928128ef57ac4162018bd92b750dc1df1eaaf37835528aca33a0f9e04c82d5f8c4ba79c03a1780d2b72cbb90cc26f77275 WHIRLPOOL 087390786cea9aee273a5d81988436303991aa5ea92faf111d3b619517368f8c8feef84f4f8c602cac723980a344eb90414887db4ca88a2ee14bc6b0253e36ca EBUILD xen-4.2.2-r1.ebuild 3756 SHA256 2ad7f2faed080ea2e4d991d7dd902826059e4a22b444e2f1b74b5bc1e54d50a2 SHA512 c6041bf852ffa425d93134e9c08334c71e96dc9cb795c8bc7a5eb485fa46d55f5de61ff9db55d484cbe0b641d9e850e4eb7c0eefd1b021ed21a050e1e78c4177 WHIRLPOOL 86e7873cc84b01064c1e7cd46003a43104257a3f7330a1433d85ce841b658a0a35e18f9284b8520a497b408d4b5ab6ce76cb1af67fb42019b86517f4b51f2d61 EBUILD xen-4.3.0-r3.ebuild 4044 SHA256 23b21ea42e9fe6d14e0968bb17141be17bd87ffee0d0caf6320cb762f82653b4 SHA512 bd44bdf4c9c2b1c4472efb69f301148f16017b7eba92fff21989282eda2685af9fbe4545457ffdfdb1561463c0e9516abf0a987d2b3e1f7e21da4ba6e0aa47cb WHIRLPOOL 4c9afb2a3d1b3ea0f4588449b270d440bbd5064d85c1ea00efde666c074f39a0c4dee062c75b8412b985bec2c8507a84395fd9e07493c4ea8790e7a77d15188a -MISC ChangeLog 24361 SHA256 e9236957cfe1bb592a309e7b969fb212660bde1dc8158623df207ef9060b16dd SHA512 8834962078e78f9b914f97e984277feaea2397dacd1c28ed42273a8e2692893b894b32dab1ade25f1112839dc037070b05176a55b9098a29454636af9801a4b6 WHIRLPOOL 490cd53a2644138d0f1712579b5e7ea65e6585a9eae9948802fb6de0b7cbbb1e1883e2dc56dec93f245ae7a596a1c3b5c24ac022517a379bea2ad59236cf516d +EBUILD xen-4.3.1.ebuild 3787 SHA256 2389fb7a95b00fa50505851b27896b3784e02cb3a76227398eee2e934bce5c98 SHA512 d7b335bd24c91acfe6c9e62e3ea818e2d2e59da5f40b4f5fa47708199b479244f6ac0d95398a5d1fd293325df0f3e038b8f7e9a3bb460843ccbae169ec9d1802 WHIRLPOOL 49115a6dd5ac153b27c445ce8063cb36300c77c26afad18faef40d2172e87c138f3317b9497a7750d29b5e249f1a71e59620822f74d65fdd9d6f6688abce2f87 +MISC ChangeLog 24462 SHA256 e1398dfa60fc14e8bb7361c28e1513e4bbcdd3067a3992f6e81e337d6c59fdda SHA512 d159e79d208a4e4a2421e6051475a07bf5ef594e9a113b1326ee35385a89db7993349ba35ad441be07393abbe8dfac59b70ec3b11a101f2919f88c7b45bcdb01 WHIRLPOOL b95bc3a9d8f330a19d2f58cbdbae0447dec288bd25420baadf4b01df505f4c99cfddb534f42aae43423b3cb53543d903068218fb5effde056a5f7696e70d2e13 MISC metadata.xml 572 SHA256 0f510aa5a7261b30e5eff6961fa9dd95b19db63e0eea93cfad1d47460318ba07 SHA512 8bbca8d353aa3b556783bddd4822b97c0372b169edb89ff2907a00895e014ff9dba9e8efccf04f45de8a69ce63849505455e9735c224700d1ebf93aa3f097ac5 WHIRLPOOL 1f5517720776198868cf5a0165b9daf2ee48187bde4ad4d86533c65898da608bde779289df7ef83eaf076e0ce284607fc21f61fc3ca0baaf86873ca400491d0e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlKPTt0ACgkQso7CE7gHKw3HEgCfc73vLDjU1Wv/xBh2RDLoXuuX -rnIAn34r5JDtwfGl7xAKvdMUpS1lJ7Ne -=FJEE +iEYEAREIAAYFAlKRowMACgkQso7CE7gHKw3KpQCgwwQtEWPP5UjKuniYarwDToCG +u1cAnj0gsXmnvCqb8NSHV/lRq4gu8Odo +=xVcB -----END PGP SIGNATURE----- diff --git a/app-emulation/xen/xen-4.3.1.ebuild b/app-emulation/xen/xen-4.3.1.ebuild new file mode 100644 index 000000000000..a295b6497696 --- /dev/null +++ b/app-emulation/xen/xen-4.3.1.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.3.1.ebuild,v 1.1 2013/11/24 06:55:49 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +if [[ $PV == *9999 ]]; then + KEYWORDS="" + REPO="xen-unstable.hg" + EHG_REPO_URI="http://xenbits.xensource.com/${REPO}" + S="${WORKDIR}/${REPO}" + live_eclass="mercurial" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz" +fi + +inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass} + +DESCRIPTION="The Xen virtual machine monitor" +HOMEPAGE="http://xen.org/" +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug efi flask pae xsm" + +DEPEND="${PYTHON_DEPS} + efi? ( >=sys-devel/binutils-2.22[multitarget] ) + !efi? ( >=sys-devel/binutils-2.22[-multitarget] )" +RDEPEND="" +PDEPEND="~app-emulation/xen-tools-${PV}" + +RESTRICT="test" + +# Approved by QA team in bug #144032 +QA_WX_LOAD="boot/xen-syms-${PV}" + +REQUIRED_USE="flask? ( xsm )" + +pkg_setup() { + python-any-r1_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 + + if use flask ; then + export "XSM_ENABLE=y" + export "FLASK_ENABLE=y" + elif use xsm ; then + export "XSM_ENABLE=y" + fi +} + +src_prepare() { + # Drop .config and fix gcc-4.6 + epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-fix_dotconfig-gcc.patch + + if use efi; then + epatch "${FILESDIR}"/${PN}-4.2-efi.patch + export EFI_VENDOR="gentoo" + export EFI_MOUNTPOINT="boot" + fi + + # 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 {} \; || die "failed to re-set custom-cflags" + fi + + # not strictly necessary to fix this + sed -i 's/, "-Werror"//' "${S}/tools/python/setup.py" || die "failed to re-set setup.py" + + # Security patches + epatch "${FILESDIR}"/${PN}-CVE-2013-4375-XSA-71.patch \ + "${FILESDIR}"/${PN}-CVE-2013-4494-XSA-73.patch \ + "${FILESDIR}"/${PN}-4.3-CVE-2013-6375-XSA-75.patch \ + "${FILESDIR}"/${PN}-CVE-2013-6375-XSA-78.patch + + epatch_user +} + +src_configure() { + 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 +} + +src_compile() { + # Send raw LDFLAGS so that --as-needed works + emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt} +} + +src_install() { + local myopt + use debug && myopt="${myopt} debug=y" + use pae && myopt="${myopt} pae=y" + + # The 'make install' doesn't 'mkdir -p' the subdirs + if use efi; then + mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die + fi + + emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install +} + +pkg_postinst() { + elog "Official Xen Guide and the unoffical wiki page:" + elog " http://www.gentoo.org/doc/en/xen-guide.xml" + elog " http://en.gentoo-wiki.com/wiki/Xen/" + + use pae && ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!" + use efi && einfo "The efi executable is installed in boot/efi/gentoo" +} |