From: Michael Marineau Date: Wed, 2 May 2007 03:31:45 +0000 (+0000) Subject: Add 2.6.16.33 and .49 for Xen 3.0.4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1a4c2fd7fbe236e70460a5a0eb2166af0dfa80a;p=gentoo.git Add 2.6.16.33 and .49 for Xen 3.0.4 Package-Manager: portage-2.1.1-r2 --- diff --git a/sys-kernel/xen-sources/ChangeLog b/sys-kernel/xen-sources/ChangeLog index 2b97d8126ca9..6f52be773628 100644 --- a/sys-kernel/xen-sources/ChangeLog +++ b/sys-kernel/xen-sources/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/xen-sources # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/ChangeLog,v 1.37 2007/01/27 07:44:34 aross Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/ChangeLog,v 1.38 2007/05/02 03:31:45 marineam Exp $ + +*xen-sources-2.6.16.49 (02 May 2007) +*xen-sources-2.6.16.33 (02 May 2007) + + 02 May 2007; Michael Marineau + +xen-sources-2.6.16.33.ebuild, +xen-sources-2.6.16.49.ebuild: + Add 2.6.16.33 and .39 for Xen 3.0.4 *xen-sources-2.6.16.28-r2 (27 Jan 2007) diff --git a/sys-kernel/xen-sources/Manifest b/sys-kernel/xen-sources/Manifest index 56ba697bf360..1efef26894b9 100644 --- a/sys-kernel/xen-sources/Manifest +++ b/sys-kernel/xen-sources/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX CVE-2005-4352.patch 391 RMD160 b07dea8156cb170b108120650034b4fcaf1f3077 SHA1 674f939f044d305f1973648420cc24d2e830fc7a SHA256 a4952a6c668cf28254d636e7c40ac8d83caa882bf952bcc0996d8035644318fb MD5 47fa422c2de58b41190cd0cbf9964e05 files/CVE-2005-4352.patch 391 RMD160 b07dea8156cb170b108120650034b4fcaf1f3077 files/CVE-2005-4352.patch 391 @@ -32,7 +35,11 @@ RMD160 613f13d96b8fbfca43dc893ff90cf0f9c8745cf0 files/xen-sources-2.6.16.28-CVE- SHA256 ff0c2e31316fd9f33fea8a40349733ce2e307838b78cf9a2c9a95495e185a855 files/xen-sources-2.6.16.28-CVE-2006-6333.patch 1070 DIST linux-2.6.16.tar.bz2 40845005 RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 SHA1 bef21cd5063a648f33a99a26f4742dd05eb4dca2 SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 DIST patch-2.6.16.28.bz2 76693 RMD160 5235c0b5f9665a279f5bf5d42f942cef215e822f SHA1 7b1d450cf300ec6788919e4b5601389e258d28cc SHA256 6b05fd7121a86a5a6cfd0177200259eeb9a3d276a3cb16ba8cf2acdd747fa6be +DIST patch-2.6.16.33.bz2 119729 RMD160 00168955e8219783b39896ba53ebbd36361a8e8a SHA1 25b107a8cc0d97fc2798482090dccd9701fe0c71 SHA256 25cec957b2057381f61c5d1e6963dd6fab46264cda160cd6550ead3bdb4ccaba +DIST patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 RMD160 5c595e8b4c6565de241a5b3a31f2e34afb24face SHA1 26cc01234bed90f3dc7695dcbbb35e190ba4c864 SHA256 0ce11436602401447763688819c4f62db87cac644e093304b7522b073693f9da +DIST patch-2.6.16.49.bz2 309537 RMD160 4ae48c9432e1ed61d0e882174d8174de9b52593d SHA1 d020057af20817812ebd71dbc67a03d1379b75b8 SHA256 ed6fb9875dc2f263c9f405092713435c91337393b937a2dc8c3c82c7223cfd8d DIST xen-3.0.2-src.tgz 4933621 RMD160 34e4431a981891319f8a5ea0c3f604e7d8d7d7af SHA1 b7e797048b516f8b385afd3da9ae2eded1b8033a SHA256 f18ffab16a457fa721d11933c75f8288f6958c88c2669857c7c11d5107ba2951 +DIST xen-3.0.4_1-src.tgz 6473636 RMD160 f869eec35f6afe0bc9824ce2eb4a600f789d423b SHA1 7ca5af70996215229e143c7563e69b3719284a95 SHA256 6b3842393e69a9c8fcdbc2789d05830aba6f1d108a6f97f1448de4a86f92a5cb DIST xen-sources-2.6.16.28-3.0.2.patch.bz2 467924 RMD160 8b62dc416b08e4ef4a10add18b3287eef856c613 SHA1 56ae78337b7754031aa82cf64b277ff6e320f5a0 SHA256 0f3400e1c877b765fc62453664b80cf2e51002299476d532fe8f6af6db0fdb99 EBUILD xen-sources-2.6.16.28-r1.ebuild 1617 RMD160 6f916500b3f8b0127d57fced94c8fbbc515e3374 SHA1 7f9f57a0a7b9c0d1c629e7d086bfcef21496e4f9 SHA256 72332a391cff4553dc0f4da8d85f3204b310ab5660d46181f0d3349501bc99d9 MD5 29d2470766f3717e27ef32f61422fe23 xen-sources-2.6.16.28-r1.ebuild 1617 @@ -46,10 +53,18 @@ EBUILD xen-sources-2.6.16.28.ebuild 1612 RMD160 e10fd59aae61b3c1c1d256053c166b47 MD5 cdd1574a18b704893fa9dee6e63e59a9 xen-sources-2.6.16.28.ebuild 1612 RMD160 e10fd59aae61b3c1c1d256053c166b47b7f575c7 xen-sources-2.6.16.28.ebuild 1612 SHA256 1579641cae4d4e6cf4ce1c11f4b860b36d2b01ae81ea2ae64e49eb1decb7804c xen-sources-2.6.16.28.ebuild 1612 -MISC ChangeLog 6536 RMD160 8b62cbeb347332fc0c72503066c7d09b354312b9 SHA1 4bb641adaddbfd5aef8016dbbb4eba3a4f6c3050 SHA256 e433ffda58ef920e34b44083627fc7bf65ee049e925aef9e4fdfc88ff67d3b77 -MD5 33f7e63ab31acfd2092c8e8283add39f ChangeLog 6536 -RMD160 8b62cbeb347332fc0c72503066c7d09b354312b9 ChangeLog 6536 -SHA256 e433ffda58ef920e34b44083627fc7bf65ee049e925aef9e4fdfc88ff67d3b77 ChangeLog 6536 +EBUILD xen-sources-2.6.16.33.ebuild 1619 RMD160 62f8818880ea96eae1843447f241ad5956540eb7 SHA1 2edd5f278daf9afa6b27e3e7757b3bb5fffd3b7c SHA256 8227cf95dd96a1b3e550d086a44511323fbcf806448829bd9cd85a99ec46f829 +MD5 d40fac77a545e0e60675533a54404815 xen-sources-2.6.16.33.ebuild 1619 +RMD160 62f8818880ea96eae1843447f241ad5956540eb7 xen-sources-2.6.16.33.ebuild 1619 +SHA256 8227cf95dd96a1b3e550d086a44511323fbcf806448829bd9cd85a99ec46f829 xen-sources-2.6.16.33.ebuild 1619 +EBUILD xen-sources-2.6.16.49.ebuild 859 RMD160 f368103eae44804b7be877a3465cbb45f0f4440b SHA1 93918fc1de5a936ab9b959d1a444552ec423787e SHA256 a5fa0d1909372cc0c6e175680d043071a542d6fe4e68c3e8c45a0f637f9d067c +MD5 ba3a227404cfda5ab91bcb8ac4b5359f xen-sources-2.6.16.49.ebuild 859 +RMD160 f368103eae44804b7be877a3465cbb45f0f4440b xen-sources-2.6.16.49.ebuild 859 +SHA256 a5fa0d1909372cc0c6e175680d043071a542d6fe4e68c3e8c45a0f637f9d067c xen-sources-2.6.16.49.ebuild 859 +MISC ChangeLog 6771 RMD160 e798614ef4e69f38ed3eaa9c2d12c6895940b495 SHA1 c2b039a6c98ca1b90f217677f21756ec374b69cc SHA256 d73a79c95dde89b6e54e4a3e5948f3a0593b05528c0343850267a0ad5e23f7fa +MD5 9d3778aaf07160878a5c92ecb17aedf3 ChangeLog 6771 +RMD160 e798614ef4e69f38ed3eaa9c2d12c6895940b495 ChangeLog 6771 +SHA256 d73a79c95dde89b6e54e4a3e5948f3a0593b05528c0343850267a0ad5e23f7fa ChangeLog 6771 MISC metadata.xml 156 RMD160 bb062b1ba5554779dcfd0e73baf533ce9fbcdf68 SHA1 e6da014f2004758c7a806592ef9450489eebf593 SHA256 4a030777459245372bda9f7925f3a5ed3ef2b29b77e1a2971f3400ac2059b1e2 MD5 559b4095659a2a2a489784de8a6ef95e metadata.xml 156 RMD160 bb062b1ba5554779dcfd0e73baf533ce9fbcdf68 metadata.xml 156 @@ -63,3 +78,16 @@ SHA256 432b14d8eb07be2c7b17c028a5724598eae329997631a5bd3cee8251eec694bb files/di MD5 e2dae1c1afad19bc2176f26ce227e357 files/digest-xen-sources-2.6.16.28-r2 774 RMD160 09ae69cf9d8371ce2c029550634638bc90c97aea files/digest-xen-sources-2.6.16.28-r2 774 SHA256 762405cda08757f9ac33201f825a9997a64a4aef2daf78afc9890e2a10c520fc files/digest-xen-sources-2.6.16.28-r2 774 +MD5 707fecb3c7ba0da784d91b5085543389 files/digest-xen-sources-2.6.16.33 726 +RMD160 b23d1951f2f34444e36efbcd706851bf6879beae files/digest-xen-sources-2.6.16.33 726 +SHA256 4fd98ee4a2c2608c4d4c910cfd6a2976353de973d078e90cd7b3427dd64e277f files/digest-xen-sources-2.6.16.33 726 +MD5 d764599ea5c1b68fe63be37d89512661 files/digest-xen-sources-2.6.16.49 768 +RMD160 c95e530a85c3d4ba130e2e861d26e391f166e635 files/digest-xen-sources-2.6.16.49 768 +SHA256 cb5bf466d9417590decadd22ce06e9a6278d6dbc5cb38600ec73f500d2d32a2b files/digest-xen-sources-2.6.16.49 768 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFGOAYuiP+LossGzjARAlcRAJ91s0XLmdsj2Ptoi6TUIIgeSyxoVwCfWb68 +hNm/0D8iBKzKwwKpeiLF+fk= +=59oK +-----END PGP SIGNATURE----- diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 new file mode 100644 index 000000000000..a7118b89a208 --- /dev/null +++ b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.33 @@ -0,0 +1,9 @@ +MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005 +RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005 +SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005 +MD5 2bbb81b5f82d294f80e98616c65ae086 patch-2.6.16.33.bz2 119729 +RMD160 00168955e8219783b39896ba53ebbd36361a8e8a patch-2.6.16.33.bz2 119729 +SHA256 25cec957b2057381f61c5d1e6963dd6fab46264cda160cd6550ead3bdb4ccaba patch-2.6.16.33.bz2 119729 +MD5 e85e16ad3dc354338e3ac4a8951f9649 xen-3.0.4_1-src.tgz 6473636 +RMD160 f869eec35f6afe0bc9824ce2eb4a600f789d423b xen-3.0.4_1-src.tgz 6473636 +SHA256 6b3842393e69a9c8fcdbc2789d05830aba6f1d108a6f97f1448de4a86f92a5cb xen-3.0.4_1-src.tgz 6473636 diff --git a/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 new file mode 100644 index 000000000000..c8da72398c30 --- /dev/null +++ b/sys-kernel/xen-sources/files/digest-xen-sources-2.6.16.49 @@ -0,0 +1,9 @@ +MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005 +RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005 +SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005 +MD5 a45805635c1e1f53edebe01486761ecc patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +RMD160 5c595e8b4c6565de241a5b3a31f2e34afb24face patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +SHA256 0ce11436602401447763688819c4f62db87cac644e093304b7522b073693f9da patch-2.6.16.33_to_xen-3.0.4_1.bz2 669094 +MD5 e46be5ef52ae991575d45ad433132ac8 patch-2.6.16.49.bz2 309537 +RMD160 4ae48c9432e1ed61d0e882174d8174de9b52593d patch-2.6.16.49.bz2 309537 +SHA256 ed6fb9875dc2f263c9f405092713435c91337393b937a2dc8c3c82c7223cfd8d patch-2.6.16.49.bz2 309537 diff --git a/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild b/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild new file mode 100644 index 000000000000..308d7ade7220 --- /dev/null +++ b/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/xen-sources-2.6.16.33.ebuild,v 1.1 2007/05/02 03:31:45 marineam Exp $ + +ETYPE="sources" +inherit kernel-2 eutils +detect_arch +detect_version + +DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen" +HOMEPAGE="http://www.xensource.com/xen/xen/" +XEN_VERSION="3.0.4_1" +MY_P="xen-${XEN_VERSION}-src" +XEN_URI="http://bits.xensource.com/oss-xen/release/${XEN_VERSION/_/-}/src.tgz/${MY_P}.tgz" +SRC_URI="${KERNEL_URI} ${XEN_URI}" + +KEYWORDS="~x86 ~amd64" + +src_unpack() { + kernel-2_src_unpack + cd "${WORKDIR}" + unpack "${MY_P}.tgz" + + cd "${WORKDIR}"/${MY_P} + sed -e 's:relative_lndir \([^(].*\):cp -dpPR \1/* .:' \ + -i linux-2.6-xen-sparse/mkbuildtree || die + + # Don't munge up EXTRAVERSION + sed -e 's:$$(XENGUEST)::' -i buildconfigs/mk.linux-2.6-xen + + # No need to run oldconfig + sed -e 's:$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) oldconfig::' \ + -i buildconfigs/mk.linux-2.6-xen + + # Move the kernel sources to pristine-linux-${PV} + mv "${WORKDIR}"/linux-${KV} pristine-linux-${PV} || die + touch pristine-linux-${PV}/.valid-pristine || die + + make LINUX_SRC_PATH=${DISTDIR} XEN_ROOT=${WORKDIR}/${MY_P} \ + -f buildconfigs/mk.linux-2.6-xen \ + linux-${PV}-xen/include/linux/autoconf.h || die + mv linux-${PV}-xen "${WORKDIR}"/linux-${KV} || die + rm -rf "${WORKDIR}/${MY_P}" || die +} + +pkg_postinst() { + postinst_sources + + elog "This kernel uses the linux patches released with Xen ${XEN_VERSION}" + elog "It may not work with other versions of Xen" +} diff --git a/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild b/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild new file mode 100644 index 000000000000..f95c1fd21656 --- /dev/null +++ b/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/xen-sources-2.6.16.49.ebuild,v 1.1 2007/05/02 03:31:45 marineam Exp $ + +ETYPE="sources" +UNIPATCH_STRICTORDER="1" +inherit kernel-2 +detect_version + +DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen" +HOMEPAGE="http://www.xensource.com/xen/xen/" + +XEN_VERSION="3.0.4_1" +XEN_BASE_KV="2.6.16.33" +XEN_PATCH="patch-${XEN_BASE_KV}_to_xen-${XEN_VERSION}.bz2" +PATCH_URI="mirror://gentoo/${XEN_PATCH}" +SRC_URI="${KERNEL_URI} ${PATCH_URI}" + +UNIPATCH_LIST="${DISTDIR}/${XEN_PATCH}" + +KEYWORDS="~x86 ~amd64" + +pkg_postinst() { + postinst_sources + + elog "This kernel uses the linux patches released with Xen 3.0.4" + elog "It claims to have a 3.0.2 compatibility option but it may not work." +}