diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/ChangeLog b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/ChangeLog new file mode 100644 index 0000000000..c9ba799d0d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/ChangeLog @@ -0,0 +1,1459 @@ +# ChangeLog for app-emulation/xen-tools +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.255 2014/08/19 14:16:01 dlan Exp $ + +*xen-tools-4.4.0-r9 (19 Aug 2014) +*xen-tools-4.3.2-r6 (19 Aug 2014) +*xen-tools-4.2.4-r7 (19 Aug 2014) + + 19 Aug 2014; Yixun Lan +xen-tools-4.2.4-r7.ebuild, + +xen-tools-4.3.2-r6.ebuild, -xen-tools-4.4.0-r8.ebuild, + +xen-tools-4.4.0-r9.ebuild: + bump upstream patches + + 30 Jul 2014; Samuli Suominen xen-tools-4.2.4-r6.ebuild, + xen-tools-4.3.2-r5.ebuild, xen-tools-4.4.0-r8.ebuild: + Use shorter get_udevdir() instead of the longer deprecated udev_get_udevdir() + version. + +*xen-tools-4.4.0-r8 (29 Jul 2014) + + 29 Jul 2014; Yixun Lan -xen-tools-4.4.0-r7.ebuild, + +xen-tools-4.4.0-r8.ebuild: + bug 518136, disable build x86_emulator under nomultilib profile + + 12 Jul 2014; Yixun Lan -xen-tools-4.2.4-r2.ebuild, + -xen-tools-4.2.4-r4.ebuild, -xen-tools-4.2.4-r5.ebuild, + -xen-tools-4.3.2-r2.ebuild, -xen-tools-4.3.2-r3.ebuild, + -xen-tools-4.3.2-r4.ebuild: + cleanup after stabilization + + 12 Jul 2014; Agostino Sarubbo xen-tools-4.3.2-r5.ebuild: + Stable for amd64, wrt bug #513824 + + 12 Jul 2014; Agostino Sarubbo xen-tools-4.2.4-r6.ebuild: + Stable for x86, wrt bug #513824 + + 12 Jul 2014; Agostino Sarubbo xen-tools-4.2.4-r6.ebuild: + Stable for amd64, wrt bug #513824 + +*xen-tools-4.4.0-r7 (09 Jul 2014) +*xen-tools-4.3.2-r5 (09 Jul 2014) +*xen-tools-4.2.4-r6 (09 Jul 2014) + + 09 Jul 2014; Yixun Lan +xen-tools-4.2.4-r6.ebuild, + +xen-tools-4.3.2-r5.ebuild, -xen-tools-4.4.0-r5.ebuild, + -xen-tools-4.4.0-r6.ebuild, +xen-tools-4.4.0-r7.ebuild: + bump stable/security patches + + 15 Jun 2014; Robin H. Johnson files/xendomains.initd-r2, + files/xenstored.initd: + Fix bashisms. + +*xen-tools-4.4.0-r6 (14 Jun 2014) +*xen-tools-4.3.2-r4 (14 Jun 2014) +*xen-tools-4.2.4-r5 (14 Jun 2014) + + 14 Jun 2014; Yixun Lan +xen-tools-4.2.4-r5.ebuild, + +xen-tools-4.3.2-r4.ebuild, +xen-tools-4.4.0-r6.ebuild: + bump upstream security patches + + 30 May 2014; Yixun Lan xen-tools-4.2.4-r4.ebuild, + xen-tools-4.3.2-r3.ebuild, xen-tools-4.4.0-r5.ebuild: + fix hvm buf for no-multilib profile, bug #351648, thanks Zoltán Halassy, + Spooky Ghost + +*xen-tools-4.4.0-r5 (23 May 2014) +*xen-tools-4.3.2-r3 (23 May 2014) +*xen-tools-4.2.4-r4 (23 May 2014) + + 23 May 2014; Yixun Lan -xen-tools-4.2.4-r3.ebuild, + +xen-tools-4.2.4-r4.ebuild, +xen-tools-4.3.2-r3.ebuild, + -xen-tools-4.4.0-r4.ebuild, +xen-tools-4.4.0-r5.ebuild, + +files/xen-tools-4-anti-seabios-download.patch: + re-introduce bundled seabios with USE=system-seabios flag, bug #510052, + #510492, #510680 + +*xen-tools-4.2.4-r3 (22 May 2014) + + 22 May 2014; Yixun Lan +xen-tools-4.2.4-r3.ebuild, + +files/xen-tools-4.2.4-udev-rules.patch: + fix missing udev rules, bug #510976, thanks Tomoatsu Shimada + + 17 May 2014; Yixun Lan -xen-tools-4.2.3-r1.ebuild, + -xen-tools-4.2.4-r1.ebuild, -xen-tools-4.3.1-r5.ebuild, + -xen-tools-4.3.1-r6.ebuild, -xen-tools-4.3.2-r1.ebuild, + -files/xen-4-CVE-2012-6075-XSA-41.patch, + -files/xen-tools-4-CVE-2014-1950-XSA-88.patch, + -files/xen-4.2.0-anti-download.patch, -files/xen-4-CVE-XSA-86.patch, + -files/xen-4.3-anti-download.patch: + clean old ebuilds + + 17 May 2014; Agostino Sarubbo xen-tools-4.2.4-r2.ebuild: + Stable for x86, wrt bug #509054 + + 17 May 2014; Agostino Sarubbo xen-tools-4.2.4-r2.ebuild, + xen-tools-4.3.2-r2.ebuild: + Stable for amd64, wrt bug #509054 + +*xen-tools-4.4.0-r4 (16 May 2014) + + 16 May 2014; Yixun Lan -xen-tools-4.4.0-r3.ebuild, + +xen-tools-4.4.0-r4.ebuild: + force depend on >=seabios-1.7.4, fix bug #510492, thanks Tomas Mozes + +*xen-tools-4.4.0-r3 (14 May 2014) + + 14 May 2014; Yixun Lan -xen-tools-4.4.0-r2.ebuild, + +xen-tools-4.4.0-r3.ebuild: + upstream patches bump, fix security bug #510312 + + 11 May 2014; Yixun Lan xen-tools-4.4.0-r2.ebuild: + silent QA warning, bug #510072, thanks iamnr3 + +*xen-tools-4.4.0-r2 (09 May 2014) +*xen-tools-4.3.2-r2 (09 May 2014) +*xen-tools-4.2.4-r2 (09 May 2014) + + 09 May 2014; Yixun Lan +xen-tools-4.2.4-r2.ebuild, + +xen-tools-4.3.2-r2.ebuild, +xen-tools-4.4.0-r2.ebuild, + +files/xen-tools-4-qemu-fix-po-collision.patch: + 1) bump security patches, bug 508510, 508424, 509054, 509176 2) fix file + collision with app-emulation/qemu, bug 508302 3) drop old + + 12 Apr 2014; Ian Delaney xen-tools-4.3.1-r5.ebuild, + xen-tools-4.3.1-r6.ebuild, xen-tools-4.3.2.ebuild, xen-tools-4.4.0.ebuild: + minor correction to deps + +*xen-tools-4.4.0-r1 (12 Apr 2014) +*xen-tools-4.3.2-r1 (12 Apr 2014) +*xen-tools-4.2.4-r1 (12 Apr 2014) + + 12 Apr 2014; Yixun Lan +xen-tools-4.2.4-r1.ebuild, + +xen-tools-4.3.2-r1.ebuild, +xen-tools-4.4.0-r1.ebuild: + bump upstream patches, add IUSE=system-qemu to 4.4.x + + 04 Apr 2014; Ian Delaney xen-tools-4.4.0.ebuild: + Add revised configure option, fixes Bug #506072 by Sven + + 24 Mar 2014; Ian Delaney xen-tools-4.4.0.ebuild: + re bump; keyword ~arm, update deps, drop py2.6 support, drop IUSE xend, + improvements to configure phase, tidy up and style improvements by dlan. Re- + set SLOT for libgcrypt, drop leftover elog msg re xend + +*xen-tools-4.4.0 (23 Mar 2014) + + 23 Mar 2014; Yixun Lan +xen-tools-4.4.0.ebuild, + +files/xen-tools-4.4-api-fix.patch, +files/xen-4.4-nostrip.patch, + +files/xen-4.4-qemu-bridge.patch, files/xenstored.initd: + bump to 4.4.0 + + 01 Mar 2014; Michał Górny xen-tools-4.2.3-r1.ebuild, + xen-tools-4.2.4.ebuild, xen-tools-4.3.1-r5.ebuild, xen-tools-4.3.1-r6.ebuild, + xen-tools-4.3.2.ebuild: + Update libgcrypt dep to use slot :0. + + 23 Feb 2014; Yixun Lan files/xenstored.initd: + fix bug #502056, thanks KK + + 21 Feb 2014; Ian Delaney xen-tools-4.2.3-r1.ebuild, + xen-tools-4.2.4.ebuild, xen-tools-4.3.2.ebuild: + correct typos, tidy + + 20 Feb 2014; Yixun Lan + -files/xen-4-CVE-2013-0215-XSA-38.patch, + -files/xen-4-CVE-2013-1919-XSA-46.patch, + -files/xen-4-CVE-2013-1922-XSA-48.patch, + -files/xen-4-CVE-2013-1952-XSA-49.patch, + -files/xen-4-CVE-2013-1952-XSA_49.patch, + -files/xen-4-CVE-2013-2072-XSA-56.patch, + -files/xen-4.2-CVE-2013-1-XSA-55.patch, + -files/xen-4.2-CVE-2013-12to13-XSA-55.patch, + -files/xen-4.2-CVE-2013-14-XSA-55.patch, + -files/xen-4.2-CVE-2013-16-XSA-55.patch, + -files/xen-4.2-CVE-2013-17-XSA-55.patch, + -files/xen-4.2-CVE-2013-18to19-XSA-55.patch, + -files/xen-4.2-CVE-2013-2-XSA-55.patch, + -files/xen-4.2-CVE-2013-20to23-XSA-55.patch, + -files/xen-4.2-CVE-2013-3-XSA-55.patch, + -files/xen-4.2-CVE-2013-4-XSA-55.patch, + -files/xen-4.2-CVE-2013-5to7-XSA-55.patch, + -files/xen-4.2-CVE-2013-6-XSA-55.patch, + -files/xen-4.2-CVE-2013-7-XSA-55.patch, + -files/xen-4.2-CVE-2013-9to10-XSA-55.patch, -files/xen-4.2-CVE-XSA-57.patch, + -files/xen-tools-4-CVE-2013-4369-XSA-68.patch, + -files/xen-tools-4-CVE-2013-4370-XSA-69.patch, + -files/xen-tools-4-CVE-2013-4371-XSA-70.patch, + -files/xen-tools-4-CVE-2013-4416-XSA-72.patch: + clean up unused XSA patches + + 20 Feb 2014; Yixun Lan -xen-tools-4.2.2-r3.ebuild, + -xen-tools-4.2.2-r7.ebuild, -xen-tools-4.2.3.ebuild: + drop old ebuild, clean up + + 20 Feb 2014; Agostino Sarubbo xen-tools-4.2.3-r1.ebuild: + Stable for x86, wrt bug #500530 + + 20 Feb 2014; Agostino Sarubbo xen-tools-4.2.3-r1.ebuild: + Stable for amd64, wrt bug #500530 + +*xen-tools-4.3.2 (19 Feb 2014) +*xen-tools-4.2.4 (19 Feb 2014) + + 19 Feb 2014; Yixun Lan +xen-tools-4.2.4.ebuild, + +xen-tools-4.3.2.ebuild: + revision bump 4.2.4, 4.3.2 + +*xen-tools-4.3.1-r6 (18 Feb 2014) +*xen-tools-4.2.3-r1 (18 Feb 2014) + + 18 Feb 2014; Yixun Lan +xen-tools-4.2.3-r1.ebuild, + -xen-tools-4.3.1-r3.ebuild, xen-tools-4.3.1-r5.ebuild, + +xen-tools-4.3.1-r6.ebuild, +files/xen-tools-4-unbundle-ipxe.patch, + +files/xen-tools-4-unbundle-seabios.patch, metadata.xml: + fix bug #496708, thanks Radoslaw Szkodzinski + + 15 Feb 2014; Agostino Sarubbo xen-tools-4.3.1-r5.ebuild: + Stable for x86, wrt bug #500530 + + 15 Feb 2014; Agostino Sarubbo xen-tools-4.3.1-r5.ebuild: + Stable for amd64, wrt bug #500530 + +*xen-tools-4.2.3 (14 Feb 2014) + + 14 Feb 2014; Yixun Lan +xen-tools-4.2.3.ebuild: + bumped, fix security bugs, see #500530 for details + +*xen-tools-4.3.1-r5 (13 Feb 2014) +*xen-tools-4.2.2-r7 (13 Feb 2014) + + 13 Feb 2014; Yixun Lan -xen-tools-4.2.2-r6.ebuild, + +xen-tools-4.2.2-r7.ebuild, -xen-tools-4.3.1-r4.ebuild, + +xen-tools-4.3.1-r5.ebuild, +files/xen-tools-4-CVE-2014-1950-XSA-88.patch, + +files/xen-tools-4.2.2-rt-link.patch, files/xenconsoled.initd: + fix sec bug #500530, #501080, missing -lrt bug #463840, glib deps bug #500604 + +*xen-tools-4.3.1-r4 (08 Feb 2014) + + 08 Feb 2014; Ian Delaney +files/xen-4-CVE-XSA-86.patch, + +xen-tools-4.3.1-r4.ebuild: + revbump; only to 4.3.1 (for now), add sec. patch XSA-86 patch wrt bug #500530 + +*xen-tools-4.2.2-r6 (07 Feb 2014) + + 07 Feb 2014; Ian Delaney +xen-tools-4.2.2-r6.ebuild, + -xen-tools-4.2.2-r5.ebuild: + revbump; add xencommons init scripts to 4.2.2, rm 4.2.2-r5, fixes Bug #499992 + + 28 Jan 2014; Yixun Lan files/xenstored.initd: + fix local variable collision, thanks Cyril Nahon + + 27 Jan 2014; Yixun Lan xen-tools-4.2.2-r5.ebuild, + xen-tools-4.3.1-r3.ebuild, files/xenstored.initd: + fix QA warning, create /var/run/,/var/lock dynamically + + 24 Jan 2014; Yixun Lan -xen-tools-4.3.0-r3.ebuild: + ebuild clean, drop 4.3.0 + + 23 Jan 2014; Yixun Lan files/xenconsoled.initd, + -files/xendomains.initd-r1: + bug #498720, shutdown all domUs + + 02 Jan 2014; Ian Delaney files/xend.initd-r1, + files/xend.initd-r2: + Remove un-needed var 'opts' from xend init scripts noted by mva + + 22 Dec 2013; Ian Delaney xen-tools-4.3.0-r3.ebuild, + xen-tools-4.3.1-r3.ebuild: + set pygrub in REQUIRED_USE paired with python, fixes Bug #494908 by K. Agouros + + 10 Dec 2013; Agostino Sarubbo xen-tools-4.3.1-r3.ebuild: + Stable for x86, wrt bug #486354 + + 10 Dec 2013; Agostino Sarubbo xen-tools-4.3.1-r3.ebuild: + Stable for amd64, wrt bug #486354 + +*xen-tools-4.3.1-r3 (09 Dec 2013) + + 09 Dec 2013; Ian Delaney +xen-tools-4.3.1-r3.ebuild, + -xen-tools-4.3.1-r2.ebuild: + revbump; fix to Bug #493232, update of xen guide page @ the gentoo wiki + + 08 Dec 2013; Ian Delaney -files/xenstoredorig.confd: + remove leftover wrong files + + 07 Dec 2013; Ian Delaney -xen-tools-4.3.1-r1.ebuild, + -xen-tools-4.3.1.ebuild: + rm superseded 4.3.1 ebuilds + + 07 Dec 2013; Ian Delaney files/xencommons.confd, + files/xenconsoled.initd, files/xenqemudev.initd, files/xenstored.confd, + files/xenstored.initd, xen-tools-4.3.1-r1.ebuild, xen-tools-4.3.1-r2.ebuild: + corrections to previous patch by dlan, tested by him + +*xen-tools-4.3.1-r2 (06 Dec 2013) + + 06 Dec 2013; Ian Delaney +files/xencommons.confd, + +files/xencommons.initd, +files/xenqemudev.confd, +files/xenqemudev.initd, + +xen-tools-4.3.1-r2.ebuild, files/xenconsoled.initd, files/xenstored.initd, + xen-tools-4.3.1-r1.ebuild: + revbump; the gentoo styling of xencommon script split into the new 4 files, + patching prepared by up and coming dlan + +*xen-tools-4.3.1-r1 + + 1 Dec 2013; Ian Delaney + +xen-tools-4.3.1-r1: + revbump; install provisioned xencommons script with elog msg + @ pkg_postinst + +*xen-tools-4.3.1 (24 Nov 2013) + + 24 Nov 2013; Ian Delaney + +files/xen-4.3-anti-download.patch, +xen-tools-4.3.1.ebuild, + -files/xen-4.3.0-anti-download.patch, xen-tools-4.3.0-r3.ebuild: + renamed xen-4.3-anti-download.patch to xen-4.3.0-anti-download.patch, bump + + 09 Nov 2013; Michał Górny xen-tools-4.2.2-r3.ebuild, + xen-tools-4.2.2-r5.ebuild, xen-tools-4.3.0-r3.ebuild: + Add missing PYTHON_REQUIRED_USE. + +*xen-tools-4.3.0-r3 (07 Nov 2013) +*xen-tools-4.2.2-r5 (07 Nov 2013) + + 07 Nov 2013; Ian Delaney + +files/xen-tools-4-CVE-2013-4369-XSA-68.patch, + +files/xen-tools-4-CVE-2013-4370-XSA-69.patch, + +files/xen-tools-4-CVE-2013-4371-XSA-70.patch, + +files/xen-tools-4-CVE-2013-4416-XSA-72.patch, +xen-tools-4.2.2-r5.ebuild, + +xen-tools-4.3.0-r3.ebuild, -xen-tools-4.2.2-r4.ebuild, + -xen-tools-4.3.0-r2.ebuild: + revbumps; add security patches XSA-68-70/72, remove old ebuilds + +*xen-tools-4.3.0-r2 (04 Nov 2013) + + 04 Nov 2013; Ian Delaney -xen-tools-4.3.0.ebuild, + -xen-tools-4.3.0-r1.ebuild, metadata.xml, xen-tools-4.2.2-r4.ebuild, + +xen-tools-4.3.0-r2.ebuild: + revbump; add IUSE pam, fixes Bug #488660 by Pat Erley + + 04 Nov 2013; Ian Delaney +files/fix-gold-ld.patch, + xen-tools-4.2.2-r4.ebuild, xen-tools-4.3.0-r1.ebuild: + Add patch by dlan, fixes Bug 379537 by flameeyes + +*xen-tools-4.3.0-r1 (04 Nov 2013) + + 04 Nov 2013; Ian Delaney +xen-tools-4.3.0-r1.ebuild, + metadata.xml: + ocaml deps findlib, ocaml combined & re-located under DEPEND, stable fault + unfixable due to sole reliance on assigned maintainer of Bug 486076 submitting + a dev-lang/ocaml-4x for stable. Electing for now not to purge IUSE ocaml and + related deps though flagged as a future option. + + 04 Oct 2013; Ian Delaney -xen-tools-4.2.1-r5.ebuild, + xen-tools-4.2.2-r3.ebuild, xen-tools-4.2.2-r4.ebuild, xen-tools-4.3.0.ebuild: + remove old, remove ocaml from stable due to ocaml-4 being ~, add libgcrypt to + DEPEND and remove antiquated CDEPEND thanks to dev steev + + 23 Aug 2013; Ian Delaney xen-tools-4.2.1-r5.ebuild, + xen-tools-4.2.2-r3.ebuild, xen-tools-4.2.2-r4.ebuild, xen-tools-4.3.0.ebuild: + substitute wiki page with xen's offical wiki page, fixes Bug #482114 by a3li + + 04 Aug 2013; Ian Delaney +files/xenstoredorig.confd, + files/xenstored.confd, xen-tools-4.3.0.ebuild: + Upgrade to IUSE ocaml with shift of findlib behind IUSE ocaml and consequent + upgrade to configure, substitute xenstored conf.d script resultant of Bug + #478776, orginal conf.d script retained by rename to xenstoredorig.confd + + 01 Aug 2013; Ian Delaney xen-tools-4.3.0.ebuild: + Reverting transfig to previous place behind IUSE doc, fixes Bug #479226 by + Sven + + 31 Jul 2013; Ian Delaney xen-tools-4.2.2-r4.ebuild: + upgrade emake in complile phase to match 4.3.0 + + 30 Jul 2013; Ian Delaney files/xend.initd-r1, + files/xend.initd-r2: + Add var extra_commands matching xendomain init scripts, requested by mva + + 30 Jul 2013; Ian Delaney + files/xen-tools-4.2.2-install.patch: + extend xen-tools-4.2.2-install.patch with patch by D. Lan via Bug 478708, + hopefully fixes the bug + + 30 Jul 2013; Ian Delaney files/xendomains-screen.confd: + Take out duplicate AUTODIR && PARALLEL_SHUTDOWN from xendomains-screen.confd + wrt Bug #478234 + + 30 Jul 2013; Ian Delaney + +files/xen-tools-4.2.2-install.patch, xen-tools-4.2.2-r4.ebuild: + alternate fix to Bug #472976 by patch by Andreas Kinzler wrt to Bug #472976 by + Andreas Kinzler + + 30 Jul 2013; Ian Delaney xen-tools-4.3.0.ebuild: + verbosity level hard set in src_compile, fixes Bug #477678 by hasufell + + 30 Jul 2013; Ian Delaney xen-tools-4.2.2-r4.ebuild, + xen-tools-4.3.0.ebuild: + previous mentioned fix to #445986 appears not to have gone through, repeat + + applied to 4.2.2-r4 + + 27 Jul 2013; Ian Delaney xen-tools-4.3.0.ebuild: + Add dep markdown, make dep transfig unconditional, sed statement to correct + locale failure in build of seabios, fixes Bug #445986 + + 27 Jul 2013; Ian Delaney +files/xen-4.3-jserver.patch, + files/xenconsoled.initd, files/xend.initd-r1, files/xend.initd-r2, + files/xenstored.initd, xen-tools-4.3.0.ebuild: + for 4.3.0; upgrade jserver.patch, substitute with correct code to set IUSE + api, flask capable builds, rm whitespace in init script, thanks for support + from mva + + 27 Jul 2013; Ian Delaney files/xendomains.initd-r1, + files/xendomains.initd-r2: + Correction to xendomains.initd scripts wrt Bug #477824 + + 26 Jul 2013; Ian Delaney +files/qemu-bridge.patch, + xen-tools-4.3.0.ebuild: + Alternate fix of file collision with qemu-bridge-helper with corresponding + patch wrt Bug #478064 + + 25 Jul 2013; Ian Delaney files/xenstored.initd, + xen-tools-4.3.0.ebuild: + Correction to xenstored.initd fix, set app-emulation/qemu as an antagonist dep + to IUSE qemu wrt Bug #478064 by uen + + 25 Jul 2013; Ian Delaney files/xenstored.initd: + Edit to xenstored.initd wrt Bug #476572 & #475204 + + 24 Jul 2013; Ian Delaney xen-tools-4.3.0.ebuild: + Add dep for IUSE qemu build, fixes Bug #477878 by 'a.m.', again + + 24 Jul 2013; Ian Delaney xen-tools-4.3.0.ebuild: + Correction to install with IUSE qemu, fixes Bug #477884, fixes Bug #477884 + + 24 Jul 2013; Ian Delaney xen-tools-4.3.0.ebuild: + correct tools' Makefile re IUSE pygrub, add python use flag and corresponding + sed to Makefile, fixes Bug #477880 by 'a.m' + + 23 Jul 2013; Ian Delaney + +files/xen-tools-4.3-ar-cc.patch, -files/xen-tools-4.3-ar.patch, + xen-tools-4.3.0.ebuild: + renamed patch to capture ar & cc, extended the patch to honour tc-getCC, + almost fixes Bug #477676 + + 23 Jul 2013; Ian Delaney +files/xen-tools-4.3-ar.patch, + xen-tools-4.3.0.ebuild: + patch to correct AR use wrt Bug #477676 + + 23 Jul 2013; Ian Delaney files/xendomains.initd-r1, + files/xendomains.initd-r2: + Correct xendomains.init(s) to POSIX compliant, fixes Bug #477824 + + 22 Jul 2013; Ian Delaney + files/xen-4.3-fix_dotconfig-gcc.patch, xen-tools-4.3.0.ebuild: + Extend purging of Werror CFLAG in xen-4.3-fix_dotconfig-gcc.patch, fixes Bug + #477674 + + 22 Jul 2013; Ian Delaney + files/xen-4-fix_dotconfig-gcc.patch, files/xen-4.2.0-anti-download.patch, + xen-tools-4.3.0.ebuild: + Add vars AR, RANLIB to build, addresses Bug #477676 + + 21 Jul 2013; Ian Delaney + files/xen-4-fix_dotconfig-gcc.patch, files/xen-4.2.0-anti-download.patch, + xen-tools-4.2.2-r4.ebuild, xen-tools-4.3.0.ebuild: + Rm antiquated line from elog, add antagonist dep behind IUSE hvm, fixes Bug + #475634 + +*xen-tools-4.2.2-r4 (21 Jul 2013) + + 21 Jul 2013; Ian Delaney +xen-tools-4.2.2-r4.ebuild, + files/xen-4-fix_dotconfig-gcc.patch, files/xen-4.2.0-anti-download.patch, + xen-tools-4.2.2-r3.ebuild, xen-tools-4.3.0.ebuild: + revbump; correct install of qemu files folders with IUSE qemu, fixes Bug + #472976, upgrade instances of ED to D in revbumped & 4.3.0 + +*xen-tools-4.3.0 (20 Jul 2013) + + 20 Jul 2013; Ian Delaney + +files/xen-4.3-fix_dotconfig-gcc.patch, +files/xen-4.3.0-anti-download.patch, + +xen-tools-4.3.0.ebuild, files/xen-4-fix_dotconfig-gcc.patch, + files/xen-4.2.0-anti-download.patch, files/xenstored.initd: + bump; required culling sec patches, edit to configure and upgrading 2 patches, + correction to xenstored.initd wrt Bug #476572 by Spooky Ghost + + 04 Jul 2013; Ian Delaney -xen-tools-4.2.1-r3.ebuild, + -xen-tools-4.2.1-r4.ebuild, -xen-tools-4.2.2-r1.ebuild, + -xen-tools-4.2.2-r2.ebuild, files/xenstored.initd: + correction + + 02 Jul 2013; Agostino Sarubbo xen-tools-4.2.2-r3.ebuild: + Stable for x86, wrt bug #472214 + + 02 Jul 2013; Agostino Sarubbo xen-tools-4.2.2-r3.ebuild: + Stable for amd64, wrt bug #472214 + + 01 Jul 2013; Ian Delaney xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.1-r4.ebuild, xen-tools-4.2.1-r5.ebuild, + xen-tools-4.2.2-r1.ebuild, xen-tools-4.2.2-r2.ebuild, + xen-tools-4.2.2-r3.ebuild: + Re-remove redundant pyxml, origin Bug #45673 + + 01 Jul 2013; Ian Delaney files/xenstored.initd, + xen-tools-4.2.1-r3.ebuild, xen-tools-4.2.1-r4.ebuild, + xen-tools-4.2.2-r1.ebuild: + remove major slow-down in starting xenstored, put forward by 'a.m.' in Bug + #475204 + +*xen-tools-4.2.2-r3 (28 Jun 2013) +*xen-tools-4.2.1-r5 (28 Jun 2013) + + 28 Jun 2013; Ian Delaney +xen-tools-4.2.1-r5.ebuild, + +xen-tools-4.2.2-r3.ebuild, xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.1-r4.ebuild, xen-tools-4.2.2-r1.ebuild, + xen-tools-4.2.2-r2.ebuild: + rm stray line, revbumps; set correct install location wrt Bug #472438 + + 28 Jun 2013; Ian Delaney xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.1-r4.ebuild, xen-tools-4.2.2-r1.ebuild, + xen-tools-4.2.2-r2.ebuild: + correct setting of libdir, fixes Bug #474914 by keytoaster + + 27 Jun 2013; Ian Delaney +files/xen-4.2-configsxp.patch, + xen-tools-4.2.1-r3.ebuild, xen-tools-4.2.1-r4.ebuild, + xen-tools-4.2.2-r1.ebuild, xen-tools-4.2.2-r2.ebuild: + Set dom0-min-mem to kb wrt Bug #472982 by PatomaS + + 27 Jun 2013; Ian Delaney xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.1-r4.ebuild, xen-tools-4.2.2-r1.ebuild, + xen-tools-4.2.2-r2.ebuild: + drop dep texinfo-5, fixes faulty install, Bug #472976 by Andreas Kinzler + + 27 Jun 2013; Ian Delaney + -files/xen-4.2-CVE-2013-11-XSA-55.patch, + -files/xen-4.2-CVE-2013-15-XSA-55.patch, + -files/xen-4.2-CVE-2013-8-XSA-55.patch, xen-tools-4.2.1-r4.ebuild, + xen-tools-4.2.2-r1.ebuild, xen-tools-4.2.2-r2.ebuild: + rm of re-located patches + +*xen-tools-4.2.2-r2 (26 Jun 2013) +*xen-tools-4.2.1-r4 (26 Jun 2013) + + 26 Jun 2013; Ian Delaney + +files/xen-4.2-CVE-2013-1-XSA-55.patch, + +files/xen-4.2-CVE-2013-11-XSA-55.patch, + +files/xen-4.2-CVE-2013-12to13-XSA-55.patch, + +files/xen-4.2-CVE-2013-14-XSA-55.patch, + +files/xen-4.2-CVE-2013-15-XSA-55.patch, + +files/xen-4.2-CVE-2013-16-XSA-55.patch, + +files/xen-4.2-CVE-2013-17-XSA-55.patch, + +files/xen-4.2-CVE-2013-18to19-XSA-55.patch, + +files/xen-4.2-CVE-2013-2-XSA-55.patch, + +files/xen-4.2-CVE-2013-20to23-XSA-55.patch, + +files/xen-4.2-CVE-2013-3-XSA-55.patch, + +files/xen-4.2-CVE-2013-4-XSA-55.patch, + +files/xen-4.2-CVE-2013-5to7-XSA-55.patch, + +files/xen-4.2-CVE-2013-6-XSA-55.patch, + +files/xen-4.2-CVE-2013-7-XSA-55.patch, + +files/xen-4.2-CVE-2013-8-XSA-55.patch, + +files/xen-4.2-CVE-2013-9to10-XSA-55.patch, +files/xen-4.2-CVE-XSA-57.patch, + +xen-tools-4.2.1-r4.ebuild, +xen-tools-4.2.2-r2.ebuild, + -files/xen-4-CVE-2012-4544-XSA-25.patch, -files/xen-tools-3.3.0-nostrip.patch, + -files/xen-tools-4-add-nopie.patch, -files/xen-tools-4.1.1-curl.patch, + -files/xen-tools-4.1.1-libxl-tap.patch, -files/xen-tools-4.1.2-pyxml.patch, + -xen-tools-4.2.0-r3.ebuild, -xen-tools-4.2.1-r1.ebuild, + -xen-tools-4.2.1-r2.ebuild, -xen-tools-4.2.1.ebuild, + xen-tools-4.2.2-r1.ebuild: + revbumps; add security patches XSA-55,56 to 4.2.1, 4.2.2, remove old ebuilds + + disused patches + + 23 May 2013; Agostino Sarubbo xen-tools-4.2.1-r3.ebuild: + Stable for x86, wrt bug #464724 + + 23 May 2013; Agostino Sarubbo xen-tools-4.2.1-r3.ebuild: + Stable for amd64, wrt bug #464724 + + 18 May 2013; Ian Delaney + +files/xen-4-CVE-2013-2072-XSA-56.patch, xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.2-r1.ebuild: + Add XSA-56 / CVE-2072 sec. patch + + 17 May 2013; Ian Delaney + +files/xen-tools-4-qemu-xen-doc.patch, xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.2-r1.ebuild: + patch to fix build issue with qemu.doc.html, fixes Bug #470048 by Tomas Mozes + who sourced the patch, re-add ocaml in IUSE for now + + 16 May 2013; Ian Delaney + +files/xen-tools-4.2-xen_disk_leak.patch, xen-tools-4.2.1-r3.ebuild, + xen-tools-4.2.2-r1.ebuild: + Fix to leak in qemu-system, reported in Bug #467200 and tested by László + Szalma, patch from [Qemu-devel], closes said bug + +*xen-tools-4.2.2-r1 (15 May 2013) + + 15 May 2013; Jason A. Donenfeld +xen-tools-4.2.2-r1.ebuild, + -xen-tools-4.2.2.ebuild: + xl requires lzo now; otherwise it won't run. + + 15 May 2013; Ian Delaney xen-tools-4.2.2.ebuild: + epatch_user helper added wrt Bug #464052 + +*xen-tools-4.2.2 (15 May 2013) +*xen-tools-4.2.1-r3 (15 May 2013) + + 15 May 2013; Ian Delaney + +files/xen-4-CVE-2013-0215-XSA-38.patch, + +files/xen-4-CVE-2013-1919-XSA-46.patch, + +files/xen-4-CVE-2013-1922-XSA-48.patch, + +files/xen-4-CVE-2013-1952-XSA-49.patch, + +files/xen-4-CVE-2013-1952-XSA_49.patch, +files/xen-4-ulong.patch, + +xen-tools-4.2.1-r3.ebuild, +xen-tools-4.2.2.ebuild, + xen-tools-4.2.1-r1.ebuild: + 4.2.1-r1; re-invoked ipxe-nopie.patch, revbump 4.2.1-r3; updated security + patches, bump 4.2.2; updated security patches, dropped ocaml use flag made + redundant by build + + 15 May 2013; Ian Delaney files/xenstored.initd: + Fix to xenstored.initd wrt Bug #459082 + + 16 Mar 2013; Ian Delaney files/xenstored.initd: + update depend() in xenstored.initd, fixes Bug #461632 by a.m + + 05 Mar 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r2.ebuild: + Fix paths for qemu files, fixes Bug #458818 by Tomoatsu Shimada + + 24 Feb 2013; Ian Delaney files/xendomains.initd-r1, + files/xendomains.initd-r2: + Updated xendomains init scripts, ack to Tomas Mozes, fixes Bug #420067 + + 22 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild: + Update the dependency yajl to current version, thx to 'BT' from Bug #458576 + + 12 Feb 2013; Ian Delaney xen-tools-4.2.1-r2.ebuild: + Fixed copy header file, Bug #456884 + + 11 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r2.ebuild: + Removed redundant dep pyxml, closes Bug #45673 by Oleg + + 11 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild, xen-tools-4.2.1-r2.ebuild: + Reset REQUIRED_USE + + 11 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild, xen-tools-4.2.1-r2.ebuild: + Fix to install with use qemu + + 11 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild: + the manifests + +*xen-tools-4.2.1-r2 (11 Feb 2013) + + 11 Feb 2013; Ian Delaney +files/stubs-32.h, + +xen-tools-4.2.1-r2.ebuild, xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild: + revbump, added a header flag wrt Bug #351648 + + 09 Feb 2013; Ian Delaney files/xendomains-screen.confd, + files/xendomains.initd-r2, xen-tools-4.2.1-r1.ebuild: + Added xendomains.confd to start of xendomains-screen.confd suggested in Bug + #455622, edited xendomains.initd-r2 wrt suggestion from Bug #455626, fixes + both bugs by Tomas Mozes + + 03 Feb 2013; Agostino Sarubbo -xen-tools-4.1.1-r6.ebuild, + -xen-tools-4.1.2-r3.ebuild, -xen-tools-4.2.0-r2.ebuild: + Remove old + + 02 Feb 2013; Agostino Sarubbo xen-tools-4.2.0-r3.ebuild: + Stable for x86, wrt bug #454314 + + 02 Feb 2013; Agostino Sarubbo xen-tools-4.2.0-r3.ebuild: + Stable for amd64, wrt bug #454314 + + 01 Feb 2013; Ian Delaney xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild: + Reversed/Re-added bin86 & dev86 to DEPEND in -4.2.0-r3 -4,2.2-r1 subsequent to + arch testing + + 31 Jan 2013; Ian Delaney files/ipxe-nopie.patch, + xen-tools-4.2.0-r2.ebuild, xen-tools-4.2.0-r3.ebuild, + xen-tools-4.2.1-r1.ebuild: + Re-setting/correcting ipxe-nopie.patch to match source content in 4.2.0-r3 and + disabling the patch in -4.2.1-r1 (pending further testing) consequent to Bug + #447716, removed redunadant 4-add-nopie.patch + +*xen-tools-4.2.0-r3 (30 Jan 2013) +*xen-tools-4.2.1-r1 (30 Jan 2013) + + 30 Jan 2013; Ian Delaney + +files/xen-4-CVE-2012-4544-XSA-25.patch, + +files/xen-4-CVE-2012-6075-XSA-41.patch, +files/xen-4-fix_dotconfig-gcc.patch, + +files/xen-tools-4-add-nopie.patch, +files/xen-tools-4-docfix.patch, + +xen-tools-4.2.0-r3.ebuild, +xen-tools-4.2.1-r1.ebuild, + -files/xen-tools-3.4.2-as-needed.patch, files/ipxe-nopie.patch, + xen-tools-4.2.0-r2.ebuild: + revbump;-4.2.0-r3; adjustments to DEPS, implementation of ocaml flag courtesy + of user known as 'a.m' wrt Bug #447716, reconstitution of ipxe-nopie with + subsequent add of -4-add-nopie.patch, new use ocaml added and implemented + (possible to rename), sed statements reduced to patches, 2 sec. patches + applied, build & install of docs corrected/upgrade. 4.2.1-r1; changes mirrored + those to 4.2.0-r3, add of 1 valid sec. patch. Drop un-needed -3.4.2-as- + needed.patch + + 24 Jan 2013; Ian Delaney -xen-tools-4.1.2-r2.ebuild, + -xen-tools-4.2.0-r1.ebuild, xen-tools-4.2.0-r2.ebuild, xen-tools-4.2.1.ebuild: + 4.2.0-r2, correct DEPS, thanks OP of Bug #447716, 4.2.1, rm white space, drop + old + +*xen-tools-4.2.1 (24 Jan 2013) + + 24 Jan 2013; Ian Delaney +xen-tools-4.2.1.ebuild, + metadata.xml: + bump + + 23 Jan 2013; Ian Delaney xen-tools-4.1.1-r6.ebuild: + patch from razamatan applied, fixes Bug #413493 + + 21 Jan 2013; Samuli Suominen + xen-tools-4.1.1-r6.ebuild, xen-tools-4.1.2-r2.ebuild, + xen-tools-4.1.2-r3.ebuild, xen-tools-4.2.0-r1.ebuild, + xen-tools-4.2.0-r2.ebuild: + Remove sys-apps/hotplug dependency from || () in favour of virtual/udev wrt + #145809 + + 20 Jan 2013; Michał Górny xen-tools-4.2.0-r2.ebuild: + Drop python2.5 because of lxml. + + 20 Dec 2012; Michał Górny xen-tools-4.2.0-r2.ebuild: + Use python_fix_shebang() to fix shebangs. + + 18 Dec 2012; Ian Delaney files/ipxe-nopie.patch: + patched patch ipxe-nopie.patch, thanks to patch submitted by user uen in Bug + #446022 + + 17 Dec 2012; Michał Górny xen-tools-4.2.0-r2.ebuild: + Bump to EAPI=5 to make Paludis happy, bug #447524. + +*xen-tools-4.2.0-r2 (16 Dec 2012) + + 16 Dec 2012; Michał Górny +xen-tools-4.2.0-r2.ebuild: + Migrate to python-r1, clean up a bit. Acked by idella4. + + 11 Dec 2012; Samuli Suominen + xen-tools-4.1.1-r6.ebuild, xen-tools-4.1.2-r3.ebuild, + xen-tools-4.2.0-r1.ebuild: + Move sys-power/iasl dependency from USE="hvm" to always required because + econf won't pass without it. Use udev.eclass to install udev rules into + correct directory. Convert to virtual/udev again after it was mistakenly + reverted 05 Dec 2012 by idella4. + + 04 Dec 2012; Jeroen Roovers metadata.xml: + Change maintainer tag (bug #390951). + + 04 Dec 2012; Tomáš Chvátal xen-tools-4.1.1-r6.ebuild: + This is supposed to be stable amd64 and x86. We do not remove stable keywords + just for fun. + + 05 Dec 2012; Ian Delaney xen-tools-4.1.1-r6.ebuild: + Correction to amd64 keyword in 4.4.4-r6 + +*xen-tools-4.2.0-r1 (05 Dec 2012) + + 05 Dec 2012; Ian Delaney + +files/xen-4.2.0-anti-download.patch, +files/xen-4.2.0-jserver.patch, + +files/xen-4.2.0-nostrip.patch, +xen-tools-4.2.0-r1.ebuild, + -files/xen-tools-3.3.1-sandbox-fix.patch, + -files/xen-tools-3.4.2-fix-definitions.patch, + -files/xen-tools-3.4.2-fix-include.patch, + -files/xen-tools-3.4.2-ldflags-respect.patch, + -files/xen-tools-3.4.2-remove-default-cflags.patch, + -files/xen-tools-3.4.2-werror-idiocy-v2.patch, + -files/xen-tools-4.1.1-upstream-23104-1976adbf2b80.patch, + -xen-tools-3.4.2-r3.ebuild, -xen-tools-3.4.2-r5.ebuild, + -xen-tools-4.1.1-r5.ebuild, metadata.xml, xen-tools-4.1.1-r6.ebuild, + xen-tools-4.1.2-r3.ebuild: + initial 4.2.0 found in virtual overlay, bump to 4.2.0-r1, added patches fixing + QA issues, added edits to build of external packages + + 02 Dec 2012; Samuli Suominen + xen-tools-3.4.2-r3.ebuild, xen-tools-3.4.2-r5.ebuild, + xen-tools-4.1.1-r5.ebuild, xen-tools-4.1.1-r6.ebuild, + xen-tools-4.1.2-r2.ebuild, xen-tools-4.1.2-r3.ebuild: + Use virtual/udev instead of sys-fs/udev wrt #444398 + +*xen-tools-4.1.2-r3 (10 Jul 2012) + + 10 Jul 2012; Matthew Thode + +xen-tools-4.1.2-r3.ebuild: + Updated ebuild for selinux dependancy xen-tools-4.1.2-r3.ebuild + + 29 May 2012; Kacper Kowalik metadata.xml: + Use field in order to provide more compact + + 08 May 2012; Kacper Kowalik xen-tools-3.4.2-r3.ebuild, + xen-tools-3.4.2-r5.ebuild, xen-tools-4.1.1-r5.ebuild, + xen-tools-4.1.1-r6.ebuild, xen-tools-4.1.2-r2.ebuild: + Fix building with app-text/texi2html-5, commited on behalf of Ian Delaney. + Fixes bug 409333. Thanks to Joerg Neikes for the + report and patch + + 12 Jan 2012; Alexey Shvetsov xen-tools-4.1.2-r2.ebuild, + files/xendomains.initd-r2: + re-expand newinitd, fixes Bug 392403, patch prepared by Ian Delaney + +*xen-tools-4.1.2-r2 (28 Nov 2011) + + 28 Nov 2011; Alexey Shvetsov +xen-tools-4.1.2-r2.ebuild, + -xen-tools-4.1.2-r1.ebuild, -xen-tools-9999.ebuild, files/xendomains.initd-r2: + Move -9999 to virtualization overlay and revbump xen-tools to EAPI4 + +*xen-tools-4.1.2-r1 (11 Nov 2011) + + 11 Nov 2011; Jesus Rivero -xen-tools-4.1.2.ebuild, + +xen-tools-4.1.2-r1.ebuild: + Revision bump wrt bug #311207 + + 11 Nov 2011; Jesus Rivero xen-tools-4.1.2.ebuild: + Fix for improving Python-related code (bug #311207). Proxying for idella4 + + 10 Nov 2011; Alexey Shvetsov + files/xen-tools-4.1.2-pyxml.patch: + Fix pyxml patch + + 07 Nov 2011; Alexey Shvetsov + +files/xen-tools-4.1.2-pyxml.patch, files/xen-tools-4.1.1-curl.patch, + xen-tools-4.1.2.ebuild: + Fix to pyxml, add dep pypam, fixes Bug 367735, patch by Arfrever, repair to + curl patch, Bug #386487, repiared by Ian Delaney aka idella4 + + 01 Nov 2011; Tony Vroon xen-tools-4.1.1-r6.ebuild: + Marked stable on AMD64 based on arch testing by Elijah "Armageddon" El + Lazkani & Ian "idella4" Delaney in bug #360621. + +*xen-tools-4.1.2 (25 Oct 2011) + + 25 Oct 2011; Alexey Shvetsov xen-tools-3.4.2-r5.ebuild, + +xen-tools-4.1.2.ebuild: + Version bump prepared by Ian Delaney aka idella4 + + 24 Oct 2011; Alexey Shvetsov xen-tools-4.1.1-r6.ebuild, + +files/xen-tools-4.1.1-bridge.patch, +files/xen-tools-4.1.1-curl.patch: + Patch to curl config, fixes Bug #386487, tiny change to bridging fixes Bug + #362575 by Klas Meder Boqvist, patch prepared by Ian Delaney aka idella4 + + 23 Oct 2011; Patrick Lauer xen-tools-9999.ebuild: + Bump for #386461, thanks to Ian Delaney + +*xen-tools-4.1.1-r6 (22 Oct 2011) + + 22 Oct 2011; Magnus Granberg +xen-tools-4.1.1-r6.ebuild, + +files/ipxe-nopie.patch: + Fix hardened compile failure #360805 don't compile ipxe with pie. + Thanks Ian Delaney and Ralf Glauberman + + 13 Oct 2011; Alexey Shvetsov -xen-tools-3.4.2.ebuild, + xen-tools-4.1.1-r5.ebuild, files/xendomains.initd-r1: + Sabayon Tinderbox build failuire, fixes bug #377557. patch by Tobias Heinlein + aka keytoaster, full diff prepared by Ian Delaney. Use toolchain function + instead of calling LD directly, copy fix from bug #384359, fix to invoke + correct compiler, copy from bug #383973, patches by Ian Delaney aka idella4 + + 05 Oct 2011; Alexey Shvetsov xen-tools-3.4.2-r5.ebuild, + xen-tools-4.1.1-r5.ebuild, metadata.xml: + Change use ioemu to qemu and edit metadata.xml, fixes Bug 383337, add rdep + packages for use flag doc, fixes Bug 384357, add elog meassage re /.config, + fixes Bug 376819. Pathces by by Ian Delaney aka idella4 + + 29 Sep 2011; Thomas Kahle xen-tools-3.4.2-r3.ebuild: + x86 stable per bug 379241 + + 27 Sep 2011; Tony Vroon xen-tools-3.4.2-r5.ebuild: + Patch by Ian "idella4" Delaney closes bug #384349 by Agostino "ago" Sarubbo. + +*xen-tools-3.4.2-r5 (27 Sep 2011) + + 27 Sep 2011; Tony Vroon -xen-tools-3.4.2-r4.ebuild, + +xen-tools-3.4.2-r5.ebuild, +files/xen-tools-3.4.2-ldflags-respect.patch: + Proxy commit for Ian "idella4" Delaney. LDFLAGS respect closes bug #384351. + Removal of static libraries closes bug #384355. Use toolchain function + instead of calling LD directly, closes bug #384359. + +*xen-tools-3.4.2-r4 (25 Sep 2011) + + 25 Sep 2011; Tony Vroon +xen-tools-3.4.2-r4.ebuild, + +files/xen-tools-3.4.2-remove-default-cflags.patch: + Proxy commit for Ian "idella4" Delaney. Be more thorough for custom-cflags + and use a diff instead of sed magic, closes bug #383975. Use toolchain-funcs + to invoke correct compiler, closes bug #383973. + + 25 Sep 2011; Tony Vroon xen-tools-3.4.2-r3.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian + "idella4" Delaney in security bug #379241. + + 25 Sep 2011; Pawel Hajdan jr + xen-tools-4.1.1-r5.ebuild: + x86 stable wrt bug #360621 + + 25 Sep 2011; Pawel Hajdan jr + xen-tools-4.1.1-r5.ebuild: + x86 stable wrt bug #360621 + +*xen-tools-3.4.2-r3 (24 Sep 2011) + + 24 Sep 2011; Tony Vroon -xen-tools-3.4.2-r2.ebuild, + +xen-tools-3.4.2-r3.ebuild, -files/xen-tools-3.4.2-werror-idiocy.patch, + +files/xen-tools-3.4.2-werror-idiocy-v2.patch: + Revised patch by Ian "idella4" Delaney resolves building on GCC 4.5 & 4.6; + closes bug #383977. + +*xen-tools-3.4.2-r2 (23 Sep 2011) + + 23 Sep 2011; Tony Vroon -xen-tools-3.4.2-r1.ebuild, + +xen-tools-3.4.2-r2.ebuild, +files/xen-tools-3.4.2-werror-idiocy.patch: + Patch by Ian "idella4" Delaney to clear -Werror, stopping GCC 4.5 build + failures. Closes bug #383977. Moved to using a PATCHES array and the base + eclass. + + 21 Sep 2011; Alexey Shvetsov + files/xen-tools-3.4.2-fix-definitions.patch, + files/xen-tools-3.4.2-fix-include.patch: + Fix xen3 patches by Ian Delaney aka idell4 + +*xen-tools-3.4.2-r1 (21 Sep 2011) + + 21 Sep 2011; Alexey Shvetsov +xen-tools-3.4.2-r1.ebuild, + +files/xen-tools-3.4.2-fix-definitions.patch, + +files/xen-tools-3.4.2-fix-include.patch: + Fix borken emerge due to system header changes; bug #379815. Input from Ian + Delaney aka idell4 + + 18 Sep 2011; Alexey Shvetsov xen-tools-4.1.1-r5.ebuild: + Fix patch name. Thanks to Sven Köhler + +*xen-tools-4.1.1-r5 (18 Sep 2011) + + 18 Sep 2011; Alexey Shvetsov -xen-tools-4.1.1-r4.ebuild, + +xen-tools-4.1.1-r5.ebuild, +files/xen-tools-4.1.1-libxl-tap.patch, + +files/xen-tools-4.1.1-upstream-23104-1976adbf2b80.patch: + Fix bugs #380343 and #382329 + +*xen-tools-4.1.1-r4 (12 Sep 2011) + + 12 Sep 2011; Alexey Shvetsov -xen-tools-4.1.1-r3.ebuild, + +xen-tools-4.1.1-r4.ebuild: + Prevent downloading during compile, fixes bug #366125; Thanks to Ian Delaney + aka idella4 + + 11 Sep 2011; Alexey Shvetsov xen-tools-4.1.1-r3.ebuild, + xen-tools-9999.ebuild: + Fix build + +*xen-tools-4.1.1-r3 (11 Sep 2011) + + 11 Sep 2011; Alexey Shvetsov -xen-tools-4.1.1-r2.ebuild, + +xen-tools-4.1.1-r3.ebuild, xen-tools-9999.ebuild, metadata.xml: + Sync live ebuild with 4.1.1, drop acm since its deprecated upstream. Make + xend optional. Input from Ian Delaney aka idell4 + +*xen-tools-4.1.1-r2 (10 Sep 2011) + + 10 Sep 2011; Alexey Shvetsov -xen-tools-4.1.1-r1.ebuild, + +xen-tools-4.1.1-r2.ebuild, files/xend.initd-r2, files/xendomains.initd-r2: + Uncomment xl settings, fix bug 370817, adjust init.d scripts to work for xl; + Thanks to Ian Delaney aka idella4 + + 05 Sep 2011; Alexey Shvetsov xen-tools-4.1.1-r1.ebuild, + metadata.xml: + Fix use doc #347942. Thanks to Ian Delaney aka idella4 + +*xen-tools-4.1.1-r1 (31 Aug 2011) + + 31 Aug 2011; Alexey Shvetsov -xen-tools-4.1.0-r1.ebuild, + -xen-tools-4.1.1.ebuild, +xen-tools-4.1.1-r1.ebuild: + Drop old version + + 23 Aug 2011; Fabio Erculiani xen-tools-4.1.1.ebuild: + fix src_install, remove rm -r + + 09 Aug 2011; Alexey Shvetsov xen-tools-9999.ebuild: + Drop patch + + 09 Aug 2011; Alexey Shvetsov xen-tools-9999.ebuild: + Sync 9999 and 4.1.1 + +*xen-tools-4.1.1 (29 Jul 2011) + + 29 Jul 2011; Patrick Lauer +xen-tools-4.1.1.ebuild: + Bump for #372259 + + 29 Jul 2011; Patrick Lauer xen-tools-4.1.0-r1.ebuild: + Dep fix for #363139 + +*xen-tools-9999 (06 Apr 2011) + + 06 Apr 2011; Alexey Shvetsov +xen-tools-9999.ebuild: + Add live version + + 05 Apr 2011; Alexey Shvetsov xen-tools-4.1.0-r1.ebuild, + +files/xend.initd-r2, +files/xendomains.initd-r2, -files/xend.initd, + -files/xendomains.initd, -files/xendomains.initd-xl, files/xenstored.initd: + Clean up and fix init script deps + +*xen-tools-4.1.0-r1 (05 Apr 2011) + + 05 Apr 2011; Alexey Shvetsov -xen-tools-4.1.0.ebuild, + +xen-tools-4.1.0-r1.ebuild, +files/xenconsoled.confd, + +files/xenconsoled.initd, +files/xendomains.initd-xl, +files/xenstored.confd, + +files/xenstored.initd: + Clean up. Add support for new xl framework. No need for xend + + 26 Mar 2011; Alexey Shvetsov xen-tools-4.1.0.ebuild: + Fix build on some platforms + + 26 Mar 2011; Alexey Shvetsov xen-tools-4.1.0.ebuild: + Fix bug #360561 + + 26 Mar 2011; Alexey Shvetsov -xen-tools-3.4.3.ebuild, + -files/xen-tools-4.0.0-asneeded.patch, -xen-tools-4.0.1.ebuild: + Clean up + + 26 Mar 2011; Alexey Shvetsov + -files/xen-tools-3.0.4_p1--as-needed.patch, + -files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch, + -files/xen-tools-3.1.0-xen-detect-nopie-fix.patch, + -files/xen-tools-3.1.3-bzimage.patch, + -files/xen-tools-3.1.3-network-bridge-broadcast.patch: + Clean up + +*xen-tools-4.1.0 (26 Mar 2011) + + 26 Mar 2011; Alexey Shvetsov -xen-tools-3.1.3.ebuild, + -xen-tools-3.1.3-r1.ebuild, -xen-tools-3.2.1.ebuild, + -files/xen-tools-3.2.1-qemu-nodocs.patch, + -files/xen-tools-3.3.0--as-needed.patch, + -files/xen-tools-3.3.0-warning-fix.patch, + -files/xen-tools-3.3.0-xen-detect-nopie-fix.patch, -xen-tools-3.4.0.ebuild, + -xen-tools-3.4.0-r1.ebuild, -files/xen-tools-3.4.0-udevinfo.patch, + -xen-tools-3.4.1.ebuild, -xen-tools-3.4.1-r1.ebuild, + -files/xen-tools-3.4.1-xc_core-memset.patch, xen-tools-3.4.2.ebuild, + xen-tools-3.4.3.ebuild, -xen-tools-4.0.0.ebuild, xen-tools-4.0.1.ebuild, + +xen-tools-4.1.0.ebuild: + Version bump & clean up + +*xen-tools-4.0.1 (03 Dec 2010) + + 03 Dec 2010; Patrick Lauer +xen-tools-4.0.1.ebuild: + Bump + + 16 Oct 2010; Arfrever Frehtes Taifersar Arahesis + xen-tools-3.4.0.ebuild, xen-tools-3.4.0-r1.ebuild, xen-tools-3.4.1.ebuild, + xen-tools-3.4.1-r1.ebuild, xen-tools-3.4.2.ebuild, xen-tools-3.4.3.ebuild, + xen-tools-4.0.0.ebuild: + Update EAPI. Unset PYTHON_MODNAME variable, which is used only by + distutils.eclass, which isn't inherited here. Fix calls to + python_mod_optimize() and python_mod_cleanup() (bug #329141). + +*xen-tools-3.4.3 (11 Jul 2010) + + 11 Jul 2010; Patrick Lauer +xen-tools-3.4.3.ebuild: + Bump for #325091 + + 25 Jun 2010; Kacper Kowalik + xen-tools-4.0.0.ebuild, -files/xen-tools-4.0.0-as-needed.patch, + +files/xen-tools-4.0.0-asneeded.patch: + Fixing build with --as-neeed wrt bug 320339. Thanks to Diego for + reporting. + + 24 Jun 2010; Christoph Mende xen-tools-3.4.2.ebuild: + Stable on amd64 wrt bug #293714 + + 09 Jun 2010; Patrick Lauer xen-tools-4.0.0.ebuild: + Adding iasl dep for hvm useflag. Fixes #318471 + +*xen-tools-4.0.0 (12 Apr 2010) + + 12 Apr 2010; Alexey Shvetsov +xen-tools-4.0.0.ebuild, + +files/xen-tools-4.0.0-as-needed.patch: + Version bump per bug #313791 + + 07 Apr 2010; Patrick Lauer + files/xen-tools-3.4.0-network-bridge-broadcast.patch: + Fixing xen-tools-3.4.0-network-bridge-broadcast.patch for #258378 + + 16 Jan 2010; Christian Faulhammer + xen-tools-3.4.2.ebuild: + stable x86, bug 293714 + + 16 Jan 2010; Christian Faulhammer + xen-tools-3.4.2.ebuild, +files/xen-tools-3.4.2-as-needed.patch: + fix issues with --as-needed, patch by Kacper Kowalik in bug 296631 + +*xen-tools-3.4.2 (01 Dec 2009) + + 01 Dec 2009; Patrick Lauer +xen-tools-3.4.2.ebuild: + Bump + + 05 Nov 2009; Patrick Lauer xen-tools-3.4.1-r1.ebuild: + Adding gettext depend for #287935 + + 27 Oct 2009; Patrick Lauer -xen-tools-3.3.0.ebuild, + -xen-tools-3.3.1.ebuild: + Removing old versions for #287936 + + 11 Oct 2009; Petteri Räty + xen-tools-3.4.1-r1.ebuild: + Replace built_with_use with has_version. + +*xen-tools-3.4.1-r1 (01 Sep 2009) + + 01 Sep 2009; Wolfram Schlich +files/xend.initd-r1, + +files/xendomains.initd-r1, +xen-tools-3.4.1-r1.ebuild: + fix bugs 248771, 248797, 248917 + + 19 Aug 2009; Patrick Lauer xen-tools-3.4.1.ebuild: + Changing python dep (use=ssl) for #279917 + +*xen-tools-3.4.1 (17 Aug 2009) + + 17 Aug 2009; Patrick Lauer +xen-tools-3.4.1.ebuild, + +files/xen-tools-3.4.1-xc_core-memset.patch: + Bump to 3.4.1. Fixes #280773. Patch by Sergey Morozov + + 27 Jun 2009; Patrick Lauer xen-tools-3.1.3.ebuild, + xen-tools-3.1.3-r1.ebuild, xen-tools-3.2.1.ebuild, xen-tools-3.3.0.ebuild, + xen-tools-3.3.1.ebuild, xen-tools-3.4.0.ebuild, xen-tools-3.4.0-r1.ebuild: + Fixing link to gentoo-wiki.com, fixes #275219 + +*xen-tools-3.4.0-r1 (22 Jun 2009) + + 22 Jun 2009; Patrick Lauer + +xen-tools-3.4.0-r1.ebuild, +files/xen-tools-3.4.0-udevinfo.patch: + Udev rules fix, closes #236819. Thanks to Frank Ridderbusch for the shiny + patch + +*xen-tools-3.4.0 (22 Jun 2009) + + 22 Jun 2009; Patrick Lauer +xen-tools-3.4.0.ebuild, + +files/xen-tools-3.4.0-network-bridge-broadcast.patch: + Bump to 3.4.0. Closes #271173. Patch and ebuild fixes by Sergey Morozov + + 28 Apr 2009; Patrick Lauer + +files/xen-tools-3.3.1-sandbox-fix.patch, xen-tools-3.3.1: + Small sandbox fix, closes 253134. Patch originally from RB. + + 27 Apr 2009; Patrick Lauer xen-tools-3.3.1: + Bump to eapi2 for usedeps, fixing depends for use=doc, closes #199764 + +*xen-tools-3.3.1 (26 Apr 2009) + + 26 Apr 2009; Patrick Lauer +xen-tools-3.3.1.ebuild: + Bump to 3.3.1. Fixes half of #254931 + + 26 Apr 2009; Patrick Lauer + +files/xen-tools-3.3.0-warning-fix.patch, xen-tools-3.3.0: + Fix gcc 4.3 compile failure, part of #259670 + + 28 Feb 2009; Markus Meier metadata.xml: + custom-cflags is a global USE-flag + +*xen-tools-3.1.3-r1 (16 Jan 2009) + + 16 Jan 2009; Lance Albertson + +files/xen-tools-3.1.3-bzimage.patch, +xen-tools-3.1.3-r1.ebuild: + New patch for 3.1.3 which adds bzImage >=v2.08 support to xen. This allows + Fedora 10 to run as a DomU for this version. Patch is originally from + https://bugzilla.redhat.com/457199 + +*xen-tools-3.3.0 (01 Sep 2008) + + 01 Sep 2008; Robert Buchholz + +files/xen-tools-3.3.0--as-needed.patch, + +files/xen-tools-3.3.0-nostrip.patch, + +files/xen-tools-3.3.0-xen-detect-nopie-fix.patch, files/xendomains.confd, + files/xendomains.initd, metadata.xml, -xen-tools-3.2.0.ebuild, + +xen-tools-3.3.0.ebuild: + Version bump to Xen 3.3 (bug #201792). Fixes bugs: + * Add USE flags for ACM and FLASK Xen Security Modules + * Properly compile and uninstall python bytecode + * RDEPEND on pyxml (bug #201255) + * Remove libvncserver dependency + * Shutdown xendomains in reverse start order (bug #210445) + * Allow for parallel shutdown of xendomains (bug #162833) + * Check that python is built with threading (bug #236092) + + 30 Jul 2008; Robert Buchholz xen-tools-3.2.1.ebuild: + Set VARTEXFONTS so LaTeX does not try to write out of the sandbox (bug #233120) + + 28 Jul 2008; Doug Goldstein metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + +*xen-tools-3.2.1 (04 May 2008) + + 04 May 2008; Robert Buchholz + +files/xen-tools-3.2.1-qemu-nodocs.patch, -xen-tools-3.1.2.ebuild, + +xen-tools-3.2.1.ebuild: + Version bump to the Xen 3.2.1 release (bug #219339), thanks to Troy Bowman + for testig. Disable magic building of QEMU documentation (bug #192427). + +*xen-tools-3.2.0 (08 Feb 2008) + + 08 Feb 2008; Michael Marineau + +xen-tools-3.2.0.ebuild: + Add version 3.2.0 + +*xen-tools-3.1.3 (03 Feb 2008) + + 03 Feb 2008; Michael Marineau + +files/xen-tools-3.1.3-network-bridge-broadcast.patch, + +xen-tools-3.1.3.ebuild: + Version bump to 3.1.3 + + 14 Dec 2007; Robert Buchholz xen-tools-3.1.2.ebuild: + Added a check for USE=ncurses in python in case we use pygrub + +*xen-tools-3.1.2 (17 Nov 2007) + + 17 Nov 2007; Michael Marineau + -files/xen-tools-3.0.4_p1-pygrub-security-fix.patch, + -files/xen-tools-3.0.4_p1-remove-monitor-mode-from-vnc.patch, + -files/xen-tools-3.0.4_p1-vnclisten.patch, + -files/xen-tools-3.1.0-pygrub-security-fix.patch, + -files/xen-tools-3.1.0-python-site-packages.patch, + -files/xen-tools-3.1.1-insecure-file-creation-fix.patch, + -xen-tools-3.0.4_p1-r2.ebuild, -xen-tools-3.1.0-r2.ebuild, + -xen-tools-3.1.1-r1.ebuild, +xen-tools-3.1.2.ebuild: + Bump to 3.1.2. Clean out old versions. + +*xen-tools-3.1.1-r1 (23 Oct 2007) +*xen-tools-3.1.0-r2 (23 Oct 2007) +*xen-tools-3.0.4_p1-r2 (23 Oct 2007) + + 23 Oct 2007; Michael Marineau + +files/xen-tools-3.1.1-insecure-file-creation-fix.patch, + -xen-tools-3.0.4_p1-r1.ebuild, +xen-tools-3.0.4_p1-r2.ebuild, + -xen-tools-3.1.0-r1.ebuild, +xen-tools-3.1.0-r2.ebuild, + -xen-tools-3.1.1.ebuild, +xen-tools-3.1.1-r1.ebuild: + Fix an insecure temp file creation, bug #196824, CVE-2007-3919 + +*xen-tools-3.1.1 (15 Oct 2007) + + 15 Oct 2007; Michael Marineau + +xen-tools-3.1.1.ebuild: + Version bump. + + 02 Oct 2007; Michael Marineau + xen-tools-3.1.0-r1.ebuild: + Fix build on gcc 4.2.0, fixes bug #191172. + Warn user if iproute2 was built with USE=minimal, fixes bug #194224. + Minor cleanups, etc. + +*xen-tools-3.1.0-r1 (26 Sep 2007) +*xen-tools-3.0.4_p1-r1 (26 Sep 2007) + + 26 Sep 2007; Michael Marineau + +files/xen-tools-3.0.4_p1-pygrub-security-fix.patch, + +files/xen-tools-3.1.0-pygrub-security-fix.patch, + -xen-tools-3.0.4_p1.ebuild, +xen-tools-3.0.4_p1-r1.ebuild, + -xen-tools-3.1.0.ebuild, +xen-tools-3.1.0-r1.ebuild: + Security Bump: Guest domains could execute code on Dom0 via pygrub. + Bug #193808 and CVE-2007-4993 + + 03 Sep 2007; Michael Marineau + xen-tools-3.0.4_p1.ebuild, xen-tools-3.1.0.ebuild: + Fix documentation dependencies. + + 27 Aug 2007; Michael Marineau + xen-tools-3.0.4_p1.ebuild, xen-tools-3.1.0.ebuild: + Die if both x86 and amd64 are set in USE. + + 26 Aug 2007; Michael Marineau + +files/xen-tools-3.1.0-xen-detect-nopie-fix.patch, xen-tools-3.1.0.ebuild: + Fix build on x86 hardened. + +*xen-tools-3.1.0 (24 Aug 2007) + + 24 Aug 2007; Michael Marineau + -files/xen-tools-3.0.2--as-needed.patch, + -files/xen-tools-3.0.2-bxclobber.patch, + -files/xen-tools-3.0.2-pushpop.patch, + -files/xen-tools-3.0.2-pygrub-progsreiserfs-0.3.1.patch, + -files/xen-tools-3.0.2-test-uuid.patch, + -files/xen-tools-3.0.2-test-xauthority.patch, + -files/xen-tools-3.0.2-xc_ptrace.patch, + +files/xen-tools-3.1.0-python-site-packages.patch, -files/xend-init, + -xen-tools-3.0.2-r4.ebuild, +xen-tools-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-tools-3.0.4_p1.ebuild: + Remove unneeded hardened flag checking and add some more info to the post + install message. + + 25 Jun 2007; Michael Marineau + xen-tools-3.0.4_p1.ebuild: + Fix typo in -fno-pie flag. + + 16 May 2007; Michael Marineau + xen-tools-3.0.4_p1.ebuild: + Only depend on xproto when ioemu is enabled. Bug #177110. + +*xen-tools-3.0.4_p1 (02 May 2007) + + 02 May 2007; Michael Marineau + -files/3.0.2-r4/pygrub-progsreiserfs-0.3.1.patch, + -files/3.0.2-r4/xc_ptrace.patch, -files/3.0.2-r4/xend.initd, + -files/3.0.2-r4/xendomains.initd, +files/xen-tools-3.0.2-xc_ptrace.patch, + +files/xen-tools-3.0.2-pygrub-progsreiserfs-0.3.1.patch, + +files/xen-tools-3.0.4_p1--as-needed.patch, + +files/xen-tools-3.0.4_p1-network-bridge-broadcast.patch, + +files/xen-tools-3.0.4_p1-remove-monitor-mode-from-vnc.patch, + +files/xen-tools-3.0.4_p1-vnclisten.patch, +files/xend.initd, + +files/xendomains.initd, -files/xendomains-conf, -files/xendomains-init, + -xen-tools-3.0.2-r2.ebuild, -xen-tools-3.0.2-r3.ebuild, + xen-tools-3.0.2-r4.ebuild, +xen-tools-3.0.4_p1.ebuild: + Add Xen 3.0.4_1 from the marineam-xen overlay. + Clean out some old ebuilds and clean up the files dir. + + 13 Mar 2007; Andrew Ross xen-tools-3.0.2-r3.ebuild, + xen-tools-3.0.2-r4.ebuild: + Use "type" instead of "which", as per + http://archives.gentoo.org/gentoo-dev/msg_143424.xml + + 16 Dec 2006; Andrew Ross xen-tools-3.0.2-r4.ebuild: + Narrow dep on app-emulation/xen to match version of xen-tools. + +*xen-tools-3.0.2-r4 (13 Oct 2006) + + 13 Oct 2006; + +files/3.0.2-r4/pygrub-progsreiserfs-0.3.1.patch, + +files/3.0.2-r4/xc_ptrace.patch, +files/3.0.2-r4/xendomains.initd, + +files/3.0.2-r4/xend.initd, +xen-tools-3.0.2-r4.ebuild: + Fix a PTRACE_* compilation error, thanks to Thomas Veith + in #151014. + + Introduce the pygrub local USE flag and fix a compile error when + sys-fs/progsreiserfs is installed, thanks to M. Edward Borasky + and Mauricio Zambrano in + #137137. + + Make ntp-client start after xend, thanks to Harris Landgarten + in #144057. + + Make /etc/init.d/xendomains correctly handle domains with numbers, periods + and/or hyphens, thanks to Robert S in #148628. + + Fix a compile error with python-2.5, thanks to Charlie Shepherd + and Marien Zwart in #149138. + + Fix a compilation error on AMD64 with a 64 bit kernel and 32 bit userland, + thanks to tonich and Sven Wegener + in #143999. + + Make /etc/init.d/xend fail gracefully when started in a non-privileged + domain or unmodified kernel, thanks to Christian Hesse + and Robert S in #148486. + + Only warn instead of dying when python is build with stack smashing + protection (ssp), thanks to Tuan Van , Raimonds Cicans + , Brad Plant and Sven Wegener + in #141866. + + Replace the hardened USE flag with test-flag-CC from flag-o-matic.eclass to + avoid compile errors with gcc-4.1 and USE=hardened, thanks to Richard + Benjamin Voigt in #147876. + +*xen-tools-3.0.2-r3 (15 Aug 2006) + + 15 Aug 2006; Andrew Ross +files/xen-consoles.logrotate, + -files/xend-conf, +files/xendomains.confd, +files/xendomains.initd, + +files/xendomains-screen.confd, metadata.xml, -xen-tools-3.0.2-r1.ebuild, + xen-tools-3.0.2-r2.ebuild, +xen-tools-3.0.2-r3.ebuild: + Fix bugs #141981, #142011, #141866, and #137886. Thanks to Brad Plant + , Nedd Ludd , Nick Devito + , and Mike Williams . + + 10 Aug 2006; Sven Wegener + +files/xen-tools-3.0.2-bxclobber.patch, + +files/xen-tools-3.0.2-pushpop.patch, -files/hardened-bx-clobber.patch, + metadata.xml, xen-tools-3.0.2-r2.ebuild: + Fix push and pop usage for amd64, bug #142682. Disable the 32bit-only + vmxassist, if we can't compile x86 32bit code, bug #138314. + + 10 Aug 2006; Andrew Ross xen-tools-3.0.2-r2.ebuild: + Fix minor bug (debug USE flag ignored) introduced by the fix for bug #124361 + + 10 Aug 2006; Andrew Ross + +files/xen-tools-3.0.2-test-uuid.patch, + +files/xen-tools-3.0.2-test-xauthority.patch, metadata.xml, + xen-tools-3.0.2-r1.ebuild, xen-tools-3.0.2-r2.ebuild: + Fix bug #141233 and add myself as a maintainer. + +*xen-tools-3.0.2-r2 (04 Aug 2006) + + 04 Aug 2006; Chris Bainbridge + +xen-tools-3.0.2-r2.ebuild: + Add support for vnc and sdl - thanks to Nick Devito and Andrew Ross in bug + #124361 + +*xen-tools-3.0.2-r1 (09 Jun 2006) + + 09 Jun 2006; Chris Bainbridge -xen-tools-3.0.2.ebuild, + +xen-tools-3.0.2-r1.ebuild: + Clean up .pyc files, thanks to Andrew Ross, bug #136159 + + 02 Jun 2006; Roy Marples + +files/xen-tools-3.0.2--as-needed.patch, -xen-tools-3.0.1.ebuild, + -xen-tools-3.0.1_p9029.ebuild, xen-tools-3.0.2.ebuild: + Add patch to enable --as-needed LDFLAG, #135145 + + 26 Apr 2006; Aron Griffis xen-tools-3.0.1.ebuild, + xen-tools-3.0.1_p9029.ebuild, xen-tools-3.0.2.ebuild: + Remove ~ia64 since this ebuild deps on app-emulation/xen, which won't have + ia64 keywords for a while yet + + 11 Apr 2006; +files/hardened-bx-clobber.patch, + xen-tools-3.0.2.ebuild: + add hardened patch and IUSE flag, #129491 + + 10 Apr 2006; xen-tools-3.0.2.ebuild: + Fix hardened flags for hvmloader and vmxassist, #129491 + + 10 Apr 2006; xen-tools-3.0.2.ebuild: + removed the hardened stripping flags - now that the hypervisor is split out, + the tools should be compilable with hardened flags. There is currently a bug + with register clobbering which has been filed at bugzilla.xensource.com #609 + + 10 Apr 2006; xen-tools-3.0.2.ebuild: + add some extra man pages, #129189 + + 10 Apr 2006; xen-tools-3.0.2.ebuild: + remove sed fix, #129429 + + 10 Apr 2006; files/digest-xen-tools-3.0.2, Manifest: + new digest + +*xen-tools-3.0.2 (09 Apr 2006) + + 09 Apr 2006; +xen-tools-3.0.2.ebuild: + bump, #129191 + + 01 Apr 2006; Aron Griffis xen-tools-3.0.1.ebuild, + xen-tools-3.0.1_p9029.ebuild: + Add warning regarding dev-lang/python built without USE=ncurses #128175 + +*xen-tools-3.0.1_p9029 (24 Mar 2006) +*xen-tools-3.0.1 (24 Mar 2006) + + 24 Mar 2006; Aron Griffis +files/xend-conf, + +files/xend-init, +files/xendomains-conf, +files/xendomains-init, + +metadata.xml, +xen-tools-3.0.1.ebuild, +xen-tools-3.0.1_p9029.ebuild: + Split xen-tools from xen; this package installs xend and the tools, but not + the hypervisor or 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 diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/Manifest b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/Manifest new file mode 100644 index 0000000000..df315bfe32 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/Manifest @@ -0,0 +1,59 @@ +AUX fix-gold-ld.patch 408 SHA256 9ed4a989562890a87c05f6a63c2c2a81528e79f9e2fe5b7ebaafbc4ba874007c SHA512 7456bd9055a84490c5ac156a39ae9cda02dbe38712db5beb7adf572870f619cd897c70d4c24491dbfa3334df7ca56fd0af7494ce070f99f7d6275b9f32e48563 WHIRLPOOL f78caad306e7305bd3bc04a8c6acfda9a7a77cc405bfa74f824138b3bca85e61e8a948e112546c217aa56fe12b2b7f8dff948060bd7e61b9ac28adeca72a2a85 +AUX ipxe-nopie.patch 964 SHA256 0b70407969735f36587fade77f524c1c2077f28585b9e0df4fe347ecc5e379bf SHA512 510f0d88cf08a9a963c0ccf32e795e98f89e749f746ea244b29d7af770608287d8218b215ee46d73ec4f727d6dfbdb316048c6b42df55a8e154aa952abb50c1d WHIRLPOOL 38ed76955d51e9c4603a487e34340df7392e3011e5b2ed550bd945727733cc3f02691c6e0a58ecbe0dd56377a5b6a955a1516647c49cb85dfc809c852ede9e38 +AUX qemu-bridge.patch 3808 SHA256 73155306c318b7a9304eb5b7798f1d2aaf009f45af4d4dcbbc3beeb7ced013b6 SHA512 be35481ea6f9e87a6b1b73bae4c10137379447d9fecf268073015ac10a3091b8f6b0088d494bff18fcb5df27e3417441a63c63bfa3b87dacd62e5a4d31f34cfd WHIRLPOOL e363cb8e666b83b1023e954fd40c4e6d980c6b391a9159cd60d1b4bf775f8376e198e53c3c59a25a820c2f0de9fa94b2245f31d7a77f224362754865a22fe2d2 +AUX stubs-32.h 537 SHA256 4c903162da80cefd394404cb8cd9963a6ef6e3ad6c7adcbaa450a002d929bfc5 SHA512 55308dbedaa91909a2213940f7a7b574cabe6b5a3104761a2a6f28d6aed00164544488c00cbf9d66a9a370a14c6b6d3a00434efd3ff0228cc8e4d81af19c0e68 WHIRLPOOL 9c006e266bea6bb9d623e76011a4eac07c5fe4fdf76a041cc42a2289a7e9163988bad0fb2f458e300e45aabf9fb864ec764a496d7f89d58e57a506bac206a5f1 +AUX xen-4-fix_dotconfig-gcc.patch 9551 SHA256 93c8726fc3e0bd3f54d4162a3fdace45e3c3ea24fecf5f54270c6dc55c3924ab SHA512 64bfc2dd60bf5a7db593250f9da62cdea4daa458aa8c474ec47b065f6e19509555f48d49ec8624c484d873fe947b6f9cab98cdcd2c24ca8795eb1b64b378a004 WHIRLPOOL 341506ced55ae2ad30af1696434df25ba77c665042aa82dda35d0722f0cccbe567c8cebf51c2e20e0df3084f74f7eb7a69808dea2801f911b2d3c46a293b6ba2 +AUX xen-4-ulong.patch 463 SHA256 160af74e6149a7c8066fa3f0b59c7dc36d0185adc98a3897de0ea26868778c1e SHA512 5188b1712009168c994ad72f9d0b0e9cd708a79244d2fbdd675b2fedb5f62b5b2f6c9f1bdd2101e2b66f1c08ab94f55230f4f269907671d82b00f510d059f2f2 WHIRLPOOL 86c98b5d698535893cd05f05481486a8a96f8ee96ce2add4e14de1d6a18701810d6a2c5925fa6cb367e95ef605c8bf9ebecb7dff7cf01763da4235a9c79c5b3f +AUX xen-4.2-configsxp.patch 1216 SHA256 2ac6642cc1db65bb087e8179bb81f3a88230c81042ca951f487faf294def1f39 SHA512 50af6a970be4cbeb7f7c2e721a6f5bea13e73dabe3141131844970838ffc5e04bb65e3c7a98f602a3bbb8326dfb8e3f058adfcffe4e267a07cf081786f5bbc50 WHIRLPOOL ddb0c8ad6ee0653d9b30c86561eee9d6c66675023c0fe2fa7911f9639d5c7b21a1c0fc400978cc23ad075f38c28d97bdd64b3ed4e2ce56740415f8d30d7607ab +AUX xen-4.2.0-jserver.patch 900 SHA256 a8f9c0517b7fa4d56f3125515d260e60c51ef2cfe3fc22223c54415a92ffa16e SHA512 7f9bb7189273ecc34b5c66aea8cc9567a15c3d7e0fbd44e0f49669b067d719c9d85d6758cc213145679cbb8c2224cb5704aabb3ed40925bb2529965a5238d411 WHIRLPOOL ed6bcf1135c7dcb58eb2219c02b002fb57b16f50bfb0161bc64319b78dd7f8b87bc6206952755af900245d13073408946e31a51f01e95517f7def072f4810e66 +AUX xen-4.2.0-nostrip.patch 1554 SHA256 3bab6078b59a086e214fa0786cb827eeeb009d6f7f9901f6a8f1a23b857259f9 SHA512 7fe44ac34a317fc2d1298cea5d26fdd778f8356f3ac9b4fc412c07ca471ea0b21e7fac29f456306681396dee835e4c18c35ce4b7ba47c47153989eeecfb96310 WHIRLPOOL 7701c5b521245ba0b66e9ff53c41ada8e216d36f7a92b2af45aaddc0bd210bbaf21cb9401036b995f2f8d2598edb9324ad50a91f71d08e427caca21b26f101bd +AUX xen-4.3-fix_dotconfig-gcc.patch 19143 SHA256 53464dbb766f4437826c084e74aa84ef0144964966335a8dfad12372d9e61378 SHA512 015c771ce8d9197c178ee02d756a120ae212c6bb036ad46158762b4728587c75ec96466fc71e3c34a2ffbb580c881feb3d0c367db718a463719ada6905f52fa8 WHIRLPOOL 49f146b8f978341e79d6a73ac38cb1be42ea5a403e1f07941e33ad200ace6bd82f86febe829cce878488562996dfa2610df016085e35610386ecb0fc91587fb7 +AUX xen-4.3-jserver.patch 1487 SHA256 3bbf6d06ad1960e30dc84a3e3b179d5d23331ecf60d347871b7008c58456a6ed SHA512 f92bced9f3e7fec84b1bfce6ce3366f134cec2b892ffc3afcdd3fd3f73daf158c17c312260fae39bc9e04c1dab1045d17f0da706dd0dba0279e66dea454aed8d WHIRLPOOL 10828eb65effad714a61a18bcd6c33c2b7fb7fd0007b1a68aed7a653cd7e67acc04cc5eb9574d7d50c92fc7ca8223dff0c73f1cfde994e4ee1d787f536588b99 +AUX xen-4.4-nostrip.patch 493 SHA256 5fde7414d3a4debc91229ce6fd91194590014ba0da875c0003950311d58f2d7f SHA512 fd473cc94375e9ea73003c9f904d8183a82521b7e35d0a90ce7561d532aacc0eb914b964ffafc9c6e29e4aa47d5da4715a0447da45b0906fc3884dcd50ae6dd6 WHIRLPOOL d8381a365d641ad7ca7702f570d9a48f520cae61c08b67970db42842c77509e7cf2bb133efa8acc95ad3d914f38da0c382871bcd35ce8e97e80b3f61bcc9bdbf +AUX xen-4.4-qemu-bridge.patch 3557 SHA256 d6cdc6e947bfeeea98698952c9a85c0f0bb19239ebec7051873ed26e7ca5a2f5 SHA512 6f94f089a6a73f863b3e70f9a784cfdcc37a10901a596246aa5e324647484905a3c9c418f672d8895eca0fc36bd61c0df6bc3374baadcc4717c35dcb9a9a0a9d WHIRLPOOL ce78ac4bd098c87fb6794ab52e7a800f9d560e67628f6729ed2a15986e8b3bea72a22b0ce9ff3cfaeb07a39724498d8deba9fd26ae30b7dee6f1ab8c01a2734a +AUX xen-consoles.logrotate 63 SHA256 0da87a4b9094f934e3de937e8ef8d3afc752e76793aa3d730182d0241e118b19 SHA512 ab2105c75cfe01768aecd5bcbb56269d63666e8a44e42b6a83aee87df6c84ee2f9ab249171c21b2e09f8fec2cae8318f6e87d160989398a3e7dd68db8d52c426 WHIRLPOOL be108bf298202851de434af513ac8c03a533e7621623c2a7e8f26d498074b3eec81b85b2ae29ad2ec67f4fe9937c88bd78c5f5e260793e7e69ec964d4adb989e +AUX xen-tools-3.4.0-network-bridge-broadcast.patch 496 SHA256 d00a1954447fc29500ab2f1a8c7900310e0dee81942be5c922ad66b6b42dfb74 SHA512 496c61ec237506c77577e832828de923283f55ab07ad141718af1a719b1b5bcdb8152a8cffddc679ff4a3e389582e7b8de8aaf1b4c8b1124bf1563467bdf674f WHIRLPOOL f80a557ed62cc26a51f85bc8682a738ab29d4573e3261c440f6e66f50cd81263fa2c6898b1aa1b1c227a2d3923cc9fd718ffad2e123ee69c6d7929def7906433 +AUX xen-tools-4-anti-seabios-download.patch 400 SHA256 ca40e82b7624e23a5e9e3f5ceac8755e48358e75012c33a01869b916a1cfc080 SHA512 f0156cc9d5bc41b2b1ddc021146f0eebf7f5bbcf68fbc9fcbefd7c1a0a7e82adfc27f6a30887a966e1aa0bf65e7e6f08913c4b3f2b94ac726c7dec3f3a7e3e9d WHIRLPOOL e50c91861b0df4527ce9235667234c2a35d12dd5da6375565820dc7e6cda500de9e9c40cce194e1ac7456bd17b54b9c86947aec019d774249e1c799adde6f47b +AUX xen-tools-4-docfix.patch 438 SHA256 016120c2333667aa84861ac9289c48a072c4842fb517936570882e1fc4060de6 SHA512 0a67d703749df823f5223b555c6dc896420e73ed7eeb5e77a8f8b950fc8bafaf9e20d66c35b29883b3cee6f8ca5054af3b55f804d20ae20d676feeeabf92b489 WHIRLPOOL fed73bd521b4cbea804ef4bc3b4b3a4007e7765cf0ab67e700e95afd328181ab5fce246b53a5e2a462baf6029664b25f82ffeabc1aaeb45fa99af344ecc957a5 +AUX xen-tools-4-qemu-fix-po-collision.patch 924 SHA256 d222f47362f60b284057709e6432a7e787c719b28e5378209a9e58e551183f0e SHA512 ac78d68cab8dc403b83c5ec30dd46efa283241c76febdb91ad1b706b2dd4a3f71d6d3edb33480014cd20140a99b12f15faaf35f1d84b9a74cc67bc652fd22a9d WHIRLPOOL c1667f14f4e35fafdcad91765f73675e3523a57e534ef82da67d7a4982b31314925990aabf7707c3646ccd537ef10ea019054c33e08d53140209053fa4826694 +AUX xen-tools-4-qemu-xen-doc.patch 820 SHA256 691b2d84f7312388d528c83f3e9e90521e6b2c97abae8ca8a83325655264c98a SHA512 bc07420be7629796e49e128c1cfbde8fa7d4dc3b66174462448e9033f78c0c982dfdbd4dde9b1c54a9862fd2f9602c6bac0be1dfc0df8280aaaf8de60acb708f WHIRLPOOL 4fc2907a42bc3f824160f92586392f7dba07c2229382585f5f7bf4c0f3ab2574a814e8e8fd076b68abb2580497492e1fc0e6181ffb8f1acb5c70e60caff81505 +AUX xen-tools-4-unbundle-ipxe.patch 1294 SHA256 8358f99924049bdd7e8f00a0f68250c33c46796d30457e885c6a36d8b23dd4ca SHA512 dfe1504bf5cbbf14060e16ef8f24c64c51d68420ede80c8fcd284ae302c50840cb305ff65f2279f3f8749cb62ad9c49fbbace6bdc3d71decca16398c40e4b2cc WHIRLPOOL 9801cf864928b8df55900164cab6d80c9b01a2e8e8685c003394ca2cc098ea969a0bf15fea6be7909a33011dd0fa45748446efe439d60900b1bd9daa3587bde8 +AUX xen-tools-4-unbundle-seabios.patch 805 SHA256 45e5d640fa071fe5a2e1f4168bb01851fb6e1d273b245b717f20229cf99e8d36 SHA512 96828ff555aa99347e9beda2adecbfe7fd27e9f9f0fc1491b470e25917aeb885d92d6ff1bbdf6282f400a76fc117c41b62cf71fffabbb9a1a5ddca20173abd6f WHIRLPOOL 29090b75288c23d8fd2e39cf7404c89e4c3fc209f7b29c87a5f7fdfc037e3b99ce7643bb2517e76bcc457fc5e8db49a4991c3a13b941db4d9e4c1ea861aa35f6 +AUX xen-tools-4.1.1-bridge.patch 449 SHA256 71eea5408e3600c3c6f7ce4e8363ea2c19db36c1882e20cf0ef8143af527782b SHA512 3e4021c363bae11874b13675a8ad6aaf5b733e42a18e0d1259dce1cf2c305440dde13a7a08a584213dd96fa4b0a788048f6cb87a0f5b3ce777a2048215dbd779 WHIRLPOOL 9363d615578696899ba84d6d2026d3cc5115756a9d0ca5a91071ac4db6e2fa425135bbf6db320e90daf78f89c6203b291dcb2cc25a6e5db82b7c094d3c940cde +AUX xen-tools-4.2-xen_disk_leak.patch 2324 SHA256 b5d07dded35d48196afe4e52e7e48ef459b527c4b34f1aad13710dae94cba6c8 SHA512 bb8a36a30e69f6d09c9293cd76f071741ce04bf0d0129d9417b3fc41841f6dcb0160506a80222e67d58c78a289072913578868d6a055eb23266d15d5fa59ebe2 WHIRLPOOL c0c69406f564b335a3215a7cea8a447ad7d2b27590f3cf92c74c74356c46ed26557fee3ff5fac5a8ae54f7d8dc1772500d75d9de1630a57ee48d8193a6fdd1e9 +AUX xen-tools-4.2.2-install.patch 994 SHA256 4e86e9aa4bb884fcdeec8824c1ec9c54d5e5106f9101b6ca6eb0f5fea6b953b9 SHA512 99b179082eda1326b093f04f9321b3133beef8f7689cc3b9ef626b8d08744629b7b5867a96cb31d3030a4db3f17d230d506828bdd87631989809139459e81937 WHIRLPOOL a5de9e0897552eab01741a8147c871909f48ec11238c9503f7902c94aad6df65baf0fe54b013145fade8091ec452c03906f624cbcd417e3cd2aac6f64b12ffd2 +AUX xen-tools-4.2.2-rt-link.patch 1371 SHA256 8bbcbf69900a041c368a219aa6a3eca13d802e54a29ccfa50db4f86691ba977a SHA512 cbfac7a485c811afa54740c638ef161036f36d09d11ee3df6ae79fa9d6fbae174933946f83b4dcaa7aa78124346fbb9b9bd3e969fa73c121afc64d8eda1ecdec WHIRLPOOL da90e1b6983541d52d26dcd1dd168ed3d05e6ab69624914c544af7a6102ef66de3594fc2b07f8fe6bb7f5233781c7c35bbbb9aa8a52dda0dc78eb57f05765b83 +AUX xen-tools-4.2.4-udev-rules.patch 705 SHA256 89b5eb99b4859f2f34ba55841118a21811e54c8d410ce4d14af4f21d25efb458 SHA512 90eaf7bb8e504ac035cc83d2a953af76bfd990296b539f8bf33439674ce172258171aef68617209a6c83788998bb968a3acb4c727b7f8965bef0eb9a5cd0e0bd WHIRLPOOL bf385acd06d335822d096e136ffa3ef1311be5de84b78058d788093cf87399b48801a4e020fbd0766ed3c0e60e8b211dfd8b2af4ca28ee7dd33aa8027238bef5 +AUX xen-tools-4.3-ar-cc.patch 4036 SHA256 1470887a8ced12d8df61ef74d6dfcb36f2822fa95da7031162ecb577f69ae49a SHA512 1171b5005a24fbbcd4ad9a68153c78ce816aa823f0452a707f3e26d5cee0a0faa05d917db3edcdc7f2924dcf9fd8aee5d7ac7a419723eebe3699be7a32765dd0 WHIRLPOOL e5c3a2adf7e55e7690c4123f442e8f43f66030015228473f9d4d69230eeeb82714c89f502942cd9a76e0637d70f6dc2ebed7eeb3202fbb6cca430c8af420b549 +AUX xen-tools-4.4-api-fix.patch 1586 SHA256 d4e2a090f38333996f14328c9b0ded2a76cb336637660446003cdfb1bc03ed49 SHA512 883c06d3d30d3b61815e0bbc69de49c11196e2bf8af7c32b4ed4dbd034596906c209e1714a5f7d9bdcdcdd289972b7b7163351c4b9e324640429e8aa598ec695 WHIRLPOOL 9a3b402487e626e4cf02664231ac263550c4f2e862f2e0d729157823217b94e7d07299e1363e8f0dc0afa0199b455f7a1c08601a4ba4b0b00b60b479f93b83c7 +AUX xencommons.confd 109 SHA256 e19b950b1bb4103f9006a0c2648a8d4bc890e2c67417de2700b82fb456802640 SHA512 f0bbc9647cecc6cf806e3059960fbe39b23304d9ca0955fb261e1d320b9b9ce59e5b28cc4b5a9922295b31221f0cd8f0cccb405520e097a7b12dc6ddb3294c17 WHIRLPOOL a8b7df6f9a8515b9c3c845379a3aa4424490972d5f882e8779a30fd2d44b77cb66deaa5c1496125ea7bc82e06044a485e14e904ad5c9c79222c008fb6ccc4e74 +AUX xencommons.initd 1572 SHA256 1798da5d488097792b6d2d42970309a4f6dad5a14b3104de66b44b7d07f0a5c3 SHA512 32407a6e075dbbead800b49c08db1786b9ff667dc7e3297a58ce620c200826d38955f19ec622fb6526c96615adb167c53cf34828bbb63aba40a7b24b41513382 WHIRLPOOL 29a18b9778e5c2c411f7a20381f5a9f8d1f5e99f6bdfb850a585ee21c88f4d5f678550f74ea4aee15cc8dc63db3d58564afa5480effc77e21fd89482ee560e0d +AUX xenconsoled.confd 44 SHA256 2a74be03eb74f6013242a4a5d721df6cb9b959b43c405de1e32813f52d749060 SHA512 30df69cc38d0bed26bc4d6e08a2b62cbdc654d5f663009a05cb3b83b3e3dc5e206362d3fd59abbb753ceb8d6d79eaa6e15d079bb8f4f35dc74667103faf4e85d WHIRLPOOL 503f7b48842724e69e7e4ae752d0570c339b7214b5a5fa1db51300e65470803bb383524f6de6c5c08849a961f628f6db7764e3eddcc19accbd209777a0f27d68 +AUX xenconsoled.initd 902 SHA256 3c992cfaee51e923ed33982a83a16c1812abb9d365975006193ef60806268025 SHA512 f20f283dc0e262ea08ae5adadf8ffd07a111ab041ac0b4c34b2b1a517a9cc7a71f72fccf6690e389b69057875522576e528b346062a6afbd21195afa1cd14e28 WHIRLPOOL 1a952b4f84de478f3d375f93bca445fb82e4af4381f619b3d01ef8d8d1d9aae0272c392565f819580a769a3779745377caa6ebeeaf4b7cdab5858ef2b701073f +AUX xend.initd-r1 1654 SHA256 66288cbff2fcb457778e6dd5ea4edb0dd99b491a53f8cd0eb799950e7a07c361 SHA512 6ae729898c5d6104b82220e4ba9ec321615500e332ed82cbb981fc1dc2e86f897520de688ed3ccd02fb8369d64705f4993f4730836f85cd8824d3aa2f34f1f6d WHIRLPOOL 2d39bcb96e0f41078612d1f528bcc7d192ee547ede1ef8fdb48bac37500a066070910ec265fedd5767ffdd5c1d7e29deed2a50442274c8d4d1080ed43b844c07 +AUX xend.initd-r2 1056 SHA256 d316338c06679bee39c2b378f2f4b5daa738d82206f80610e8ca874c797f265a SHA512 be835ff131a2845b003f0ba2b94959fc940a9db3e60f4325565317701440bb4cb6ae08e0e407b4bdbb057957541439e3b92ac7abb129d50304c14e3d180a34d4 WHIRLPOOL ccfb1abf6d6b508091600f3d99071d2143a34f5bb64d170912b8eeeb536da758c2295f19c727edb0ee86e1a38ccbdcd43e5297ea06058c539ea66fd578bcd43c +AUX xendomains-screen.confd 890 SHA256 10ae16108a73cc1ddecfae3bd8dc0e7e739f3f9d845249a2ec23ca03ea02fdb1 SHA512 fb7bfc1806608c6e30bb7db367afe9cf75d44e809556c3ba2794cb3ce0c9f35bcfd7f2bfc4a15a8d805f3d57ff082fe9a525cbac3306e64cbbd0ee5cef554505 WHIRLPOOL 014bef2bf120733482a54811f97ea680ce4d585df1cefde96a0ad90de1e167986f8ebdc0726717128c5835b8f8d55eddef79a36ab86e39ac2a43be70562eeb07 +AUX xendomains.confd 291 SHA256 2fac318bb96b357dd185f7729d83c0a0b941799cdb89c24ed83051bb085735dc SHA512 8ad255d39fc0b390c854a64ed82333b6a3041e1247b7a3934cd8274710c168c0017ef2dddbe32c120268d7ea946f8c1b148d7d06a3a4bf415a77eeec36dce2da WHIRLPOOL cea26f5b0c88d644a8906cb2cc9ea8fe5071d6dfd7fc1020d1ce795a389c01b26209cdde04f61e4755494455a1b60c4652e45734c8f5463f2108ea4700e4f336 +AUX xendomains.initd-r2 2929 SHA256 05118153b6dfca4c17f74a5c3c619200c2f1479ad5e7bf9887f79c12814d7944 SHA512 24328f6fa1ff8721cc76faf269f0a3aca47b5d029a8a9087be6b9a0cb2003880971109459d72e78a8349f5139c06056a0be80e4801eb34c78975f187fdd7482d WHIRLPOOL 098109d3bcde691721c997e3a62609e7001683256b85b4f64194e55c2740bb8f3b970e628315b97e26ce188f3fe2279d10a5fba03524577138ec29478a0bb7d0 +AUX xenqemudev.confd 156 SHA256 61c5ff72464c5098d9cad50e5dc94a090dd107b4831bb60a4260cf0a3d12ce81 SHA512 d3cdeaed625e65e60fb22128baf24dceb45143ddf494d7db26464497abc42dbba0c0c9878f1e3908e2910557f4c4d600939824e944938aa251609ec5a1a86ee4 WHIRLPOOL 9633789dcc4dc4eaf7f2198385930bf5474c7a9e531746db89bcae50b8ed78313133a124d4a2b38fb5021337f43cfbd260e4ae391e26d063c68e7aff354be4c2 +AUX xenqemudev.initd 1847 SHA256 c1b002a54917f60adf6941fecf44453c0072a9048c9c3e318d2e695f7ea12c72 SHA512 3fb6a8c5d35b773e0fb7bc9b6c26aa18be48b97d95cbb21df8aefeebb814e3fd5819d579504a4015acb0e5fd6abe2f864f48ea83c095cedae2c69720b6e355ad WHIRLPOOL 2a286111d18eb1f8701f3d30e1fb0b006e2ab359db1ff32100e18fd0e4f46cf13407d765842542c38a31598f62cc71f246bb5c11d06410336850c0288c9e8d4a +AUX xenstored.confd 42 SHA256 afcc14f014fe4ec478f85d230efefba9ffad024bf8c83b30074e8a3712cc7831 SHA512 0906cbcdc84935d07cf53bc4447a1f9a9dc4e4fb9fda9a7163f6982f1d8a3ada1f0650fcd254fb6f715a54f7971daf0a5e61c3de6db70dfd156156fd55b59fe4 WHIRLPOOL df46f3fde8b13c3427f445bcf08eb4c660f6000164a01e461cff85cf93ce1195009fc3b4457181788da8eef8dec9125b41ace233ec6f169919be64337a57ebb8 +AUX xenstored.initd 1057 SHA256 15c22c41ade7a329f8a2b5c857cab865fb89752413b427c651ce5cffb45bc8fe SHA512 e74d3e95af079b96b4f2bbf3e436d2cebd84726f9c098ec1fad3dd9015a45cb2dac97fa5ee1ef9fe1f6bf332e97f1cbd38601c397a1a513cde60039ee15c8925 WHIRLPOOL 5071b02be32fe6fc1ca0eb07ad81d46e03ddd1b3344cdabf632552b87b8c2a4d45c58ba148f6706a1140e30525c1ee68394e1cbad8442886d697b3e033038a6d +DIST seabios-1.6.3.2.tar.gz 422376 SHA256 888aafe37ef3d1f502a73518a5e4dd0e9373ce4cd41681c354771314f1e41dd7 SHA512 c54431d8e81d25b74427696da689e90d3ab68c7c1be1dec05c81658d28b650f53daa34dcee2da826c1cf5d5d39396b12b0b16ea20ed6fd89de8f732163c8cca5 WHIRLPOOL 826c0e034ca46291661faa363189ee6cf56098cabc39f8fc84d2c442cc2da2174c2fa027cc11e11a7c3fed619f2e524f2aee804d9836d256448cdad28631d69a +DIST seabios-1.7.1-stable-xen.tar.gz 437679 SHA256 f45a2815fb3cce1e0d0acadcf06c6eaecf1f104bb18138a566cb5eaf414f88e5 SHA512 60b686a4dfc56b390bee3592c999d5485ad3fef8adb6115a999eb4c2d850b33ac22e67d8c58513a2d3aba3997c1402b86a01bfb7e8f19834a23623e32010f73b WHIRLPOOL 3bff0ff214d83ea1521a2689f56c6f261d59c760eb1fb5789492e4be6a638073de393d11b93a3e0a71d6f43f5fd597dc2deac326f64bb55af4346579821a28c8 +DIST seabios-1.7.3.1.tar.gz 463801 SHA256 e1f5845c3fa01a9280421d587dcd866273d5d6c0002b9fe70a6736e56ef5c36f SHA512 6b2c376f6c2644e1ecad687079fc8ec63eb064b82ec3ac2d24f4ec7b56432c7ed69d41539e7b212aa134368272198bdaf50fed23637a29fcf1e653db008b2009 WHIRLPOOL 8e37ef66722580b9db67c5b98282e23074847eadbdd2db5ed8b999d25c1ce7cbe9ab54fbbb15d2985f403e18e6b2fa2ea36d87ce46ec30b0e5bbbc0f69623007 +DIST xen-4.2.4-upstream-patches-3.tar.xz 57456 SHA256 e223b6fb10ca26415d0677e465480f77378f7a196bb3a2cc654a2d53e867fa66 SHA512 4b1091cba3afb149f8734630f32a3c44b1abade4a524f5bbfcc88df5700dbcb38dfd7b4dd0059e323a5b89a9156109505891a54dae9d698fe9d89ab2294e3151 WHIRLPOOL 1448b20e6930dcc7a0d57819732341e24257159c97fc5e270be9c47935b750cf7fa08b02ac1d0f49792b453476330b19c773e79d1c6b02ea9ed7baca83750163 +DIST xen-4.2.4-upstream-patches-4.tar.xz 69344 SHA256 23ef320500452dcf8a824d5c8062c6399e1c3f39a51ce6594b232b4bfbd9d9c4 SHA512 43141b8ba4790860632eb83814e9b5e469ba3431da00820fd131ae6a79e1a05ea4db4b801627f52360ebac06160dd86217a79b196d2b6d379c86cf9449b75371 WHIRLPOOL 30344a3780122fed2d3895adf60bc4d7efc6879b0ad46160ccbcaa98c69aa4f419cd233690f69a250dc413fb410c3affad805bfa8570c9d78290c3a9b224264c +DIST xen-4.2.4.tar.gz 15663999 SHA256 e23e6292affd7a6d82da99527e8bf3964e57eb7322144c67c2025692b1a21550 SHA512 3e5263511e7c40899f580f3384bd987f9c875b8e6816202fd1a5a64fe7e336803d09e58148af074938ef261f0ceeafad121ac541ddd2bf66b76c5aa4ad07c357 WHIRLPOOL 25d23f5d921139ba0f853fcd76ae998647d32292bccfd4e7c4f3b12f860a38fbb33ebda67c839657bf3a25d837c9c02b80d663362263d16d42284ffde09f0bc2 +DIST xen-4.3.2-upstream-patches-3.tar.xz 60208 SHA256 661ab148c9eeb2c8e44d0bd620496607a567d4f6c1fa0a6f89b21086ee8f607d SHA512 1248c937c604716f756083d44ef14150c8601f810fd8c0b73df314bd34287a53b4db3e8697f03acab3cf56252cbac8578a5bbedb40c342fa7c2b3f7f9c6575e0 WHIRLPOOL df3525d76607232720d3f3351548add60c89a139d380cf6147bec122cb11c52570e99dd14f800e88e411248b950aeed32ae03cce93fc8358011b3125114bb3c6 +DIST xen-4.3.2-upstream-patches-4.tar.xz 69268 SHA256 eb00972bc511b584278a178765af8fc5d6d78097a39e6d3fdf5133a73693d953 SHA512 f9455d375f26b37844b820ea238a06c24a4e1f76adbd217a78ac31c3e0e078f9eaf2744886e09d7fc3a1b3b9b03c85257bac236742d69c5c0a00cf0683760d1d WHIRLPOOL e55f126f004313efadf7d881b10e7747504824d83f477787fad09eede0a8f3aba268a37d933e641720b51ed91723f036c80c855907697293ea2b1b52e5a9efb5 +DIST xen-4.3.2.tar.gz 16472188 SHA256 17611d95f955302560ff72d97c08933b4e62bc2e8ffb71400fc54e388746ff69 SHA512 ec94d849b56ec590b89022075ce43768d8ef44b7be9580ce032509b44c085f0f66495845607a18cd3dea6b89c69bc2a18012705556f59288cd8653c3e5eca302 WHIRLPOOL 72250369fb2c90ba608e1da018cb6417b3089642c8ba59af9f2825ec5ba7c4e6c5d6f86140b20825817e4625727c6d58c5d38b00863c994e31c8a04927997bd3 +DIST xen-4.4.0-upstream-patches-5.tar.xz 112184 SHA256 39b3db8f684a570d7379ee7e75e3cfffa72f8fdf639cbb745f90b42f7a223f0f SHA512 e25893b8507fd7b1a3d2194e83da55b934914df73aa4a18a893e6a09df3ab0e1f992a6b26c2b5a2fccfbe41c4a56d10db37eb58dcf08832b9d85be1ff94ced7d WHIRLPOOL 2baf008c98b9685fcad8ea58a41c14271947295ad5e28c99a01876c87ad5274d8f59e5583e1bf41caa536238ed0baaf785f4a1271b68e51f18f2195cd894b5fe +DIST xen-4.4.0.tar.gz 18116578 SHA256 6910a504fe2ffe8db0e7a44756ce1c4c95e1ccbef942a1fc8da27aced5aac021 SHA512 84bc293415b8ce9686240b0145a92be190cdd7032c66b5b07906baacbfeb33ad1e6148336e951fd4506b7f4e0b250937c702226c0207d7088a50e643bedabd17 WHIRLPOOL 87886cc83bf1eaaf5dd5b67d7cc82823d98dd9b4b47c0a178ea70ee2367c1a4a142aa66df13f58603840d0e310fb5c09dc0d5b87f6361c934e1c83c95d09d406 +EBUILD xen-tools-4.2.4-r6.ebuild 12426 SHA256 c5489ffd4bd4b453bd702ba6b5c827a1662c7bf836f0cf3752361d565cd0b339 SHA512 d5215f224a8f9c7f139b51515cc8d4932f54c86fa5a1206b3724a5479fde77f55573208e1c76c3f797d052a03f97713a401380969a02e96b9d6a7c45b09a29e7 WHIRLPOOL ff5a62df762bdcca6f661556886bea44c6f3e96576ab0b4db1eeffb762955dda100b01be49954c97684de3ecf44bb9a2e85d23c8160ece4af9630c4fac6c7378 +EBUILD xen-tools-4.2.4-r7.ebuild 12423 SHA256 9220dfdd1b37112fc112bb924b7eaa8ded52acceb0d23c3b76da14437e2847de SHA512 dc223b4f7397e9fa1d61bb486abb959b0d4ef788f84642e04985d4f7eaed870983e5b9cdb79987a9373015954dd01317da251bd22a4e4a8378a19495ab00b95e WHIRLPOOL bb57e425ea862a883f128ec4069ebaecc575b87ec9e6cdd6c8e70f999f7625d8abe8ab19173a82e3a307aaae56511c81ebf34c02e6f53f5e96fcc31302a84662 +EBUILD xen-tools-4.3.2-r5.ebuild 13635 SHA256 99871c3b5398dbfccacb34b273436892dfe78311b0007b7aba23421277b4f70d SHA512 c134d361d6d4cd491f266b29a199b305fb7f3d263adc0204b1ce4f7c6e96f9ba3bb915014230357818ad5b2e8760c1ab0943b7401cd41e90ab2c1d6338ff0197 WHIRLPOOL a33b91b8c6ea021cf181c0f723fc60db961c1e215779092d437042e077082799f8513a508c02d4b1b3ed368df7399265a86a0e9f51afd944fb46fc975264020f +EBUILD xen-tools-4.3.2-r6.ebuild 13631 SHA256 8753b9bf0e713f6ce53f68f52c8ed93af1fdf448e3e2aa305bd5f3874a58c011 SHA512 498a0e292b73bb20c5fb0db69cb2c808c49d10eefd25e7921baf10f418121ddf5491bf1d0dcfc76bf9da43f6f7b428d365519367388bbcaeae75179be901f2c5 WHIRLPOOL 61017db68ee3e6e341ba5f3d59a48e995d209bfe91c6c356cb566bef65a994f69cd19a3bddbb1407ec509a7865dd36d86d15d47bf6dcdbfb905614eab26ef10c +EBUILD xen-tools-4.4.0-r9.ebuild 13521 SHA256 bd902ca88be1d165a4df7ad78629910cbf8e3d047e51dbbdf8e85a5a40ce570d SHA512 d70b6c3e82f7a5b6a4b567d38e923f1903b0a3a39fc2026005e0e2ba60223e226870995f5c39f3cd4cbb2f664bdf0b7bc841ef2d199de186c06ca202a34def53 WHIRLPOOL 5eef42f4c8aa971373189b0c16d672779414e80c9bd63a7fb632210f484257b0a75da1279d83b283b382d4fdc7ff21eda4ea07740df4dc9387c21389408c19e3 +MISC ChangeLog 60229 SHA256 20a11411e24f522442302f530ba9475ff1cf3df15272ecd761b388386ed716a2 SHA512 fdcc0feb300ca2c5a927aea42c66b5484dd02ee53a1eb2818f611a6cc98694a6b8ae97a8c6974ca3f193c1df4b72becd893ddc3d9aa805503d9939c4c52f4811 WHIRLPOOL 6edff3a8eaf0727c50c762b25ddd3713d1892a02b978087f777fb7575c3ddb983f453f2fd1a73be968e88bb73aaa02eb6ad84e5b7c611fa83c0c46b72f7e7a0e +MISC metadata.xml 1009 SHA256 9e8e2c5b191fffbbdf2dd0772213f5b2fe13b10e0413f9d12081f87e7ba6565b SHA512 bdd573cf6cb7664d4f0512f99f7ba5c81758d59986d764423328ce1fccc2149f0f7ca9eccefe3953ecec5f4d15bf829792f9ed07a60a5c447e1a3f5ed0d26c26 WHIRLPOOL 08f65daec784396532cc0700847d5e8545a73b49e840a491a6089945bbb9a8597ecc012bf65a6835ad5dff1623377d80360692ae9c41589130f9b4bedc909e76 diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/fix-gold-ld.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/fix-gold-ld.patch new file mode 100644 index 0000000000..654eb257b6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/fix-gold-ld.patch @@ -0,0 +1,14 @@ +diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile +index cbd60b4..d2b83dd 100644 +--- a/tools/libfsimage/common/Makefile ++++ b/tools/libfsimage/common/Makefile +@@ -5,7 +5,7 @@ MAJOR = 1.0 + MINOR = 0 + + LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS +-LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU ++LDFLAGS-$(CONFIG_Linux) = + LDFLAGS = $(LDFLAGS-y) + + CFLAGS += $(PTHREAD_CFLAGS) + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/ipxe-nopie.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/ipxe-nopie.patch new file mode 100644 index 0000000000..c5be735f1e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/ipxe-nopie.patch @@ -0,0 +1,29 @@ +2011-10-22 Ralf Glauberman + + #360805 Don't compile ipxe with pie on hardened. + * /tools/firmware/etherboot/patches/ipxe-nopie.patche New patch + * /tools/firmware/etherboot/patches/series Add ipxe-nopie.patch + +--- a/tools/firmware/etherboot/patches/ipxe-nopie.patch 1970-01-01 01:00:00.000000000 +0100 ++++ b/tools/firmware/etherboot/patches/ipxe-nopie.patch 2011-03-27 17:45:13.929697782 +0200 +@@ -0,0 +1,11 @@ ++--- ipxe/src/Makefile~ 2011-03-27 17:41:52.000000000 +0200 +++++ ipxe/src/Makefile 2011-03-27 17:43:20.869446433 +0200 ++@@ -4,7 +4,7 @@ ++ # ++ ++ CLEANUP := ++-CFLAGS := +++CFLAGS := -nopie ++ ASFLAGS := ++ LDFLAGS := ++ MAKEDEPS := Makefile +--- a/tools/firmware/etherboot/patches/series 2011-03-25 11:42:50.000000000 +0100 ++++ b/tools/firmware/etherboot/patches/series 2011-03-27 17:45:45.140446216 +0200 +@@ -1,4 +1,5 @@ + boot_prompt_option.patch + build_fix_1.patch + build_fix_2.patch + build_fix_3.patch ++ipxe-nopie.patch + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/qemu-bridge.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/qemu-bridge.patch new file mode 100644 index 0000000000..a63f081e87 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/qemu-bridge.patch @@ -0,0 +1,87 @@ +diff -ur xen-4.3.0.orig/tools/qemu-xen/.gitignore xen-4.3.0/tools/qemu-xen/.gitignore +--- tools/qemu-xen/.gitignore 2013-06-28 19:23:16.000000000 +0800 ++++ tools/qemu-xen/.gitignore 2013-07-26 23:05:24.487998947 +0800 +@@ -37,7 +37,7 @@ + qemu-img-cmds.h + qemu-io + qemu-ga +-qemu-bridge-helper ++xen-bridge-helper + qemu-monitor.texi + vscclient + QMP/qmp-commands.txt +diff -ur xen-4.3.0.orig/tools/qemu-xen/Makefile xen-4.3.0/tools/qemu-xen/Makefile +--- tools/qemu-xen/Makefile 2013-06-28 19:23:16.000000000 +0800 ++++ tools/qemu-xen/Makefile 2013-07-26 23:03:35.800991899 +0800 +@@ -50,7 +50,7 @@ + + LIBS+=-lz $(LIBS_TOOLS) + +-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) ++HELPERS-$(CONFIG_LINUX) = xen-bridge-helper$(EXESUF) + + ifdef BUILD_DOCS + DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt +@@ -195,7 +195,7 @@ + qemu-nbd$(EXESUF): qemu-nbd.o $(tools-obj-y) $(block-obj-y) libqemustub.a + qemu-io$(EXESUF): qemu-io.o cmd.o $(tools-obj-y) $(block-obj-y) libqemustub.a + +-qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o ++xen-bridge-helper$(EXESUF): xen-bridge-helper.o + + vscclient$(EXESUF): $(libcacard-y) $(oslib-obj-y) $(trace-obj-y) libcacard/vscclient.o libqemustub.a + $(call quiet-command,$(CC) $(LDFLAGS) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@") +diff -ur xen-4.3.0.orig/tools/qemu-xen/net.h xen-4.3.0/tools/qemu-xen/net.h +--- tools/qemu-xen/net.h 2013-06-28 19:23:16.000000000 +0800 ++++ tools/qemu-xen/net.h 2013-07-26 23:05:01.823997477 +0800 +@@ -163,7 +163,7 @@ + + #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" + #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" +-#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper" ++#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper" + #define DEFAULT_BRIDGE_INTERFACE "br0" + + void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd); +diff -ur xen-4.3.0.orig/tools/qemu-xen/qemu-bridge-helper.c xen-4.3.0/tools/qemu-xen/qemu-bridge-helper.c +--- tools/qemu-xen/qemu-bridge-helper.c 2013-06-28 19:23:16.000000000 +0800 ++++ tools/qemu-xen/qemu-bridge-helper.c 2013-07-26 23:04:11.880994239 +0800 +@@ -67,7 +67,7 @@ + static void usage(void) + { + fprintf(stderr, +- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); ++ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); + } + + static int parse_acl_file(const char *filename, ACLList *acl_list) +diff -ur xen-4.3.0.orig/tools/qemu-xen/qemu-options.hx xen-4.3.0/tools/qemu-xen/qemu-options.hx +--- tools/qemu-xen/qemu-options.hx 2013-06-28 19:23:16.000000000 +0800 ++++ tools/qemu-xen/qemu-options.hx 2013-07-26 23:05:17.239998477 +0800 +@@ -1560,7 +1560,7 @@ + + If running QEMU as an unprivileged user, use the network helper + @var{helper} to configure the TAP interface. The default network +-helper executable is @file{/usr/local/libexec/qemu-bridge-helper}. ++helper executable is @file{/usr/local/libexec/xen-bridge-helper}. + + @option{fd}=@var{h} can be used to specify the handle of an already + opened host TAP interface. +@@ -1584,7 +1584,7 @@ + #launch a QEMU instance with the default network helper to + #connect a TAP device to bridge br0 + qemu-system-i386 linux.img \ +- -net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper" ++ -net nic -net tap,"helper=/usr/local/libexec/xen-bridge-helper" + @end example + + @item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}] +@@ -1593,7 +1593,7 @@ + + Use the network helper @var{helper} to configure the TAP interface and + attach it to the bridge. The default network helper executable is +-@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge ++@file{/usr/local/libexec/xen-bridge-helper} and the default bridge + device is @file{br0}. + + Examples: diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/stubs-32.h b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/stubs-32.h new file mode 100644 index 0000000000..a421528deb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/stubs-32.h @@ -0,0 +1,20 @@ +/* This file is automatically generated. + It defines a symbol `__stub_FUNCTION' for each function + in the C library which is a stub, meaning it will fail + every time called, usually setting errno to ENOSYS. */ + +#ifdef _LIBC + #error Applications may not define the macro _LIBC +#endif + +#define __stub_chflags +#define __stub_fattach +#define __stub_fchflags +#define __stub_fdetach +#define __stub_gtty +#define __stub_lchmod +#define __stub_revoke +#define __stub_setlogin +#define __stub_sigreturn +#define __stub_sstk +#define __stub_stty diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-fix_dotconfig-gcc.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-fix_dotconfig-gcc.patch new file mode 100644 index 0000000000..4e08a30f32 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-fix_dotconfig-gcc.patch @@ -0,0 +1,245 @@ +# Fix gcc-4.6 +diff -ur xen-4.2.0.orig/extras/mini-os/minios.mk xen-4.2.0/extras/mini-os/minios.mk +--- extras/mini-os/minios.mk 2012-09-17 18:21:17.000000000 +0800 ++++ extras/mini-os/minios.mk 2012-12-05 14:01:10.653260260 +0800 +@@ -6,7 +6,7 @@ + + # Define some default flags. + # NB. '-Wcast-qual' is nasty, so I omitted it. +-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls ++DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls + DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) + DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline) + DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline +diff -ur xen-4.2.0.orig/tools/libxc/Makefile xen-4.2.0/tools/libxc/Makefile +--- tools/libxc/Makefile 2012-09-17 18:21:18.000000000 +0800 ++++ tools/libxc/Makefile 2012-12-05 14:01:10.653260260 +0800 +@@ -73,7 +73,7 @@ + + -include $(XEN_TARGET_ARCH)/Makefile + +-CFLAGS += -Werror -Wmissing-prototypes ++CFLAGS += -Wmissing-prototypes + CFLAGS += -I. $(CFLAGS_xeninclude) + + # Needed for posix_fadvise64() in xc_linux.c +# Drop .config +diff -ur xen-4.2.0.orig/Config.mk xen-4.2.0/Config.mk +--- Config.mk 2012-09-17 18:23:12.000000000 +0800 ++++ Config.mk 2012-12-05 14:01:10.641260261 +0800 +@@ -7,7 +7,6 @@ Drop .config + # fallback for older make + realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) + +--include $(XEN_ROOT)/.config + + # A debug build of Xen and tools? + debug ?= n +@@ -24,7 +24,7 @@ + + # Tools to run on system hosting the build + HOSTCC = gcc +-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer ++HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer + HOSTCFLAGS += -fno-strict-aliasing + + DISTDIR ?= $(XEN_ROOT)/dist +@@ -156,7 +156,7 @@ + + CFLAGS += -std=gnu99 + +-CFLAGS += -Wall -Wstrict-prototypes ++CFLAGS += -Wstrict-prototypes + + # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' + # and is over-zealous with the printf format lint +diff -ur xen-4.2.1.orig/tools/blktap2/drivers/Makefile xen-4.2.1/tools/blktap2/drivers/Makefile +--- tools/blktap2/drivers/Makefile 2012-12-17 23:00:11.000000000 +0800 ++++ tools/blktap2/drivers/Makefile 2013-01-30 12:31:43.539941099 +0800 +@@ -9,7 +9,7 @@ + LOCK_UTIL = lock-util + INST_DIR = $(SBINDIR) + +-CFLAGS += -Werror -g ++CFLAGS += -g + CFLAGS += -Wno-unused + CFLAGS += -fno-strict-aliasing + CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers +diff -ur xen-4.2.1.orig/tools/debugger/gdbsx/Rules.mk xen-4.2.1/tools/debugger/gdbsx/Rules.mk +--- tools/debugger/gdbsx/Rules.mk 2012-12-17 23:00:22.000000000 +0800 ++++ tools/debugger/gdbsx/Rules.mk 2013-01-30 12:31:43.516941098 +0800 +@@ -1,4 +1,4 @@ + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror -Wmissing-prototypes ++CFLAGS += -Wmissing-prototypes + # (gcc 4.3x and later) -Wconversion -Wno-sign-conversion +diff -ur xen-4.2.1.orig/tools/debugger/xenitp/Makefile xen-4.2.1/tools/debugger/xenitp/Makefile +--- tools/debugger/xenitp/Makefile 2012-12-17 23:00:22.000000000 +0800 ++++ tools/debugger/xenitp/Makefile 2013-01-30 12:31:43.516941098 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-#CFLAGS += -Werror -g -O0 ++#CFLAGS += -g -O0 + + CFLAGS += $(CFLAGS_libxenctrl) + +diff -ur xen-4.2.1.orig/tools/libaio/harness/Makefile xen-4.2.1/tools/libaio/harness/Makefile +--- tools/libaio/harness/Makefile 2012-12-17 23:00:35.000000000 +0800 ++++ tools/libaio/harness/Makefile 2013-01-30 12:31:43.541941099 +0800 +@@ -4,7 +4,7 @@ + HARNESS_SRCS:=main.c + # io_queue.c + +-CFLAGS=-Wall -Werror -g -O -laio ++CFLAGS=-Wall -g -O -laio + #-lpthread -lrt + + all: $(PROGS) +diff -ur xen-4.2.1.orig/tools/libfsimage/Rules.mk xen-4.2.1/tools/libfsimage/Rules.mk +--- tools/libfsimage/Rules.mk 2012-12-17 23:00:36.000000000 +0800 ++++ tools/libfsimage/Rules.mk 2013-01-30 12:31:43.515941097 +0800 +@@ -1,7 +1,7 @@ + include $(XEN_ROOT)/tools/Rules.mk + + CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\" +-CFLAGS += -Werror -D_GNU_SOURCE ++CFLAGS += -D_GNU_SOURCE + LDFLAGS += -L../common/ + + PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y)) +diff -ur xen-4.2.1.orig/tools/libxl/Makefile xen-4.2.1/tools/libxl/Makefile +--- tools/libxl/Makefile 2012-12-17 23:01:08.000000000 +0800 ++++ tools/libxl/Makefile 2013-01-30 12:31:43.541941099 +0800 +@@ -11,7 +11,7 @@ + XLUMAJOR = 1.0 + XLUMINOR = 1 + +-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \ ++CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ + -Wno-declaration-after-statement -Wformat-nonliteral + CFLAGS += -I. -fPIC + +diff -ur xen-4.2.1.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.2.1/tools/qemu-xen/pc-bios/optionrom/Makefile +--- tools/qemu-xen/pc-bios/optionrom/Makefile 2012-09-11 02:10:52.000000000 +0800 ++++ tools/qemu-xen/pc-bios/optionrom/Makefile 2013-01-30 12:31:43.528941098 +0800 +@@ -9,7 +9,7 @@ + + .PHONY : all clean build-all + +-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin ++CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin + CFLAGS += -I$(SRC_PATH) + CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector) + QEMU_CFLAGS = $(CFLAGS) +diff -ur xen-4.2.1.orig/tools/vtpm/Rules.mk xen-4.2.1/tools/vtpm/Rules.mk +--- tools/vtpm/Rules.mk 2012-12-17 23:01:35.000000000 +0800 ++++ tools/vtpm/Rules.mk 2013-01-30 12:31:43.515941097 +0800 +@@ -6,7 +6,7 @@ + # + + # General compiler flags +-CFLAGS = -Werror -g3 ++CFLAGS = -g3 + + # Generic project files + HDRS = $(wildcard *.h) +diff -ur xen-4.2.1.orig/tools/vtpm_manager/Rules.mk xen-4.2.1/tools/vtpm_manager/Rules.mk +--- tools/vtpm_manager/Rules.mk 2012-12-17 23:01:35.000000000 +0800 ++++ tools/vtpm_manager/Rules.mk 2013-01-30 12:31:43.511941097 +0800 +@@ -6,7 +6,7 @@ + # + + # General compiler flags +-CFLAGS = -Werror -g3 ++CFLAGS = -g3 + + # Generic project files + HDRS = $(wildcard *.h) +diff -ur xen-4.2.1.orig/tools/xenstat/xentop/Makefile xen-4.2.1/tools/xenstat/xentop/Makefile +--- tools/xenstat/xentop/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/xenstat/xentop/Makefile 2013-01-30 12:31:43.535941098 +0800 +@@ -18,7 +18,7 @@ + all install xentop: + else + +-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat) ++CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat) + LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS) + CFLAGS += -DHOST_$(XEN_OS) + +diff -ur xen-4.2.1.orig/xen/arch/arm/Rules.mk xen-4.2.1/xen/arch/arm/Rules.mk +--- xen/arch/arm/Rules.mk 2012-12-17 23:01:37.000000000 +0800 ++++ xen/arch/arm/Rules.mk 2013-01-30 12:31:43.498941097 +0800 +@@ -9,7 +9,7 @@ + HAS_DEVICE_TREE := y + + CFLAGS += -fno-builtin -fno-common -Wredundant-decls +-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe ++CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe + CFLAGS += -I$(BASEDIR)/include + + # Prevent floating-point variables from creeping into Xen. +diff -ur xen-4.2.1.orig/xen/arch/x86/Rules.mk xen-4.2.1/xen/arch/x86/Rules.mk +--- xen/arch/x86/Rules.mk 2012-12-17 23:01:37.000000000 +0800 ++++ xen/arch/x86/Rules.mk 2013-01-30 12:31:43.490941096 +0800 +@@ -24,7 +24,7 @@ + endif + + CFLAGS += -fno-builtin -fno-common -Wredundant-decls +-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe ++CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe + CFLAGS += -I$(BASEDIR)/include + CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic + CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default +diff -ur xen-4.2.1.orig/xen/include/Makefile xen-4.2.1/xen/include/Makefile +--- xen/include/Makefile 2012-12-17 23:01:55.000000000 +0800 ++++ xen/include/Makefile 2013-01-30 12:31:43.502941097 +0800 +@@ -78,7 +78,7 @@ + all: headers.chk + + headers.chk: $(filter-out public/arch-% public/%ctl.h public/xsm/% public/%hvm/save.h, $(wildcard public/*.h public/*/*.h) $(public-y)) Makefile +- for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new ++ for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new + mv $@.new $@ + + endif +diff -ur xen-4.2.1.orig/tools/tests/mce-test/tools/Makefile xen-4.2.1/tools/tests/mce-test/tools/Makefile +--- tools/tests/mce-test/tools/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/mce-test/tools/Makefile 2013-01-30 13:01:44.890020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_libxenguest) + CFLAGS += $(CFLAGS_libxenstore) +diff -ur xen-4.2.1.orig/tools/tests/mem-sharing/Makefile xen-4.2.1/tools/tests/mem-sharing/Makefile +--- tools/tests/mem-sharing/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/mem-sharing/Makefile 2013-01-30 13:01:44.890020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_xeninclude) +diff -ur xen-4.2.1.orig/tools/tests/xen-access/Makefile xen-4.2.1/tools/tests/xen-access/Makefile +--- tools/tests/xen-access/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/xen-access/Makefile 2013-01-30 13:01:44.891020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_libxenguest) + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-ulong.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-ulong.patch new file mode 100644 index 0000000000..443e321d34 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4-ulong.patch @@ -0,0 +1,11 @@ +diff -ur xen-4.2.2.orig/tools/debugger/gdbsx/xg/xg_main.c xen-4.2.2/tools/debugger/gdbsx/xg/xg_main.c +--- tools/debugger/gdbsx/xg/xg_main.c 2013-04-24 00:42:55.000000000 +0800 ++++ tools/debugger/gdbsx/xg/xg_main.c 2013-05-16 00:22:39.263704336 +0800 +@@ -50,6 +50,7 @@ + #include "xg_public.h" + #include + #include ++#include + #include + #include + #include diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2-configsxp.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2-configsxp.patch new file mode 100644 index 0000000000..4c159c17a0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2-configsxp.patch @@ -0,0 +1,24 @@ +diff -ur xen-4.2.1.orig/tools/examples/xend-config.sxp xen-4.2.1/tools/examples/xend-config.sxp +--- tools/examples/xend-config.sxp 2012-12-17 23:00:23.000000000 +0800 ++++ tools/examples/xend-config.sxp 2013-06-27 21:32:50.198221774 +0800 +@@ -200,7 +200,7 @@ + #(network-script network-nat) + #(vif-script vif-nat) + +-# dom0-min-mem is the lowest permissible memory level (in MB) for dom0. ++# dom0-min-mem is the lowest permissible memory level (in kb) for dom0. + # This is a minimum both for auto-ballooning (as enabled by + # enable-dom0-ballooning below) and for xm mem-set when applied to dom0. + (dom0-min-mem 196) +diff -ur xen-4.2.1.orig/tools/python/xen/xend/tests/xend-config.sxp xen-4.2.1/tools/python/xen/xend/tests/xend-config.sxp +--- tools/python/xen/xend/tests/xend-config.sxp 2012-12-17 23:01:27.000000000 +0800 ++++ tools/python/xen/xend/tests/xend-config.sxp 2013-06-27 21:32:02.726225130 +0800 +@@ -116,7 +116,7 @@ + + + # Dom0 will balloon out when needed to free memory for domU. +-# dom0-min-mem is the lowest memory level (in MB) dom0 will get down to. ++# dom0-min-mem is the lowest memory level (in kb) dom0 will get down to. + # If dom0-min-mem=0, dom0 will never balloon out. + (dom0-min-mem 196) + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-jserver.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-jserver.patch new file mode 100644 index 0000000000..d42080c767 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-jserver.patch @@ -0,0 +1,20 @@ +diff -ur xen-4.2.0.orig/tools/tests/x86_emulator/Makefile xen-4.2.0/tools/tests/x86_emulator/Makefile +--- tools/tests/x86_emulator/Makefile 2012-09-17 18:21:19.000000000 +0800 ++++ tools/tests/x86_emulator/Makefile 2012-11-24 05:06:24.355778737 +0800 +@@ -14,13 +14,13 @@ + .PHONY: blowfish.h + blowfish.h: + rm -f blowfish.bin +- XEN_TARGET_ARCH=x86_32 make -f blowfish.mk all ++ XEN_TARGET_ARCH=x86_32 $(MAKE) -f blowfish.mk all + (echo "static unsigned int blowfish32_code[] = {"; \ + od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\ + echo "};") >$@ + rm -f blowfish.bin + ifeq ($(XEN_COMPILE_ARCH),x86_64) +- XEN_TARGET_ARCH=x86_64 make -f blowfish.mk all ++ XEN_TARGET_ARCH=x86_64 $(MAKE) -f blowfish.mk all + (echo "static unsigned int blowfish64_code[] = {"; \ + od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\ + echo "};") >>$@ + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-nostrip.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-nostrip.patch new file mode 100644 index 0000000000..de06279bd3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.2.0-nostrip.patch @@ -0,0 +1,37 @@ +diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile xen-4.2.0/tools/qemu-xen-traditional/Makefile +--- tools/qemu-xen-traditional/Makefile 2012-09-07 00:05:30.000000000 +0800 ++++ tools/qemu-xen-traditional/Makefile 2012-11-22 06:12:29.433599695 +0800 +@@ -243,7 +243,7 @@ + install: all $(if $(BUILD_DOCS),install-doc) + mkdir -p "$(DESTDIR)$(bindir)" + ifneq ($(TOOLS),) +- $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" ++ $(INSTALL) -m 755 $(TOOLS) "$(DESTDIR)$(bindir)" + endif + ifneq ($(BLOBS),) + mkdir -p "$(DESTDIR)$(datadir)" +diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile.target xen-4.2.0/tools/qemu-xen-traditional/Makefile.target +--- tools/qemu-xen-traditional/Makefile.target 2012-09-07 00:05:30.000000000 +0800 ++++ tools/qemu-xen-traditional/Makefile.target 2012-11-22 06:26:45.302521231 +0800 +@@ -755,7 +755,7 @@ + + install: all install-hook + ifneq ($(PROGS),) +- $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)" ++ $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" + endif + + # Include automatically generated dependency files +diff -ur xen-4.2.0.orig/tools/qemu-xen/Makefile.target xen-4.2.0/tools/qemu-xen/Makefile.target +--- tools/qemu-xen/Makefile.target 2012-09-11 02:10:52.000000000 +0800 ++++ tools/qemu-xen/Makefile.target 2012-11-22 07:13:38.894263291 +0800 +@@ -437,9 +437,6 @@ + install: all + ifneq ($(PROGS),) + $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" +-ifneq ($(STRIP),) +- $(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS)) +-endif + endif + ifdef CONFIG_TRACE_SYSTEMTAP + ifdef CONFIG_TRACE_SYSTEMTAP diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-fix_dotconfig-gcc.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-fix_dotconfig-gcc.patch new file mode 100644 index 0000000000..4d3fa8d2f0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-fix_dotconfig-gcc.patch @@ -0,0 +1,502 @@ +# Fix gcc-4.6 +diff -ur xen-4.2.0.orig/extras/mini-os/minios.mk xen-4.2.0/extras/mini-os/minios.mk +--- extras/mini-os/minios.mk 2012-09-17 18:21:17.000000000 +0800 ++++ extras/mini-os/minios.mk 2012-12-05 14:01:10.653260260 +0800 +@@ -6,7 +6,7 @@ + + # Define some default flags. + # NB. '-Wcast-qual' is nasty, so I omitted it. +-DEF_CFLAGS += -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format -Wno-redundant-decls ++DEF_CFLAGS += -fno-builtin -Wall -Wredundant-decls -Wno-format -Wno-redundant-decls + DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) + DEF_CFLAGS += $(call cc-option,$(CC),-fgnu89-inline) + DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline +diff -ur xen-4.2.0.orig/tools/libxc/Makefile xen-4.2.0/tools/libxc/Makefile +--- tools/libxc/Makefile 2012-09-17 18:21:18.000000000 +0800 ++++ tools/libxc/Makefile 2012-12-05 14:01:10.653260260 +0800 +@@ -85,7 +85,7 @@ + + -include $(XEN_TARGET_ARCH)/Makefile + +-CFLAGS += -Werror -Wmissing-prototypes ++CFLAGS += -Wmissing-prototypes + CFLAGS += -I. $(CFLAGS_xeninclude) + + # Needed for posix_fadvise64() in xc_linux.c +# Drop .config +diff -ur xen-4.2.0.orig/Config.mk xen-4.2.0/Config.mk +--- Config.mk 2012-09-17 18:23:12.000000000 +0800 ++++ Config.mk 2012-12-05 14:01:10.641260261 +0800 +@@ -7,7 +7,6 @@ Drop .config + # fallback for older make + realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) + +--include $(XEN_ROOT)/.config + + # A debug build of Xen and tools? + debug ?= n +@@ -24,7 +24,7 @@ + + # Tools to run on system hosting the build + HOSTCC = gcc +-HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer ++HOSTCFLAGS = -Wstrict-prototypes -O2 -fomit-frame-pointer + HOSTCFLAGS += -fno-strict-aliasing + + DISTDIR ?= $(XEN_ROOT)/dist +@@ -156,7 +156,7 @@ + + CFLAGS += -std=gnu99 + +-CFLAGS += -Wall -Wstrict-prototypes ++CFLAGS += -Wstrict-prototypes + + # Clang complains about macros that expand to 'if ( ( foo == bar ) ) ...' + # and is over-zealous with the printf format lint +diff -ur xen-4.2.1.orig/tools/blktap2/drivers/Makefile xen-4.2.1/tools/blktap2/drivers/Makefile +--- tools/blktap2/drivers/Makefile 2012-12-17 23:00:11.000000000 +0800 ++++ tools/blktap2/drivers/Makefile 2013-01-30 12:31:43.539941099 +0800 +@@ -9,7 +9,7 @@ + LOCK_UTIL = lock-util + INST_DIR = $(SBINDIR) + +-CFLAGS += -Werror -g ++CFLAGS += -g + CFLAGS += -Wno-unused + CFLAGS += -fno-strict-aliasing + CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers +diff -ur xen-4.2.1.orig/tools/debugger/gdbsx/Rules.mk xen-4.2.1/tools/debugger/gdbsx/Rules.mk +--- tools/debugger/gdbsx/Rules.mk 2012-12-17 23:00:22.000000000 +0800 ++++ tools/debugger/gdbsx/Rules.mk 2013-01-30 12:31:43.516941098 +0800 +@@ -1,4 +1,4 @@ + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror -Wmissing-prototypes ++CFLAGS += -Wmissing-prototypes + # (gcc 4.3x and later) -Wconversion -Wno-sign-conversion +diff -ur xen-4.2.1.orig/tools/libaio/harness/Makefile xen-4.2.1/tools/libaio/harness/Makefile +--- tools/libaio/harness/Makefile 2012-12-17 23:00:35.000000000 +0800 ++++ tools/libaio/harness/Makefile 2013-01-30 12:31:43.541941099 +0800 +@@ -4,7 +4,7 @@ + HARNESS_SRCS:=main.c + # io_queue.c + +-CFLAGS=-Wall -Werror -g -O -laio ++CFLAGS=-Wall -g -O -laio + #-lpthread -lrt + + all: $(PROGS) +diff -ur xen-4.2.1.orig/tools/libfsimage/Rules.mk xen-4.2.1/tools/libfsimage/Rules.mk +--- tools/libfsimage/Rules.mk 2012-12-17 23:00:36.000000000 +0800 ++++ tools/libfsimage/Rules.mk 2013-01-30 12:31:43.515941097 +0800 +@@ -1,7 +1,7 @@ + include $(XEN_ROOT)/tools/Rules.mk + + CFLAGS += -Wno-unknown-pragmas -I$(XEN_ROOT)/tools/libfsimage/common/ -DFSIMAGE_FSDIR=\"$(FSDIR)\" +-CFLAGS += -Werror -D_GNU_SOURCE ++CFLAGS += -D_GNU_SOURCE + LDFLAGS += -L../common/ + + PIC_OBJS := $(patsubst %.c,%.opic,$(LIB_SRCS-y)) +diff -ur xen-4.2.1.orig/tools/libxl/Makefile xen-4.2.1/tools/libxl/Makefile +--- tools/libxl/Makefile 2012-12-17 23:01:08.000000000 +0800 ++++ tools/libxl/Makefile 2013-01-30 12:31:43.541941099 +0800 +@@ -11,7 +11,7 @@ + XLUMAJOR = 1.0 + XLUMINOR = 1 + +-CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \ ++CFLAGS += -Wno-format-zero-length -Wmissing-declarations \ + -Wno-declaration-after-statement -Wformat-nonliteral + CFLAGS += -I. -fPIC + +diff -ur xen-4.2.1.orig/tools/qemu-xen/pc-bios/optionrom/Makefile xen-4.2.1/tools/qemu-xen/pc-bios/optionrom/Makefile +--- tools/qemu-xen/pc-bios/optionrom/Makefile 2012-09-11 02:10:52.000000000 +0800 ++++ tools/qemu-xen/pc-bios/optionrom/Makefile 2013-01-30 12:31:43.528941098 +0800 +@@ -9,7 +9,7 @@ + + .PHONY : all clean build-all + +-CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin ++CFLAGS := -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-builtin + CFLAGS += -I$(SRC_PATH) + CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector) + QEMU_CFLAGS = $(CFLAGS) +diff -ur xen-4.2.1.orig/tools/xenstat/xentop/Makefile xen-4.2.1/tools/xenstat/xentop/Makefile +--- tools/xenstat/xentop/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/xenstat/xentop/Makefile 2013-01-30 12:31:43.535941098 +0800 +@@ -18,7 +18,7 @@ + all install xentop: + else + +-CFLAGS += -DGCC_PRINTF -Wall -Werror $(CFLAGS_libxenstat) ++CFLAGS += -DGCC_PRINTF -Wall $(CFLAGS_libxenstat) + LDLIBS += $(LDLIBS_libxenstat) $(CURSES_LIBS) $(SOCKET_LIBS) + CFLAGS += -DHOST_$(XEN_OS) + +diff -ur xen-4.2.1.orig/xen/arch/arm/Rules.mk xen-4.2.1/xen/arch/arm/Rules.mk +--- xen/arch/arm/Rules.mk 2012-12-17 23:01:37.000000000 +0800 ++++ xen/arch/arm/Rules.mk 2013-01-30 12:31:43.498941097 +0800 +@@ -9,7 +9,7 @@ + HAS_DEVICE_TREE := y + + CFLAGS += -fno-builtin -fno-common -Wredundant-decls +-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe ++CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe + CFLAGS += -I$(BASEDIR)/include + + # Prevent floating-point variables from creeping into Xen. +diff -ur xen-4.2.1.orig/xen/arch/x86/Rules.mk xen-4.2.1/xen/arch/x86/Rules.mk +--- xen/arch/x86/Rules.mk 2012-12-17 23:01:37.000000000 +0800 ++++ xen/arch/x86/Rules.mk 2013-01-30 12:31:43.490941096 +0800 +@@ -24,7 +24,7 @@ + endif + + CFLAGS += -fno-builtin -fno-common -Wredundant-decls +-CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe ++CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe + CFLAGS += -I$(BASEDIR)/include + CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic + CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-default +diff -ur xen-4.2.1.orig/xen/include/Makefile xen-4.2.1/xen/include/Makefile +--- xen/include/Makefile 2012-12-17 23:01:55.000000000 +0800 ++++ xen/include/Makefile 2013-01-30 12:31:43.502941097 +0800 +@@ -78,7 +78,7 @@ + all: headers.chk + + headers.chk: $(filter-out public/arch-% public/%ctl.h public/xsm/% public/%hvm/save.h, $(wildcard public/*.h public/*/*.h) $(public-y)) Makefile +- for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -Werror -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new ++ for i in $(filter %.h,$^); do $(CC) -ansi -include stdint.h -Wall -W -S -o /dev/null -xc $$i || exit 1; echo $$i; done >$@.new + mv $@.new $@ + + endif +diff -ur xen-4.2.1.orig/tools/tests/mce-test/tools/Makefile xen-4.2.1/tools/tests/mce-test/tools/Makefile +--- tools/tests/mce-test/tools/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/mce-test/tools/Makefile 2013-01-30 13:01:44.890020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_libxenguest) + CFLAGS += $(CFLAGS_libxenstore) +diff -ur xen-4.2.1.orig/tools/tests/mem-sharing/Makefile xen-4.2.1/tools/tests/mem-sharing/Makefile +--- tools/tests/mem-sharing/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/mem-sharing/Makefile 2013-01-30 13:01:44.890020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_xeninclude) +diff -ur xen-4.2.1.orig/tools/tests/xen-access/Makefile xen-4.2.1/tools/tests/xen-access/Makefile +--- tools/tests/xen-access/Makefile 2012-12-17 23:01:35.000000000 +0800 ++++ tools/tests/xen-access/Makefile 2013-01-30 13:01:44.891020152 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror ++CFLAGS += + + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_libxenguest) +diff -ur xen-4.3.0.orig/tools/firmware/Rules.mk xen-4.3.0/tools/firmware/Rules.mk +--- tools/firmware/Rules.mk 2013-07-09 18:46:56.000000000 +0800 ++++ ttools/firmware/Rules.mk 2013-07-20 20:28:57.811836505 +0800 +@@ -11,8 +11,6 @@ + CFLAGS += -DNDEBUG + endif + +-CFLAGS += -Werror +- + $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS)) + + # Extra CFLAGS suitable for an embedded type of environment. +diff -ur xen-4.3.0.orig/tools/memshr/Makefile xen-4.3.0/tools/memshr/Makefile +--- tools/memshr/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/memshr/Makefile 2013-07-22 23:04:20.165369499 +0800 +@@ -3,7 +3,6 @@ + + LIBMEMSHR-BUILD := libmemshr.a + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += $(CFLAGS_xeninclude) + CFLAGS += $(CFLAGS_libxenctrl) +diff -ur xen-4.3.0.orig/tools/misc/Makefile xen-4.3.0/tools/misc/Makefile +--- tools/misc/Makefile 2013-07-22 23:01:09.019357104 +0800 ++++ tools/misc/Makefile 2013-07-22 23:03:43.645367131 +0800 +@@ -1,8 +1,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror +- + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_xeninclude) + CFLAGS += $(CFLAGS_libxenstore) +diff -ur xen-4.3.0.orig/tools/xenpaging/Makefile xen-4.3.0/tools/xenpaging/Makefile +--- tools/xenpaging/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xenpaging/Makefile 2013-07-22 23:04:51.893371557 +0800 +@@ -11,7 +11,6 @@ + SRCS += file_ops.c xenpaging.c policy_$(POLICY).c + SRCS += pagein.c + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -g + +diff -ur xen-4.3.0.orig/tools/xenpmd/Makefile xen-4.3.0/tools/xenpmd/Makefile +--- tools/xenpmd/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xenpmd/Makefile 2013-07-22 23:05:13.357372949 +0800 +@@ -1,7 +1,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror + CFLAGS += $(CFLAGS_libxenstore) + + LDLIBS += $(LDLIBS_libxenstore) + +diff -ur xen-4.3.0.orig/tools/blktap2/control/Makefile xen-4.3.0/tools/blktap2/control/Makefile +--- tools/blktap2/control/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap2/control/Makefile 2013-07-22 23:31:55.225476829 +0800 +@@ -8,7 +8,6 @@ + + IBIN = tap-ctl + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -I../include -I../drivers + CFLAGS += $(CFLAGS_xeninclude) +diff -ur xen-4.3.0.orig/tools/blktap2/lvm/Makefile xen-4.3.0/tools/blktap2/lvm/Makefile +--- tools/blktap2/lvm/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap2/lvm/Makefile 2013-07-22 23:31:02.329473398 +0800 +@@ -6,7 +6,6 @@ + TEST := lvm-util + endif + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -I../include + CFLAGS += -D_GNU_SOURCE +diff -ur xen-4.3.0.orig/tools/blktap2/vhd/lib/Makefile xen-4.3.0/tools/blktap2/vhd/lib/Makefile +--- tools/blktap2/vhd/lib/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap2/vhd/lib/Makefile 2013-07-22 23:32:23.889478688 +0800 +@@ -12,7 +12,6 @@ + + INST-DIR = $(LIBDIR) + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -I../../include + CFLAGS += -D_GNU_SOURCE +diff -ur xen-4.3.0.orig/tools/blktap2/vhd/Makefile xen-4.3.0/tools/blktap2/vhd/Makefile +--- tools/blktap2/vhd/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap2/vhd/Makefile 2013-07-22 23:31:21.641474651 +0800 +@@ -8,7 +8,6 @@ + IBIN = vhd-util vhd-update + INST_DIR = $(SBINDIR) + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -I../include + CFLAGS += -D_GNU_SOURCE +diff -ur xen-4.3.0.orig/tools/console/Makefile xen-4.3.0/tools/console/Makefile +--- tools/console/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/console/Makefile 2013-07-22 23:30:14.392470290 +0800 +@@ -1,8 +1,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror +- + CFLAGS += $(CFLAGS_libxenctrl) + CFLAGS += $(CFLAGS_libxenstore) + LDLIBS += $(LDLIBS_libxenctrl) +diff -ur xen-4.3.0.orig/tools/libxen/Makefile.dist xen-4.3.0/tools/libxen/Makefile.dist +--- tools/libxen/Makefile.dist 2013-07-09 18:46:56.000000000 +0800 ++++ tools/libxen/Makefile.dist 2013-07-22 23:29:08.184465996 +0800 +@@ -22,7 +22,7 @@ + CFLAGS = -Iinclude \ + $(shell xml2-config --cflags) \ + $(shell curl-config --cflags) \ +- -W -Wall -Wmissing-prototypes -Werror -std=c99 -O2 -fPIC ++ -W -Wall -Wmissing-prototypes -std=c99 -O2 -fPIC + + LDFLAGS = $(shell xml2-config --libs) \ + $(shell curl-config --libs) +diff -ur xen-4.3.0.orig/tools/ocaml/common.make xen-4.3.0/tools/ocaml/common.make +--- tools/ocaml/common.make 2013-07-09 18:46:56.000000000 +0800 ++++ tools/ocaml/common.make 2013-07-22 23:28:35.280463862 +0800 +@@ -9,7 +9,7 @@ + OCAMLYACC ?= ocamlyacc + OCAMLFIND ?= ocamlfind + +-CFLAGS += -fPIC -Werror -I$(shell ocamlc -where) ++CFLAGS += -fPIC -I$(shell ocamlc -where) + + OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p') + OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F +diff -ur xen-4.3.0.orig/tools/python/setup.py xen-4.3.0/tools/python/setup.py +--- tools/python/setup.py 2013-07-09 18:46:56.000000000 +0800 ++++ tools/python/setup.py 2013-07-22 23:32:49.305480336 +0800 +@@ -4,7 +4,7 @@ + + XEN_ROOT = "../.." + +-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ] ++extra_compile_args = [ "-fno-strict-aliasing" ] + + PATH_XEN = XEN_ROOT + "/tools/include" + PATH_LIBXC = XEN_ROOT + "/tools/libxc" +diff -ur xen-4.3.0.orig/tools/xcutils/Makefile xen-4.3.0/tools/xcutils/Makefile +--- tools/xcutils/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xcutils/Makefile 2013-07-22 23:29:45.024468385 +0800 +@@ -13,8 +13,6 @@ + + PROGRAMS = xc_restore xc_save readnotes lsevtchn + +-CFLAGS += -Werror +- + CFLAGS_xc_restore.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) + CFLAGS_xc_save.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) + CFLAGS_readnotes.o := $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) +diff -ur xen-4.3.0.orig/tools/xentrace/Makefile xen-4.3.0/tools/xentrace/Makefile +--- tools/xentrace/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xentrace/Makefile 2013-07-22 23:30:28.216471186 +0800 +@@ -1,8 +1,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror +- + CFLAGS += $(CFLAGS_libxenctrl) + LDLIBS += $(LDLIBS_libxenctrl) + +diff -ur xen-4.3.0.orig/tools/pygrub/setup.py xen-4.3.0/tools/pygrub/setup.py +--- tools/pygrub/setup.py 2013-07-09 18:46:56.000000000 +0800 ++++ tools/pygrub/setup.py 2013-07-22 23:47:45.664538464 +0800 +@@ -3,7 +3,7 @@ + import os + import sys + +-extra_compile_args = [ "-fno-strict-aliasing", "-Werror" ] ++extra_compile_args = [ "-fno-strict-aliasing" ] + + XEN_ROOT = "../.." + +diff -ur xen-4.3.0.orig/tools/blktap/drivers/Makefile xen-4.3.0/tools/blktap/drivers/Makefile +--- tools/blktap/drivers/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap/drivers/Makefile 2013-07-23 00:40:47.810744824 +0800 +@@ -4,7 +4,6 @@ + IBIN = blktapctrl tapdisk + QCOW_UTIL = img2qcow qcow2raw qcow-create + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -I../lib + CFLAGS += $(CFLAGS_libxenctrl) +diff -ur xen-4.3.0.orig/tools/blktap/lib/Makefile xen-4.3.0/tools/blktap/lib/Makefile +--- tools/blktap/lib/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/blktap/lib/Makefile 2013-07-23 00:41:56.513749279 +0800 +@@ -13,7 +13,6 @@ + SRCS := + SRCS += xenbus.c blkif.c xs_api.c + +-CFLAGS += -Werror + CFLAGS += -Wno-unused + CFLAGS += -fPIC + # get asprintf(): +diff -ur xen-4.3.0.orig/tools/configure xen-4.3.0/tools/configure +--- tools/configure 2013-07-09 18:46:56.000000000 +0800 ++++ tools/configure 2013-07-23 00:39:37.435740260 +0800 +@@ -7621,7 +7621,6 @@ + + saved_CPPFLAGS="$CPPFLAGS" + +- CPPFLAGS="$CPPFLAGS -Werror" + ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default" + if test "x$ac_cv_header_libutil_h" = x""yes; then : + +diff -ur xen-4.3.0.orig/tools/flask/utils/Makefile xen-4.3.0/tools/flask/utils/Makefile +--- ools/flask/utils/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/flask/utils/Makefile 2013-07-23 00:40:03.929741978 +0800 +@@ -1,7 +1,7 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Wall -g -Werror ++CFLAGS += -Wall + CFLAGS += $(CFLAGS_libxenctrl) + + TESTDIR = testsuite/tmp +diff -ur xen-4.3.0.orig/tools/misc/lomount/Makefile xen-4.3.0/tools/misc/lomount/Makefile +--- tools/misc/lomount/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/misc/lomount/Makefile 2013-07-23 00:42:05.378749854 +0800 +@@ -1,8 +1,6 @@ + XEN_ROOT=$(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror +- + .PHONY: all + all: build + +@@ -20,4 +18,4 @@ + lomount: lomount.o + $(CC) $(CFLAGS) -o $@ $< + +--include $(DEPS) +\ No newline at end of file ++-include $(DEPS) +diff -ur xen-4.3.0.orig/tools/qemu-xen-traditional/configure xen-4.3.0/tools/qemu-xen-traditional/configure +--- tools/qemu-xen-traditional/configure 2013-06-18 00:39:51.000000000 +0800 ++++ tools/qemu-xen-traditional/configure 2013-07-23 00:43:39.570755962 +0800 +@@ -1150,7 +1150,6 @@ + echo "sparse enabled $sparse" + echo "profiler $profiler" + echo "static build $static" +-echo "-Werror enabled $werror" + if test "$darwin" = "yes" ; then + echo "Cocoa support $cocoa" + fi +diff -ur xen-4.3.0.orig/tools/xenbackendd/Makefile xen-4.3.0/tools/xenbackendd/Makefile +--- tools/xenbackendd/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xenbackendd/Makefile 2013-07-23 00:44:16.410758351 +0800 +@@ -12,7 +12,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror + CFLAGS += $(CFLAGS_libxenstore) + CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\"" + LDLIBS += $(LDLIBS_libxenstore) +diff -ur xen-4.3.0.orig/tools/xenmon/Makefile xen-4.3.0/tools/xenmon/Makefile +--- tools/xenmon/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xenmon/Makefile 2013-07-23 00:44:51.114760602 +0800 +@@ -13,7 +13,6 @@ + XEN_ROOT=$(CURDIR)/../.. + include $(XEN_ROOT)/tools/Rules.mk + +-CFLAGS += -Werror + CFLAGS += $(CFLAGS_libxenctrl) + LDLIBS += $(LDLIBS_libxenctrl) + +diff -ur xen-4.3.0.orig/tools/xenstore/Makefile xen-4.3.0/tools/xenstore/Makefile +--- ools/xenstore/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/xenstore/Makefile 2013-07-23 00:45:25.938762860 +0800 +@@ -4,7 +4,6 @@ + MAJOR = 3.0 + MINOR = 3 + +-CFLAGS += -Werror + CFLAGS += -I. + CFLAGS += $(CFLAGS_libxenctrl) + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-jserver.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-jserver.patch new file mode 100644 index 0000000000..514fd0575b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.3-jserver.patch @@ -0,0 +1,32 @@ +diff -ur xen-4.2.0.orig/tools/tests/x86_emulator/Makefile xen-4.2.0/tools/tests/x86_emulator/Makefile +--- tools/tests/x86_emulator/Makefile 2012-09-17 18:21:19.000000000 +0800 ++++ tools/tests/x86_emulator/Makefile 2012-11-24 05:06:24.355778737 +0800 +@@ -14,13 +14,13 @@ + .PHONY: blowfish.h + blowfish.h: + rm -f blowfish.bin +- XEN_TARGET_ARCH=x86_32 make -f blowfish.mk all ++ XEN_TARGET_ARCH=x86_32 $(MAKE) -f blowfish.mk all + (echo "static unsigned int blowfish32_code[] = {"; \ + od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\ + echo "};") >$@ + rm -f blowfish.bin + ifeq ($(XEN_COMPILE_ARCH),x86_64) +- XEN_TARGET_ARCH=x86_64 make -f blowfish.mk all ++ XEN_TARGET_ARCH=x86_64 $(MAKE) -f blowfish.mk all + (echo "static unsigned int blowfish64_code[] = {"; \ + od -v -t x blowfish.bin | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\ + echo "};") >>$@ + +diff -ur xen-4.2.0.orig/tools/firmware/vgabios/Makefile xen-4.2.0/tools/firmware/vgabios/Makefile +--- tools/firmware/vgabios/Makefile 2013-02-04 13:56:50.973533544 +0800 ++++ tools/firmware/vgabios/Makefile 2013-02-04 13:57:21.380535958 +0800 +@@ -27,7 +27,7 @@ + + .PHONY: release + release: +- VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" make bios cirrus-bios ++ VGABIOS_VERS=\"-DVGABIOS_VERS=\\\"$(RELVERS)\\\"\" $(MAKE) bios cirrus-bios + /bin/rm -f *.o *.s *.ld86 \ + temp.awk.* vgabios.*.orig _vgabios_.*.c core *.bak .#* + cp VGABIOS-lgpl-latest.bin ../$(RELEASE).bin diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-nostrip.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-nostrip.patch new file mode 100644 index 0000000000..7ddd354bc9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-nostrip.patch @@ -0,0 +1,13 @@ +diff -ur xen-4.2.0.orig/tools/qemu-xen/Makefile.target xen-4.2.0/tools/qemu-xen/Makefile.target +--- tools/qemu-xen/Makefile.target 2012-09-11 02:10:52.000000000 +0800 ++++ tools/qemu-xen/Makefile.target 2012-11-22 07:13:38.894263291 +0800 +@@ -437,9 +437,6 @@ + install: all + ifneq ($(PROGS),) + $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" +-ifneq ($(STRIP),) +- $(STRIP) $(patsubst %,"$(DESTDIR)$(bindir)/%",$(PROGS)) +-endif + endif + ifdef CONFIG_TRACE_SYSTEMTAP + ifdef CONFIG_TRACE_SYSTEMTAP diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-qemu-bridge.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-qemu-bridge.patch new file mode 100644 index 0000000000..85445612bd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-4.4-qemu-bridge.patch @@ -0,0 +1,79 @@ +diff --git a/tools/qemu-xen/Makefile b/tools/qemu-xen/Makefile +index 4d257f1..db2c2ad 100644 +--- a/tools/qemu-xen/Makefile ++++ b/tools/qemu-xen/Makefile +@@ -62,7 +62,7 @@ $(call set-vpath, $(SRC_PATH)) + + LIBS+=-lz $(LIBS_TOOLS) + +-HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) ++HELPERS-$(CONFIG_LINUX) = xen-bridge-helper$(EXESUF) + + ifdef BUILD_DOCS + DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 QMP/qmp-commands.txt +@@ -186,7 +186,7 @@ qemu-img$(EXESUF): qemu-img.o $(block-obj-y) libqemuutil.a libqemustub.a + qemu-nbd$(EXESUF): qemu-nbd.o $(block-obj-y) libqemuutil.a libqemustub.a + qemu-io$(EXESUF): qemu-io.o $(block-obj-y) libqemuutil.a libqemustub.a + +-qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o ++xen-bridge-helper$(EXESUF): xen-bridge-helper.o + + fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o fsdev/virtio-9p-marshal.o libqemuutil.a libqemustub.a + fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap +diff --git a/tools/qemu-xen/include/net/net.h b/tools/qemu-xen/include/net/net.h +index 30e4b04..6691ff0 100644 +--- a/tools/qemu-xen/include/net/net.h ++++ b/tools/qemu-xen/include/net/net.h +@@ -178,7 +178,7 @@ NetClientState *net_hub_port_find(int hub_id); + + #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" + #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" +-#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper" ++#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/xen-bridge-helper" + #define DEFAULT_BRIDGE_INTERFACE "br0" + + void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd); +diff --git a/tools/qemu-xen/qemu-bridge-helper.c b/tools/qemu-xen/qemu-bridge-helper.c +index 6a0974e..74b4635 100644 +--- a/tools/qemu-xen/qemu-bridge-helper.c ++++ b/tools/qemu-xen/qemu-bridge-helper.c +@@ -67,7 +67,7 @@ typedef QSIMPLEQ_HEAD(ACLList, ACLRule) ACLList; + static void usage(void) + { + fprintf(stderr, +- "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); ++ "Usage: xen-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); + } + + static int parse_acl_file(const char *filename, ACLList *acl_list) +diff --git a/tools/qemu-xen/qemu-options.hx b/tools/qemu-xen/qemu-options.hx +index d15338e..f7104f1 100644 +--- a/tools/qemu-xen/qemu-options.hx ++++ b/tools/qemu-xen/qemu-options.hx +@@ -1601,7 +1601,7 @@ to disable script execution. + + If running QEMU as an unprivileged user, use the network helper + @var{helper} to configure the TAP interface. The default network +-helper executable is @file{/usr/local/libexec/qemu-bridge-helper}. ++helper executable is @file{/usr/local/libexec/xen-bridge-helper}. + + @option{fd}=@var{h} can be used to specify the handle of an already + opened host TAP interface. +@@ -1625,7 +1625,7 @@ qemu-system-i386 linux.img \ + #launch a QEMU instance with the default network helper to + #connect a TAP device to bridge br0 + qemu-system-i386 linux.img \ +- -net nic -net tap,"helper=/usr/local/libexec/qemu-bridge-helper" ++ -net nic -net tap,"helper=/usr/local/libexec/xen-bridge-helper" + @end example + + @item -netdev bridge,id=@var{id}[,br=@var{bridge}][,helper=@var{helper}] +@@ -1634,7 +1634,7 @@ Connect a host TAP network interface to a host bridge device. + + Use the network helper @var{helper} to configure the TAP interface and + attach it to the bridge. The default network helper executable is +-@file{/usr/local/libexec/qemu-bridge-helper} and the default bridge ++@file{/usr/local/libexec/xen-bridge-helper} and the default bridge + device is @file{br0}. + + Examples: diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-consoles.logrotate b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-consoles.logrotate new file mode 100644 index 0000000000..c6445239b4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-consoles.logrotate @@ -0,0 +1,5 @@ +/var/log/xen-consoles/*.log { + rotate 7 + missingok + compress +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch new file mode 100644 index 0000000000..c926510fa8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-3.4.0-network-bridge-broadcast.patch @@ -0,0 +1,11 @@ +--- xen-3.4.0/tools/hotplug/Linux/network-bridge.orig 2009-05-18 15:05:38.000000000 +0400 ++++ xen-3.4.0/tools/hotplug/Linux/network-bridge 2009-06-09 23:16:05.000000000 +0400 +@@ -101,7 +101,7 @@ + tdev=tmpbridge + + get_ip_info() { +- addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/ .*//'` ++ addr_pfx=`ip addr show dev $1 | egrep '^ *inet ' | sed -e 's/ *inet //' -e "s/$1//"` + gateway=`ip route show dev $1 | fgrep default | sed 's/default via //'` + } + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-anti-seabios-download.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-anti-seabios-download.patch new file mode 100644 index 0000000000..81f00e5c42 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-anti-seabios-download.patch @@ -0,0 +1,12 @@ +diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile +index cb13212..d83c51a 100644 +--- a/tools/firmware/Makefile ++++ b/tools/firmware/Makefile +@@ -22,7 +22,6 @@ ovmf-dir: + cp ovmf-makefile ovmf-dir/Makefile; + + seabios-dir: +- GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(SEABIOS_UPSTREAM_URL) $(SEABIOS_UPSTREAM_TAG) seabios-dir + cp seabios-config seabios-dir/.config; + + .PHONY: all diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-docfix.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-docfix.patch new file mode 100644 index 0000000000..c9205a4cab --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-docfix.patch @@ -0,0 +1,12 @@ +diff -ur xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile xen-4.2.0/tools/qemu-xen-traditional/Makefile +--- xen-4.2.0.orig/tools/qemu-xen-traditional/Makefile 2012-09-07 00:05:30.000000000 +0800 ++++ xen-4.2.0/tools/qemu-xen-traditional/Makefile 2013-01-29 11:12:20.502989453 +0800 +@@ -275,7 +275,7 @@ + + # documentation + %.html: %.texi +- texi2html -monolithic -number $< ++ texi2html -monolithic $< + + %.info: %.texi + makeinfo $< -o $@ diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-fix-po-collision.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-fix-po-collision.patch new file mode 100644 index 0000000000..9304768eb6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-fix-po-collision.patch @@ -0,0 +1,26 @@ +diff --git a/tools/qemu-xen/po/Makefile b/tools/qemu-xen/po/Makefile +index 705166e..2e7cdcb 100644 +--- a/tools/qemu-xen/po/Makefile ++++ b/tools/qemu-xen/po/Makefile +@@ -30,7 +30,7 @@ install: $(OBJS) + for obj in $(OBJS); do \ + base=`basename $$obj .mo`; \ + $(INSTALL) -d $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES; \ +- $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/qemu.mo; \ ++ $(INSTALL) -m644 $$obj $(DESTDIR)$(prefix)/share/locale/$$base/LC_MESSAGES/xenqemu.mo; \ + done + + %.mo: %.po +diff --git a/tools/qemu-xen/ui/gtk.c b/tools/qemu-xen/ui/gtk.c +index c38146f..d3c331b 100644 +--- a/tools/qemu-xen/ui/gtk.c ++++ b/tools/qemu-xen/ui/gtk.c +@@ -31,7 +31,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#define GETTEXT_PACKAGE "qemu" ++#define GETTEXT_PACKAGE "xenqemu" + #define LOCALEDIR "po" + + #include "qemu-common.h" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-xen-doc.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-xen-doc.patch new file mode 100644 index 0000000000..cd9658cd1e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-qemu-xen-doc.patch @@ -0,0 +1,29 @@ +diff -ur xen-4.2.2.orig/tools/qemu-xen/qemu-options.hx xen-4.2.2/tools/qemu-xen/qemu-options.hx +--- tools/qemu-xen/qemu-options.hx 2013-04-06 07:39:54.000000000 +0800 ++++ tools/qemu-xen/qemu-options.hx 2013-05-17 22:16:56.924728753 +0800 +@@ -1799,18 +1799,13 @@ + devices. + + Syntax for specifying a sheepdog device +-@table @list +-``sheepdog:'' +- +-``sheepdog::'' +- +-``sheepdog::'' +- +-``sheepdog:::'' +- +-``sheepdog::::'' +- +-``sheepdog::::'' ++@table @code ++@item sheepdog: ++@item sheepdog:: ++@item sheepdog:: ++@item sheepdog::: ++@item sheepdog:::: ++@item sheepdog:::: + @end table + + Example diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-ipxe.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-ipxe.patch new file mode 100644 index 0000000000..902c9ac4ef --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-ipxe.patch @@ -0,0 +1,33 @@ +--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-27 21:57:04.481812859 +0100 ++++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-06-02 18:52:44.935034128 +0100 +@@ -48,7 +48,7 @@ + else + CIRRUSVGA_ROM := ../vgabios/VGABIOS-lgpl-latest.cirrus.bin + endif +-ETHERBOOT_ROMS := $(addprefix ../etherboot/ipxe/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS))) ++ETHERBOOT_ROMS := $(addprefix /usr/share/ipxe/, $(addsuffix .rom, $(ETHERBOOT_NICS))) + endif + + ROMS := +--- xen-4.2.0/Config.mk.orig 2012-05-27 21:57:04.479812884 +0100 ++++ xen-4.2.0/Config.mk 2012-06-02 18:55:14.087169469 +0100 +@@ -206,7 +206,7 @@ + # Wed Jun 26 16:30:45 2013 +0100 + # xen: Don't perform SMP setup. + +-ETHERBOOT_NICS ?= rtl8139 8086100e ++ETHERBOOT_NICS ?= 10ec8139 8086100e + + # Specify which qemu-dm to use. This may be `ioemu' to use the old + # Mercurial in-tree version, or a local directory, or a git URL. +--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-27 21:57:04.480812871 +0100 ++++ xen-4.2.0/tools/firmware/Makefile 2012-06-02 19:03:52.254691484 +0100 +@@ -10,7 +10,7 @@ + #SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir + SUBDIRS-$(CONFIG_ROMBIOS) += rombios + SUBDIRS-$(CONFIG_ROMBIOS) += vgabios +-SUBDIRS-$(CONFIG_ROMBIOS) += etherboot ++#SUBDIRS-$(CONFIG_ROMBIOS) += etherboot + SUBDIRS-y += hvmloader + + ovmf: diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-seabios.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-seabios.patch new file mode 100644 index 0000000000..86d46aa40d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4-unbundle-seabios.patch @@ -0,0 +1,22 @@ +--- xen-4.2.0/tools/firmware/Makefile.orig 2012-05-12 16:40:47.000000000 +0100 ++++ xen-4.2.0/tools/firmware/Makefile 2012-05-27 21:55:23.438076078 +0100 +@@ -7,7 +7,7 @@ + + SUBDIRS-y := + SUBDIRS-$(CONFIG_OVMF) += ovmf +-SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir ++#SUBDIRS-$(CONFIG_SEABIOS) += seabios-dir + SUBDIRS-$(CONFIG_ROMBIOS) += rombios + SUBDIRS-$(CONFIG_ROMBIOS) += vgabios + SUBDIRS-$(CONFIG_ROMBIOS) += etherboot +--- xen-4.2.0/tools/firmware/hvmloader/Makefile.orig 2012-05-12 16:40:47.000000000 +0100 ++++ xen-4.2.0/tools/firmware/hvmloader/Makefile 2012-05-27 21:53:45.625298906 +0100 +@@ -70,7 +70,7 @@ + ifeq ($(CONFIG_SEABIOS),y) + OBJS += seabios.o + CFLAGS += -DENABLE_SEABIOS +-SEABIOS_ROM := $(SEABIOS_DIR)/out/bios.bin ++SEABIOS_ROM := /usr/share/seabios/bios.bin + ROMS += $(SEABIOS_ROM) + endif + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.1.1-bridge.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.1.1-bridge.patch new file mode 100644 index 0000000000..4b3a4bac1e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.1.1-bridge.patch @@ -0,0 +1,12 @@ +diff -ur xen-4.1.1.orig//tools/hotplug/Linux/network-bridge xen-4.1.1/tools/hotplug/Linux/network-bridge +--- xen-4.1.1.orig//tools/hotplug/Linux/network-bridge 2011-10-14 02:28:43.481714285 +0800 ++++ xen-4.1.1/tools/hotplug/Linux/network-bridge 2011-10-16 01:06:11.226673108 +0800 +@@ -216,7 +216,7 @@ + return + fi + +- if [ `brctl show | wc -l` != 1 ]; then ++ if [ `brctl show | grep $netdev | wc -l` != 0 ]; then + return + fi + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2-xen_disk_leak.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2-xen_disk_leak.patch new file mode 100644 index 0000000000..481eb65c43 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2-xen_disk_leak.patch @@ -0,0 +1,74 @@ +From: Roger Pau Monne +Subject: [Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak +Date: Mon, 31 Dec 2012 13:16:13 +0100 + +On ioreq_release the full ioreq +was memset to 0, loosing all the data +and memory allocations inside the QEMUIOVector, which leads to a +memory leak. Create a new function to specifically reset ioreq. + +Reported-by: Maik Wessler +Signed-off-by: Roger Pau Monné +Cc: address@hidden +Cc: Stefano Stabellini +Cc: Anthony PERARD +--- + hw/xen_disk.c | 28 ++++++++++++++++++++++++++-- + 1 files changed, 26 insertions(+), 2 deletions(-) + +diff --git a/hw/xen_disk.c b/hw/xen_disk.c +index a159ee5..1eb485a 100644 +--- a/tools/qemu-xen/hw/xen_disk.c ++++ b/tools/qemu-xen/hw/xen_disk.c +@@ -113,6 +113,31 @@ struct XenBlkDev { + + /* ------------------------------------------------------------- */ + ++static void ioreq_reset(struct ioreq *ioreq) ++{ ++ memset(&ioreq->req, 0, sizeof(ioreq->req)); ++ ioreq->status = 0; ++ ioreq->start = 0; ++ ioreq->presync = 0; ++ ioreq->postsync = 0; ++ ioreq->mapped = 0; ++ ++ memset(ioreq->domids, 0, sizeof(ioreq->domids)); ++ memset(ioreq->refs, 0, sizeof(ioreq->refs)); ++ ioreq->prot = 0; ++ memset(ioreq->page, 0, sizeof(ioreq->page)); ++ ioreq->pages = NULL; ++ ++ ioreq->aio_inflight = 0; ++ ioreq->aio_errors = 0; ++ ++ ioreq->blkdev = NULL; ++ memset(&ioreq->list, 0, sizeof(ioreq->list)); ++ memset(&ioreq->acct, 0, sizeof(ioreq->acct)); ++ ++ qemu_iovec_reset(&ioreq->v); ++} ++ + static struct ioreq *ioreq_start(struct XenBlkDev *blkdev) + { + struct ioreq *ioreq = NULL; +@@ -130,7 +155,6 @@ static struct ioreq *ioreq_start(struct XenBlkDev *blkdev) + /* get one from freelist */ + ioreq = QLIST_FIRST(&blkdev->freelist); + QLIST_REMOVE(ioreq, list); +- qemu_iovec_reset(&ioreq->v); + } + QLIST_INSERT_HEAD(&blkdev->inflight, ioreq, list); + blkdev->requests_inflight++; +@@ -154,7 +178,7 @@ static void ioreq_release(struct ioreq *ioreq, bool finish) + struct XenBlkDev *blkdev = ioreq->blkdev; + + QLIST_REMOVE(ioreq, list); +- memset(ioreq, 0, sizeof(*ioreq)); ++ ioreq_reset(ioreq); + ioreq->blkdev = blkdev; + QLIST_INSERT_HEAD(&blkdev->freelist, ioreq, list); + if (finish) { +-- +1.7.7.5 (Apple Git-26) + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-install.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-install.patch new file mode 100644 index 0000000000..e2715f89ff --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-install.patch @@ -0,0 +1,30 @@ +fix invalid installs of docs/man and config into /usr/local + +--- xen-4.2.2-orig/tools/Makefile 2013-04-23 18:42:55.000000000 +0200 ++++ xen-4.2.2/tools/Makefile 2013-07-29 17:01:33.764093405 +0200 +@@ -199,6 +199,9 @@ + --bindir=$(LIBEXEC) \ + --datadir=$(SHAREDIR)/qemu-xen \ + --disable-kvm \ ++ --mandir=/usr/share/man \ ++ --docdir=/usr/share/doc/xen \ ++ --sysconfdir=/etc \ + --python=$(PYTHON) \ + $(IOEMU_CONFIGURE_CROSS); \ + $(MAKE) all +diff --git a/tools/qemu-xen-traditional/configure b/tools/qemu-xen-traditional/configure +index 904e019..b70ee25 100755 +--- a/tools/qemu-xen-traditional/configure ++++ b/tools/qemu-xen-traditional/configure +@@ -1107,10 +1107,7 @@ elif $cc $ARCH_CFLAGS -o $TMPE $TMPC -lrt > /dev/null 2> /dev/null ; then + rt=yes + fi + +-if test "$rt" = "yes" ; then +- # Hack, we should have a general purpose LIBS for this sort of thing +- AIOLIBS="$AIOLIBS -lrt" +-fi ++AIOLIBS="$AIOLIBS -lrt" + + if test "$mingw32" = "yes" ; then + if test -z "$prefix" ; then diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-rt-link.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-rt-link.patch new file mode 100644 index 0000000000..93641ef094 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.2-rt-link.patch @@ -0,0 +1,48 @@ +diff --git a/tools/qemu-xen/configure b/tools/qemu-xen/configure +index ea2f8f8..9726440 100755 +--- a/tools/qemu-xen/configure ++++ b/tools/qemu-xen/configure +@@ -2459,17 +2459,41 @@ fi + + + ########################################## ++# Do we need libm ++cat > $TMPC << EOF ++#include ++int main(void) { return isnan(sin(0.0)); } ++EOF ++if compile_prog "" "" ; then ++ : ++elif compile_prog "" "-lm" ; then ++ LIBS="-lm $LIBS" ++ libs_qga="-lm $libs_qga" ++else ++ error_exit "libm check failed" ++fi ++ ++########################################## + # Do we need librt ++# uClibc provides 2 versions of clock_gettime(), one with realtime ++# support and one without. This means that the clock_gettime() don't ++# need -lrt. We still need it for timer_create() so we check for this ++# function in addition. + cat > $TMPC < + #include +-int main(void) { clockid_t id; return clock_gettime(id, NULL); } ++int main(void) { ++ timer_create(CLOCK_REALTIME, NULL, NULL); ++ return clock_gettime(CLOCK_REALTIME, NULL); ++} + EOF + + if compile_prog "" "" ; then + : +-elif compile_prog "" "-lrt" ; then ++# we need pthread for static linking. use previous pthread test result ++elif compile_prog "" "-lrt $pthread_lib" ; then + LIBS="-lrt $LIBS" ++ libs_qga="-lrt $libs_qga" + fi + + if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \ diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch new file mode 100644 index 0000000000..0e1d67a020 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.2.4-udev-rules.patch @@ -0,0 +1,13 @@ +--- xen-4.2.4.org/tools/hotplug/Linux/Makefile 2014-05-22 05:39:57.090009337 +0000 ++++ xen-4.2.4/tools/hotplug/Linux/Makefile 2014-05-22 05:41:03.816009464 +0000 +@@ -31,8 +31,8 @@ + XEN_HOTPLUG_SCRIPTS = xen-backend.agent + + UDEVVER = 0 +-ifeq ($(shell [ -x /sbin/udevadm ] && echo 1),1) +-UDEVVER = $(shell /sbin/udevadm info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' ) ++ifeq ($(shell [ -x $(shell which udevadm) ] && echo 1),1) ++UDEVVER = $(shell $(shell which udevadm) info -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' ) + endif + ifeq ($(shell [ -x /usr/bin/udevinfo ] && echo 1),1) + UDEVVER = $(shell /usr/bin/udevinfo -V | sed -e 's/^[^0-9]* \([0-9]\{1,\}\)[^0-9]\{0,\}/\1/' ) diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.3-ar-cc.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.3-ar-cc.patch new file mode 100644 index 0000000000..174b404826 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.3-ar-cc.patch @@ -0,0 +1,84 @@ +diff -ur xen-4.3.0.orig/tools/debugger/gdbsx/gx/Makefile xen-4.3.0/tools/debugger/gdbsx/gx/Makefile +--- tools/debugger/gdbsx/gx/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/debugger/gdbsx/gx/Makefile 2013-07-23 16:14:53.930752663 +0800 +@@ -3,6 +3,7 @@ + + GX_OBJS := gx_comm.o gx_main.o gx_utils.o gx_local.o + GX_HDRS := $(wildcard *.h) ++AR="ar" + + .PHONY: all + all: gx_all.a +@@ -16,5 +17,5 @@ + # $(CC) -c $(CFLAGS) -o $@ $< + + gx_all.a: $(GX_OBJS) Makefile $(GX_HDRS) +- ar cr $@ $(GX_OBJS) # problem with ld using -m32 ++ $(AR) cr $@ $(GX_OBJS) # problem with ld using -m32 + +diff -ur xen-4.3.0.orig/tools/firmware/rombios/Makefile xen-4.3.0/tools/firmware/rombios/Makefile +--- tools/firmware/rombios/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/firmware/rombios/Makefile 2013-07-23 21:57:21.258085143 +0800 +@@ -1,5 +1,6 @@ + XEN_ROOT = $(CURDIR)/../../.. + include $(XEN_ROOT)/tools/Rules.mk ++CC="gcc" + + SUBDIRS := 32bit + +@@ -16,7 +17,7 @@ + rm -f $(DEPS) + + BIOS-bochs-latest: rombios.c biossums 32bitgateway.c tcgbios.c +- gcc -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c ++ $(CC) -DBX_SMP_PROCESSORS=1 -E -P $< > _rombios_.c + bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c + sed -e 's/^\.text//' -e 's/^\.data//' rombios.s > _rombios_.s + as86 _rombios_.s -b tmp.bin -u- -w- -g -0 -j -O -l rombios.txt +@@ -26,6 +27,6 @@ + rm -f _rombios_.s + + biossums: biossums.c +- gcc -o biossums biossums.c ++ $(CC) -o biossums biossums.c + + -include $(DEPS) +diff -ur xen-4.3.0.orig/tools/firmware/vgabios/Makefile xen-4.3.0/tools/firmware/vgabios/Makefile +--- tools/firmware/vgabios/Makefile 2013-07-09 18:46:56.000000000 +0800 ++++ tools/firmware/vgabios/Makefile 2013-07-23 22:42:39.041261388 +0800 +@@ -37,7 +37,7 @@ + tar czvf ../$(RELEASE).tgz --exclude CVS -C .. $(RELEASE)/ + + vgabios.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h +- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE $(VGABIOS_DATE) > _vgabios_.c ++ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE $(VGABIOS_DATE) > _vgabios_.c + $(BCC) -o vgabios.s -C-c -D__i86__ -S -0 _vgabios_.c + sed -e 's/^\.text//' -e 's/^\.data//' vgabios.s > _vgabios_.s + $(AS86) _vgabios_.s -b vgabios.bin -u -w- -g -0 -j -O -l vgabios.txt +@@ -47,7 +47,7 @@ + ls -l VGABIOS-lgpl-latest.bin + + vgabios.debug.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h vbe.h vbe.c vbetables.h +- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE -DDEBUG $(VGABIOS_DATE) > _vgabios-debug_.c ++ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DVBE -DDEBUG $(VGABIOS_DATE) > _vgabios-debug_.c + $(BCC) -o vgabios-debug.s -C-c -D__i86__ -S -0 _vgabios-debug_.c + sed -e 's/^\.text//' -e 's/^\.data//' vgabios-debug.s > _vgabios-debug_.s + $(AS86) _vgabios-debug_.s -b vgabios.debug.bin -u -w- -g -0 -j -O -l vgabios.debug.txt +@@ -57,7 +57,7 @@ + ls -l VGABIOS-lgpl-latest.debug.bin + + vgabios-cirrus.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h clext.c +- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus_.c ++ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus_.c + $(BCC) -o vgabios-cirrus.s -C-c -D__i86__ -S -0 _vgabios-cirrus_.c + sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus.s > _vgabios-cirrus_.s + $(AS86) _vgabios-cirrus_.s -b vgabios-cirrus.bin -u -w- -g -0 -j -O -l vgabios-cirrus.txt +@@ -67,7 +67,7 @@ + ls -l VGABIOS-lgpl-latest.cirrus.bin + + vgabios-cirrus.debug.bin: biossums vgabios.c vgabios.h vgafonts.h vgatables.h clext.c +- $(GCC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DCIRRUS_DEBUG -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus-debug_.c ++ $(CC) -E -P vgabios.c $(VGABIOS_VERS) -DCIRRUS -DCIRRUS_DEBUG -DPCIBIOS $(VGABIOS_DATE) > _vgabios-cirrus-debug_.c + $(BCC) -o vgabios-cirrus-debug.s -C-c -D__i86__ -S -0 _vgabios-cirrus-debug_.c + sed -e 's/^\.text//' -e 's/^\.data//' vgabios-cirrus-debug.s > _vgabios-cirrus-debug_.s + $(AS86) _vgabios-cirrus-debug_.s -b vgabios-cirrus.debug.bin -u -w- -g -0 -j -O -l vgabios-cirrus.debug.txt diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.4-api-fix.patch b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.4-api-fix.patch new file mode 100644 index 0000000000..fc0124c4b0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xen-tools-4.4-api-fix.patch @@ -0,0 +1,48 @@ +diff --git a/tools/configure b/tools/configure +index afc3000..6187468 100755 +--- a/tools/configure ++++ b/tools/configure +@@ -4615,7 +4615,7 @@ if test x"${PERL}" = x"no" + then + as_fn_error $? "Unable to find perl, please install perl" "$LINENO" 5 + fi +-if test "x$xapi" = "xy"; then : ++if test "x$xenapi" = "xy"; then : + + # Extract the first word of "curl-config", so it can be a program name with args. + set dummy curl-config; ac_word=$2 +diff --git a/tools/configure.ac b/tools/configure.ac +index 0754f0e..cc884f7 100644 +--- a/tools/configure.ac ++++ b/tools/configure.ac +@@ -150,7 +150,7 @@ AC_PROG_INSTALL + AC_PATH_PROG([BISON], [bison]) + AC_PATH_PROG([FLEX], [flex]) + AX_PATH_PROG_OR_FAIL([PERL], [perl]) +-AS_IF([test "x$xapi" = "xy"], [ ++AS_IF([test "x$xenapi" = "xy"], [ + AX_PATH_PROG_OR_FAIL([CURL], [curl-config]) + AX_PATH_PROG_OR_FAIL([XML], [xml2-config]) + ]) +diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile +index b66f0bc..94b854b 100644 +--- a/tools/libxen/Makefile ++++ b/tools/libxen/Makefile +@@ -22,12 +22,15 @@ MAJOR = 1.0 + MINOR = 0 + + CFLAGS += -Iinclude \ +- $(shell $(XML2_CONFIG) --cflags) \ +- $(shell $(CURL_CONFIG) --cflags) \ + -fPIC + ++ifeq ($(LIBXENAPI_BINDINGS),y) ++CFLAGS += $(shell $(XML2_CONFIG) --cflags) \ ++ $(shell $(CURL_CONFIG) --cflags) ++ + LDFLAGS += $(shell $(XML2_CONFIG) --libs) \ + $(shell $(CURL_CONFIG) --libs) ++endif + + LIBXENAPI_HDRS = $(wildcard include/xen/api/*.h) include/xen/api/xen_all.h + LIBXENAPI_OBJS = $(patsubst %.c, %.o, $(wildcard src/*.c)) diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.confd new file mode 100644 index 0000000000..b9e2248296 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/xencommons + +# Load xen's kernel modules, and this will override defaults +XEN_KERNEL_MODULES="" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.initd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.initd new file mode 100644 index 0000000000..5ece118c9b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xencommons.initd @@ -0,0 +1,80 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xencommons.initd,v 1.1 2013/12/06 23:34:11 idella4 Exp $ + +depend() { + before xenstored +} + +is_privileged_domain() { + grep -qsE '^control_d$' /proc/xen/capabilities + return $? +} + +handle_kernel_modules() { + local XEN_DEFAULT_KERNEL_MODULES=" + xen-evtchn + xen-gntdev + xen-gntalloc + xen-blkback + xen-netback + xen-pciback + gntdev + netbk + blkbk + xen-scsibk + usbbk + pciback + xen-acpi-processor + blktap2 + blktap + " + + [ "$1" = "remove" ] && OPTS="-r" + + XEN_KERNEL_MODULES="${XEN_KERNEL_MODULES:-${XEN_DEFAULT_KERNEL_MODULES}}" + for i in ${XEN_KERNEL_MODULES}; do + modprobe ${OPTS} $i 2>/dev/null + done + return 0 +} + +start() { + ebegin "Starting xencommons daemon" + + # not running in Xen dom0 or domU + if [ ! -d /proc/xen ]; then + eend 1 "Not running in Xen mode" + return 1 + fi + + # mount xenfs in dom0 or domU with a pv_ops kernel + if ! test -f /proc/xen/capabilities && \ + ! grep '^xenfs ' /proc/mounts >/dev/null; + then + mount -t xenfs xenfs /proc/xen + fi + + if ! is_privileged_domain; then + eend 1 "Not running on a privileged domain. xencommons not started" + return 1 + fi + + handle_kernel_modules + + eend $? "Failed to start xencommons" +} + +stop () { + ebegin "Stopping xencommons" + if ! is_privileged_domain; then + eend 1 "Not running on a privileged domain. xencommons not started" + return 1 + fi + + handle_kernel_modules remove + + eend $? "Failed to stop xencommons" +} + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.confd new file mode 100644 index 0000000000..b2e194bde4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.confd @@ -0,0 +1,2 @@ +# /etc/conf.d/xenstored +XENCONSOLED_OPTS="" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.initd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.initd new file mode 100644 index 0000000000..e2d245ff0f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenconsoled.initd @@ -0,0 +1,34 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenconsoled.initd,v 1.6 2014/02/13 07:59:09 dlan Exp $ + +depend() { + need xenstored + after lvm +} + +# bug #498720 +shutdown_all_domU() { + # Note: shutdown all domU, including manually started ones + local V=$(xl info| awk "/xen_minor/ { print \$3 }") + # 4.2.2 do not support "-a" option + [ $V -gt 2 ] && xl shutdown -a -w >/dev/null +} + +start() { + ebegin "Starting xenconsoled daemon" + start-stop-daemon --start --exec /usr/sbin/xenconsoled \ + --pidfile /run/xenconsoled.pid \ + -- --pid-file=/run/xenconsoled.pid \ + ${XENCONSOLED_OPTS} + eend $* +} + +stop() { + ebegin "Stopping xenconsoled daemon" + shutdown_all_domU + start-stop-daemon --stop --exec /usr/sbin/xenconsoled \ + --pidfile /run/xenconsoled.pid + eend $* +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xend.initd-r1 b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xend.initd-r1 new file mode 100644 index 0000000000..ea21cff699 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xend.initd-r1 @@ -0,0 +1,71 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xend.initd-r1,v 1.4 2014/01/02 04:58:53 idella4 Exp $ + +extra_commands="status" + +depend() { + need net + before xendomains sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp +} + +await_daemons_up() { + for ((i=0; i<5; i++)); do + /usr/sbin/xend status && return 0 + sleep 1 + done + return 1 +} + +is_privileged_domain() { + grep -qsE '^control_d$' /proc/xen/capabilities + return $? +} + +start() { + if is_privileged_domain ; then + ebegin "Starting Xen control daemon" + /usr/sbin/xend start && await_daemons_up + eend $? + else + eerror "Can't start xend - this is not a privileged domain." + return 1 + fi +} + +stop() { + if [ "$(xm list 2>/dev/null | wc -l)" -gt 2 ]; then + ebegin "Stopping all Xen domains" + /usr/sbin/xm shutdown --all --wait >/dev/null + eend $? + fi + + ebegin "Stopping Xen control daemon" + /usr/sbin/xend stop + eend $? + + #ebegin "Stopping xenconsoled" + #kill $(/dev/null + eend $? + fi + + ebegin "Stopping Xen control daemon" + /usr/sbin/xend stop + eend $? +} + +status() { + is_privileged_domain && /usr/sbin/xend status +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains-screen.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains-screen.confd new file mode 100644 index 0000000000..e75e19d3be --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains-screen.confd @@ -0,0 +1,25 @@ +# /etc/conf.d/xendomains + +# Directory of domains to boot. AUTODIR should contain one or more symlinks +# to domain config files in /etc/xen +# AUTODIR=/etc/xen/auto + +# Send shutdown commands to all domains in parallel instead of waiting for +# each to shutdown individually +# PARALLEL_SHUTDOWN=yes + +# When SCREEN="yes", domains in AUTODIR have their consoles connected to a +# screen session named SCREEN_NAME, with output logged to individual files +# named after each domain and written to /var/log/xen-consoles/ . These files +# are rotated (using app-admin/logrotate) every time xendomains is started. + +SCREEN="yes" +SCREEN_NAME="xen" + +# Number of seconds between writes to screen's logfiles. +# +# Lower values mean more disk activity and hence a possible performance +# impact, but higher values mean a greater chance of loosing some output +# in the event of a crash. + +SCREEN_LOG_INTERVAL="1" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.confd new file mode 100644 index 0000000000..90c1f5256c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.confd @@ -0,0 +1,9 @@ +# /etc/conf.d/xendomains + +# Directory of domains to boot. AUTODIR should contain one or more symlinks +# to domain config files in /etc/xen +AUTODIR=/etc/xen/auto + +# Send shutdown commands to all domains in parallel instead of waiting for +# each to shutdown individually +PARALLEL_SHUTDOWN=yes diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.initd-r2 b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.initd-r2 new file mode 100644 index 0000000000..8c28f20c38 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xendomains.initd-r2 @@ -0,0 +1,118 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xendomains.initd-r2,v 1.9 2014/06/15 19:55:21 robbat2 Exp $ + +extra_commands="status" + +depend() { + need xenstored + after dhcp xend xenconsoled +} + +get_domname() { + local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alnum:]_\.-]+)\"?\W*;?/\1/p' "${1}" | tail -n 1) + + if [ -z ${name_from_file} ] ; then + basename "${1}" + else + echo ${name_from_file} + fi +} + +is_running() { + /usr/sbin/xl list "${1}" >/dev/null 2>&1 +} + +using_screen() { + [ "${SCREEN}" = "yes" -o "${SCREEN}" = "YES" ] +} + +set_screen_cmd() { + screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X" +} + +start() { + set_screen_cmd + + einfo "Starting Xen domains from ${AUTODIR:=/etc/xen/auto}" + if using_screen ; then + ebegin "Creating screen session to hold domain consoles" + ( screen -c ${SCREENRC:-/dev/null} -d -m -S ${SCREEN_NAME} -t dom0 \ + && sleep 5 \ + && ${screen_cmd} zombie dr \ + && logrotate -f /etc/xen/xen-consoles.logrotate \ + && ${screen_cmd} logfile /var/log/xen-consoles/%t.log \ + && ${screen_cmd} logfile flush ${SCREEN_LOG_INTERVAL:-1} \ + && ${screen_cmd} log on \ + && ${screen_cmd} deflog on ) >/dev/null + if [ $? -ne 0 ] ; then + eend 1 + return 1 + else + eend + fi + fi + # Create all domains with config files in AUTODIR. + for dom in $(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort); do + name=$(get_domname ${dom}) + if ! is_running ${name} ; then + ebegin " Starting domain ${name}" + if using_screen ; then + ${screen_cmd} screen -t ${name} xl create ${dom} -c + else + xl create --quiet ${dom} + fi + eend $? + else + einfo " Not starting domain ${name} - already running" + fi + done +} + +stop() { + set_screen_cmd + + einfo "Shutting down Xen domains from ${AUTODIR:=/etc/xen/auto}" + # Stop all domains with config files in AUTODIR. + DOMAINS="$(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort -r)" + + if [ "$PARALLEL_SHUTDOWN" = "yes" ] ; then + for dom in $DOMAINS ; do + name=$(get_domname ${dom}) + if is_running ${name} ; then + ebegin " Asking domain ${name} to shutdown in the background..." + xl shutdown -w ${name} >/dev/null & + else + einfo " Not stopping domain ${name} - not running" + fi + done + einfo " Waiting for shutdown of domains that are still running" + wait + eend $? + else + for dom in $DOMAINS ; do + name=$(get_domname ${dom}) + if is_running ${name} ; then + ebegin " Waiting for domain ${name} to shutdown" + xl shutdown -w ${name} >/dev/null + eend $? + else + einfo " Not stopping domain ${name} - not running" + fi + done + fi + if using_screen ; then + if ${screen_cmd} sleep 0 >/dev/null 2>&1 ; then + ebegin "Closing screen session ${SCREEN_NAME}" + ${screen_cmd} quit + eend $? + else + eend 0 + fi + fi +} + +status() { + /usr/sbin/xl list +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.confd new file mode 100644 index 0000000000..5b49520aa0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.confd @@ -0,0 +1,7 @@ +# /etc/conf.d/xenqemudev + +# To enable QEMU file backend, set to 'yes' +XENQEMUDEV_FILE_BACKEND_ENABLE="" + +# Common options for xenqemudev +XENQEMUDEV_OPTS="" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.initd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.initd new file mode 100644 index 0000000000..6f7066ecf8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenqemudev.initd @@ -0,0 +1,81 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenqemudev.initd,v 1.2 2013/12/07 06:49:41 idella4 Exp $ + +depend() { + need xencommons xenstored xenconsoled +} + +is_privileged_domain() { + grep -qsE '^control_d$' /proc/xen/capabilities + return $? +} + +xen_setvars() { + . /etc/xen/scripts/hotplugpath.sh + + XENQEMUDEV_PIDFILE=/run/xenqemudev.pid + XEN_QEMU="${LIBEXEC}/qemu-system-i386" +} + +xen_qemu_start() { + if [ -z "${XENQEMUDEV_FILE_BACKEND_ENABLE}" ]; then + ewarn " QEMU disk backend not enabled" + ewarn " enable XENQEMUDEV_FILE_BACKEND_ENABLE in /etc/conf.d/xenqemudev" + return 1 + fi + + xen_setvars + + if [ ! -c /dev/xen/gntdev ]; then + einfo " Xen gntdev driver not loaded" + return 1 + fi + + if [ -e "${XEN_QEMU}" ]; then + einfo " Starting QEMU as disk backend for dom0" + + XENQEMUDEV_DEFAULT_OPTS="-xen-domid 0 -xen-attach -name dom0 \ + -nographic -M xenpv -daemonize \ + -monitor /dev/null -serial /dev/null -parallel /dev/null" + + XENQEMUDEV_OPTS=${XENQEMUDEV_OPTS:-${XENQEMUDEV_DEFAULT_OPTS}} + + start-stop-daemon --start --exec ${XEN_QEMU} \ + --pidfile ${XENQEMUDEV_PIDFILE} \ + -- -pidfile ${XENQEMUDEV_PIDFILE} \ + ${XENQEMUDEV_OPTS} + return $? + fi +} + +start() { + ebegin "Starting xenqemudev daemon" + + # not running in Xen dom0 or domU + if [ ! -d /proc/xen ]; then + eend 1 "Not running in Xen mode" + return 1 + fi + + if ! is_privileged_domain; then + eend 1 "Not running on a privileged domain. xenqemudev not started" + return 1 + fi + + xen_qemu_start + + eend $? "Failed to start xenqemudev" +} + +stop () { + ebegin "Stopping xenqemudev" + + xen_setvars + + start-stop-daemon --stop --exec ${XEN_QEMU} \ + --pidfile ${XENQEMUDEV_PIDFILE} + + eend $? "Stopping xenqemudev, as it cannot be restarted." +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.confd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.confd new file mode 100644 index 0000000000..31b9293aa3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.confd @@ -0,0 +1,2 @@ +# /etc/conf.d/xenstored +XENSTORED_OPTS="" diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.initd b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.initd new file mode 100755 index 0000000000..05bcbb2725 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/files/xenstored.initd @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + before xendomains xend sshd ntp-client ntpd nfs nfsmount rsyncd portmap dhcp + need xencommons +} + +xenstored_dir_check() { + # create dir dynamically + local i + for i in /var/lock/subsys /run/xen /run/xend/boot /run/xenstored; do + [ -x $i ] || mkdir -p $i + done +} + +start() { + ebegin "Starting xenstored daemon" + xenstored_dir_check + start-stop-daemon --start --exec /usr/sbin/xenstored \ + --pidfile /run/xenstored.pid \ + -- --pid-file=/run/xenstored.pid \ + $XENSTORED_OPTS + until xenstore-exists / || $((15 < ++i)) + do + echo -n . + sleep 1 + done + einfo "Setting domain0 name record" + /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" + local V=$(xl info| awk "/xen_minor/ { print \$3 }") + [ $V -ge 4 ] && /usr/bin/xenstore-write "/local/domain/0/domid" 0 + + eend $* +} + +stop() { + ebegin "Stopping xenstored daemon" + start-stop-daemon --stop --exec /usr/sbin/xenstored \ + --pidfile /run/xenstored.pid + eend $? +} + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/metadata.xml b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/metadata.xml new file mode 100644 index 0000000000..0d5491e130 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/metadata.xml @@ -0,0 +1,18 @@ + + + + xen + + Build the C libxenapi bindings + Enable the Flask XSM module from NSA + Enable support for hardware based virtualization (VT-x,AMD-v) + Enable IOEMU support via the use of qemu-dm + Install the pygrub boot loader + Enable support for running domain U console in an app-misc/screen session + Using app-emulation/qemu instead of the bundled one + Using sys-firmware/seabios instead of the bundled one + Enable support the xend and xm to manage xen + Enable support for the ocaml language + Enable pam support + + diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r6.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r6.ebuild new file mode 100644 index 0000000000..4a075e5640 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r6.ebuild @@ -0,0 +1,411 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r6.ebuild,v 1.4 2014/07/30 19:20:10 ssuominen Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE='xml,threads' + +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" + UPSTREAM_VER=3 + GENTOO_VER= + SEABIOS_VER=1.6.3.2 + + [[ -n ${UPSTREAM_VER} ]] && \ + UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" + [[ -n ${GENTOO_VER} ]] && \ + GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz" + + SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz + http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz + http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz + ${UPSTREAM_PATCHSET_URI} + ${GENTOO_PATCHSET_URI}" + S="${WORKDIR}/xen-${PV}" +fi + +inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass} + +DESCRIPTION="Xend daemon and tools" +HOMEPAGE="http://xen.org/" +DOCS=( README docs/README.xen-bugtool ) + +LICENSE="GPL-2" +SLOT="0" +IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios" + +REQUIRED_USE="hvm? ( qemu ) + ${PYTHON_REQUIRED_USE}" + +DEPEND="dev-libs/lzo:2 + dev-libs/glib:2 + dev-libs/yajl + dev-libs/libgcrypt:0 + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pypam[${PYTHON_USEDEP}] + sys-libs/zlib + sys-power/iasl + system-seabios? ( sys-firmware/seabios ) + sys-firmware/ipxe + dev-ml/findlib + hvm? ( media-libs/libsdl ) + ${PYTHON_DEPS} + api? ( dev-libs/libxml2 + net-misc/curl ) + ${PYTHON_DEPS} + pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} ) + sys-devel/bin86 + sys-devel/dev86 + dev-lang/perl + app-misc/pax-utils + doc? ( + app-doc/doxygen + dev-tex/latex2html[png,gif] + media-gfx/transfig + media-gfx/graphviz + dev-tex/xcolor + dev-texlive/texlive-latexextra + virtual/latex-base + dev-tex/latexmk + dev-texlive/texlive-latex + dev-texlive/texlive-pictures + dev-texlive/texlive-latexrecommended + ) + hvm? ( x11-proto/xproto + !net-libs/libiscsi )" +RDEPEND="sys-apps/iproute2 + net-misc/bridge-utils + ocaml? ( >=dev-lang/ocaml-4 ) + screen? ( + app-misc/screen + app-admin/logrotate + ) + virtual/udev" + +# hvmloader is used to bootstrap a fully virtualized kernel +# Approved by QA team in bug #144032 +QA_WX_LOAD="usr/lib/xen/boot/hvmloader" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + export "CONFIG_LOMOUNT=y" + + if has_version dev-libs/libgcrypt:0; then + export "CONFIG_GCRYPT=y" + fi + + if use qemu; then + export "CONFIG_IOEMU=y" + else + export "CONFIG_IOEMU=n" + fi + + 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 + + use api && export "LIBXENAPI_BINDINGS=y" + use flask && export "FLASK_ENABLE=y" +} + +src_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + # Gentoo's patchset + if [[ -n ${GENTOO_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patches-gentoo + fi + + # Drop .config, fixes to gcc-4.6 + epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch + + # Xend + if ! use xend; then + sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \ + -i tools/misc/Makefile || die "Disabling xend failed" + sed -e 's:^XEND_INITD:#XEND_INITD:' \ + -i tools/examples/Makefile || die "Disabling xend failed" + 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 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 + + if ! use pygrub; then + sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die + fi + + # Disable hvm support on systems that don't support x86_32 binaries. + if ! use hvm; then + sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die + sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die + # Bug 351648 + elif ! use x86 && ! has x86 $(get_all_abis); then + mkdir -p "${WORKDIR}"/extra-headers/gnu || die + touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die + export CPATH="${WORKDIR}"/extra-headers + fi + + # Don't bother with qemu, only needed for fully virtualised guests + if ! use qemu; then + sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die + sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die + fi + + # Fix texi2html build error with new texi2html, qemu.doc.html + epatch "${FILESDIR}"/${PN}-4-docfix.patch \ + "${FILESDIR}"/${PN}-4-qemu-xen-doc.patch + + # Fix network broadcast on bridged networks + epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch" + + # Bug 496708 + epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch + use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch + + # Fix bridge by idella4, bug #362575 + epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch" + + # Don't build ipxe with pie on hardened, Bug #360805 + if gcc-specs-pie; then + epatch "${FILESDIR}"/ipxe-nopie.patch + fi + + # Prevent double stripping of files at install + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch + + # add missing header, Bug #467200 + epatch "${FILESDIR}"/xen-4-ulong.patch \ + "${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch + + # Set dom0-min-mem to kb; Bug #472982 + epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch + + # Bug 463840 + epatch "${FILESDIR}"/${PN}-4.2.2-install.patch + epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch + + # Bug 379537 + epatch "${FILESDIR}"/fix-gold-ld.patch + + # Bug 510976 + epatch "${FILESDIR}"/${P}-udev-rules.patch + + # bundled seabios + epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch + mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die + pushd tools/firmware/ > /dev/null + ln -s seabios-dir-remote seabios-dir || die + popd > /dev/null + + # Bug 472438 + sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \ + -i Config.mk || die + + # Bug 445986 + sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die + + # fix QA warning, create /var/run/, /var/lock dynamically + sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \ + tools/libxl/Makefile || die + + sed -i -e "/\/var\/run\//d" \ + tools/xenstore/Makefile \ + tools/pygrub/Makefile || die + + sed -i -e "/\/var\/lock\/subsys/d" \ + tools/Makefile || die + + # xencommons, Bug #492332, sed lighter weight than patching + sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ + -i tools/hotplug/Linux/init.d/xencommons || die + + epatch_user +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + local myopt + use debug && myopt="${myopt} debug=y" + + use custom-cflags || unset CFLAGS + if test-flag-CC -fno-strict-overflow; then + append-flags -fno-strict-overflow + fi + + unset LDFLAGS + unset CFLAGS + emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt} + + use doc && emake -C docs txt html + emake -C docs man-pages +} + +src_install() { + # Override auto-detection in the build system, bug #382573 + export INITD_DIR=/tmp/init.d + export CONFIG_LEAF_DIR=../tmp/default + + # Let the build system compile installed Python modules. + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \ + XEN_PYTHON_NATIVE_INSTALL=y install-tools + # Fix the remaining Python shebangs. + python_fix_shebang "${ED}" + + # Remove RedHat-specific stuff + rm -rf "${D}"tmp || die + + # uncomment lines in xl.conf + sed -e 's:^#autoballoon=1:autoballoon=1:' \ + -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \ + -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \ + -i tools/examples/xl.conf || die + + # Reset bash completion dir; Bug 472438 + mv "${D}"bash-completion "${D}"usr/share/ || die + + if use doc; then + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs + + dohtml -r docs/ + docinto pdf + dodoc ${DOCS[@]} + [ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html + fi + + rm -rf "${D}"/usr/share/doc/xen/ + doman docs/man?/* + + if use xend; then + newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd" + fi + newconfd "${FILESDIR}"/xendomains.confd xendomains + newconfd "${FILESDIR}"/xenstored.confd xenstored + newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled + newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xencommons.initd xencommons + newconfd "${FILESDIR}"/xencommons.confd xencommons + + if use screen; then + cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die + cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die + keepdir /var/log/xen-consoles + fi + + if [[ "${ARCH}" == 'amd64' ]] && use qemu; then + mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die + mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die + fi + + # For -static-libs wrt Bug 384355 + if ! use static-libs; then + rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a + fi + + # xend expects these to exist + keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen + + # for xendomains + keepdir /etc/xen/auto + + # Temp QA workaround + dodir "$(get_udevdir)" + mv "${D}"/etc/udev/* "${D}/$(get_udevdir)" + rm -rf "${D}"/etc/udev + + # Remove files failing QA AFTER emake installs them, avoiding seeking absent files + find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \ + -o -name openbios-ppc -o -name palcode-clipper \) -delete || die +} + +pkg_postinst() { + elog "Official Xen Guide and the offical wiki page:" + elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml" + elog "http://wiki.xen.org/wiki/Main_Page" + elog "" + elog "Recommended to utilise the xencommons script to config sytem at boot." + elog "Add by use of rc-update on completion of the install" + + if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then + echo + ewarn "xend may not work when python is built with stack smashing protection (ssp)." + ewarn "If 'xm create' fails with '', see bug #141866" + ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug." + fi + + # TODO: we need to have the current Python slot here. + if ! has_version "dev-lang/python[ncurses]"; then + echo + ewarn "NB: Your dev-lang/python is built without USE=ncurses." + ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." + fi + + if has_version "sys-apps/iproute2[minimal]"; then + echo + ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking" + ewarn "will not work until you rebuild iproute2 without USE=minimal." + fi + + if ! use hvm; then + echo + elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" + elog "support enable the hvm use flag." + elog "An x86 or amd64 system is required to build HVM support." + fi + + if use xend; then + echo + elog "xend capability has been enabled and installed" + fi + + if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then + echo + elog "xensv is broken upstream (Gentoo bug #142011)." + elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r7.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r7.ebuild new file mode 100644 index 0000000000..407a2c5007 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.2.4-r7.ebuild @@ -0,0 +1,411 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.4-r7.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE='xml,threads' + +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" + UPSTREAM_VER=4 + GENTOO_VER= + SEABIOS_VER=1.6.3.2 + + [[ -n ${UPSTREAM_VER} ]] && \ + UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" + [[ -n ${GENTOO_VER} ]] && \ + GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz" + + SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz + http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz + http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz + ${UPSTREAM_PATCHSET_URI} + ${GENTOO_PATCHSET_URI}" + S="${WORKDIR}/xen-${PV}" +fi + +inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass} + +DESCRIPTION="Xend daemon and tools" +HOMEPAGE="http://xen.org/" +DOCS=( README docs/README.xen-bugtool ) + +LICENSE="GPL-2" +SLOT="0" +IUSE="api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios" + +REQUIRED_USE="hvm? ( qemu ) + ${PYTHON_REQUIRED_USE}" + +DEPEND="dev-libs/lzo:2 + dev-libs/glib:2 + dev-libs/yajl + dev-libs/libgcrypt:0 + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pypam[${PYTHON_USEDEP}] + sys-libs/zlib + sys-power/iasl + system-seabios? ( sys-firmware/seabios ) + sys-firmware/ipxe + dev-ml/findlib + hvm? ( media-libs/libsdl ) + ${PYTHON_DEPS} + api? ( dev-libs/libxml2 + net-misc/curl ) + ${PYTHON_DEPS} + pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} ) + sys-devel/bin86 + sys-devel/dev86 + dev-lang/perl + app-misc/pax-utils + doc? ( + app-doc/doxygen + dev-tex/latex2html[png,gif] + media-gfx/transfig + media-gfx/graphviz + dev-tex/xcolor + dev-texlive/texlive-latexextra + virtual/latex-base + dev-tex/latexmk + dev-texlive/texlive-latex + dev-texlive/texlive-pictures + dev-texlive/texlive-latexrecommended + ) + hvm? ( x11-proto/xproto + !net-libs/libiscsi )" +RDEPEND="sys-apps/iproute2 + net-misc/bridge-utils + ocaml? ( >=dev-lang/ocaml-4 ) + screen? ( + app-misc/screen + app-admin/logrotate + ) + virtual/udev" + +# hvmloader is used to bootstrap a fully virtualized kernel +# Approved by QA team in bug #144032 +QA_WX_LOAD="usr/lib/xen/boot/hvmloader" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + export "CONFIG_LOMOUNT=y" + + if has_version dev-libs/libgcrypt:0; then + export "CONFIG_GCRYPT=y" + fi + + if use qemu; then + export "CONFIG_IOEMU=y" + else + export "CONFIG_IOEMU=n" + fi + + 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 + + use api && export "LIBXENAPI_BINDINGS=y" + use flask && export "FLASK_ENABLE=y" +} + +src_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + # Gentoo's patchset + if [[ -n ${GENTOO_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patches-gentoo + fi + + # Drop .config, fixes to gcc-4.6 + epatch "${FILESDIR}"/${PN/-tools/}-4-fix_dotconfig-gcc.patch + + # Xend + if ! use xend; then + sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \ + -i tools/misc/Makefile || die "Disabling xend failed" + sed -e 's:^XEND_INITD:#XEND_INITD:' \ + -i tools/examples/Makefile || die "Disabling xend failed" + 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 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 + + if ! use pygrub; then + sed -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' -i tools/Makefile || die + fi + + # Disable hvm support on systems that don't support x86_32 binaries. + if ! use hvm; then + sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die + sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die + # Bug 351648 + elif ! use x86 && ! has x86 $(get_all_abis); then + mkdir -p "${WORKDIR}"/extra-headers/gnu || die + touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die + export CPATH="${WORKDIR}"/extra-headers + fi + + # Don't bother with qemu, only needed for fully virtualised guests + if ! use qemu; then + sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die + sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die + fi + + # Fix texi2html build error with new texi2html, qemu.doc.html + epatch "${FILESDIR}"/${PN}-4-docfix.patch \ + "${FILESDIR}"/${PN}-4-qemu-xen-doc.patch + + # Fix network broadcast on bridged networks + epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch" + + # Bug 496708 + epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch + use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch + + # Fix bridge by idella4, bug #362575 + epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch" + + # Don't build ipxe with pie on hardened, Bug #360805 + if gcc-specs-pie; then + epatch "${FILESDIR}"/ipxe-nopie.patch + fi + + # Prevent double stripping of files at install + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-jserver.patch + + # add missing header, Bug #467200 + epatch "${FILESDIR}"/xen-4-ulong.patch \ + "${FILESDIR}"/${PN}-4.2-xen_disk_leak.patch + + # Set dom0-min-mem to kb; Bug #472982 + epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch + + # Bug 463840 + epatch "${FILESDIR}"/${PN}-4.2.2-install.patch + epatch "${FILESDIR}"/${PN}-4.2.2-rt-link.patch + + # Bug 379537 + epatch "${FILESDIR}"/fix-gold-ld.patch + + # Bug 510976 + epatch "${FILESDIR}"/${P}-udev-rules.patch + + # bundled seabios + epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch + mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die + pushd tools/firmware/ > /dev/null + ln -s seabios-dir-remote seabios-dir || die + popd > /dev/null + + # Bug 472438 + sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \ + -i Config.mk || die + + # Bug 445986 + sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' -i tools/firmware/Makefile || die + + # fix QA warning, create /var/run/, /var/lock dynamically + sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \ + tools/libxl/Makefile || die + + sed -i -e "/\/var\/run\//d" \ + tools/xenstore/Makefile \ + tools/pygrub/Makefile || die + + sed -i -e "/\/var\/lock\/subsys/d" \ + tools/Makefile || die + + # xencommons, Bug #492332, sed lighter weight than patching + sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ + -i tools/hotplug/Linux/init.d/xencommons || die + + epatch_user +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + local myopt + use debug && myopt="${myopt} debug=y" + + use custom-cflags || unset CFLAGS + if test-flag-CC -fno-strict-overflow; then + append-flags -fno-strict-overflow + fi + + unset LDFLAGS + unset CFLAGS + emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt} + + use doc && emake -C docs txt html + emake -C docs man-pages +} + +src_install() { + # Override auto-detection in the build system, bug #382573 + export INITD_DIR=/tmp/init.d + export CONFIG_LEAF_DIR=../tmp/default + + # Let the build system compile installed Python modules. + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" install-tools \ + XEN_PYTHON_NATIVE_INSTALL=y install-tools + # Fix the remaining Python shebangs. + python_fix_shebang "${ED}" + + # Remove RedHat-specific stuff + rm -rf "${D}"tmp || die + + # uncomment lines in xl.conf + sed -e 's:^#autoballoon=1:autoballoon=1:' \ + -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \ + -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \ + -i tools/examples/xl.conf || die + + # Reset bash completion dir; Bug 472438 + mv "${D}"bash-completion "${D}"usr/share/ || die + + if use doc; then + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs + + dohtml -r docs/ + docinto pdf + dodoc ${DOCS[@]} + [ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html + fi + + rm -rf "${D}"/usr/share/doc/xen/ + doman docs/man?/* + + if use xend; then + newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd" + fi + newconfd "${FILESDIR}"/xendomains.confd xendomains + newconfd "${FILESDIR}"/xenstored.confd xenstored + newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled + newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xencommons.initd xencommons + newconfd "${FILESDIR}"/xencommons.confd xencommons + + if use screen; then + cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die + cp "${FILESDIR}"/xen-consoles.logrotate "${ED}"/etc/xen/ || die + keepdir /var/log/xen-consoles + fi + + if [[ "${ARCH}" == 'amd64' ]] && use qemu; then + mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die + mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/$(get_libdir)/xen/bin/ || die + fi + + # For -static-libs wrt Bug 384355 + if ! use static-libs; then + rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a + fi + + # xend expects these to exist + keepdir /var/run/xenstored /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen + + # for xendomains + keepdir /etc/xen/auto + + # Temp QA workaround + dodir "$(get_udevdir)" + mv "${D}"/etc/udev/* "${D}/$(get_udevdir)" + rm -rf "${D}"/etc/udev + + # Remove files failing QA AFTER emake installs them, avoiding seeking absent files + find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \ + -o -name openbios-ppc -o -name palcode-clipper \) -delete || die +} + +pkg_postinst() { + elog "Official Xen Guide and the offical wiki page:" + elog "http://www.gentoo.org/doc/en/xen-gu"${D}"usr/ide.xml" + elog "http://wiki.xen.org/wiki/Main_Page" + elog "" + elog "Recommended to utilise the xencommons script to config sytem at boot." + elog "Add by use of rc-update on completion of the install" + + if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then + echo + ewarn "xend may not work when python is built with stack smashing protection (ssp)." + ewarn "If 'xm create' fails with '', see bug #141866" + ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug." + fi + + # TODO: we need to have the current Python slot here. + if ! has_version "dev-lang/python[ncurses]"; then + echo + ewarn "NB: Your dev-lang/python is built without USE=ncurses." + ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." + fi + + if has_version "sys-apps/iproute2[minimal]"; then + echo + ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking" + ewarn "will not work until you rebuild iproute2 without USE=minimal." + fi + + if ! use hvm; then + echo + elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" + elog "support enable the hvm use flag." + elog "An x86 or amd64 system is required to build HVM support." + fi + + if use xend; then + echo + elog "xend capability has been enabled and installed" + fi + + if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then + echo + elog "xensv is broken upstream (Gentoo bug #142011)." + elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r5.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r5.ebuild new file mode 100644 index 0000000000..275b980f81 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r5.ebuild @@ -0,0 +1,445 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r5.ebuild,v 1.3 2014/07/30 19:20:10 ssuominen Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE='xml,threads' + +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" + UPSTREAM_VER=3 + GENTOO_VER= + SEABIOS_VER=1.7.1-stable-xen + + [[ -n ${UPSTREAM_VER} ]] && \ + UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" + [[ -n ${GENTOO_VER} ]] && \ + GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz" + + SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz + http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz + http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz + ${UPSTREAM_PATCHSET_URI} + ${GENTOO_PATCHSET_URI}" + S="${WORKDIR}/xen-${PV}" +fi + +inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass} + +DESCRIPTION="Xend daemon and tools" +HOMEPAGE="http://xen.org/" +DOCS=( README docs/README.xen-bugtool ) + +LICENSE="GPL-2" +SLOT="0" +# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make +# >=dev-lang/ocaml-4 stable +# Masked in profiles/eapi-5-files instead +IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios" + +REQUIRED_USE="hvm? ( qemu ) + ${PYTHON_REQUIRED_USE} + pygrub? ( python )" + +DEPEND="dev-libs/lzo:2 + dev-libs/glib:2 + dev-libs/yajl + dev-libs/libgcrypt:0 + dev-python/lxml[${PYTHON_USEDEP}] + pam? ( dev-python/pypam[${PYTHON_USEDEP}] ) + sys-libs/zlib + sys-power/iasl + system-seabios? ( sys-firmware/seabios ) + sys-firmware/ipxe + hvm? ( media-libs/libsdl ) + ${PYTHON_DEPS} + api? ( dev-libs/libxml2 + net-misc/curl ) + pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} ) + sys-devel/bin86 + sys-devel/dev86 + dev-lang/perl + app-misc/pax-utils + dev-python/markdown + doc? ( + app-doc/doxygen + dev-tex/latex2html[png,gif] + media-gfx/graphviz + dev-tex/xcolor + media-gfx/transfig + dev-texlive/texlive-latexextra + virtual/latex-base + dev-tex/latexmk + dev-texlive/texlive-latex + dev-texlive/texlive-pictures + dev-texlive/texlive-latexrecommended + ) + hvm? ( x11-proto/xproto + !net-libs/libiscsi ) + qemu? ( x11-libs/pixman ) + ocaml? ( dev-ml/findlib + >=dev-lang/ocaml-4 )" +RDEPEND="sys-apps/iproute2 + net-misc/bridge-utils + screen? ( + app-misc/screen + app-admin/logrotate + ) + virtual/udev" + +# hvmloader is used to bootstrap a fully virtualized kernel +# Approved by QA team in bug #144032 +QA_WX_LOAD="usr/lib/xen/boot/hvmloader" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + export "CONFIG_LOMOUNT=y" + + if has_version dev-libs/libgcrypt:0; then + export "CONFIG_GCRYPT=y" + fi + + if use qemu; then + export "CONFIG_IOEMU=y" + else + export "CONFIG_IOEMU=n" + fi + + 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_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + # Gentoo's patchset + if [[ -n ${GENTOO_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patches-gentoo + fi + + # Drop .config, fixes to gcc-4.6 + epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch + + # Fix texi2html build error with new texi2html, qemu.doc.html + epatch "${FILESDIR}"/${PN}-4-docfix.patch \ + "${FILESDIR}"/${PN}-4-qemu-xen-doc.patch + + # Fix network broadcast on bridged networks + epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch" + + # Bug 496708 + epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch + use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch + + # Fix bridge by idella4, bug #362575 + epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch" + + # Prevent double stripping of files at install + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch + + # add missing header + epatch "${FILESDIR}"/xen-4-ulong.patch + + # Set dom0-min-mem to kb; Bug #472982 + epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch + + # Bug 477676 + epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch + + # Bug 379537 + epatch "${FILESDIR}"/fix-gold-ld.patch + + # Prevent file collision with qemu package Bug 478064 + epatch "${FILESDIR}"/qemu-bridge.patch + mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die + + # bundled seabios + epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch + mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die + pushd tools/firmware/ > /dev/null + ln -s seabios-dir-remote seabios-dir || die + popd > /dev/null + + # Xend + if ! use xend; then + sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \ + -i tools/misc/Makefile || die "Disabling xend failed" + sed -e 's:^XEND_INITD:#XEND_INITD:' \ + -i tools/examples/Makefile || die "Disabling xend failed" + 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 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 + + if ! use pygrub; then + sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die + fi + + if ! use python; then + sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die + fi + + # Disable hvm support on systems that don't support x86_32 binaries. + if ! use hvm; then + sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die + sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die + # Bug 351648 + elif ! use x86 && ! has x86 $(get_all_abis); then + mkdir -p "${WORKDIR}"/extra-headers/gnu || die + touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die + export CPATH="${WORKDIR}"/extra-headers + fi + + # Don't bother with qemu, only needed for fully virtualised guests + if ! use qemu; then + sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die + sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die + fi + + # Bug 472438 + sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \ + -i Config.mk || die + + use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die + use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die + sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \ + -i tools/firmware/Makefile || die + + # xencommons, Bug #492332, sed lighter weight than patching + sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ + -i tools/hotplug/Linux/init.d/xencommons || die + + # Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844 + sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \ + -i tools/libxl/libxl_bootloader.c || die + + # fix QA warning, create /var/run/, /var/lock dynamically + sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \ + tools/libxl/Makefile || die + + sed -i -e "/\/var\/run\//d" \ + tools/xenstore/Makefile \ + tools/pygrub/Makefile || die + + sed -i -e "/\/var\/lock\/subsys/d" \ + tools/Makefile || die + + epatch_user +} + +src_configure() { + local myconf="--prefix=/usr --disable-werror" + + if use ocaml + then + myconf="${myconf} $(use_enable ocaml ocamltools)" + else + myconf="${myconf} --disable-ocamltools" + fi + + if ! use pam + then + myconf="${myconf} --disable-pam" + fi + + econf ${myconf} +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + local myopt + use debug && myopt="${myopt} debug=y" + + use custom-cflags || unset CFLAGS + if test-flag-CC -fno-strict-overflow; then + append-flags -fno-strict-overflow + fi + + unset LDFLAGS + unset CFLAGS + emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt} + + use doc && emake -C docs txt html + emake -C docs man-pages +} + +src_install() { + # Override auto-detection in the build system, bug #382573 + export INITD_DIR=/tmp/init.d + export CONFIG_LEAF_DIR=../tmp/default + + # Let the build system compile installed Python modules. + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \ + XEN_PYTHON_NATIVE_INSTALL=y install-tools + + # Fix the remaining Python shebangs. + python_fix_shebang "${D}" + + # Remove RedHat-specific stuff + rm -rf "${D}"tmp || die + + # uncomment lines in xl.conf + sed -e 's:^#autoballoon=1:autoballoon=1:' \ + -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \ + -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \ + -i tools/examples/xl.conf || die + + # Reset bash completion dir; Bug 472438 + mv "${D}"bash-completion "${D}"usr/share/ || die + + if use doc; then + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs + + dohtml -r docs/ + docinto pdf + dodoc ${DOCS[@]} + [ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html + fi + + rm -rf "${D}"/usr/share/doc/xen/ + doman docs/man?/* + + if use xend; then + newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd" + fi + newconfd "${FILESDIR}"/xendomains.confd xendomains + newconfd "${FILESDIR}"/xenstored.confd xenstored + newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled + newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xencommons.initd xencommons + newconfd "${FILESDIR}"/xencommons.confd xencommons + newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev + newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev + + if use screen; then + cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die + cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die + keepdir /var/log/xen-consoles + fi + + # Move files built with use qemu, Bug #477884 + if [[ "${ARCH}" == 'amd64' ]] && use qemu; then + mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die + mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die + fi + + # For -static-libs wrt Bug 384355 + if ! use static-libs; then + rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a + fi + + # xend expects these to exist + keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen + + # for xendomains + keepdir /etc/xen/auto + + # Temp QA workaround + dodir "$(get_udevdir)" + mv "${D}"/etc/udev/* "${D}/$(get_udevdir)" + rm -rf "${D}"/etc/udev + + # Remove files failing QA AFTER emake installs them, avoiding seeking absent files + find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \ + -o -name openbios-ppc -o -name palcode-clipper \) -delete || die +} + +pkg_postinst() { + elog "Official Xen Guide and the offical wiki page:" + elog "https://wiki.gentoo.org/wiki/Xen" + elog "http://wiki.xen.org/wiki/Main_Page" + elog "" + elog "Recommended to utilise the xencommons script to config sytem At boot" + elog "Add by use of rc-update on completion of the install" + + if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then + echo + ewarn "xend may not work when python is built with stack smashing protection (ssp)." + ewarn "If 'xm create' fails with '', see bug #141866" + ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug." + fi + + # TODO: we need to have the current Python slot here. + if ! has_version "dev-lang/python[ncurses]"; then + echo + ewarn "NB: Your dev-lang/python is built without USE=ncurses." + ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." + fi + + if has_version "sys-apps/iproute2[minimal]"; then + echo + ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking" + ewarn "will not work until you rebuild iproute2 without USE=minimal." + fi + + if ! use hvm; then + echo + elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" + elog "support enable the hvm use flag." + elog "An x86 or amd64 system is required to build HVM support." + fi + + if use xend; then + elog"";elog "xend capability has been enabled and installed" + fi + + if use qemu; then + elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source" + elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently" + elog "with the qemu capable xen. It is up to the user to distinguish between and utilise" + elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise" + fi + + if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then + echo + elog "xensv is broken upstream (Gentoo bug #142011)." + elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r6.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r6.ebuild new file mode 100644 index 0000000000..5ddbe51feb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.3.2-r6.ebuild @@ -0,0 +1,445 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.3.2-r6.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE='xml,threads' + +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" + UPSTREAM_VER=4 + GENTOO_VER= + SEABIOS_VER=1.7.1-stable-xen + + [[ -n ${UPSTREAM_VER} ]] && \ + UPSTREAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" + [[ -n ${GENTOO_VER} ]] && \ + GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz" + + SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz + http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz + http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz + ${UPSTREAM_PATCHSET_URI} + ${GENTOO_PATCHSET_URI}" + S="${WORKDIR}/xen-${PV}" +fi + +inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass} + +DESCRIPTION="Xend daemon and tools" +HOMEPAGE="http://xen.org/" +DOCS=( README docs/README.xen-bugtool ) + +LICENSE="GPL-2" +SLOT="0" +# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make +# >=dev-lang/ocaml-4 stable +# Masked in profiles/eapi-5-files instead +IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios" + +REQUIRED_USE="hvm? ( qemu ) + ${PYTHON_REQUIRED_USE} + pygrub? ( python )" + +DEPEND="dev-libs/lzo:2 + dev-libs/glib:2 + dev-libs/yajl + dev-libs/libgcrypt:0 + dev-python/lxml[${PYTHON_USEDEP}] + pam? ( dev-python/pypam[${PYTHON_USEDEP}] ) + sys-libs/zlib + sys-power/iasl + system-seabios? ( sys-firmware/seabios ) + sys-firmware/ipxe + hvm? ( media-libs/libsdl ) + ${PYTHON_DEPS} + api? ( dev-libs/libxml2 + net-misc/curl ) + pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} ) + sys-devel/bin86 + sys-devel/dev86 + dev-lang/perl + app-misc/pax-utils + dev-python/markdown + doc? ( + app-doc/doxygen + dev-tex/latex2html[png,gif] + media-gfx/graphviz + dev-tex/xcolor + media-gfx/transfig + dev-texlive/texlive-latexextra + virtual/latex-base + dev-tex/latexmk + dev-texlive/texlive-latex + dev-texlive/texlive-pictures + dev-texlive/texlive-latexrecommended + ) + hvm? ( x11-proto/xproto + !net-libs/libiscsi ) + qemu? ( x11-libs/pixman ) + ocaml? ( dev-ml/findlib + >=dev-lang/ocaml-4 )" +RDEPEND="sys-apps/iproute2 + net-misc/bridge-utils + screen? ( + app-misc/screen + app-admin/logrotate + ) + virtual/udev" + +# hvmloader is used to bootstrap a fully virtualized kernel +# Approved by QA team in bug #144032 +QA_WX_LOAD="usr/lib/xen/boot/hvmloader" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + export "CONFIG_LOMOUNT=y" + + if has_version dev-libs/libgcrypt:0; then + export "CONFIG_GCRYPT=y" + fi + + if use qemu; then + export "CONFIG_IOEMU=y" + else + export "CONFIG_IOEMU=n" + fi + + 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_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + # Gentoo's patchset + if [[ -n ${GENTOO_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patches-gentoo + fi + + # Drop .config, fixes to gcc-4.6 + epatch "${FILESDIR}"/${PN/-tools/}-4.3-fix_dotconfig-gcc.patch + + # Fix texi2html build error with new texi2html, qemu.doc.html + epatch "${FILESDIR}"/${PN}-4-docfix.patch \ + "${FILESDIR}"/${PN}-4-qemu-xen-doc.patch + + # Fix network broadcast on bridged networks + epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch" + + # Bug 496708 + epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch + use system-seabios && epatch "${FILESDIR}"/${PN}-4-unbundle-seabios.patch + + # Fix bridge by idella4, bug #362575 + epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch" + + # Prevent double stripping of files at install + epatch "${FILESDIR}"/${PN/-tools/}-4.2.0-nostrip.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch + + # add missing header + epatch "${FILESDIR}"/xen-4-ulong.patch + + # Set dom0-min-mem to kb; Bug #472982 + epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch + + # Bug 477676 + epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch + + # Bug 379537 + epatch "${FILESDIR}"/fix-gold-ld.patch + + # Prevent file collision with qemu package Bug 478064 + epatch "${FILESDIR}"/qemu-bridge.patch + mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die + + # bundled seabios + epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch + mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die + pushd tools/firmware/ > /dev/null + ln -s seabios-dir-remote seabios-dir || die + popd > /dev/null + + # Xend + if ! use xend; then + sed -e 's:xm xen-bugtool xen-python-path xend:xen-bugtool xen-python-path:' \ + -i tools/misc/Makefile || die "Disabling xend failed" + sed -e 's:^XEND_INITD:#XEND_INITD:' \ + -i tools/examples/Makefile || die "Disabling xend failed" + 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 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 + + if ! use pygrub; then + sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die + fi + + if ! use python; then + sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die + fi + + # Disable hvm support on systems that don't support x86_32 binaries. + if ! use hvm; then + sed -e '/^CONFIG_IOEMU := y$/d' -i config/*.mk || die + sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die + # Bug 351648 + elif ! use x86 && ! has x86 $(get_all_abis); then + mkdir -p "${WORKDIR}"/extra-headers/gnu || die + touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die + export CPATH="${WORKDIR}"/extra-headers + fi + + # Don't bother with qemu, only needed for fully virtualised guests + if ! use qemu; then + sed -e "/^CONFIG_IOEMU := y$/d" -i config/*.mk || die + sed -e "s:install-tools\: tools/ioemu-dir:install-tools\: :g" -i Makefile || die + fi + + # Bug 472438 + sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \ + -i Config.mk || die + + use flask || sed -e "/SUBDIRS-y += flask/d" -i tools/Makefile || die + use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die + sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \ + -i tools/firmware/Makefile || die + + # xencommons, Bug #492332, sed lighter weight than patching + sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ + -i tools/hotplug/Linux/init.d/xencommons || die + + # Bug 493232 fix from http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1844 + sed -e 's:bl->argsspace = 7 + :bl->argsspace = 9 + :' \ + -i tools/libxl/libxl_bootloader.c || die + + # fix QA warning, create /var/run/, /var/lock dynamically + sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \ + tools/libxl/Makefile || die + + sed -i -e "/\/var\/run\//d" \ + tools/xenstore/Makefile \ + tools/pygrub/Makefile || die + + sed -i -e "/\/var\/lock\/subsys/d" \ + tools/Makefile || die + + epatch_user +} + +src_configure() { + local myconf="--prefix=/usr --disable-werror" + + if use ocaml + then + myconf="${myconf} $(use_enable ocaml ocamltools)" + else + myconf="${myconf} --disable-ocamltools" + fi + + if ! use pam + then + myconf="${myconf} --disable-pam" + fi + + econf ${myconf} +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + local myopt + use debug && myopt="${myopt} debug=y" + + use custom-cflags || unset CFLAGS + if test-flag-CC -fno-strict-overflow; then + append-flags -fno-strict-overflow + fi + + unset LDFLAGS + unset CFLAGS + emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt} + + use doc && emake -C docs txt html + emake -C docs man-pages +} + +src_install() { + # Override auto-detection in the build system, bug #382573 + export INITD_DIR=/tmp/init.d + export CONFIG_LEAF_DIR=../tmp/default + + # Let the build system compile installed Python modules. + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \ + XEN_PYTHON_NATIVE_INSTALL=y install-tools + + # Fix the remaining Python shebangs. + python_fix_shebang "${D}" + + # Remove RedHat-specific stuff + rm -rf "${D}"tmp || die + + # uncomment lines in xl.conf + sed -e 's:^#autoballoon=1:autoballoon=1:' \ + -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \ + -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \ + -i tools/examples/xl.conf || die + + # Reset bash completion dir; Bug 472438 + mv "${D}"bash-completion "${D}"usr/share/ || die + + if use doc; then + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs + + dohtml -r docs/ + docinto pdf + dodoc ${DOCS[@]} + [ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html + fi + + rm -rf "${D}"/usr/share/doc/xen/ + doman docs/man?/* + + if use xend; then + newinitd "${FILESDIR}"/xend.initd-r2 xend || die "Couldn't install xen.initd" + fi + newconfd "${FILESDIR}"/xendomains.confd xendomains + newconfd "${FILESDIR}"/xenstored.confd xenstored + newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled + newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xencommons.initd xencommons + newconfd "${FILESDIR}"/xencommons.confd xencommons + newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev + newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev + + if use screen; then + cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die + cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die + keepdir /var/log/xen-consoles + fi + + # Move files built with use qemu, Bug #477884 + if [[ "${ARCH}" == 'amd64' ]] && use qemu; then + mkdir -p "${D}"usr/$(get_libdir)/xen/bin || die + mv "${D}"usr/lib/xen/bin/* "${D}"usr/$(get_libdir)/xen/bin/ || die + fi + + # For -static-libs wrt Bug 384355 + if ! use static-libs; then + rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a + fi + + # xend expects these to exist + keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen + + # for xendomains + keepdir /etc/xen/auto + + # Temp QA workaround + dodir "$(get_udevdir)" + mv "${D}"/etc/udev/* "${D}/$(get_udevdir)" + rm -rf "${D}"/etc/udev + + # Remove files failing QA AFTER emake installs them, avoiding seeking absent files + find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \ + -o -name openbios-ppc -o -name palcode-clipper \) -delete || die +} + +pkg_postinst() { + elog "Official Xen Guide and the offical wiki page:" + elog "https://wiki.gentoo.org/wiki/Xen" + elog "http://wiki.xen.org/wiki/Main_Page" + elog "" + elog "Recommended to utilise the xencommons script to config sytem At boot" + elog "Add by use of rc-update on completion of the install" + + if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then + echo + ewarn "xend may not work when python is built with stack smashing protection (ssp)." + ewarn "If 'xm create' fails with '', see bug #141866" + ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug." + fi + + # TODO: we need to have the current Python slot here. + if ! has_version "dev-lang/python[ncurses]"; then + echo + ewarn "NB: Your dev-lang/python is built without USE=ncurses." + ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." + fi + + if has_version "sys-apps/iproute2[minimal]"; then + echo + ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking" + ewarn "will not work until you rebuild iproute2 without USE=minimal." + fi + + if ! use hvm; then + echo + elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" + elog "support enable the hvm use flag." + elog "An x86 or amd64 system is required to build HVM support." + fi + + if use xend; then + elog"";elog "xend capability has been enabled and installed" + fi + + if use qemu; then + elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source" + elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently" + elog "with the qemu capable xen. It is up to the user to distinguish between and utilise" + elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise" + fi + + if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then + echo + elog "xensv is broken upstream (Gentoo bug #142011)." + elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.4.0-r9.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.4.0-r9.ebuild new file mode 100644 index 0000000000..1e2755aedc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/xen-tools/xen-tools-4.4.0-r9.ebuild @@ -0,0 +1,441 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.4.0-r9.ebuild,v 1.1 2014/08/19 14:16:01 dlan Exp $ + +EAPI=5 + +MY_PV=${PV/_/-} + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='xml,threads' + +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 ~arm -x86" + UPSTREAM_VER=5 + GENTOO_VER= + SEABIOS_VER=1.7.3.1 + + [[ -n ${UPSTREAM_VER} ]] && \ + UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" + [[ -n ${GENTOO_VER} ]] && \ + GENTOO_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz" + + SRC_URI="http://bits.xensource.com/oss-xen/release/${MY_PV}/xen-${MY_PV}.tar.gz + http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz + http://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz + ${UPSTRAM_PATCHSET_URI} + ${GENTOO_PATCHSET_URI}" + S="${WORKDIR}/xen-${MY_PV}" +fi + +inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs udev ${live_eclass} + +DESCRIPTION="Xend daemon and tools" +HOMEPAGE="http://xen.org/" +DOCS=( README docs/README.xen-bugtool ) + +LICENSE="GPL-2" +SLOT="0" +# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make +# >=dev-lang/ocaml-4 stable +# Masked in profiles/eapi-5-files instead +IUSE="api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-qemu system-seabios" + +REQUIRED_USE="hvm? ( || ( qemu system-qemu ) ) + ${PYTHON_REQUIRED_USE} + pygrub? ( python ) + qemu? ( !system-qemu )" + +COMMON_DEPEND=" + dev-libs/lzo:2 + dev-libs/glib:2 + dev-libs/yajl + dev-libs/libaio + dev-libs/libgcrypt:0 + sys-libs/zlib +" + +DEPEND="${COMMON_DEPEND} + dev-python/lxml[${PYTHON_USEDEP}] + pam? ( dev-python/pypam[${PYTHON_USEDEP}] ) + hvm? ( media-libs/libsdl ) + ${PYTHON_DEPS} + api? ( dev-libs/libxml2 + net-misc/curl ) + pygrub? ( ${PYTHON_DEPS//${PYTHON_REQ_USE}/ncurses} ) + arm? ( >=sys-apps/dtc-1.4.0 ) + !arm? ( sys-devel/bin86 + system-seabios? ( sys-firmware/seabios ) + sys-firmware/ipxe + sys-devel/dev86 + sys-power/iasl ) + dev-lang/perl + app-misc/pax-utils + dev-python/markdown + doc? ( + app-doc/doxygen + dev-tex/latex2html[png,gif] + media-gfx/graphviz + dev-tex/xcolor + media-gfx/transfig + dev-texlive/texlive-latexextra + virtual/latex-base + dev-tex/latexmk + dev-texlive/texlive-latex + dev-texlive/texlive-pictures + dev-texlive/texlive-latexrecommended + ) + hvm? ( x11-proto/xproto + !net-libs/libiscsi ) + qemu? ( x11-libs/pixman ) + system-qemu? ( app-emulation/qemu[xen] ) + ocaml? ( dev-ml/findlib + >=dev-lang/ocaml-4 )" + +RDEPEND="${COMMON_DEPEND} + sys-apps/iproute2 + net-misc/bridge-utils + screen? ( + app-misc/screen + app-admin/logrotate + ) + virtual/udev" + +# hvmloader is used to bootstrap a fully virtualized kernel +# Approved by QA team in bug #144032 +QA_WX_LOAD="usr/lib/xen/boot/hvmloader + usr/share/qemu-xen/qemu/s390-ccw.img" + +RESTRICT="test" + +pkg_setup() { + python-single-r1_pkg_setup + export "CONFIG_LOMOUNT=y" + + if has_version dev-libs/libgcrypt:0; then + export "CONFIG_GCRYPT=y" + fi + + 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" + elif use arm; then + export XEN_TARGET_ARCH="arm32" + else + die "Unsupported architecture!" + fi + fi + #bug 472438 + export BASH_COMPLETION_DIR=/usr/share/bash-completion +} + +src_prepare() { + # Upstream's patchset + if [[ -n ${UPSTREAM_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_OPTS="-p1" \ + epatch "${WORKDIR}"/patches-upstream + fi + + # Gentoo's patchset + if [[ -n ${GENTOO_VER} ]]; then + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patches-gentoo + fi + + # Fix texi2html build error with new texi2html, qemu.doc.html + epatch "${FILESDIR}"/${PN}-4-docfix.patch + + # Fix network broadcast on bridged networks + epatch "${FILESDIR}/${PN}-3.4.0-network-bridge-broadcast.patch" + + # Bug 496708 + epatch "${FILESDIR}"/${PN}-4-unbundle-ipxe.patch + + # Fix bridge by idella4, bug #362575 + epatch "${FILESDIR}/${PN}-4.1.1-bridge.patch" + + # Prevent double stripping of files at install + epatch "${FILESDIR}"/${PN/-tools/}-4.4-nostrip.patch + + # fix jobserver in Makefile + epatch "${FILESDIR}"/${PN/-tools/}-4.3-jserver.patch + + # Set dom0-min-mem to kb; Bug #472982 + epatch "${FILESDIR}"/${PN/-tools/}-4.2-configsxp.patch + + # Bug 477676 + epatch "${FILESDIR}"/${PN}-4.3-ar-cc.patch + + # Bug 379537 + epatch "${FILESDIR}"/fix-gold-ld.patch + + # Prevent file collision with qemu package Bug 478064 + epatch "${FILESDIR}"/xen-4.4-qemu-bridge.patch + mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die + + epatch "${FILESDIR}"/${PN}-4.4-api-fix.patch + + # Fix po file collision with app-emulation/qemu, while USE=qemu is enabled, Bug 508302 + epatch "${FILESDIR}"/${PN}-4-qemu-fix-po-collision.patch + + # bundled seabios + epatch "${FILESDIR}"/${PN}-4-anti-seabios-download.patch + mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die + pushd tools/firmware/ > /dev/null + ln -s seabios-dir-remote seabios-dir || die + popd > /dev/null + + use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die + sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \ + -i tools/firmware/Makefile || die + + # Drop .config, fixes to gcc-4.6 + sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop" + + # 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 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 + + if ! use pygrub; then + sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die + fi + + if ! use python; then + sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die + fi + + if ! use hvm; then + sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die + # Bug 351648 + elif ! use x86 && ! has x86 $(get_all_abis); then + mkdir -p "${WORKDIR}"/extra-headers/gnu || die + touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die + export CPATH="${WORKDIR}"/extra-headers + fi + + # Don't bother with qemu, only needed for fully virtualised guests + if ! use qemu; then + sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die + fi + + # Bug 472438 + sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \ + -i Config.mk || die + + # xencommons, Bug #492332, sed lighter weight than patching + sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \ + -i tools/hotplug/Linux/init.d/xencommons || die + + # respect multilib, usr/lib/libcacard.so.0.0.0 + sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \ + -i tools/qemu-xen/configure || die + + #bug 518136, don't build 32bit exactuable for nomultilib profile + if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then + sed -i -e "/x86_emulator/d" tools/tests/Makefile || die + fi + + # Bug 477884, 518136 + if [[ "${ARCH}" == 'amd64' ]]; then + sed -i -e "/LIBEXEC =/s|/lib/xen/bin|/$(get_libdir)/xen/bin|" config/StdGNU.mk || die + fi + + # fix QA warning, create /var/run/, /var/lock dynamically + sed -i -e "/\$(INSTALL_DIR) \$(DESTDIR)\$(XEN_RUN_DIR)/d" \ + tools/libxl/Makefile || die + + sed -i -e "/\/var\/run\//d" \ + tools/xenstore/Makefile \ + tools/pygrub/Makefile || die + + sed -i -e "/\/var\/lock\/subsys/d" \ + tools/Makefile || die + + epatch_user +} + +src_configure() { + local myconf="--prefix=/usr \ + --libdir=/usr/$(get_libdir) \ + --disable-werror \ + --disable-xen \ + --enable-tools \ + --enable-docs \ + --disable-qemu-traditional \ + $(use_with system-qemu) \ + $(use_enable pam) \ + $(use_enable api xenapi) \ + $(use_enable ocaml ocamltools) \ + " + use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin" + use qemu || myconf+=" --with-system-qemu" + econf ${myconf} +} + +src_compile() { + export VARTEXFONTS="${T}/fonts" + local myopt + use debug && myopt="${myopt} debug=y" + + use custom-cflags || unset CFLAGS + if test-flag-CC -fno-strict-overflow; then + append-flags -fno-strict-overflow + fi + + unset LDFLAGS + unset CFLAGS + emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt} + + use doc && emake -C docs txt html + emake -C docs man-pages +} + +src_install() { + # Override auto-detection in the build system, bug #382573 + export INITD_DIR=/tmp/init.d + export CONFIG_LEAF_DIR=../tmp/default + + # Let the build system compile installed Python modules. + local PYTHONDONTWRITEBYTECODE + export PYTHONDONTWRITEBYTECODE + + emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \ + XEN_PYTHON_NATIVE_INSTALL=y install-tools + + # Fix the remaining Python shebangs. + python_fix_shebang "${D}" + + # Remove RedHat-specific stuff + rm -rf "${D}"tmp || die + + # uncomment lines in xl.conf + sed -e 's:^#autoballoon=1:autoballoon=1:' \ + -e 's:^#lockfile="/var/lock/xl":lockfile="/var/lock/xl":' \ + -e 's:^#vifscript="vif-bridge":vifscript="vif-bridge":' \ + -i tools/examples/xl.conf || die + + # Reset bash completion dir; Bug 472438 + mv "${D}"bash-completion "${D}"usr/share/ || die + + if use doc; then + emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs + + dohtml -r docs/ + docinto pdf + dodoc ${DOCS[@]} + [ -d "${D}"/usr/share/doc/xen ] && mv "${D}"/usr/share/doc/xen/* "${D}"/usr/share/doc/${PF}/html + fi + + rm -rf "${D}"/usr/share/doc/xen/ + doman docs/man?/* + + newconfd "${FILESDIR}"/xendomains.confd xendomains + newconfd "${FILESDIR}"/xenstored.confd xenstored + newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled + newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xencommons.initd xencommons + newconfd "${FILESDIR}"/xencommons.confd xencommons + newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev + newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev + + if use screen; then + cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die + cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die + keepdir /var/log/xen-consoles + fi + + # For -static-libs wrt Bug 384355 + if ! use static-libs; then + rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a + fi + + # xend expects these to exist + keepdir /var/lib/xenstored /var/xen/dump /var/lib/xen /var/log/xen + + # for xendomains + keepdir /etc/xen/auto + + # Temp QA workaround + dodir "$(get_udevdir)" + mv "${D}"/etc/udev/* "${D}/$(get_udevdir)" + rm -rf "${D}"/etc/udev + + # Remove files failing QA AFTER emake installs them, avoiding seeking absent files + find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \ + -o -name openbios-ppc -o -name palcode-clipper \) -delete || die +} + +pkg_postinst() { + elog "Official Xen Guide and the offical wiki page:" + elog "https://wiki.gentoo.org/wiki/Xen" + elog "http://wiki.xen.org/wiki/Main_Page" + elog "" + elog "Recommended to utilise the xencommons script to config sytem At boot" + elog "Add by use of rc-update on completion of the install" + + if [[ "$(scanelf -s __guard -q "${PYTHON}")" ]] ; then + echo + ewarn "xend may not work when python is built with stack smashing protection (ssp)." + ewarn "If 'xm create' fails with '', see bug #141866" + ewarn "This problem may be resolved as of Xen 3.0.4, if not post in the bug." + fi + + # TODO: we need to have the current Python slot here. + if ! has_version "dev-lang/python[ncurses]"; then + echo + ewarn "NB: Your dev-lang/python is built without USE=ncurses." + ewarn "Please rebuild python with USE=ncurses to make use of xenmon.py." + fi + + if has_version "sys-apps/iproute2[minimal]"; then + echo + ewarn "Your sys-apps/iproute2 is built with USE=minimal. Networking" + ewarn "will not work until you rebuild iproute2 without USE=minimal." + fi + + if ! use hvm; then + echo + elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm" + elog "support enable the hvm use flag." + elog "An x86 or amd64 system is required to build HVM support." + fi + + if use qemu; then + elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source" + elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently" + elog "with the qemu capable xen. It is up to the user to distinguish between and utilise" + elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise" + fi + + if grep -qsF XENSV= "${ROOT}/etc/conf.d/xend"; then + echo + elog "xensv is broken upstream (Gentoo bug #142011)." + elog "Please remove '${ROOT%/}/etc/conf.d/xend', as it is no longer needed." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/ChangeLog b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/ChangeLog new file mode 100644 index 0000000000..7b2b94c512 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/ChangeLog @@ -0,0 +1,167 @@ +# ChangeLog for dev-libs/yajl +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/ChangeLog,v 1.39 2014/06/22 10:01:32 mgorny Exp $ + +*yajl-1.0.11-r1 (22 Jun 2014) + + 22 Jun 2014; Michał Górny +yajl-1.0.11-r1.ebuild: + Enable multilib support on yajl-1, needed by app-admin/elektra. + +*yajl-2.0.4-r3 (16 Jun 2014) + + 16 Jun 2014; Julian Ospald +yajl-2.0.4-r3.ebuild, + +files/yajl-2.0.4-pkgconfig_multilib.patch: + fix .pc install destination wrt #480598 + + 26 Jun 2013; Michael Weber + -files/yajl-2.0.4-remove_static_lib.patch, yajl-2.0.4-r2.ebuild: + fix USE=-static-libs (patch did not work, just remove .a after build/install, + bug 474814 by patrick), fix src_test. + +*yajl-2.0.4-r2 (23 Jun 2013) + + 23 Jun 2013; Michael Weber + +files/yajl-2.0.4-remove_static_lib.patch, +yajl-2.0.4-r2.ebuild, + -yajl-1.0.11-r1.ebuild, -yajl-2.0.2.ebuild, -yajl-2.0.4.ebuild: + Revbump, USE=static-libs (bug 447376, thanks ago), fix multilib test (bug + 467808, thanks Alphat-PC). Drop old. + +*yajl-2.0.4-r1 (25 Apr 2013) + + 25 Apr 2013; Michael Weber +yajl-2.0.4-r1.ebuild, + metadata.xml: + revbump to cmake-multilib, add myself as maint (bug 466820) + + 13 Apr 2013; Agostino Sarubbo yajl-2.0.3.ebuild: + Stable for sparc, wrt bug #464112 + + 12 Apr 2013; Agostino Sarubbo yajl-2.0.3.ebuild: + Stable for ia64, wrt bug #464112 + + 12 Apr 2013; Agostino Sarubbo yajl-2.0.3.ebuild: + Stable for alpha, wrt bug #464112 + + 06 Jan 2013; Agostino Sarubbo yajl-2.0.4.ebuild: + Add ~sparc, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo yajl-2.0.4.ebuild: + Add ~alpha, wrt bug #449220 + + 01 Jan 2013; Agostino Sarubbo yajl-2.0.4.ebuild: + Add ~ia64, wrt bug #449220 + + 29 May 2012; Brent Baude yajl-2.0.3.ebuild: + Marking yajl-2.0.3 ppc64 for bug 402287 + + 29 May 2012; Michael Weber yajl-2.0.3.ebuild: + ppc stable (bug 402287) + + 18 May 2012; Alexis Ballier yajl-2.0.4.ebuild: + keyword ~amd64-fbsd + + 12 May 2012; Markus Meier yajl-2.0.3.ebuild: + arm stable, bug #402287 + + 08 May 2012; Jeroen Roovers yajl-2.0.3.ebuild: + Stable for HPPA (bug #402287). + + 06 May 2012; Agostino Sarubbo yajl-2.0.3.ebuild: + Stable for amd64, wrt bug #402287 + +*yajl-2.0.4 (06 May 2012) + + 06 May 2012; Hans de Graaff +yajl-2.0.4.ebuild: + Version bump. Closes bug 414759, thanks to Johan Bergström for reporting. + + 05 May 2012; Markus Meier yajl-2.0.3.ebuild: + x86 stable, bug #402287 + + 12 Mar 2012; Samuli Suominen yajl-2.0.3.ebuild: + If we build static libraries, we should also install them. + + 07 Mar 2012; Naohiro Aota yajl-2.0.3.ebuild: + Add ~x86-fbsd. + + 31 Dec 2011; Fabian Groffen yajl-2.0.3.ebuild: + Add Prefix keywords, bug #396547 + +*yajl-2.0.3 (25 Dec 2011) + + 25 Dec 2011; Diego E. Pettenò +yajl-2.0.3.ebuild: + Version bump, thanks to Johan Bergström in bug #394985. Also shorten src_test + and avoid setting S which is supposedly read-only in phases in EAPI=4 and + later. + + 23 Oct 2011; Tomáš Chvátal yajl-2.0.2.ebuild: + Make static libs optional + + 18 Oct 2011; Samuli Suominen yajl-1.0.11.ebuild: + ppc/ppc64 stable wrt #382641 + + 17 Oct 2011; Markus Meier yajl-1.0.11.ebuild, + yajl-2.0.2.ebuild: + arm stable, bug #382641 + + 17 Oct 2011; Jeroen Roovers yajl-1.0.11.ebuild: + Stable for HPPA (bug #382641). + + 13 Sep 2011; Tomáš Chvátal yajl-2.0.2.ebuild: + Bump to eapi4. + + 07 Jul 2011; Hans de Graaff yajl-2.0.2.ebuild: + Move back into the normal slot since this package is not designed for + parallel installation. + +*yajl-2.0.2 (07 Jul 2011) + + 07 Jul 2011; Hans de Graaff +yajl-2.0.2.ebuild: + Version bump as reported by Johan Bergström in bug 373929. Added new slot + since this version is not fully backward compatible. + +*yajl-1.0.11-r1 (11 Feb 2011) + + 11 Feb 2011; Tomáš Chvátal yajl-1.0.11.ebuild, + +yajl-1.0.11-r1.ebuild, +files/yajl-fix_static_linking.patch: + Fix static linking and tests per Diego's request. + + 03 Feb 2011; Kacper Kowalik yajl-1.0.11.ebuild: + Added ~ppc/~ppc64 wrt #341149 + + 23 Jan 2011; Thomas Kahle yajl-1.0.11.ebuild: + x86 stable per bug 352279 + + 22 Jan 2011; Markos Chandras yajl-1.0.11.ebuild: + Stable on amd64 wrt bug #352279 + + 27 Oct 2010; Markus Meier yajl-1.0.11.ebuild: + add ~arm, bug #341149 + + 20 Oct 2010; Jeroen Roovers yajl-1.0.11.ebuild: + Marked ~hppa (bug #341149). + +*yajl-1.0.11 (15 Oct 2010) + + 15 Oct 2010; Samuli Suominen +yajl-1.0.11.ebuild: + Version bump. + +*yajl-1.0.9-r1 (23 May 2010) + + 23 May 2010; Diego E. Pettenò + +yajl-1.0.9-r1.ebuild, +files/yajl-fix_cmakelists.patch, + +files/yajl-fix_tests.patch, +metadata.xml: + Initial import in main tree of yajl, needed for yajl-ruby which is in turn + optionally used by the new Rails. Assigned to ruby herd for now. Thanks to + the Sunrise people for the ebuild. + + 04 Apr 2010; Tomáš Chvátal yajl-1.0.9.ebuild, + +files/yajl-fix_cmakelists.patch, +files/yajl-fix_tests.patch: + Fixup yajl cmakelist files. + + 26 Mar 2010; Ondrej Sukup (mimi_vx) +yajl-9999.ebuild: + Add live ebuild. Thx chithead + +*yajl-1.0.9 (18 Mar 2010) + + 18 Mar 2010; Ondrej Sukup (mimi_vx) + +yajl-1.0.9.ebuild, +metadata.xml: + initial commit of yajl , thanks to scarabeus and Tommy[D] diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/Manifest new file mode 100644 index 0000000000..4954c13a89 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/Manifest @@ -0,0 +1,36 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX yajl-2.0.4-pkgconfig_multilib.patch 1584 SHA256 c3751b4868087ca4b837a2e54b270c41e7bcf203d2231d9c8c7dcbab5a4616f5 SHA512 fc0a4d508e48bc8e005e0ad50fb44f3a0dbdd5e8e4eca4784e29a11498a480bd8ffe5558b512be9d54cd2b22bed53399f277796c413230e7c49abbd0dd98530f WHIRLPOOL f5f3a3bf77c4c09c42ca6183792306a4f80adb54eabfcfa7a0a82005018e93dfab4c84f80e0d86ea3b29d97d59b6505d3e82724fb29f4b20aece190e3b4e0529 +AUX yajl-fix_static_linking.patch 1019 SHA256 0a32becf97f2ac4cf14f977dfe0301411583cbb74570a7682632a2e11af99f72 SHA512 14e2708d979b59dd5764757f26ad4008a6229fa571c8b40e1fb2b5a4a6a68c5308d97aa78e1e06b274672cbbf6d07195d2d8291d78452c61738585af8142e32b WHIRLPOOL a3bebd09d5b1257d29008f0b30f43d9093a3194f08d9ca32cb290e530e70504dc43afbde91529e7dee97f1d7877ee57c966274acbf05fa9c2498899c86e7a27b +AUX yajl-fix_tests.patch 696 SHA256 90a5239c9fc5424ca2837c4d7c1cf83e6d7de589daef80f2431fe35758045429 SHA512 13234c6aa089e09083e15c5be9d2f854a3449373e90c452bd8d39308def000aeabb0e844c345ec4871ec39b1b7f96e962d623ce425bec3354614f10c63d0f6ff WHIRLPOOL 5bbd5b303ebf1f5447cabcee2f7ee07aa4a091d837f542d5fcd2929d47d9239c4fc17fe64553a98ac773c406a32ab0401f11b21a7028f07e715bb0cc8c8f504f +DIST yajl-1.0.11.tar.gz 53705 SHA256 1e98e03b927a8ec466baea527647f5e243f56f71bdec48cdab1c875f0f8b96a9 SHA512 6ab0e5052da45be327f1987818037b89b37b382c095a9e64043422425759c4819e46eb6c43919677b6020d10c042d077655ad50809d13733f781bee7db8babf0 WHIRLPOOL 28cf0723b65cbdea8d177d4326322fe24d335fc9ff84482b363f797e622ca9f683b1d21c50e1cb8289ac4895906da833e6229a903431c04691c5fd50aa926f57 +DIST yajl-2.0.3.tar.gz 82544 SHA256 606ee384f288b6ad4f17c9c57b8868f8db525d542790fd1071139c9636e71952 SHA512 cef6e895ad169aac9e729f8bde006367d39456c6c1a62e1984d097f2f237cc5e317ddfef4d90c36242f772c867cee220082313f6d324a57e58a56d3e51ae0f85 WHIRLPOOL e9f3b37358d904f3e0aadad256fa7829b97170af5f9c3c3605c54f216cd1ac7958a281eb39f7e5cf5a0af2dce6120f900c3489ac50eeaef154b7ee4c50dd2d8b +DIST yajl-2.0.4.tar.gz 82814 SHA256 c19b9691cf15f22e74d903cd06ac9ba5e1e216e6a1b82bfe787c3b48a25bc118 SHA512 ab99fdd6b7e6f7add5530fff2d3ac6171ed3698267016d6cd23449742d36c9d848f065ba920dc2abb934488239e11e4ceda571c05fa472ab5d3f0480e9033a13 WHIRLPOOL ed821d07f5c06e4722d9de9648d4929fe6a5bcc13d2bd3bb6bcddce60a9817612d59f14963cc46b43b002345fc56813230194d997098de77f4d9075cf64dd85b +EBUILD yajl-1.0.11-r1.ebuild 634 SHA256 baba7da235e5b234e64024c538eba8177fc4f6c028df2536c50472b0766cce6f SHA512 6fd820a09414247854cd0bd8399813795a2dfb9758ffca27ae035245bc8a7cb3f93dfc211e01f05f7c233265acd26ecde53d89c01b75671adc6aab4a0896b0dd WHIRLPOOL 4fee172b33ffdd83c8fd177075becc3944afb70593fc84072dc88f2595725eb57dc6ce1d833a34fce939484971664ae00c25c840e239d2dd19fd729036fbeb1b +EBUILD yajl-1.0.11.ebuild 647 SHA256 fa17720bf216f7c3e330f707907152ecb13b85bfb8f83332ff09e1dddbd7c985 SHA512 0ea2f92eae9e94542e3d0975061c95a4c8863131118d982270413d5ea75a94d40118cef1fa7ff2bd68296eebff838f168be149581da6287f3569c1366513eb7b WHIRLPOOL d305d75bf513bb4d7ee4d6f38d24e5816569966eaf37a0d0b47fef2603d8ffb7aab53dd7a34c9c2abd9428edd0bb7a8831e9562573fa9812d4f899f49ddf7cb3 +EBUILD yajl-2.0.3.ebuild 850 SHA256 6aea8216158656515441be45691ea09341f6435006a83ad45a11ab2e6f89a9ac SHA512 8f3476212aef836f03e4c0d20f4391f71d5d110dab2182462820292fdb879f487ef8b3d284b964d8669a3e730536e658f50c3b3289a4fa3da24b0098a5ef5e1d WHIRLPOOL cc181ceb1d237d983b80c002225004f40664fb94236c849343c4b22223a3275216afb85eeedb325b99d005c4310cbef1d0bcfb08711e3398ba4f7e790c61e1cb +EBUILD yajl-2.0.4-r1.ebuild 830 SHA256 eb1ee93825dc6be03394c61af637fd62fc1f45938a4d3e7ec5652724102888e8 SHA512 3f6459c5f357c840fbf6c5c58eb6c388161b932be1ac408791ee379e45afdcb69a78d17577052d475f841ae39de6fad6a647339d4e3dbcdf8386be514017eb7d WHIRLPOOL 784fcf9793027462ddbc2d17133ea6fc31c8e57b944a39cf94c700877c6c83dacdf3bdfdead7b3871593e5e6923b565212ac86398fac4b18ce73338c20f1e27e +EBUILD yajl-2.0.4-r2.ebuild 1018 SHA256 71d8264d7c4b857df0f042f31911d39edae5221a1be314f765427a69ce670afa SHA512 c55bea6b737fd89729aa938ab4c8f44a41e7e8549e1e848d5e0e872c8e1e5bbe78d50109323a49de6dd7f07cc5ae3f2701d9b2563047e97849e2b240b0516427 WHIRLPOOL 16cab42cd1b42ebd959fc6feef50cfaf190ef8598119317f31b8a2317e083cd1e55d84cfd313239ef0862cc0c7cc4f824679eca2a2328dc7b54269f3f6cfb87e +EBUILD yajl-2.0.4-r3.ebuild 1071 SHA256 312caafc108617a716594e161f50fb4f04b91b96c063a443119d58d71f72e937 SHA512 e8588392cc0b0d9493a64d21563db0b408ab5160e34c83e84efaac22936eb96c6763f9f1afac1f21eb0b3a71f221e928283e19258e15d6669fa126bf28d7591a WHIRLPOOL 81f458a5a044742eca43347a99691f6deb43d0e0504b013147876d6ab31059058729cd14c2dd236f070b9aaf9b8264d3a1c85fb132a7dac379f5271dca3ba589 +MISC ChangeLog 5976 SHA256 eea251ded407a096ee971f31c8ad925cd9514b0673275d911fb8b565eca242b9 SHA512 0e5d5ec808fa9ebedfcf9a2414d94b0560761158fe4d15ae54d5b0e079393f221b2b6a97f4dd56a9ba2a4b39e7ba05bc87dc87ea27d188e990f54e96b62d0bd1 WHIRLPOOL 600e0309b259d488a51df465497f1b229f0ba9b076ec91b2b5c8bce36544c42c416f401d75f23adb488b3cbc0b097e5be3c8231808e61e868c850ee97a505cef +MISC metadata.xml 243 SHA256 c6a73a4f1467a2fb881fe3bf391e72dc518cfa52863fc71f9e4d2c8fb9923e5d SHA512 e4c766d1ba677f2aa37e86ac1016cf3bf36a4aabb432594f103bf57ca36b2db273be18ec09d38982251452d748512ca00ea652a6335e2f2ac775b5a7d5a5eac7 WHIRLPOOL c5dd222916a26d80b068f132d9358e65abac7585c3ecce0f9c4de0f795dee831be73b6c9a2d8d62313b3c9454d557f88a2881575db58d65d165cea550960786b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQJ8BAEBCABmBQJTpql9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOUCoQALzdsAdOL/nA4HYhGWQhShFA +/zkI071EFjcf6AhkqFu3a57COJNOGWsn/KTVzpCwUXyQSJlMe9oDN35tGX+Ov9qr +v8+0crGpiUkvzKcKY4K5GJk9sX+OirD7MqnTmtN5/w1o3q487XH6ux8v1VeSeRPy +d6ioQ0MxttqMghDzu/DOLCy8c/WQ1C3mCRDpl7gKR8RwaSv+ViemRLldNLWnJmXX +Nc+xk02QdzPSA2eAl6fagrlQi5FN57ErNF7XBay9fgaJsFeQoqo6wCcg8M5C5M6b +Uq/PlgZfaAZVutCuCR0c0yH5gpAuUA7CRH7907Fqhj02biYv11o5gzmcU/3RLv5V +XFcswnOgvqOQfVNo4mRglQQuoii7yOSzhTogO2m4WRJeXOvDKqtxjH5S/lOeioF6 +4Cjusc8IPh57ev1fj6ttlgny3amzKHuslZnjFRLLKJ4mbboxL6D9oVbL01NoM3uk +0dUcq0+cMlFEgHcHRVhsXSK9Rv+CpthFeQ1ggdU6gBeqaLbsWILN1TsVqTtcW9ad +kSz5M5JaEM9fulpwN2IKvsPWB4S5N1JKuqne1QSct7MP8Sqn2HutYBARN7Iw1vlA +S+tRjtUiK3fwf8n1UjwfWXrgOAOlsBHTtYYaOEJWGccJqRv6VXfsO7/j6YqmiVbK +KrRkRjUrc7QVO2fBPla6 +=k5mx +-----END PGP SIGNATURE----- diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-2.0.4-pkgconfig_multilib.patch b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-2.0.4-pkgconfig_multilib.patch new file mode 100644 index 0000000000..4a01848acd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-2.0.4-pkgconfig_multilib.patch @@ -0,0 +1,40 @@ +From 409098e97292aa1698ddff7f34dd8099db41a550 Mon Sep 17 00:00:00 2001 +From: ksergey +Date: Tue, 28 Jan 2014 00:35:36 -0500 +Subject: [PATCH] fixed pkgconfig file path + +--- + src/CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index e36b736..27b7c7d 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD) + # set up some paths + SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib) + SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl) +-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig) ++SET (pkgConfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib/pkgconfig) + + # set the output path for libraries + SET(LIBRARY_OUTPUT_PATH ${libDir}) +@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir}) + # generate build-time source + SET(dollar $) + CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h) +-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc) ++CONFIGURE_FILE(yajl.pc.cmake ${pkgConfigDir}/yajl.pc) + + # copy public headers to output directory + FOREACH (header ${PUB_HDRS}) +@@ -82,5 +82,5 @@ IF(NOT WIN32) + INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX}) + INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl) + INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl) +- INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig) ++ INSTALL(FILES ${pkgConfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig) + ENDIF() +-- +1.8.5.5 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_static_linking.patch b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_static_linking.patch new file mode 100644 index 0000000000..56bf0e7373 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_static_linking.patch @@ -0,0 +1,24 @@ +diff -urN lloyd-yajl-f4baae0.old//reformatter/CMakeLists.txt lloyd-yajl-f4baae0//reformatter/CMakeLists.txt +--- lloyd-yajl-f4baae0.old//reformatter/CMakeLists.txt 2010-07-22 00:12:15.000000000 +0200 ++++ lloyd-yajl-f4baae0//reformatter/CMakeLists.txt 2011-02-11 19:28:40.006756997 +0100 +@@ -42,7 +42,7 @@ + + ADD_EXECUTABLE(json_reformat ${SRCS}) + +-TARGET_LINK_LIBRARIES(json_reformat yajl_s) ++TARGET_LINK_LIBRARIES(json_reformat yajl) + + # copy the binary into the output directory + GET_TARGET_PROPERTY(binPath json_reformat LOCATION) +diff -urN lloyd-yajl-f4baae0.old//verify/CMakeLists.txt lloyd-yajl-f4baae0//verify/CMakeLists.txt +--- lloyd-yajl-f4baae0.old//verify/CMakeLists.txt 2010-07-22 00:12:15.000000000 +0200 ++++ lloyd-yajl-f4baae0//verify/CMakeLists.txt 2011-02-11 19:28:58.296756998 +0100 +@@ -42,7 +42,7 @@ + + ADD_EXECUTABLE(json_verify ${SRCS}) + +-TARGET_LINK_LIBRARIES(json_verify yajl_s) ++TARGET_LINK_LIBRARIES(json_verify yajl) + + # copy in the binary + GET_TARGET_PROPERTY(binPath json_verify LOCATION) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_tests.patch b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_tests.patch new file mode 100644 index 0000000000..b4a6498ced --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/files/yajl-fix_tests.patch @@ -0,0 +1,15 @@ +diff -urN lloyd-yajl-9c15d72.old/test/run_tests.sh lloyd-yajl-9c15d72//test/run_tests.sh +--- lloyd-yajl-9c15d72.old/test/run_tests.sh 2010-04-04 23:59:51.000000000 +0200 ++++ lloyd-yajl-9c15d72//test/run_tests.sh 2010-04-05 00:00:26.000000000 +0200 +@@ -8,9 +8,9 @@ + # find test binary on both platforms. allow the caller to force a + # particular test binary (useful for non-cmake build systems). + if [ -z "$testBin" ]; then +- testBin="../build/test/Debug/yajl_test.exe" ++ testBin="./yajl_test.exe" + if [[ ! -x $testBin ]] ; then +- testBin="../build/test/yajl_test" ++ testBin="./yajl_test" + if [[ ! -x $testBin ]] ; then + echo "cannot execute test binary: '$testBin'" + exit 1; diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/metadata.xml new file mode 100644 index 0000000000..3e621dd567 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/metadata.xml @@ -0,0 +1,9 @@ + + + +ruby + + xmw@gentoo.org + Michael Weber + + diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11-r1.ebuild new file mode 100644 index 0000000000..58f6be3689 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-1.0.11-r1.ebuild,v 1.3 2014/06/22 10:01:32 mgorny Exp $ + +EAPI=5 + +inherit cmake-multilib vcs-snapshot + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" + +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-fix_tests.patch + + cmake-utils_src_prepare +} + +multilib_src_test() { + emake test +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11.ebuild new file mode 100644 index 0000000000..9ba55fd2f7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-1.0.11.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-1.0.11.ebuild,v 1.10 2011/10/18 16:51:28 ssuominen Exp $ + +EAPI=2 + +inherit cmake-utils + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm hppa ppc ppc64 x86" + +IUSE="" + +CMAKE_IN_SOURCE_BUILD="1" + +src_prepare() { + cd "${WORKDIR}"/lloyd-${PN}-* + S=$(pwd) + + epatch "${FILESDIR}"/${PN}-fix_tests.patch +} + +src_test() { + emake test +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.3.ebuild new file mode 100644 index 0000000000..30a1f4e0f4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.3.ebuild,v 1.13 2013/04/13 08:15:05 ago Exp $ + +EAPI=4 + +inherit base cmake-utils + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-fix_static_linking.patch +) + +src_unpack() { + unpack ${A} + mv "${WORKDIR}"/lloyd-${PN}-* "${S}" +} + +src_test() { + emake -C "${CMAKE_BUILD_DIR}" test +} + +src_install() { + cmake-utils_src_install +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r1.ebuild new file mode 100644 index 0000000000..3d4ca19d1b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r1.ebuild,v 1.1 2013/04/25 19:38:48 xmw Exp $ + +EAPI=5 + +inherit base cmake-multilib + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-fix_static_linking.patch +) + +src_unpack() { + unpack ${A} + mv "${WORKDIR}"/lloyd-${PN}-* "${S}" +} + +src_test() { + emake -C ${CMAKE_BUILD_DIR} test +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r2.ebuild new file mode 100644 index 0000000000..52d163f0f3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r2.ebuild,v 1.2 2013/06/26 10:28:11 xmw Exp $ + +EAPI=5 + +inherit eutils cmake-multilib vcs-snapshot + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-fix_static_linking.patch + + multilib_copy_sources +} + +src_test() { + run_test() { + cd "${BUILD_DIR}"/test + ./run_tests.sh ./yajl_test || die + } + multilib_parallel_foreach_abi run_test +} + +src_install() { + cmake-multilib_src_install + + use static-libs || \ + find "${D}" -name libyajl_s.a -delete +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r3.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r3.ebuild new file mode 100644 index 0000000000..7a3faf9e3c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/yajl/yajl-2.0.4-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.4-r3.ebuild,v 1.1 2014/06/16 18:30:53 hasufell Exp $ + +EAPI=5 + +inherit eutils cmake-multilib vcs-snapshot + +DESCRIPTION="Small event-driven (SAX-style) JSON parser" +HOMEPAGE="http://lloyd.github.com/yajl/" +SRC_URI="http://github.com/lloyd/yajl/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-fix_static_linking.patch \ + "${FILESDIR}"/${P}-pkgconfig_multilib.patch + + multilib_copy_sources +} + +src_test() { + run_test() { + cd "${BUILD_DIR}"/test + ./run_tests.sh ./yajl_test || die + } + multilib_parallel_foreach_abi run_test +} + +src_install() { + cmake-multilib_src_install + + use static-libs || \ + find "${D}" -name libyajl_s.a -delete +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/ChangeLog b/sdk_container/src/third_party/portage-stable/dev-python/markdown/ChangeLog new file mode 100644 index 0000000000..d06699ca12 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/ChangeLog @@ -0,0 +1,205 @@ +# ChangeLog for dev-python/markdown +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.53 2014/05/26 08:46:17 patrick Exp $ + +*markdown-2.4.1 (26 May 2014) + + 26 May 2014; Patrick Lauer +markdown-2.4.1.ebuild: + Bump + +*markdown-2.4 (12 Apr 2014) + + 12 Apr 2014; Ian Delaney +markdown-2.4.ebuild: + bump; add py3.4 support, drop py2.6 py3.2 subsequent to testsuite failures + + 07 Apr 2014; Sébastien Fabbro markdown-2.3.ebuild: + Keyword ~amd64-linux ~x86-linux + + 31 Mar 2014; Michał Górny markdown-2.2.1-r1.ebuild, + markdown-2.3.1.ebuild, markdown-2.3.ebuild: + Add support for the new PyPy slotting. + + 06 Feb 2014; Sébastien Fabbro markdown-2.3.1.ebuild: + Keyword amd64-linux and x86-linux + + 23 Dec 2013; Agostino Sarubbo markdown-2.3.1.ebuild: + Stable for sparc, wrt bug #487868 + + 21 Dec 2013; Agostino Sarubbo markdown-2.3.1.ebuild: + Stable for ppc, wrt bug #487868 + + 20 Dec 2013; Akinori Hattori markdown-2.3.1.ebuild: + ia64 stable wrt bug #487868 + + 02 Dec 2013; Johannes Huber markdown-2.3.1.ebuild: + x86 stable, bug #487868 + + 04 Nov 2013; Matt Turner markdown-2.3.1.ebuild: + alpha stable, bug 487868. + + 22 Oct 2013; Fabian Groffen markdown-2.3.1.ebuild: + Marked ~x64-macos, bug #487670 + + 14 Oct 2013; Tony Vroon markdown-2.3.1.ebuild: + Marked stable on AMD64 based on arch tester report by Elijah "Armageddon" El + Lazkani in bug #487868. + + 05 Sep 2013; Michał Górny markdown-2.2.1-r1.ebuild, + markdown-2.3.1.ebuild, markdown-2.3.ebuild: + Clean up PYTHON_COMPAT from old implementations. + + 06 Jun 2013; Mike Gilbert markdown-2.3.1.ebuild: + Remove obsolete comment. + + 05 Jun 2013; Rick Farina markdown-2.2.1-r1.ebuild, + markdown-2.3.1.ebuild, markdown-2.3.ebuild: + adding ~arm keyword + + 29 May 2013; Ian Delaney markdown-2.3.1.ebuild: + add py3.3 support + + 31 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for sparc, wrt bug #457328 + + 30 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for alpha, wrt bug #457328 + + 28 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for ia64, wrt bug #457328 + + 26 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for ppc, wrt bug #457328 + +*markdown-2.3.1 (26 Mar 2013) + + 26 Mar 2013; Patrick Lauer +markdown-2.3.1.ebuild: + Bump + + 25 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for x86, wrt bug #457328 + + 25 Mar 2013; Agostino Sarubbo markdown-2.2.1-r1.ebuild: + Stable for amd64, wrt bug #457328 + +*markdown-2.3 (19 Mar 2013) + + 19 Mar 2013; Patrick Lauer +markdown-2.3.ebuild: + Bump + +*markdown-2.2.1-r1 (13 Jan 2013) + + 13 Jan 2013; Michał Górny +markdown-2.2.1-r1.ebuild: + Migrate to distutils-r1. Build docs only once, and only when requested. + +*markdown-2.2.1 (11 Jan 2013) + + 11 Jan 2013; Patrick Lauer +markdown-2.2.1.ebuild: + Bump for #451218 + + 17 Nov 2012; Mike Gilbert markdown-2.2.0.ebuild: + Restrict python 2.5. + + 13 Nov 2012; Agostino Sarubbo markdown-2.1.1.ebuild: + Stable for amd64, wrt bug #437288 + +*markdown-2.2.0 (11 Nov 2012) + + 11 Nov 2012; Ian Delaney + +files/markdown-2.2.0-tests.patch, +markdown-2.2.0.ebuild, + -markdown-2.0.3.ebuild: + Dropped version-2.0.3, bumped version-2.2.0, upstream patch fixes broken test, + upstream issue #112, fixes Bug #437290 + + 07 Oct 2012; Raúl Porcel markdown-2.1.1.ebuild: + alpha/ia64/sparc/x86 stable wrt #437288 + + 07 Oct 2012; nixnut markdown-2.1.1.ebuild: + ppc stable #437288 + + 06 Oct 2012; Mike Gilbert markdown-2.1.0.ebuild, + markdown-2.1.1.ebuild: + Depend on nose for tests, bug 437442 by Vicente Olivert Riera. + + 10 May 2012; Mike Gilbert markdown-2.1.1.ebuild: + Call 2to3-${PYTHON_ABI}, spotted by Arfrever. + + 09 May 2012; Mike Gilbert markdown-2.1.1.ebuild: + Unrestrict python 3, bug 407925 by W. Trevor King. + +*markdown-2.1.1 (20 Feb 2012) + + 20 Feb 2012; Patrick Lauer +markdown-2.1.1.ebuild: + Bump for #404543 + +*markdown-2.1.0 (01 Dec 2011) + + 01 Dec 2011; Dirkjan Ochtman +markdown-2.1.0.ebuild: + Version bump, add testing. + + 07 Jul 2011; Jesus Rivero markdown-2.0.3.ebuild: + Added doc USE flag. Fixed dodoc on dir wrt bug #367689 + + 19 Sep 2010; Arfrever Frehtes Taifersar Arahesis + -markdown-2.0.2.ebuild: + Delete. + + 19 Sep 2010; Arfrever Frehtes Taifersar Arahesis + markdown-2.0.3.ebuild: + Update EAPI. Fix dependencies. Use PyPI mirrors. + + 24 Jun 2010; Pacho Ramos markdown-2.0.3.ebuild: + stable amd64, bug 310261 + + 18 Nov 2009; Mounir Lamouri markdown-2.0.3.ebuild: + Stable for ppc, bug 292316 + + 14 Nov 2009; Raúl Porcel markdown-2.0.3.ebuild: + ia64/sparc/x86 stable wrt #288165 + + 08 Nov 2009; Tobias Klausmann markdown-2.0.3.ebuild: + Stable on alpha, bug #288165 + + 03 Nov 2009; Raúl Porcel markdown-2.0.2.ebuild, + markdown-2.0.3.ebuild: + Add ~ia64/~sparc wrt #285153 + +*markdown-2.0.3 (08 Oct 2009) + + 08 Oct 2009; Arfrever Frehtes Taifersar Arahesis + -markdown-2.0.1.ebuild, +markdown-2.0.3.ebuild: + Version bump. + + 07 Oct 2009; Mounir Lamouri markdown-2.0.2.ebuild: + Keywording for ppc, bug 285153 + + 06 Oct 2009; Fabian Groffen markdown-2.0.2.ebuild: + Marked ~ppc-macos and ~x86-macos, bug #287632 + + 03 Oct 2009; Tobias Klausmann markdown-2.0.2.ebuild: + Keyworded on alpha, bug #285153 + + 01 Oct 2009; Tobias Klausmann markdown-2.0.1.ebuild: + Keyworded on alpha, bug #285153 + +*markdown-2.0.2 (28 Sep 2009) + + 28 Sep 2009; Arfrever Frehtes Taifersar Arahesis + +markdown-2.0.2.ebuild: + Version bump. + + 16 Sep 2009; Arfrever Frehtes Taifersar Arahesis + -markdown-2.0.ebuild: + Delete older ebuild. + +*markdown-2.0.1 (04 Aug 2009) + + 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +markdown-2.0.1.ebuild: + Version bump (bug #279946). Set SUPPORT_PYTHON_ABIS. + +*markdown-2.0 (25 Apr 2009) + + 25 Apr 2009; Patrick Lauer +metadata.xml, + +markdown-2.0.ebuild: + Initial import. Fixes #156999. Thanks to Naoaki Shindo, Torsten Rehn and + Priit Laes for working on the ebuild. diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/markdown/Manifest new file mode 100644 index 0000000000..157bfff11a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/Manifest @@ -0,0 +1,20 @@ +AUX markdown-2.2.0-tests.patch 3555 SHA256 881c545feb128fc9e5367a3aa550e032617ae194c171f094063e3d26fb574e68 SHA512 5aee58ea26dca1d801f4b83a02e3b405c2ac8d8b881bec11e1e0b84c676a2242309bdd5e7d94f5a892893d068c0dd2ffaf842c62ec34156ba227972dc86b93dd WHIRLPOOL fc5125f6e62961d3db3e559e5daf8f81705561694ab80501e14559b4d91c7cdbdd6f35bd0832c0a7651a7dad1bce87b7d3ee3564edcdf84294caad31bd7018dd +DIST Markdown-2.1.0.tar.gz 241583 SHA256 ab537478e98137c0fa1cb4149adae23ddc56490ca6e8bb1b6130d91ada81d964 SHA512 ed6df021068a72524fbd98e4204a50cdc78a3fae85c8173dc0103ed82aad7cd446b6d60772a3c299fc7b8e3f9e26a47585aa887385f37dd5c5d12d647a5a96ee WHIRLPOOL 02771f81b2a445d777de73ed19f35d46799d22e9b5a3163a83b8f8317e6f0f24b854eb09bd454f99c335e83b411943a32dd57738d28e5c817213815285fa08e6 +DIST Markdown-2.1.1.tar.gz 242852 SHA256 be6c8cc8163875062b60d759451fec1e55fd3426321b52a6a9077a3f95503864 SHA512 aa20209afc0f8b6bd3f39307b8487ffdf47b2ad017b8c6db70fcb2878c751a007c7f99bc71b1fe8abb7553468997a7b2be69f12211015835b94521a8c8c8657b WHIRLPOOL 2960850130190b0a123187160a0952d4e43f77cde0caddc3cc2142f361798e7c5fafd79c96a4ef03d51c3106db68cbccbffb03c1305f42bc808e63f10fe30b7b +DIST Markdown-2.2.0.tar.gz 236894 SHA256 98e1b0a0b2f87b8310d2060a560f427c24ee16c96c83c98ea416f1f8ddc379b5 SHA512 d4a5bbe8bb70dc0737805a52830f485be10d12d7fb628ee54be92bd1a1e11875dc6a6af280c3624b1b97eb7fb28976817b0b8fff45ac8ebe71245c26a4c058b8 WHIRLPOOL eca04fa3ebe8db33f8c0353f589048c75094662bddfbc0ffa4e2a6747f1e1c06c13e123530530fb35e24fe3ef1264efdc9dac1957b92612b45c98f39bcea6cd2 +DIST Markdown-2.2.1.tar.gz 260043 SHA256 f8b9a1efceab71afe9336a7c456fde36bfb0f505fb664ebb7f3dd44eddab44b6 SHA512 aa975a9d015e3e1320f35381c7e83e1f355222a3c0096e65ce4f1a1fa253fe0e3389ce1b3786b1cf40f4160863ede39d1081c655efe1c24132a766f02418fd61 WHIRLPOOL d455bee3ae25322bcaffa27f4f455bc5c1473aab3aeb8d983484275303011a9489502ac5f919539b67e423a3891aa5309c427050ca525af26a65cc8c776e064a +DIST Markdown-2.3.1.tar.gz 267131 SHA256 ffebd9385717aba00ff4e95b705b7693ddf12a7d483483d441218b6d3f4cf290 SHA512 4ceb0405825fb20f4432134b7904d402b41b1d95c18e10e484a71011a1429ae83804437ed94ce60315fb48664f096a8f5d8d9e0111cab332fe5c978d62d569a6 WHIRLPOOL df7d6b7046949fef03f4e65e996bc086bc0f57272e3b91387dcb2243800cbbba4f3395adb770bd4f89c8466dab26a1fe15ec122bca3dc6e8486e07f9e3b70e9e +DIST Markdown-2.3.tar.gz 268514 SHA256 b2175e573eedf4cff47f116f06a53ba50aeb0656ff58a9577e0547cd5b0be3ab SHA512 61f26a32d26a9085f6aec3133a43e6c4cc02ef5a710f136e141f9719c7673818bce413b2801bb5012b078155ae1f993487fb36c74c61276bad0378eb82025131 WHIRLPOOL 277b31ef9ff47cf77861d55cec314fc9c54ef33a62a13171d73066104bc35215514309611b8f5034b24efd8011c7b442623e7717c36b698ca56471d5e5bd8cde +DIST Markdown-2.4.1.tar.gz 279760 SHA256 812ec5249f45edc31330b7fb06e52aaf6ab2d83aa27047df7cb6837ef2d269b6 SHA512 aad3af6a62ca6ed12b119d3495fd679fa030e472833cc73908f88e34a9aed442b150eb8ee4b539ca640a31da0b1ef590547c52d8626ac5f243d15ce0d00df1ac WHIRLPOOL bd460c6661dddf585bcce8cfc71dde838dd9ae808ff331058e9f70cb8cff8b39f5a86d6447364c54690d2eb460679c2634f60509171b54c7c437434d4fe72d68 +DIST Markdown-2.4.tar.gz 260026 SHA256 b8370fce4fbcd6b68b6b36c0fb0f4ec24d6ba37ea22988740f4701536611f1ae SHA512 95ecaa0d916bf6f6f46caec3f1de7c2fffe3abfc3e9acf9dbbd0ad7fb998b5a33920c29d107d69cdb8b6e197cac36bf221bbac6b4e0fe4b7505c59e1eb45ca7f WHIRLPOOL e05e620f732f1d717d3c1637064e043005cc8479e66ce67f7089a4c54c0bfa5f4ac0f9271c1ca23222904166251fc2c8c52210ec4293cc447b0718c340ab46bc +EBUILD markdown-2.1.0.ebuild 1057 SHA256 baa418269c8ffb260f8b3ad0b12237450b8ab347228b0d1e7f448bdde4ae9004 SHA512 1f1f0dad9f9d4e122705aa7d3354d7e3c7455a030a78799567143a2f9b108ca38c00b8947743585185b210783a19b49a2ec226c752f81b9f890169b113d00d24 WHIRLPOOL ffc587d61dfb77816a1bc8f32a9a843771da69edca5a37bf3f6d277817abd37ef17ef3bed88a18ef4bd095986ea6433dd5766433ca8cbe09feaf81707a98c7cb +EBUILD markdown-2.1.1.ebuild 1215 SHA256 e82fd9d2e986ac4a68a1e45dfb75527c53cd569a80f8164c505dace69bbd9b83 SHA512 ce31aa295fffb23939ca11c1aaa048a8bd40bd7d248f931beaf5aeb47abb6bd6b33950f2dc9049015cb57458488402e25509732fa708f985ec34c08a2161408d WHIRLPOOL 068823f5cfb870617794c86570ed7962633222921e966ca4a3356957815dbeeaa1e87e57a8534b076a1c87266d21a532f150f4245d260ab328c35ac770c442a4 +EBUILD markdown-2.2.0.ebuild 1345 SHA256 1f2b6ef737f5a18f2680a11e190d6882f2b8787d546f246ecfd1ad9ba028549a SHA512 005f4bf5b115444bcc9c117a17a1f8c7b54ef44d70edaa0c828074e05a0740016f30b0efb968ceebb580b00e22539261191f43c70dca7e4514f39c03239f604c WHIRLPOOL 2efe6d4c56686e82bda29dde365a4f98f78c31df4a14ae2ef0996dcf27db94d8374e2c9e8e942a9c18b32c83200ea869f8539bdfee66bd9306aa2269dfe65fbd +EBUILD markdown-2.2.1-r1.ebuild 1580 SHA256 cc5c5e6ea4e93b31712265ed5c048282ab7112f3c4e94fd1907cea9572ad32e0 SHA512 a517c63d11f793e0df6ed076ab84f996d2d756ad1a2b45ac91278b2790ecfb4460fc99104bed37c4364251497e25d4a48710b4002b1145310d3fe67c0ef5c35e WHIRLPOOL 911e3a181db39f35b0d330babf8870199a7ad4113ccbab9563b749f761a33211499a4c051950a4df9ec8cfcac166bb9b2e578581143a6f6346e7151b0ee8c1e9 +EBUILD markdown-2.2.1.ebuild 1287 SHA256 7da8f1a4b4d0b4f50c1b7d32a893bb0d84e1641a067022345b2589722dacdc68 SHA512 9cee914115140c220f0e510cb871b2f5c72b42d61dc4db7fa319e5e2b5171b082b455ab0ae90be78186a1900f1d4009a3f1696a7900bcaea6da951b920695c6d WHIRLPOOL 6899d20071e5df24797f056cbdeca2411baeaa0b48f7e68211ec5d5e70ec7fabc816f5351360541406fc9dc13f8037e6b20aa1603f18730f84eee71a78cbc678 +EBUILD markdown-2.3.1.ebuild 1573 SHA256 7765a2a9ff1847395f7bfad68e588867713c489fb85fe8a15809943d447dfeaa SHA512 ad526a4259153b81e9c7b0984ccc034f786735a6d3f428d12a10dea3471422077af877232fc023a410ab1fad582b2385d2d2066225f8ed297b1775ff7200f888 WHIRLPOOL 9dcf75f857a02e0c52dac05b501382c607900fce3491913715ffd96d9bade54b7225fd9fc4abed3b8a840348525df60d59ec0bc774875282d5bba0fabbb3b26f +EBUILD markdown-2.3.ebuild 1606 SHA256 04dae3517f91bd54084f5708b9585e5a3089e949a109b716c9b6c0cacd63b4e1 SHA512 dd96ccfdece349594f86380be19b29ac802bb16d45931d1293974c892843d41010e77beee0f6c06f8012ef4f3b3b5fcf7f6dfb31472ecefb35c23065561611a8 WHIRLPOOL ddff1d64edeed3167cc3d11640aa20dce10f32d13e4f9f3cd7d7a02493a34d94e30f19d9e8154dc831d3657b2e74e97430bd6cae7c7b1756c65fca0e5fd0935e +EBUILD markdown-2.4.1.ebuild 1601 SHA256 31ceb2ba06e185815a5e35f0ded742f33cea1a5612f9073f4df1caf96792a141 SHA512 ff020b90e00c89c203f677b9695ccfe675442d63e13b1cb4adac1ca955a8d4e8cd4e9299ca69a30670db98ca56a398ed101f661e45e5947f09eabddda0b68af6 WHIRLPOOL 81bc77ec120fdb7a7d7e71e040b0db5520ef0279157768eebb4108a472c6ef8411b0f6cf89c01868286e6670add56a98e15f92772a8a03899a5fff159827370c +EBUILD markdown-2.4.ebuild 1599 SHA256 2f7d53933ac7ee41676cebf1200ee861f986c8d0119020011f9e623f010ebd3d SHA512 9ec8cf4a3cc2afa7332caf87ddf42ab703d52db5df8a93e4abf11adb6dd0b8658535d9f76ef7aa8642a5efc766e3f617a86e4e1b95a5f4551a3dcadca640b744 WHIRLPOOL 75374f9d073c41b20b7853776a0bb7731014212241f5cc63ce93a8d5c80a23e33616ae7864b9fd2e9ace3e9a3155029ac24bebc6beed25c0da8a103477ad7c9a +MISC ChangeLog 7026 SHA256 cc712234dfc238ee4d56a155c5c9447f51710f51143a2594c0424443b42eb92d SHA512 6565176d94c917ca25845656b697a337447f507cc62ed88cf638553456b86da20f5df3ba529f20024694639d052a690547ea23fbd6bfbd46aa714bee70e048f4 WHIRLPOOL b798ff3a1e2e0032a33063e7a3db9dd573148719c6bea1933a5da769884273cc14be99cb203806bfc54d03bf48630b2fe0b8dd08f4163f6e18d51559b2727330 +MISC metadata.xml 307 SHA256 3ec0e0e960786c21e3aef2fefe59d5cb727804b728c0d5bd67ef665ad514b0c5 SHA512 7668e9bc82401b223b3ce12d3231304febdbf93d215f8b9707cf64d5d4a879f6a8352aba5702b134d3c99c8efe7903ea3eb6c4125b49567e3301558188e7bc07 WHIRLPOOL 3340bf1c34c19340d8b7006b0f1822491ccd5381e0f41c8920e9c273937443e7bc9fc6bc3223421e363e2c20793c6cb8bde5de5993a4d7389c941fd6bea830b6 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/files/markdown-2.2.0-tests.patch b/sdk_container/src/third_party/portage-stable/dev-python/markdown/files/markdown-2.2.0-tests.patch new file mode 100644 index 0000000000..ef05702c64 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/files/markdown-2.2.0-tests.patch @@ -0,0 +1,80 @@ +https://github.com/waylan/Python-Markdown/issues/112 +https://github.com/waylan/Python-Markdown/commit/5b3e724fb78da73ab87fb34e4ac9d9299773cfed + +--- markdown/__init__.py ++++ markdown/__init__.py +@@ -37,6 +37,7 @@ + import codecs + import sys + import logging ++import warnings + import util + from preprocessors import build_preprocessors + from blockprocessors import build_block_parser +@@ -163,10 +164,10 @@ + if isinstance(ext, basestring): + ext = self.build_extension(ext, configs.get(ext, [])) + if isinstance(ext, Extension): +- # might raise NotImplementedError, but that's the extension author's problem + ext.extendMarkdown(self, globals()) + elif ext is not None: +- raise ValueError('Extension "%s.%s" must be of type: "markdown.Extension".' \ ++ raise TypeError( ++ 'Extension "%s.%s" must be of type: "markdown.Extension"' + % (ext.__class__.__module__, ext.__class__.__name__)) + + return self +@@ -200,19 +201,22 @@ + module_name_old_style = '_'.join(['mdx', ext_name]) + try: # Old style (mdx_) + module = __import__(module_name_old_style) +- except ImportError: +- logger.warn("Failed loading extension '%s' from '%s' or '%s'" +- % (ext_name, module_name, module_name_old_style)) +- # Return None so we don't try to initiate none-existant extension +- return None ++ except ImportError, e: ++ message = "Failed loading extension '%s' from '%s' or '%s'" \ ++ % (ext_name, module_name, module_name_old_style) ++ e.args = (message,) + e.args[1:] ++ raise + + # If the module is loaded successfully, we expect it to define a + # function called makeExtension() + try: + return module.makeExtension(configs.items()) + except AttributeError, e: +- logger.warn("Failed to initiate extension '%s': %s" % (ext_name, e)) +- return None ++ message = e.args[0] ++ message = "Failed to initiate extension " \ ++ "'%s': %s" % (ext_name, message) ++ e.args = (message,) + e.args[1:] ++ raise + + def registerExtension(self, extension): + """ This gets called by the extension """ +--- tests/test_apis.py ++++ tests/test_apis.py +@@ -245,18 +245,18 @@ + + def testLoadExtensionFailure(self): + """ Test failure of an extension to load. """ +- self.assertRaises(ValueError, ++ self.assertRaises(ImportError, + markdown.Markdown, extensions=['non_existant_ext']) + + def testLoadBadExtension(self): + """ Test loading of an Extension with no makeExtension function. """ + _create_fake_extension(name='fake', has_factory_func=False) +- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake']) ++ self.assertRaises(AttributeError, markdown.Markdown, extensions=['fake']) + + def testNonExtension(self): + """ Test loading a non Extension object as an extension. """ + _create_fake_extension(name='fake', is_wrong_type=True) +- self.assertRaises(ValueError, markdown.Markdown, extensions=['fake']) ++ self.assertRaises(TypeError, markdown.Markdown, extensions=['fake']) + + def testBaseExtention(self): + """ Test that the base Extension class will raise NotImplemented. """ diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.0.ebuild new file mode 100644 index 0000000000..0c8b0b6e22 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.0.ebuild,v 1.2 2012/10/06 23:50:48 floppym Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose )" +RDEPEND="pygments? ( dev-python/pygments )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + distutils_src_install + + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi +} + +src_test() { + testing() { + "$(PYTHON)" run-tests.py + } + python_execute_function testing +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.1.ebuild new file mode 100644 index 0000000000..e4e7cc156b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.1.ebuild,v 1.7 2012/11/13 14:23:53 ago Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose )" +RDEPEND="pygments? ( dev-python/pygments )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + distutils_src_install + + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi +} + +src_test() { + testing() { + cp -r run-tests.py tests build-${PYTHON_ABI}/ || return + cd build-${PYTHON_ABI} + if [[ $(python_get_version -l --major) == 3 ]]; then + 2to3-${PYTHON_ABI} -n -w --no-diffs tests || return + fi + PYTHONPATH=lib "$(PYTHON)" run-tests.py + } + python_execute_function testing +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.0.ebuild new file mode 100644 index 0000000000..c84ec52781 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.0.ebuild,v 1.2 2012/11/17 19:14:03 floppym Exp $ + +EAPI="4" +PYTHON_DEPEND="2:2.6 3:3.1" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5" + +inherit distutils eutils + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose )" +RDEPEND="pygments? ( dev-python/pygments )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${P}-tests.patch" +} + +src_install() { + distutils_src_install + + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi +} + +src_test() { + testing() { + cp -r run-tests.py tests build-${PYTHON_ABI}/ || return + cd build-${PYTHON_ABI} + if [[ $(python_get_version -l --major) == 3 ]]; then + 2to3-${PYTHON_ABI} -n -w --no-diffs tests || return + fi + PYTHONPATH=lib "$(PYTHON)" run-tests.py + } + python_execute_function testing +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1-r1.ebuild new file mode 100644 index 0000000000..c94b1ed11b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.1-r1.ebuild,v 1.10 2014/03/31 20:54:31 mgorny Exp $ + +EAPI=5 +# python3.3 because of dev-python/pygments +PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86 ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # do not build docs over and over again + sed -i -e "/'build':/s:md_build:build:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_install_all() { + if use doc; then + local DOCS=( docs/. ) + + # templates which we don't want in docdir + rm -f docs/*.{html,css,png} + fi + + distutils-r1_python_install_all +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + cd "${BUILD_DIR}" || die + + if [[ ${EPYTHON} == python3* ]]; then + # don't use -n: it causes writes to hardlinked files + 2to3 -w --no-diffs tests || die + fi + + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1.ebuild new file mode 100644 index 0000000000..6d3a54a474 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.2.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.2.1.ebuild,v 1.1 2013/01/11 08:01:42 patrick Exp $ + +EAPI="4" +PYTHON_DEPEND="2:2.6 3:3.1" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5" + +inherit distutils eutils + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose )" +RDEPEND="pygments? ( dev-python/pygments )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + distutils_src_install + + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi +} + +src_test() { + testing() { + cp -r run-tests.py tests build-${PYTHON_ABI}/ || return + cd build-${PYTHON_ABI} + if [[ $(python_get_version -l --major) == 3 ]]; then + 2to3-${PYTHON_ABI} -n -w --no-diffs tests || return + fi + PYTHONPATH=lib "$(PYTHON)" run-tests.py + } + python_execute_function testing +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.1.ebuild new file mode 100644 index 0000000000..201606d124 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.3.1.ebuild,v 1.14 2014/03/31 20:54:31 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # do not build docs over and over again + sed -i -e "/'build':/s:md_build:build:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_install_all() { + if use doc; then + local DOCS=( docs/. ) + + # templates which we don't want in docdir + rm -f docs/*.{html,css,png} + fi + + distutils-r1_python_install_all +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + cd "${BUILD_DIR}" || die + + if [[ ${EPYTHON} == python3* ]]; then + # don't use -n: it causes writes to hardlinked files + 2to3 -w --no-diffs tests || die + fi + + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.ebuild new file mode 100644 index 0000000000..3d362106d2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.3.ebuild,v 1.5 2014/04/07 22:40:19 bicatali Exp $ + +EAPI=5 +# python3.3 because of dev-python/pygments +PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # do not build docs over and over again + sed -i -e "/'build':/s:md_build:build:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_install_all() { + if use doc; then + local DOCS=( docs/. ) + + # templates which we don't want in docdir + rm -f docs/*.{html,css,png} + fi + + distutils-r1_python_install_all +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + cd "${BUILD_DIR}" || die + + if [[ ${EPYTHON} == python3* ]]; then + # don't use -n: it causes writes to hardlinked files + 2to3 -w --no-diffs tests || die + fi + + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.1.ebuild new file mode 100644 index 0000000000..5ad5381e6c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.4.1.ebuild,v 1.1 2014/05/26 08:46:17 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # do not build docs over and over again + sed -i -e "/'build':/s:md_build:build:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_install_all() { + if use doc; then + local DOCS=( docs/. ) + + # templates which we don't want in docdir + rm -f docs/*.{html,css,png} + fi + + distutils-r1_python_install_all +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + pushd "${BUILD_DIR}" > /dev/null + + if [[ ${EPYTHON} == python3* ]]; then + # don't use -n: it causes writes to hardlinked files + 2to3 -w --no-diffs tests || die + fi + + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" + popd > /dev/null +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.ebuild new file mode 100644 index 0000000000..a0e26a533e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/markdown-2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.4.ebuild,v 1.1 2014/04/12 04:16:19 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy2_0 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos" +IUSE="doc test pygments" + +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # do not build docs over and over again + sed -i -e "/'build':/s:md_build:build:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_install_all() { + if use doc; then + local DOCS=( docs/. ) + + # templates which we don't want in docdir + rm -f docs/*.{html,css,png} + fi + + distutils-r1_python_install_all +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + pushd "${BUILD_DIR}" > /dev/null + + if [[ ${EPYTHON} == python3* ]]; then + # don't use -n: it causes writes to hardlinked files + 2to3 -w --no-diffs tests || die + fi + + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" + popd > /dev/null +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/markdown/metadata.xml new file mode 100644 index 0000000000..6cd0e751c8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown/metadata.xml @@ -0,0 +1,11 @@ + + + + python + + Enable fancy pygments support + + + Markdown + + diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r6 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r6 new file mode 100644 index 0000000000..fb54eef591 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r6 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile install postinst prepare setup +DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe dev-ml/findlib hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/transfig media-gfx/graphviz dev-tex/xcolor dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) virtual/pkgconfig +DESCRIPTION=Xend daemon and tools +EAPI=5 +HOMEPAGE=http://xen.org/ +IUSE=api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7 +KEYWORDS=amd64 x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/iproute2 net-misc/bridge-utils ocaml? ( >=dev-lang/ocaml-4 ) screen? ( app-misc/screen app-admin/logrotate ) virtual/udev +REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) +RESTRICT=test +SLOT=0 +SRC_URI=http://bits.xensource.com/oss-xen/release/4.2.4/xen-4.2.4.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.2.4-upstream-patches-3.tar.xz +_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 +_md5_=7e811b1171f4d1f6c588442ca65f1b17 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r7 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r7 new file mode 100644 index 0000000000..a05611ddbf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.2.4-r7 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile install postinst prepare setup +DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe dev-ml/findlib hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/transfig media-gfx/graphviz dev-tex/xcolor dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) virtual/pkgconfig +DESCRIPTION=Xend daemon and tools +EAPI=5 +HOMEPAGE=http://xen.org/ +IUSE=api custom-cflags debug doc flask hvm qemu ocaml pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7 +KEYWORDS=~amd64 ~x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/iproute2 net-misc/bridge-utils ocaml? ( >=dev-lang/ocaml-4 ) screen? ( app-misc/screen app-admin/logrotate ) virtual/udev +REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) +RESTRICT=test +SLOT=0 +SRC_URI=http://bits.xensource.com/oss-xen/release/4.2.4/xen-4.2.4.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.6.3.2.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.2.4-upstream-patches-4.tar.xz +_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 +_md5_=f3f28435bb4e47751b66305ab1060bd7 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r5 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r5 new file mode 100644 index 0000000000..9cf8625c05 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r5 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile configure install postinst prepare setup +DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig +DESCRIPTION=Xend daemon and tools +EAPI=5 +HOMEPAGE=http://xen.org/ +IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7 +KEYWORDS=amd64 -x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev +REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python ) +RESTRICT=test +SLOT=0 +SRC_URI=http://bits.xensource.com/oss-xen/release/4.3.2/xen-4.3.2.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.3.2-upstream-patches-3.tar.xz +_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 +_md5_=0f582f7b1fa2483a07bcac8fb2a3270a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r6 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r6 new file mode 100644 index 0000000000..1ec4e423a1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.3.2-r6 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile configure install postinst prepare setup +DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libgcrypt:0 dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-libs/zlib sys-power/iasl system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) sys-devel/bin86 sys-devel/dev86 dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig +DESCRIPTION=Xend daemon and tools +EAPI=5 +HOMEPAGE=http://xen.org/ +IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs xend system-seabios python_targets_python2_7 python_single_target_python2_7 +KEYWORDS=~amd64 -x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev +REQUIRED_USE=hvm? ( qemu ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python ) +RESTRICT=test +SLOT=0 +SRC_URI=http://bits.xensource.com/oss-xen/release/4.3.2/xen-4.3.2.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.1-stable-xen.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.3.2-upstream-patches-4.tar.xz +_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 +_md5_=0a4581e24c533092978e22677f0d448b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.4.0-r9 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.4.0-r9 new file mode 100644 index 0000000000..6befd3a351 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/app-emulation/xen-tools-4.4.0-r9 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile configure install postinst prepare setup +DEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libaio dev-libs/libgcrypt:0 sys-libs/zlib dev-python/lxml[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] pam? ( dev-python/pypam[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) hvm? ( media-libs/libsdl ) python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml,threads] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] api? ( dev-libs/libxml2 net-misc/curl ) pygrub? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_single_target_python2_7(+)?] ) arm? ( >=sys-apps/dtc-1.4.0 ) !arm? ( sys-devel/bin86 system-seabios? ( sys-firmware/seabios ) sys-firmware/ipxe sys-devel/dev86 sys-power/iasl ) dev-lang/perl app-misc/pax-utils dev-python/markdown doc? ( app-doc/doxygen dev-tex/latex2html[png,gif] media-gfx/graphviz dev-tex/xcolor media-gfx/transfig dev-texlive/texlive-latexextra virtual/latex-base dev-tex/latexmk dev-texlive/texlive-latex dev-texlive/texlive-pictures dev-texlive/texlive-latexrecommended ) hvm? ( x11-proto/xproto !net-libs/libiscsi ) qemu? ( x11-libs/pixman ) system-qemu? ( app-emulation/qemu[xen] ) ocaml? ( dev-ml/findlib >=dev-lang/ocaml-4 ) virtual/pkgconfig +DESCRIPTION=Xend daemon and tools +EAPI=5 +HOMEPAGE=http://xen.org/ +IUSE=api custom-cflags debug doc flask hvm qemu ocaml +pam python pygrub screen static-libs system-qemu system-seabios python_targets_python2_7 python_single_target_python2_7 +KEYWORDS=~amd64 ~arm -x86 +LICENSE=GPL-2 +RDEPEND=dev-libs/lzo:2 dev-libs/glib:2 dev-libs/yajl dev-libs/libaio dev-libs/libgcrypt:0 sys-libs/zlib sys-apps/iproute2 net-misc/bridge-utils screen? ( app-misc/screen app-admin/logrotate ) virtual/udev +REQUIRED_USE=hvm? ( || ( qemu system-qemu ) ) python_single_target_python2_7? ( python_targets_python2_7 ) ^^ ( python_single_target_python2_7 ) pygrub? ( python ) qemu? ( !system-qemu ) +RESTRICT=test +SLOT=0 +SRC_URI=http://bits.xensource.com/oss-xen/release/4.4.0/xen-4.4.0.tar.gz http://code.coreboot.org/p/seabios/downloads/get/seabios-1.7.3.1.tar.gz http://dev.gentoo.org/~dlan/distfiles/seabios-1.7.3.1.tar.gz http://dev.gentoo.org/~dlan/distfiles/xen-4.4.0-upstream-patches-5.tar.xz +_eclasses_=bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python-single-r1 a71a169a881e0a11d04a7fe12dc39f6e python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 +_md5_=ad6a5b5224f7b3a364937d0665665e6b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11 new file mode 100644 index 0000000000..0799a7a35e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=2 +HOMEPAGE=http://lloyd.github.com/yajl/ +KEYWORDS=amd64 arm hppa ppc ppc64 x86 +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/1.0.11 -> yajl-1.0.11.tar.gz +_eclasses_=cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=531cee66cabf578f828fb4aa0c79b575 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11-r1 new file mode 100644 index 0000000000..0240258356 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-1.0.11-r1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=5 +HOMEPAGE=http://lloyd.github.com/yajl/ +IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/1.0.11 -> yajl-1.0.11.tar.gz +_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66 +_md5_=244907432d81b2501ab77e34cfce88d2 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.3 new file mode 100644 index 0000000000..0f76f9f638 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.3 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=4 +HOMEPAGE=http://lloyd.github.com/yajl/ +KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.3 -> yajl-2.0.3.tar.gz +_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=b8753154f978e843eb5e2d6cc75efe19 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r1 new file mode 100644 index 0000000000..575bb1dfff --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=5 +HOMEPAGE=http://lloyd.github.com/yajl/ +IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz +_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=5327bc87873a6e328604d659a76d5935 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r2 new file mode 100644 index 0000000000..bfd9826a50 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r2 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=5 +HOMEPAGE=http://lloyd.github.com/yajl/ +IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz +_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66 +_md5_=416f8ad5e3ebb32110e6ff695f6e0742 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r3 new file mode 100644 index 0000000000..5d18667884 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-libs/yajl-2.0.4-r3 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) +DESCRIPTION=Small event-driven (SAX-style) JSON parser +EAPI=5 +HOMEPAGE=http://lloyd.github.com/yajl/ +IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 +KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris +LICENSE=BSD +SLOT=0 +SRC_URI=http://github.com/lloyd/yajl/tarball/2.0.4 -> yajl-2.0.4.tar.gz +_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build fbb9baa0b4039304643e36e9820fdecf multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 vcs-snapshot 58b766562c9fbfb3268b04e33cdf2f66 +_md5_=05082936e72c13ef1b08c5d4cc975347 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.0 new file mode 100644 index 0000000000..da30e22b5c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.0 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare test +DEPEND=test? ( dev-python/nose ) =dev-lang/python-2* +DESCRIPTION=Python implementation of the markdown markup language +EAPI=3 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments +KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments ) =dev-lang/python-2* +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.1.0.tar.gz +_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=c26d86b53243d12d61b92288a78f5b3e diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.1 new file mode 100644 index 0000000000..a91ebb5e38 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.1.1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare test +DEPEND=test? ( dev-python/nose ) dev-lang/python +DESCRIPTION=Python implementation of the markdown markup language +EAPI=3 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments +KEYWORDS=alpha amd64 ia64 ppc sparc x86 ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments ) dev-lang/python +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.1.1.tar.gz +_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=714c2a312f38499df3375ba247023d86 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.0 new file mode 100644 index 0000000000..7621c09419 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.0 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup test +DEPEND=test? ( dev-python/nose ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) +DESCRIPTION=Python implementation of the markdown markup language +EAPI=4 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments +KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.0.tar.gz +_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=dac4bd06cdb7598a8bf517e78dd8e8f7 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1 new file mode 100644 index 0000000000..097bb57c93 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1 @@ -0,0 +1,13 @@ +DEFINED_PHASES=compile install postinst postrm prepare setup test +DEPEND=test? ( dev-python/nose ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) +DESCRIPTION=Python implementation of the markdown markup language +EAPI=4 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments +KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments ) || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.1.tar.gz +_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 eutils 06133990e861be0fe60c2b428fd025d9 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=4f9f74fa90d7690e06975c541b7eda7b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1-r1 new file mode 100644 index 0000000000..008310d7c9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.2.1-r1 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] +DESCRIPTION=Python implementation of the markdown markup language +EAPI=5 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_pypy +KEYWORDS=alpha amd64 ~arm ia64 ppc sparc x86 ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] +REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_pypy ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.2.1.tar.gz +_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=679da0b033fb4791a91ea96c6f6e595a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3 new file mode 100644 index 0000000000..8551289dda --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] +DESCRIPTION=Python implementation of the markdown markup language +EAPI=5 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_pypy +KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_pypy(-)] +REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_pypy ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.3.tar.gz +_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=a6ada936d92109f9b41604afa16af00b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3.1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3.1 new file mode 100644 index 0000000000..59e02f89bb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.3.1 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] +DESCRIPTION=Python implementation of the markdown markup language +EAPI=5 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_pypy +KEYWORDS=alpha amd64 ~arm ia64 ppc sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy(-)] +REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_pypy ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.3.1.tar.gz +_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=dac9d20baf4f16633c9be2482157172f diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4 new file mode 100644 index 0000000000..6fd66a6e13 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] +DESCRIPTION=Python implementation of the markdown markup language +EAPI=5 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy +KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] +REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.4.tar.gz +_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=084db30639f868e7e99185dbfa80c13a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4.1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4.1 new file mode 100644 index 0000000000..2030746286 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/dev-python/markdown-2.4.1 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install prepare test +DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] +DESCRIPTION=Python implementation of the markdown markup language +EAPI=5 +HOMEPAGE=http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown +IUSE=doc test pygments python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy +KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux ~x86-macos +LICENSE=|| ( BSD GPL-2 ) +RDEPEND=pygments? ( dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] +REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy ) +SLOT=0 +SRC_URI=mirror://pypi/M/Markdown/Markdown-2.4.1.tar.gz +_eclasses_=distutils-r1 d48d51c220f1678179fc4ab13b534ec1 eutils 06133990e861be0fe60c2b428fd025d9 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 c820706d8b22c1d0fe215a9d4a47671d python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=a7004a78414d5cf74c8c51abaaaad76c diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4 new file mode 100644 index 0000000000..f9570b4a81 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install unpack +DEPEND=sys-apps/pciutils virtual/pkgconfig +DESCRIPTION=Interact with the EFI Boot Manager +HOMEPAGE=http://developer.intel.com/technology/efi +KEYWORDS=~amd64 ia64 ~x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/pciutils +SLOT=0 +SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.5.4.tar.gz +_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=30ea85cd4fa929dc5bd723f3d49c5733 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4-r1 new file mode 100644 index 0000000000..dad044521a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.5.4-r1 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile configure install prepare +DEPEND=sys-apps/pciutils virtual/pkgconfig +DESCRIPTION=Interact with the EFI Boot Manager +EAPI=5 +HOMEPAGE=http://developer.intel.com/technology/efi +KEYWORDS=amd64 ia64 x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/pciutils +SLOT=0 +SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.5.4.tar.gz +_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=49dfc960d1556c4bed34068ca24c1712 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.6.0 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.6.0 new file mode 100644 index 0000000000..5d24d6204a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/efibootmgr-0.6.0 @@ -0,0 +1,12 @@ +DEFINED_PHASES=compile install prepare +DEPEND=sys-apps/pciutils virtual/pkgconfig +DESCRIPTION=Interact with the EFI Boot Manager +EAPI=5 +HOMEPAGE=http://developer.intel.com/technology/efi +KEYWORDS=~amd64 ~ia64 ~x86 +LICENSE=GPL-2 +RDEPEND=sys-apps/pciutils +SLOT=0 +SRC_URI=http://linux.dell.com/efibootmgr/efibootmgr-0.6.0/efibootmgr-0.6.0.tar.gz +_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 +_md5_=c8d3aa6a08f7406b03bb3de8a7370d60 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.92-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.92-r1 deleted file mode 100644 index e55dbea7ab..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.92-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -KEYWORDS=-* x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gnu-alpha/grub/grub-0.92.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.92-gentoo-0.2.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.92-gentoo-0.2.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=36d28e5322a167cdb702cd5403be39b1 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.94-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.94-r1 deleted file mode 100644 index 6e6be58410..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.94-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm setup unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static -KEYWORDS=-* x86 amd64 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gnu-alpha/grub/grub-0.94.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.94-gentoo-0.1.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.94-gentoo-0.1.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=3d53ebb7a092934664783537bcc06e02 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r1 deleted file mode 100644 index b9ba47c650..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm setup test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=amd64 x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.96.tar.gz mirror://gnu-alpha/grub/grub-0.96.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.96-r1-gentoo-0.1.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.96-r1-gentoo-0.1.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=3c34d2d64f278772463a01d22d547709 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r2 deleted file mode 100644 index 6d6a20f68e..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm setup test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=amd64 x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.96.tar.gz mirror://gnu-alpha/grub/grub-0.96.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.96-r2-gentoo-0.1.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.96-r2-gentoo-0.1.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=03d37516cc4b78c9e06a7d2862cab64e diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r3 deleted file mode 100644 index 73fed7abbd..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.96-r3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm setup test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.96.tar.gz mirror://gnu-alpha/grub/grub-0.96.tar.gz http://dev.gentoo.org/~seemant/distfiles/grub-0.96-patches-1.0.tar.bz2 http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.96-patches-1.0.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=83e86277a800accf2e30f94b06c20ef6 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97 deleted file mode 100644 index 7686deee7c..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prerm setup test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 >=sys-devel/automake-1.7 >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.0.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=cd5cbca85658da18986fc6a4b1578827 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r10 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r10 deleted file mode 100644 index bba428359e..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r10 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm setup test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.12.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f -_md5_=8da2c3dbab83d5a5f6afee0a111c1685 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r11 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r11 deleted file mode 100644 index 56741be5f8..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r11 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm setup test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.13.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f -_md5_=4ae0644d8eccf0754eed45857a3d39c9 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r2 deleted file mode 100644 index 6115a7dd52..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm setup test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 =sys-devel/automake-1.9* >=sys-devel/autoconf-2.5 -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=amd64 x86 -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.2.tar.bz2 -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=7ac967dd75c899f303a49df4ba6bee38 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r3 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r3 deleted file mode 100644 index c2ac39e527..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.4.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=a02018573ddabda616c1345b4886ef3b diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r4 deleted file mode 100644 index 076094d2c2..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r4 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm test unpack -DEPEND=>=sys-libs/ncurses-5.2-r5 !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=static netboot custom-cflags -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=sys-libs/ncurses-5.2-r5 -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.4.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=81c022c52b4d5d7b0869076783de4e9d diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r5 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r5 deleted file mode 100644 index 63d1cb4d1d..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r5 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.7.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=a54ad3b12f9932026a60c3642901b6dc diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r6 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r6 deleted file mode 100644 index e69120a7e5..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r6 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.7.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=89e6b111193d26fb312a13700917b8c9 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r8 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r8 deleted file mode 100644 index 0cb6c28994..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r8 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.8.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=5c41896252ba602903bab0923f38740c diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r9 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r9 deleted file mode 100644 index 5c52e51cae..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-0.97-r9 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config install postinst postrm preinst prerm setup test unpack -DEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) !=sys-devel/automake-1.13 >=sys-devel/automake-1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB Legacy boot loader -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags ncurses netboot static -KEYWORDS=amd64 x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=ncurses? ( >=sys-libs/ncurses-5.2-r5 amd64? ( app-emulation/emul-linux-x86-baselibs ) ) -SLOT=0 -SRC_URI=mirror://gentoo/grub-0.97.tar.gz mirror://gnu-alpha/grub/grub-0.97.tar.gz mirror://gentoo/splash.xpm.gz mirror://gentoo/grub-0.97-patches-1.9.tar.bz2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 linux-info 2b8c53f6065bdee2d757472215a3088f mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f -_md5_=d3e04b4392b0eabe876c8e31ca498cd1 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-1.99-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-1.99-r2 deleted file mode 100644 index ef00b81395..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-1.99-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile config configure install postinst postrm preinst prepare prerm -DEPEND=dev-libs/libisoburn dev-libs/lzo sys-boot/os-prober >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) truetype? ( media-libs/freetype >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) >=dev-lang/python-2.5.2 sys-devel/flex virtual/yacc sys-apps/texinfo app-arch/xz-utils -DESCRIPTION=GNU GRUB boot loader -EAPI=4 -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags debug device-mapper efiemu nls static sdl truetype grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 -LICENSE=GPL-3 -RDEPEND=dev-libs/libisoburn dev-libs/lzo sys-boot/os-prober >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) truetype? ( media-libs/freetype >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) -SLOT=2 -SRC_URI=mirror://gnu/grub/grub-1.99.tar.xz mirror://gentoo/grub-1.99.tar.xz -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=3ef3ecfc376459a3d56031b7f44a1a57 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r1 deleted file mode 100644 index dfe796dadf..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r1 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst prepare pretend -DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) >=dev-lang/python-2.5.2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo static? ( truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) >=sys-devel/autogen-5.10 app-arch/xz-utils !=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB boot loader -EAPI=4 -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) kernel_linux? ( grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) ) -REQUIRED_USE=grub_platforms_qemu? ( truetype ) grub_platforms_yeeloong? ( truetype ) -SLOT=2 -SRC_URI=mirror://gnu/grub/grub-2.00.tar.xz mirror://gentoo/grub-2.00.tar.xz -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=bc5df6468757330e775874e705132c63 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r2 deleted file mode 100644 index a71fe4297f..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst prepare pretend -DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) >=dev-lang/python-2.5.2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo static? ( truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) >=sys-devel/autogen-5.10 !=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool -DESCRIPTION=GNU GRUB boot loader -EAPI=4 -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) -REQUIRED_USE=grub_platforms_qemu? ( truetype ) -SLOT=2 -SRC_URI=mirror://gnu/grub/grub-2.00.tar.xz mirror://gentoo/grub-2.00.tar.xz -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=f00db9d244c421ec534aca8fe664ca3f diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_beta6 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_beta6 deleted file mode 100644 index 22c553a1db..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_beta6 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst prepare -DEPEND=dev-libs/lzo >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) >=dev-lang/python-2.5.2 sys-devel/flex virtual/yacc sys-apps/texinfo static? ( truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) app-arch/xz-utils -DESCRIPTION=GNU GRUB boot loader -EAPI=4 -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags debug device-mapper efiemu mount nls static sdl truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 -LICENSE=GPL-3 -RDEPEND=dev-libs/lzo >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) -SLOT=2 -SRC_URI=mirror://gnu-alpha/grub/grub-2.00~beta6.tar.xz -_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=c1f36a7fc2603190b012d6e1fd37c9af diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_p5107-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_p5107-r2 new file mode 100644 index 0000000000..1d75c058b8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.00_p5107-r2 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend test unpack +DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) app-misc/pax-utils >=dev-lang/python-2.5.2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo static? ( app-arch/xz-utils[static-libs(+)] truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) test? ( dev-libs/libisoburn app-emulation/qemu ) truetype? ( app-arch/unzip ) +DESCRIPTION=GNU GRUB boot loader +EAPI=5 +HOMEPAGE=http://www.gnu.org/software/grub/ +IUSE=custom-cflags debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 +KEYWORDS=amd64 x86 +LICENSE=GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception ) +RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) kernel_linux? ( grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) ) !multislot? ( !sys-boot/grub:0 ) nls? ( sys-devel/gettext ) +REQUIRED_USE=grub_platforms_qemu? ( truetype ) grub_platforms_yeeloong? ( truetype ) +RESTRICT=test +SLOT=2 +SRC_URI=mirror://gnu/grub/grub-2.00_p5107.tar.xz mirror://gentoo/grub-2.00_p5107.tar.xz http://dev.gentoo.org/~floppym/dist/grub-2.00_p5107.tar.xz truetype? ( mirror://sourceforge/dejavu/dejavu-sans-ttf-2.34.zip http://unifoundry.com/unifont-5.1.20080820.pcf.gz ) +_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=3795d4f8b8514c245d21a1c3077f0054 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.02_beta2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.02_beta2 new file mode 100644 index 0000000000..aa8a569e84 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-2.02_beta2 @@ -0,0 +1,15 @@ +DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend test unpack +DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) app-misc/pax-utils sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo grub_platforms_xen? ( app-emulation/xen-tools ) static? ( app-arch/xz-utils[static-libs(+)] truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) test? ( dev-libs/libisoburn app-emulation/qemu ) truetype? ( app-arch/unzip ) +DESCRIPTION=GNU GRUB boot loader +EAPI=5 +HOMEPAGE=http://www.gnu.org/software/grub/ +IUSE=debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_xen grub_platforms_efi-64 +KEYWORDS=~amd64 ~x86 +LICENSE=GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception ) +RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) kernel_linux? ( grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) ) !multislot? ( !sys-boot/grub:0 ) nls? ( sys-devel/gettext ) +REQUIRED_USE=grub_platforms_qemu? ( truetype ) grub_platforms_yeeloong? ( truetype ) +RESTRICT=test +SLOT=2 +SRC_URI=mirror://gnu-alpha/grub/grub-2.02~beta2.tar.xz truetype? ( mirror://sourceforge/dejavu/dejavu-sans-ttf-2.34.zip mirror://gnu/unifont/unifont-7.0.01/unifont-7.0.01.pcf.gz ) +_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=397cfd4a0c6085e5b85695227df74df0 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999 deleted file mode 100644 index 37eba58e9c..0000000000 --- a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst prepare pretend unpack -DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) >=dev-lang/python-2.5.2 sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo static? ( truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) >=sys-devel/autogen-5.10 !=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool >=dev-vcs/bzr-2.0.1 -DESCRIPTION=GNU GRUB boot loader -EAPI=4 -HOMEPAGE=http://www.gnu.org/software/grub/ -IUSE=custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_efi-64 -LICENSE=GPL-3 -RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype media-fonts/dejavu >=media-fonts/unifont-5 ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) -REQUIRED_USE=grub_platforms_qemu? ( truetype ) -SLOT=2 -_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 bzr 8b59c16d7183cb93649d7abe70dc4c85 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae toolchain-funcs 0f1760274637a138b99bb649202ea402 -_md5_=fd7c1642fc11715c6388c0a91fae528c diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999-r1 new file mode 100644 index 0000000000..71d73ba3fd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-boot/grub-9999-r1 @@ -0,0 +1,14 @@ +DEFINED_PHASES=compile configure install postinst postrm preinst prepare prerm pretend setup test unpack +DEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) || ( >=dev-lang/python-2.7.5-r2:2.7 dev-lang/python:3.4 >=dev-lang/python-3.3.2-r2:3.3 >=dev-lang/python-3.2.5-r2:3.2 ) app-misc/pax-utils sys-devel/flex sys-devel/bison sys-apps/help2man sys-apps/texinfo grub_platforms_xen? ( app-emulation/xen-tools ) static? ( app-arch/xz-utils[static-libs(+)] truetype? ( app-arch/bzip2[static-libs(+)] media-libs/freetype[static-libs(+)] sys-libs/zlib[static-libs(+)] ) ) test? ( dev-libs/libisoburn app-emulation/qemu ) truetype? ( app-arch/unzip ) !=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool >=dev-vcs/git-1.8.2.1 +DESCRIPTION=GNU GRUB boot loader +EAPI=5 +HOMEPAGE=http://www.gnu.org/software/grub/ +IUSE=debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs grub_platforms_emu grub_platforms_qemu-mips grub_platforms_yeeloong grub_platforms_ieee1275 grub_platforms_coreboot grub_platforms_multiboot grub_platforms_efi-32 grub_platforms_pc grub_platforms_qemu grub_platforms_xen grub_platforms_efi-64 +LICENSE=GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception ) +RDEPEND=app-arch/xz-utils >=sys-libs/ncurses-5.2-r5 debug? ( sdl? ( media-libs/libsdl ) ) device-mapper? ( >=sys-fs/lvm2-2.02.45 ) libzfs? ( sys-fs/zfs ) mount? ( sys-fs/fuse ) truetype? ( media-libs/freetype ) ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) kernel_linux? ( grub_platforms_efi-32? ( sys-boot/efibootmgr ) grub_platforms_efi-64? ( sys-boot/efibootmgr ) ) !multislot? ( !sys-boot/grub:0 ) nls? ( sys-devel/gettext ) +REQUIRED_USE=grub_platforms_qemu? ( truetype ) grub_platforms_yeeloong? ( truetype ) +RESTRICT=test +SLOT=2 +SRC_URI=truetype? ( mirror://sourceforge/dejavu/dejavu-sans-ttf-2.34.zip mirror://gnu/unifont/unifont-7.0.01/unifont-7.0.01.pcf.gz ) +_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-utils 3727db64c7b960903d5033280f108080 bash-completion-r1 db412e427e3317ffd3e15f17df269c5e eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 git-r3 6ebae45064cb04482f3c702632dd9528 libtool 52d0e17251d04645ffaa61bfdd858944 mount-boot 02dd3bb4c5f025fef0fc3ade0f27c217 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 51ad5130f4a69b1a118ca5296de276ae python-any-r1 4560effd96d3d2a82e50af7cf87166da python-utils-r1 8c66c6dabd0295878b68b40dbd0b087b toolchain-funcs 0f1760274637a138b99bb649202ea402 versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=522a260ba89d166d59fda7e0cb59bea8 diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/ChangeLog new file mode 100644 index 0000000000..c9a0a1eef5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/ChangeLog @@ -0,0 +1,109 @@ +# ChangeLog for sys-boot/efibootmgr +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/efibootmgr/ChangeLog,v 1.29 2014/01/15 09:23:37 ago Exp $ + + 15 Jan 2014; Agostino Sarubbo efibootmgr-0.5.4-r1.ebuild: + Stable for ia64, wrt bug #485596 + +*efibootmgr-0.6.0 (06 Nov 2013) + + 06 Nov 2013; Justin Lecher +efibootmgr-0.6.0.ebuild, + metadata.xml: + Version BUmp, #486062 + + 30 Oct 2013; Mike Gilbert efibootmgr-0.5.4-r1.ebuild, + efibootmgr-0.5.4.ebuild, metadata.xml: + Update DESCRIPTION, bug 489886 by Elias Probst. + + 12 Oct 2013; Mike Frysinger efibootmgr-0.5.4-r1.ebuild: + Move flag/toolchain setup to src_configure. + + 30 Sep 2013; Agostino Sarubbo efibootmgr-0.5.4-r1.ebuild: + Stable for x86, wrt bug #485596 + + 28 Sep 2013; Agostino Sarubbo efibootmgr-0.5.4-r1.ebuild: + Stable for amd64, wrt bug #485596 + +*efibootmgr-0.5.4-r1 (10 Jul 2013) + + 10 Jul 2013; Tomáš Chvátal +efibootmgr-0.5.4-r1.ebuild, + +files/efibootmgr-error-reporting.patch: + Revision bump with error reporting patch. Now you can see error messages, not + just return codes. + + 03 May 2012; Jeff Horelick efibootmgr-0.5.4.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 13 Jan 2012; Mike Frysinger efibootmgr-0.5.4.ebuild: + Use common tc-getPKG_CONFIG helper. + + 03 Mar 2010; Raúl Porcel efibootmgr-0.5.4.ebuild: + Add dev-util/pkgconfig to DEPEND, bug #306125 + + 02 Jun 2009; Raúl Porcel -efibootmgr-0.5.3.ebuild, + efibootmgr-0.5.4.ebuild: + ia64 stable, remove old + + 06 May 2009; Markus Meier efibootmgr-0.5.4.ebuild: + add ~amd64, bug #208639; assign RDEPEND + +*efibootmgr-0.5.4 (20 Feb 2008) + + 20 Feb 2008; Mike Frysinger +efibootmgr-0.5.4.ebuild: + Version bump. + + 14 Feb 2008; Christian Faulhammer + efibootmgr-0.5.3.ebuild: + keyworded ~arch for x86, bug 208639 + + 14 Aug 2007; Chris Gianelloni + efibootmgr-0.5.3.ebuild: + Modified to use the same built_with_use logic as other ebuilds in the tree + and added --missing as reported on bug #188221. + + 11 Jul 2007; Raúl Porcel efibootmgr-0.5.3.ebuild: + Fix build failure if pciutils is built with zlib, thanks to Alexander + Færøy for the fix, bug #184005 + + 22 Feb 2007; Markus Ullmann ChangeLog: + Redigest for Manifest2 + + 27 Apr 2006; Alec Warner + files/digest-efibootmgr-0.4.2, files/digest-efibootmgr-0.5.0, Manifest: + Fixing SHA256 digest, pass four + + 01 Apr 2006; Aron Griffis efibootmgr-0.5.3.ebuild: + Mark 0.5.3 stable on ia64 + +*efibootmgr-0.5.3 (10 Mar 2006) + + 10 Mar 2006; Aron Griffis +efibootmgr-0.5.3.ebuild: + Bump to 0.5.3 (from 0.5.0). #120340 + + 05 Feb 2005; efibootmgr-0.5.0.ebuild: + Mark stable on IA64. + + 03 Feb 2005; efibootmgr-0.5.0.ebuild: + 0.5.0 requires sys-apps/pciutils to compile properly; adding into DEPEND. + +*efibootmgr-0.5.0 (31 Oct 2004) + + 31 Oct 2004; Mike Frysinger +efibootmgr-0.5.0.ebuild: + Version bump #69144 by splite. + + 01 Jul 2004; Jeremy Huddleston + efibootmgr-0.4.2.ebuild: + virtual/glibc -> virtual/libc + + 27 Apr 2004; Aron Griffis efibootmgr-0.4.2.ebuild: + Add inherit eutils + + 04 Mar 2004; efibootmgr-0.4.2.ebuild: + stable on ia64 + +*efibootmgr-0.4.2 (21 Jan 2004) + + 21 Jan 2004; efibootmgr-0.4.2.ebuild, metadata.xml, + files/efibootmgr-0.4.1-makefile.patch: + Add efibootmgr for IA-64. This program allows you to configure the EFI boot + partition on IA-64 systems diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/Manifest b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/Manifest new file mode 100644 index 0000000000..2a89d7e4b8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/Manifest @@ -0,0 +1,28 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX efibootmgr-error-reporting.patch 950 SHA256 aeaf696f933ce251f866c669b08a2e0c7b8a5d95011f17076f79041298d1861c SHA512 6f1f71e73d8168db397a2270b89900ab48fb67281ca49749bd6320aed13964fd1113a545ae1b30b6d5d7b9928588c54696d513861547ecb4054565cb498edec0 WHIRLPOOL 117e1fc0b5ad95122fd0d56b098f92d5bbfea3ba2482f6e4f08adacbc625ff8db8ee0a8e870c6b7f11732a27f8465f6c64335a8343a99a33bf834fabf8fbe743 +DIST efibootmgr-0.5.4.tar.gz 59121 SHA256 b562a47a4f5327494992f2ee6ae14a75c5aeb9b4a3a78a06749d5cd2917b8e71 SHA512 1fbc3bc442e848b7f6a7e5d8851d92efe271abd090cfeda253baf7b11b9f7b9e984b9703c02ed57f718d5de5b26ec45f1eaeff55b50e4a7bc9e25cf3a958c4ad WHIRLPOOL e17d2a2ecb666eb6644794b48535d8141ee2b79470cdb8d28c927032724efd59dcfdef278d6895bf3c3ec5af91ea559a2df1c938fb406fb2a8c0256a67da05a6 +DIST efibootmgr-0.6.0.tar.gz 64995 SHA256 1c9b0852df7932c410865e296a38fe66e39a26e10c9c1a7ff34fca87f3e25f53 SHA512 f06d3094e41ef100f5bad746add6cad3f3c700e5d5ebe9481533e6ec1df07b3595132f835ffcbac853e3fb48d0fd03d572c84f54394ba094b6d0aa426ff2a02c WHIRLPOOL 0352318b9350f8ae789fbeda278a55d1b28edd17fcadbaf0f9f484cac7dd9826e55243b799d512aa30e99265e7dff87142f9054908157bd9dba001981c807943 +EBUILD efibootmgr-0.5.4-r1.ebuild 1020 SHA256 03a30c49b8e6116da18afb2105daaefcac8b0fb1dfc252d1aeb5ed48d703f725 SHA512 10f6e821e22368a04bea0ca990438138d14e6fe98aa1c593d9cc789340299f27155cde0ba2bbe545bf15e378be111394ebbae484a80693c636de5abcd4a3d190 WHIRLPOOL 589a8c6c5cb3913c86745f887a5d15118f532e158cffd0d01164d341838a8b3c2b0e26489dd4ae7f11f8525e8e43bf22ac4f580a745c454ef9b22f3416268ca7 +EBUILD efibootmgr-0.5.4.ebuild 973 SHA256 6501ab75b87492e74f68c918e4b66568fc6e1b5b1a7c521b922bd86b71a6af82 SHA512 8d3264a26b609e9950d2461dff9dc6223e5a68f9875c1ecc82a8b3a50fb27cb0a4226d33e35c51b5f66f7b434775fd83f8740fe064e319b183149d082001b3fc WHIRLPOOL bad060694c825a5ce7c88de6e335d5aae3d44cdc5a5e60689142834e70e1318ccbc7142f07a07d1424c650f9a5f5e3229fb82f168e3bc4f0a99959f5b51ea85a +EBUILD efibootmgr-0.6.0.ebuild 1000 SHA256 3ef04ac090a386bf30ae200e45be1b72f0286c00310391614af483910af04b09 SHA512 3eb5b2015595cbec7852a61152b14afb25acb29d6a7f184de573f42b8139a7fd3eaa55173b1aee1533d56f66b201ca4e620318f33234a08e88012f2276ccbc46 WHIRLPOOL b7f6100a361ba1bdc64761053eef44a638fa4dd911a307f85a14cae86f461529f6ca5f3348c58fdf0f54f7e7628d0bba2ebe5156cdefb4dbb542d0b65fc551ab +MISC ChangeLog 3932 SHA256 9eb0f86e6a2689eff2fa5295ce1325e92bcc574e42f981fd580ec66064a1538b SHA512 0c3c210384e68d680375f7b037bb98666433d2aeb36c2c10f0989f93a543d93a4917b0c96601f299058c49d67cacd1e4a01a8bb58bca2789f8c1a825528f3794 WHIRLPOOL a32366ad80c75de93a4b394496f91890a1b1fb3d3cba333de753a1e3387a47886629d2b22230639e05bf496fb0a8d795fdf2344cc42819df2ae8dcc30c72e285 +MISC metadata.xml 448 SHA256 26459ed10f99ae30f4d542d8fb8b59b614ec858adb811281f2e2c7effc4ba16a SHA512 51b9beb3099e0b70b3bed56ce041a64a0b24afd381da9dd5fff35b3e7e1078f9224ca879fdd95f6c11121734fd23122ca2d0dfc25630ff0c12ec5fb000c5bee3 WHIRLPOOL 535069d6ac48cf68fefc4d0170b6f1ed3b095a8a925eebcb0a4d1f67e4d5a7eef36f72c9ff1e8c3273b09e7ec2f38ba9a9002ef0a34118116a5e5e815dcab890 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBCAAGBQJS1lOaAAoJELp701BxlEWfm2AP/1/a5Ak7lJQaqLWeclHC9lKE +cgppWV4MXfjL52Ql5S7seI4AfIQSD3JDiC3sCQLSU5BjWqmWJpP3A3nJkhBeGNYh +mq13HePy14cxRqmG1k6ZajZpimgwomy1gwzFMzmqxzZNzCC0zWIAVkYTSIcMajo3 +FOYHJe+H5bNiMGzkSx0KrKk6seliMrEySAET+fk2ML1AABm9eRPoLOdi1g/1YkSF +lj1InHo3SWn/fwkUOoqCm4nYO7dWz3I/W+Z6FH0NkFKi0QFdSXr23XCvMABBqH8D +bKr7i+KRWC25H/fCinijGVujAvJ3cEDuS4jgZPwrzmecsl5DovGbEBcnK/UTIMt7 +dSmj7fX1Cg9UknpnY/65rDM6tZuZ7DjwiGccWXswiRNbg3BD0S+XaG6kLi1UVdiR +BTPMdBzBDYq/c7v2DY8dw7umuvnQ21h/n4YbCPg5M5uHA6ESP/gg/9jQnzxiSeZe +aFtfd0Joofky/i8IYsRudqLFncFvkWjSmIfrkxrYDdwhcdfJ/8YECVesNlgrURwR +QspskQJb+Q64+Mdh9fxXiAQ6ztk42JSOl702RXtCdT5NsA7p52EO7xAjGkncwzIG +b+jU6vTaIQCh6V/wlLsuRhjndXmtWNVdnBgXFDahD5K3Zi3b2v6yBvCla6nbagp8 +JmwUqJuTxTHmrhNDyqex +=GLE8 +-----END PGP SIGNATURE----- diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild new file mode 100644 index 0000000000..80ecc802e9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/efibootmgr/efibootmgr-0.5.4-r1.ebuild,v 1.6 2014/01/15 09:23:37 ago Exp $ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="Interact with the EFI Boot Manager" +HOMEPAGE="http://developer.intel.com/technology/efi" +SRC_URI="http://linux.dell.com/efibootmgr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ia64 x86" +IUSE="" + +RDEPEND="sys-apps/pciutils" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "/^LIBS/s:=.*:=$($(tc-getPKG_CONFIG) libpci --libs):" \ + src/efibootmgr/module.mk || die + + epatch "${FILESDIR}/${PN}-error-reporting.patch" +} + +src_configure() { + strip-flags + tc-export CC +} + +src_compile() { + emake EXTRA_CFLAGS="${CFLAGS}" +} + +src_install() { + # build system uses perl, so just do it ourselves + dosbin src/efibootmgr/efibootmgr + doman src/man/man8/efibootmgr.8 + dodoc AUTHORS README doc/ChangeLog doc/TODO +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild new file mode 100644 index 0000000000..48ddb000a5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/efibootmgr/efibootmgr-0.5.4.ebuild,v 1.7 2013/10/30 17:43:12 floppym Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Interact with the EFI Boot Manager" +HOMEPAGE="http://developer.intel.com/technology/efi" +SRC_URI="http://linux.dell.com/efibootmgr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ia64 ~x86" +IUSE="" + +RDEPEND="sys-apps/pciutils" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/^LIBS/s:=.*:=$($(tc-getPKG_CONFIG) libpci --libs):" \ + src/efibootmgr/module.mk || die +} + +src_compile() { + strip-flags + tc-export CC + emake EXTRA_CFLAGS="${CFLAGS}" || die +} + +src_install() { + # build system uses perl, so just do it ourselves + dosbin src/efibootmgr/efibootmgr || die + doman src/man/man8/efibootmgr.8 + dodoc AUTHORS README doc/ChangeLog doc/TODO +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild new file mode 100644 index 0000000000..f453bee894 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/efibootmgr/efibootmgr-0.6.0.ebuild,v 1.1 2013/11/06 10:41:09 jlec Exp $ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="Interact with the EFI Boot Manager" +HOMEPAGE="http://developer.intel.com/technology/efi" +SRC_URI="http://linux.dell.com/${PN}/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="" + +RDEPEND="sys-apps/pciutils" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "/^LIBS/s:=.*:=$($(tc-getPKG_CONFIG) libpci --libs):" \ + src/efibootmgr/module.mk || die + + epatch "${FILESDIR}/${PN}-error-reporting.patch" +} + +src_compile() { + strip-flags + tc-export CC + emake EXTRA_CFLAGS="${CFLAGS}" +} + +src_install() { + # build system uses perl, so just do it ourselves + dosbin src/efibootmgr/efibootmgr + doman src/man/man8/efibootmgr.8 + dodoc AUTHORS README doc/ChangeLog doc/TODO +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/files/efibootmgr-error-reporting.patch b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/files/efibootmgr-error-reporting.patch new file mode 100644 index 0000000000..2c769db230 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/files/efibootmgr-error-reporting.patch @@ -0,0 +1,40 @@ +@@ -, +, @@ +--- + src/lib/efivars_sysfs.c | 16 +++++++++++++--- + 1 files changed, 13 insertions(+), 3 deletions(-) +--- a/src/lib/efivars_sysfs.c ++++ a/src/lib/efivars_sysfs.c +@@ -66,6 +66,7 @@ static efi_status_t + sysfs_write_variable(const char *filename, efi_variable_t *var) + { + int fd; ++ int rc = EFI_SUCCESS; + size_t writesize; + char buffer[PATH_MAX+40]; + +@@ -77,12 +78,21 @@ sysfs_write_variable(const char *filename, efi_variable_t *var) + return EFI_INVALID_PARAMETER; + } + writesize = write(fd, var, sizeof(*var)); ++ if (writesize == -1) { ++ if (errno == -ENOSPC) ++ rc = EFI_OUT_OF_RESOURCES; ++ else ++ rc = EFI_INVALID_PARAMETER; ++ goto out; ++ } + if (writesize != sizeof(*var)) { +- close(fd); +- return EFI_INVALID_PARAMETER; ++ rc = EFI_INVALID_PARAMETER; + } ++out: ++ if (rc != EFI_SUCCESS) ++ fprintf(stderr, "Failed to write variable: %s\n", strerror(errno)); + close(fd); +- return EFI_SUCCESS; ++ return rc; + } + + +-- diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/metadata.xml new file mode 100644 index 0000000000..a2f1415423 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/efibootmgr/metadata.xml @@ -0,0 +1,11 @@ + + + + ia64 + + This is efibootmgr, a Linux user-space application to modify the Intel + Extensible Firmware Interface (EFI) Boot Manager. This application + can create and destroy boot entries, change the boot order, change + the next running boot option, and more. + + diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/ChangeLog b/sdk_container/src/third_party/portage-stable/sys-boot/grub/ChangeLog index 9fc44065a2..7dc2cf8f77 100644 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/ChangeLog +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/ChangeLog @@ -1,6 +1,290 @@ # ChangeLog for sys-boot/grub -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.250 2013/02/03 22:39:46 floppym Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.312 2014/06/22 18:02:08 floppym Exp $ + + 22 Jun 2014; Mike Gilbert grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Update to unifont-7.0.01. + + 26 Apr 2014; Mike Gilbert grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Replace -O3 with -O2 to prevent segfault in grub-mkimage, bug 508758 by Roc + Vallès. + + 15 Apr 2014; Mike Gilbert grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Add python3.4. + + 15 Mar 2014; Mike Gilbert grub-2.00_p5107-r2.ebuild, + grub-2.02_beta2.ebuild, grub-9999-r1.ebuild: + Add runtime dep on gettext, bug 503858 by Nikoli. + + 09 Mar 2014; Mike Frysinger grub-2.00_p5107-r2.ebuild, + grub-2.02_beta2.ebuild, grub-9999-r1.ebuild: + Use single quotes around ~ to get consistent behavior in <=bash-4.2 and + >=bash-4.3 versions #503860 by Lars Wendler. + + 28 Feb 2014; Mike Gilbert + -files/1.99-call_proper_grub_probe.patch, + -files/1.99-do_not_stat_so_often.patch, -files/1.99-improve_devmapper.patch, + -files/1.99-stat_root_device_properly-p1.patch, + -files/1.99-stat_root_device_properly-p2.patch, + -files/grub-2.00-20_linux_xen.patch, -files/grub-2.00-compression.patch, + -files/grub-2.00-config-quoting.patch, -files/grub-2.00-dmraid.patch, + -files/grub-2.00-freebsd.patch, -files/grub-2.00-hardcoded-awk.patch, + -files/grub-2.00-no-gets.patch, -files/grub-2.00-os-prober-efi-system.patch, + -files/grub-2.00-parallel-make.patch, -files/grub-2.00-texinfo.patch, + -files/grub-2.00-tftp-endian.patch, + -files/grub-2.00-zfs-feature-flag-support-r1.patch, + -files/grub-2.00-zfs-feature-flag-support.patch, + -files/grub-2.02_beta1-only-use-scripts-that-are-executable.patch, + -files/grub.default: + Remove unused files in FILESDIR. + + 28 Feb 2014; Mike Gilbert -grub-0.97-r10.ebuild, + -grub-0.97-r11.ebuild, -grub-1.99-r2.ebuild, -grub-2.00-r4.ebuild, + -grub-2.00_p5107.ebuild, -grub-2.02_beta1-r1.ebuild: + Remove old ebuilds. + + 28 Feb 2014; Mike Gilbert files/grub.default-3: + Add a couple of examples for GRUB_CMDLINE_LINUX. + + 13 Feb 2014; Mike Gilbert grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Warn people about the /boot/grub2 to /boot/grub move regardless of the version + they are upgrading from. + + 27 Jan 2014; Mike Gilbert grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Add support for the xen platform. + + 07 Jan 2014; Lars Wendler -grub-0.92-r1.ebuild, + -grub-0.94-r1.ebuild, -grub-0.96-r1.ebuild, -grub-0.96-r2.ebuild, + -grub-0.96-r3.ebuild, -grub-0.97.ebuild, -grub-0.97-r2.ebuild, + -grub-0.97-r3.ebuild, -grub-0.97-r4.ebuild, -grub-0.97-r5.ebuild, + -grub-0.97-r6.ebuild, -grub-0.97-r8.ebuild, -grub-0.97-r9.ebuild, + -files/grub-0.97-gpt.patch: + Removed old versions and files. + +*grub-2.02_beta2 (24 Dec 2013) + + 24 Dec 2013; Mike Gilbert +grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Version bump. + + 24 Dec 2013; Mike Gilbert -grub-2.02_beta1.ebuild, + grub-2.02_beta1-r1.ebuild, grub-9999-r1.ebuild: + Host binaries no longer have executable stacks. + +*grub-2.02_beta1-r1 (23 Dec 2013) + + 23 Dec 2013; Lars Wendler + +grub-2.02_beta1-r1.ebuild, + +files/grub-2.02_beta1-only-use-scripts-that-are-executable.patch: + Let grub-mkconfig only use scripts that are executable (bug #494716). + + 19 Dec 2013; Mike Gilbert +files/grub.default-3, + grub-2.02_beta1.ebuild, grub-9999-r1.ebuild: + Adjust default menu options for grub-2.02. + +*grub-2.02_beta1 (19 Dec 2013) + + 19 Dec 2013; Mike Gilbert +grub-2.02_beta1.ebuild, + grub-9999-r1.ebuild: + Version bump. + + 09 Dec 2013; Mike Gilbert + +files/grub-2.00-freetype-2.5.1.patch, grub-2.00_p5107-r2.ebuild: + Fix build with freetype-2.5.1, bug 493634 by Thomas Axelsson. + + 09 Dec 2013; Mike Gilbert grub-9999-r1.ebuild: + Adjust *FLAGS logic and drop custom-cflags use flag. + + 09 Dec 2013; Mike Gilbert grub-9999-r1.ebuild: + Re-enable python3. + + 04 Dec 2013; Mike Gilbert grub-9999-r1.ebuild: + Require python2 and drop autogen dep. + + 26 Oct 2013; Mike Gilbert grub-2.00_p5107-r2.ebuild, + grub-9999-r1.ebuild: + Add dependency on app-arch/unzip, bug 489400. + + 23 Oct 2013; Mike Gilbert grub-2.00_p5107-r2.ebuild: + Apply previous change. + + 23 Oct 2013; Mike Gilbert grub-9999-r1.ebuild: + Remove build-time dependency on dejavu and unifont by downloading our own + copies. Add GRUB_AUTOGEN variable to control autogen separately from + autoreconf. + +*grub-9999-r1 (22 Oct 2013) + + 22 Oct 2013; Mike Gilbert +grub-9999-r1.ebuild, + -grub-9999.ebuild: + Revbump for git migration. + + 22 Oct 2013; Mike Gilbert grub-9999.ebuild: + Upstream migrated to git. + + 21 Oct 2013; Mike Gilbert grub-2.00_p5107-r2.ebuild, + grub-9999.ebuild: + Remove dejavu and unifont from RDEPEND, bug 488670. + + 17 Oct 2013; Mike Gilbert metadata.xml: + We don't rename /boot/grub. + + 17 Oct 2013; Mike Gilbert grub-2.00_p5107-r2.ebuild, + grub-9999.ebuild: + Work around funky emu platform with USE=static by setting HOST_LDFLAGS instead + of LDFLAGS. Bug 488182 by Hodur. + +*grub-2.00_p5107-r2 (16 Oct 2013) + + 16 Oct 2013; Lars Wendler + -grub-2.00_p5107-r1.ebuild, +grub-2.00_p5107-r2.ebuild: + Fixed automagic linking against libdevmapper.so (bug #488234). Permission + kindly granted by floppym. Revbump comitted straight to stable. + + 14 Oct 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild: + Stable on amd64 and x86, bug 455544. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Need to call mount-boot_mount_boot_partition first. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Make a symlink from /boot/grub/grub.cfg to /boot/grub2/grub.cfg in case people + don't read the warning. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Link to the migration guide if grub:0 is installed. + + 21 Sep 2013; Mike Gilbert files/grub.default-2: + Change references from /boot/grub2 to /boot/grub. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Move BUILD_CC from grub_configure to src_configure. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + No reason to localize BUILD_CC variable. + + 21 Sep 2013; Mike Gilbert grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Export BUILD_CC before calling configure, bug 486592 by ago. + + 20 Sep 2013; Mike Gilbert -grub-2.00-r1.ebuild, + -grub-2.00-r2.ebuild, -grub-2.00-r3.ebuild, -grub-2.00_beta6.ebuild, + -grub-2.00_p5086.ebuild: + Remove old ebuilds. + +*grub-2.00_p5107-r1 (07 Sep 2013) + + 07 Sep 2013; Mike Gilbert +grub-2.00_p5107-r1.ebuild, + grub-9999.ebuild: + Drop the --with-grubdir=grub2 option and emit a warning on upgrades. + +*grub-2.00_p5107 (16 Aug 2013) + + 16 Aug 2013; Mike Gilbert +grub-2.00_p5107.ebuild: + New snapshot, resolves multiboot build failure, bug 479764. + + 14 Aug 2013; Patrick Lauer grub-2.00-r4.ebuild, + grub-2.00_p5086.ebuild, grub-9999.ebuild: + Whitespace + + 04 Aug 2013; Mike Gilbert -grub-2.00_p4946.ebuild: + Remove old snapshot. + +*grub-2.00_p5086 (04 Aug 2013) + + 04 Aug 2013; Mike Gilbert +grub-2.00_p5086.ebuild, + grub-9999.ebuild: + New snapshot, resolves bug 468136. Append -fuse-ld=bfd to LDFLAGS for gcc-4.8+ + as a workaround for bug 439082. + + 28 Jul 2013; Mike Gilbert grub-2.00_p4946.ebuild, + grub-9999.ebuild: + We don't need autogen with a pristine snapshot. + +*grub-2.00_p4946 (28 Jul 2013) + + 28 Jul 2013; Mike Gilbert +grub-2.00_p4946.ebuild, + grub-9999.ebuild: + Add new snapshot for bug 468136. + + 21 Jul 2013; Mike Gilbert grub-2.00-r4.ebuild, + grub-9999.ebuild: + Let configure auto-detect efiemu support. + +*grub-2.00-r4 (21 Jul 2013) + + 21 Jul 2013; Mike Gilbert + +files/grub-2.00-os-prober-efi-system.patch, +grub-2.00-r4.ebuild, + grub-9999.ebuild: + Add support for probing EFI system partition, bug 477314 by Ben Kohler. + Respect bashcompdir, bug 477392 by Alphat-PC. + + 07 Jul 2013; Mike Gilbert grub-2.00-r3.ebuild: + sed || die + + 30 Jun 2013; Mike Gilbert grub-9999.ebuild: + Restore addpredict call to grub-9999. + + 13 May 2013; Mike Gilbert files/grub.default-2: + Describe the GRUB_CMDLINE_LINUX variables. + + 01 May 2013; Mike Gilbert grub-9999.ebuild: + Enable mulitslot by default. + + 29 Apr 2013; Mike Gilbert grub-9999.ebuild: + Add test dependencies. + + 29 Apr 2013; Mike Gilbert grub-9999.ebuild: + Override src_test. + + 28 Apr 2013; Mike Gilbert grub-2.00-r3.ebuild, + grub-9999.ebuild: + Minor tweaks. + + 28 Apr 2013; Mike Gilbert grub-9999.ebuild, metadata.xml: + Rewrite ebuild around autotools-utils and multibuild eclasses. Add + USE=multislot to toggle renaming of binaries and grubdir. + + 27 Apr 2013; Mike Gilbert grub-9999.ebuild: + Refresh live ebuild. + +*grub-2.00-r3 (27 Apr 2013) + + 27 Apr 2013; Mike Gilbert +files/grub-2.00-dmraid.patch, + +files/grub-2.00-texinfo.patch, +grub-2.00-r3.ebuild: + Resolve infinte-loop in grub-probe #462740 and fix dmraid support #430748. + Also fix issue with texinfo-5.1. + + 24 Apr 2013; Richard Yao + +files/grub-2.00-zfs-feature-flag-support-r1.patch: + Commit grub-2.00-zfs-feature-flag-support-r1.patch in preparation for sys- + boot/grub-2.00-r3, bug \#462740 + + 09 Apr 2013; Samuli Suominen metadata.xml: + Replace reference of sys-fs/device-mapper with sys-fs/lvm2 in USE + description. + + 31 Mar 2013; Mike Gilbert + +files/grub-2.00-20_linux_xen.patch, grub-2.00-r2.ebuild: + Fix detection of genkernel initramfs on xen. + + 05 Feb 2013; Mike Gilbert grub-2.00-r2.ebuild, + grub-9999.ebuild: + Restore missing patches and FreeBSD compat, bug 455580. + + 04 Feb 2013; Richard Yao grub-2.00-r2.ebuild: + Warn people using ZFS that grub2-install needs to be run to properly support + feature flags. 03 Feb 2013; Mike Gilbert grub-2.00-r2.ebuild: Restore keywords after testing. diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/Manifest b/sdk_container/src/third_party/portage-stable/sys-boot/grub/Manifest index 30277c0e76..2150b8fbc9 100644 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/Manifest @@ -1,73 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX 1.99-call_proper_grub_probe.patch 536 SHA256 0e27b4ba6a0deedef2f65822e3b76aea4a817cb7219b01c29c8f682c450bd5e8 SHA512 db4188ed7e5ed3a736580cb17b3a41b984e81d65036254e699a3cba409cfdcbe342341a467c2e01d351800f70ec1b4c61c0fd23c2c4c5fbdf9949a16b43c4d4b WHIRLPOOL eda7dece32b1c3f74227b4f0e53e8846e30f0d56239c512ae17d852fa36825294b314d2c1af8d10807cf345201e31e37762fd556f2c2390ae9de9327129a8df0 -AUX 1.99-do_not_stat_so_often.patch 1731 SHA256 a33fdbcab7fa4ad66b26598d9a6f1703f419229058c1e9c9c14edb6272783727 SHA512 66c0e7ea45228b1b58fd842316c35ce708a4fc3170f255165dc90073ea109a7e7f34a0673bca3f8228c392fbd9470cf36984e9e3d9de59c4cd6974ddf05da1b5 WHIRLPOOL bb8e382e4822a03028340092e67ccfc84f5608a4600b329b85c1b325b01d6c0476223e0e102b0948e4ea4cf7cbf310c56468f3c703a72edb5383b8eda30f7f8d -AUX 1.99-improve_devmapper.patch 7134 SHA256 b12624944d129820966146d55693b325d48d5d56901727142e386be082661778 SHA512 21d73e2d7f6e065f254a1cc55675e45fe5d1e345f44d8de648395bcd41750324641e84c807839aa06261095ec229a8928290f609d0558d7c897764881305de46 WHIRLPOOL 5e168f740d81e20122acbe1cbfb37cbcb09ba27d1ed2edc537825664107aa416aae5d87ffb96207768a186ba2309e64925a9b9d0f67163fcee7568408e4bac59 -AUX 1.99-stat_root_device_properly-p1.patch 698 SHA256 1facf84e5195eb98b390e43e0a0d6f791e9500ef678b025e95f96d5a2769da5a SHA512 bb2b88d9c5ff6a37292c98ddc1e655076781ac485a5625d09f3cac596ba3aac4b06f9fb0fd250146dd3be1f9e0328085d3a6c52137a4ab5dd3961c53ba87e0ec WHIRLPOOL 92e0cd474b2277876037e602ed47b76b62fe2becc98a0704c9de7ca318f97d89c5a137473fbc558eeea7fed907e49293a61ae3c0a914ec365b2558db37cd4e04 -AUX 1.99-stat_root_device_properly-p2.patch 621 SHA256 431876459562c0aae6e854a97eeaf0cacdad8ceb5477788a4d691e4e6fa613eb SHA512 6953a5a7c48cd38ab41f60d3c4ef8fbeb413408fc749feca7cfffa0413e370c298f3fe3b6a01e457ec376524c9d40536258f7c0fde1e76991774291571117f76 WHIRLPOOL b94e253e2169e8b3a958cb49db81a86aa7d35de29b3fdfc9c58121f18496dcf440b4abe7b07c6d952f3f2172155958100b60795d96485108f874fa163d8c1883 -AUX grub-0.97-gpt.patch 10682 SHA256 5e38046cfb727420e5b4b19d71c7fb4ddff22cbcc356c9f888763b0c1963d389 SHA512 2fe10c839c4c575750f7eeb29953c00f232771a3143687aac21e3b90585ec59d6f7c0346db80c0aa3c18d27799d301711d6f995f6781ce8a148c7ce59004e1aa WHIRLPOOL 22b3d12124115ec78fff2b3699c44d3b2c0bb84bec673e36d66e73c9da89137d237b1c7681b671ce89b06b2f4d78f9999eca98f43aa284d2b610713fc4161226 -AUX grub-2.00-compression.patch 2051 SHA256 003cc6b8762adbff14c1d0f7a0c2ddb145e80d73e899439fb8ab12e133a60feb SHA512 2b57ddb395cb5aa37bc3d721f3d4c527a1d5165c0b5e1c2efec7d169ae2438ad063ee67da68eff4069f0451983e599ec40ed92a0bc33348a21ad622738bbc213 WHIRLPOOL 2c61bfd65ed1d53e42a1ec881f3a7e42904924097460f692952a0fbfa46cfbb029374a2e6cfdcb1f2eb1216e994b56265e6e0e72912ecda7de90daddc03931c2 -AUX grub-2.00-config-quoting.patch 3934 SHA256 4f1bc29429a864731edf4a5a5fa53004dc67bf1225bd8fa81cb58b197df12510 SHA512 bed0fb1a8589c1979cf7162599e041c8b8eaa66bff3e8fa4a8b9929c8e8191ec1f85c129bcf2f7c9dcc75d5ea50330067ffd519835308460f7a194aab40bfc13 WHIRLPOOL 979234f1d3e1282d1e6d3ac4aa1e01c86082a3883abd452f0f1886181a6d46ccccd8e6b59628acfa8dc375ad9db1b35037d9483f87df2893a7398402dc7cb51a -AUX grub-2.00-freebsd.patch 16465 SHA256 5464dda43bed28634e406a3b182db1d76e70059e0a3b3c276ee91ff27ca78cbd SHA512 d0fecaf83796971ef6f2cd43cab4c89faf1496d4241e249467d7839b366c616e15a8c6961d9224ed0e139d018d5d9f354cf59ddf2ef5e915a4b03e11dbdf568e WHIRLPOOL 963c61923503a57894634f0b3431e8e701a83f6514e5829f0ed91fc3c9011fa39870c319e1cbfee62341f1d37dfd0fdadcd4a028b725bb65d2f06fbedfd31166 -AUX grub-2.00-hardcoded-awk.patch 599 SHA256 438c7357a632c7c9efe406b1d7cbb2524694e68c5783b401d3dd17ae0aba6816 SHA512 f47b742b9fa4c57e36e767ace6e14318678cc429ae88cd275e07d95abbc8d3d01d831058da2f6f91662bfdfc4396aed5417198245534488359a43023459d1a1f WHIRLPOOL 17be198f854466ff8a50c5b7d46eaf7883a4ce8cbe3a89cbc0e62d75ae71e94ce863341c0650b113bbee4415220da38896da73177ab59d2b53d3bde7ec9809ba -AUX grub-2.00-no-gets.patch 805 SHA256 054d85619905055a0ea0e5f9d27eb8c8596959598ac9a5bae7e82543c19adeaf SHA512 8b89fa40efe232474e7bb03d12542030d40fea1fe0839a9493f6704fbe6de77516b5976841bf652c7236104513f427750efc668248c71ba0ea7f676557e8c9e3 WHIRLPOOL 796a7bc4583829abd1a552f7d16d6cc4f2999707af1ae0b5231fa53e87ce22a265a35a3d0f486fcac2e74dbed5fd54e3a572186cc2ba1a849433adc021a0a65b -AUX grub-2.00-parallel-make.patch 1907 SHA256 7d8eda92eeeeb87001bc44dd1390b96c927c45542af2984c5d80f9ca3a552362 SHA512 cc2c47858ca2fa76b081ca78b6090fe61f0b41d6aad21f07e269dd9f98355b7c148f62659418257c24aa370634060ead2c3a612aae07c6f53e9ba13a25a1d7fc WHIRLPOOL 9b5aad7db3ec5c60151984861690b64e90d6adbeb1dec4257d33873156ae6ce6ded432377520cfb9cbbbbf2f30e69e134d6dbc0007355cfa74521042500d844e -AUX grub-2.00-tftp-endian.patch 728 SHA256 4806fb14471fe6547cb69e6fab97e66c8245654acbc4738071cf2717368de458 SHA512 8fee95b06b50f8721d7013ecf8fb954e9b1ba83f99790e165ec334dfcd41fe7655f37868069a315acd4af97d3c4466aa36e0ab5a8b767faf862f1d71f88b3252 WHIRLPOOL 53779e4952049f069824eefcaaaa0e46fc9a7036ed0f9b67008e523f618105d760300ffcd315f861de786c63de02b2753d3ed14637b39fd7af47aadd02355695 -AUX grub-2.00-zfs-feature-flag-support.patch 31186 SHA256 596d509a22d1f3c2bf27864ff285d7ae8e39b3912347163a14afb36812de8605 SHA512 e262f33de0e3ef97c9bcfc294ba40638dd66b369a4a72bcee42c2d5aafa223eec96b1ed841b97c09b40db798dec38504397ad6000eb3b98eb8b29457e0dfefa3 WHIRLPOOL 70314defe1fc0704a2e3ff2579916a8a206b9437517096b3b1129991dd3364a994991f6bed0d5ace51b78c9ba469afeb4de88d445600783c91456a1278c9ac23 +AUX grub-2.00-freetype-2.5.1.patch 752 SHA256 95ddb348097df2bdf51a36529935118ad4bb51cb780038d149ed0ae3bf0693c9 SHA512 e9d05de956364b923e01d8f71d77f05d6c0815b7ae21ec5d34875de09770ce42b52f7d410314f7e4a273256350d7cbf311cf95a5d83e469c7a83b9b69879caff WHIRLPOOL 67751eaad605cf064106f2a304657bf1fe1ea1f4bb3f6efe436f2d7e6b84e80b56327e51cff4db63a7f34e7f21a456d3c7517d6ee6da5f8f2cbd7816f34d4016 AUX grub.conf.gentoo 627 SHA256 914b15af252210a32776196437cd8013e10e57d5780e66877ef3fe9a2b4b9776 SHA512 5ee586c151b025a153867d2854b73e2e18a6af38e9d65069b7114a55af776803ba947b4901b0806e79fa8f36aeac90daad608b9ec2a4a8526301d1beb36e4ef3 WHIRLPOOL fcaef85cd7c2c446c882874cf4ec8a2241d1fc97720973a0a0cd1add259da599d4dae4d0b429ba2dff0307ed2d4598d5939cbc1b11127a0dedb3a54249ec9f81 -AUX grub.default 1254 SHA256 181bdb7433ebcbde635e7058a1febaf0100e4e9c83ea4fd222d7010c375882d8 SHA512 1cdce5d9c606a2cba29ec859df96de9e8c292301ee3f26dff848816cda950088c0660dbd3401eec97b15841a2544116664eeda6cb0be753f6d160a7e62578dbc WHIRLPOOL 03514e95078f4f4d176e85ba3a739105a7cbf58a6c3e2ba4a2c660c48329dcc78b968391ecb2d9821084ba4ddddbe03e41d9d6c36685f1db1d4a1f00a1e5d393 -AUX grub.default-2 1470 SHA256 fcef668c1316a38f6a1c784c489c2052b23b8e2b79dc1a940b5bda831947af74 SHA512 5c331323ef17683fdfc59b0057a6e89a451039febc4ff6242c17cd3aeda0ef60930a79dc52e180bf534f94867a8b4545655808ae5a7362643542fea42b6a0d91 WHIRLPOOL 5f8a1192763ee9089e48a7eff13ef75947e7f4db20ff873ae86fd99920b107de827588558bdc26d2bf5ee3da4f51a44d53470aa65bf73ab565cf23e84097de5c -DIST grub-0.92-gentoo-0.2.tar.bz2 21727 SHA256 f579b49b2d24702905c333ce2b6170a554ce26d0232c65478a21a1fd2eb8b8fe SHA512 ac90f58913203b970808e3a6e20ce367af1d6a262eba5f229d080c7f5eebd228bd9add9a423d642f8a53d915930921975af1d45116f18bc0be982320b898ef1d WHIRLPOOL 2bbfddab5da2e786047e25d95c0c8c6cb70f5174df5991db3b09657bc15802af81bcb124bf7723fca3c2016eb42d9f06ef2b8500920ae15de3624ae87c8d3d51 -DIST grub-0.92.tar.gz 877112 SHA256 197e690faed45bcbf854ab5dc591053d6f6ed1a5b8e5596c4ba27d6f0d50eb37 SHA512 11750f4dc6606e354acc7f459416f0a2efaedcd6e60ab85c708de0d04eb7876a899292067c651cc857db30a7a533714f21719a9eb65c14aef9306c5187843bee WHIRLPOOL be47d1ff182dc8305d748b2e6bcf0c6796019eb1f59abfb042ad3bb4c0922c25b5420ce8c6bfe2c098ef120088866b9623e85e47902f8441e061a13c65b58ae1 -DIST grub-0.94-gentoo-0.1.tar.bz2 40585 SHA256 6f5ac30e0495917cd062c48568bab582f68f288bb3fe4fb968869fdefcd012e3 SHA512 c24e5b394a12c557bb023ace27975415540c0a6386a57fcd966c3acc15284e76163bdac4a2878cdae217c4ee276860691dfe7e061b734adf2c493ac3be66fb37 WHIRLPOOL 78abf4a7211a246e99eb30bf74df7a016fdcc66e3bbd2e3abc847e000896723c144f9a0b96d707149ed0cc230d01effad9d4001ad9dc7d4d2ae44a53476b6afb -DIST grub-0.94.tar.gz 923518 SHA256 010d15c823cbccc7b5943735799bf8412ae18391307d4c2d5f8dbed158cc4a1b SHA512 71892db0cfcff3dd3a38ebcbb062419ca9757f0335a26f67a31cb2dd3782f68424753103ea2cb22edf41c2f03d6df28b94828704176ad4ac1c97d836a518798c WHIRLPOOL df4a0cbe1a563f508fae74ad3192348456459962c1fd7d5fa110b7c4f7b8d96033942f4a0f95ead439bc7976b92bd5926482ab35bc9428fdb1c6c1fffc97aee0 -DIST grub-0.96-patches-1.0.tar.bz2 49828 SHA256 3d31cab8131d728673d1b866890a54f7652cab23dc2c4b9499e1f51f0ea6e956 SHA512 8749085473b2064bd051bf79a7026f172b8d87df31c0e9fa1a109410373d15a0c13ccffb92b396fa592a9c0fa1bf37abd1132aec94db30de253715ed668d561d WHIRLPOOL 3db4930c68d2f6f067ce09e990faa6763d148348cfaddd8add2a1988e9727bb69bddbb0a8a5711887df1e8eba69aa96af0b2f4487319cdc240818ebb939c7825 -DIST grub-0.96-r1-gentoo-0.1.tar.bz2 47051 SHA256 3457a18707a0c733cc9e6caea5b41ce182b55add08bc69aa5b4e2fb92676431e SHA512 71a4245bb063cbb98e1735a0520d7d626a763dbf2683980e4695fe45972552de671ea563a1a4cb2acc260eb243825e5d58365f22014902de7d720306251763df WHIRLPOOL 81505f373fca5312a843e6a100a74827b55dd3a226c4a11b53f956e20012e09a1ae96891618f597b921c615d9a2846419f1959935e615969924ddeaf5e5b85a7 -DIST grub-0.96-r2-gentoo-0.1.tar.bz2 47639 SHA256 78fabb16c53518a3e96b9984ee49258ed5cdf23b8c33591c38ddf84912ea7e6c SHA512 6e01f951e3321b0f0ecc6f935e2d9e1bd766f46ecbd46de4921bb6050b4d690f8ff8c9bab627ae48826cee40605a75b5fd9afc6bc56e4af74c6501e8a6057c62 WHIRLPOOL 69d1b4a84c0afbc2a717beb1407957104e1699262bef2e4ad4400e18dccb110f59aae55ea528a78c87dd7bb070be93768e0002c56c4810d1f943c1feefc16e2e -DIST grub-0.96.tar.gz 985761 SHA256 58ba90b7256b1d2a920a7d89eac73ccab01916745f698cbe4fe1c853637ab9ba SHA512 98be0be057fd67f0ced212576de98907d39863d45ffd53a8a8576de05f71e7b28d97be4e544bf7257f0c1b43839945f06fc2a57bac7b7c973cb5a868cc78e1f7 WHIRLPOOL 477ab4234967026e7db253b66b05b5b0ecb1f70090587a992cc5c977b37645f61e9610c9ac21c1fe4a9a4d72e532369b49824dc3c388ede334276ac63defe1b6 -DIST grub-0.97-patches-1.0.tar.bz2 46259 SHA256 b3b9f1998e42684b452cf9793523a1654af8fdf82ab208a8731a32c8eeaacb8f SHA512 de545e96ea0d6e47cbf7e38001f625a43b2d032d4a4a5b4866af99b970f0c6100c8486b68dcddc8ee5768fc0d3999c668d765d4498233ef12c6c202ff4d0339c WHIRLPOOL ebe66e7a814a58185baff0dc862839e96520c5aa33aa38b7ef5b3d46a5a8505afc22580134baba64ba295b037cb7b72f93303ee235e04a166c64dd63fa4a14cb -DIST grub-0.97-patches-1.12.tar.bz2 55811 SHA256 80cedf74d29e334182d8fb906035d2c365b96b6e8a09bbe800f44f98c828ac97 SHA512 c823f01953da5067217c635cf919379d7e3b21929dc2b71463ece6d35b51905c03d361353066eb3ff56cb30460336b6a420889eb007c5a37be66bb7222981460 WHIRLPOOL afffebb1650c50b4bfe33146553c16223d71ba887ecaa9cd985b47f83b2023b691d79f86f5b52475b7799e1d7a11979503ff86d25e9108fd4fa3dcf6aeae7fcf -DIST grub-0.97-patches-1.13.tar.bz2 56412 SHA256 765a7f0bd3ba65d27413794e75deef2c0e76a788dacd0b5387bad21da4bab94f SHA512 9b5d0ab54a839a96c695871fb44605d49ae42be8c31545da6ddf4703ccc45efd2cbe7babb7d6f680ef24bef586ee8d9df83a942208784b9a0d77f79d0f0456f8 WHIRLPOOL e5e09e9ed6734c837453919a767cd5c5c431b4513b25b8454dbdaaa03fa6606de57d1627ae5216fcacc97693ebf6f604fddc3cc6a5afc8111da8fa51a220edf2 +AUX grub.default-2 1602 SHA256 d1c11fb4decbae9a9827866ec2126b2c11a3d8f6b41278acad139b4dd34338c5 SHA512 15085cdfe706379d931c6841c34403ffcb46765be75425a29b563d69169124447606d8f8444945ed1148ac734da4f12f14a9b18abd6b0501974c1c770ad13c39 WHIRLPOOL 2f72b2a3d4048261cf3d5477b9a33264b3214a803eebcf4b782c33cf71d045e9be878407c64c720c2a7b260a65f8e32a61974c55ebd8d464e0b947133cdf49fd +AUX grub.default-3 1872 SHA256 84a7c82094f741fa33b2d883e42baf3157f44d26aba727812fb2f3b1a5f47d44 SHA512 bb49012b985b8f31f19d0598d321b0414f68c12224f78a0565dc190f082f754a78c95cc924bbf65e338e99311dd7f8a53ccca6c9d52583a3ad4b6d6f4fddfd60 WHIRLPOOL d85f7071190a7dcafad6597c68ef93f61b79887fd2d3fb144f16f42fcef85d741b1927f1b201394bfc800ffa1916650cf4caf68f310573ecab69b28e6a56aaf6 +DIST dejavu-sans-ttf-2.34.zip 406977 SHA256 242e8c1cb2bdc7458bece02cca898f962c2bc919dcf67d97428149228290184d SHA512 dcd802b9c83cfa749b7542d0855eb1facb665a035af8c05f58830fce3ce37ba8d4a6f0353c07ae924c7fc25460d330b7312cbaffd34a2cb314a8e222de385c1b WHIRLPOOL d8b3289997cc39aca1c909ac1cae79727a19932f07b116a4a0bcc83e4a2f136d05d18c8ef2b05504a2f1f65eba85f93d61d52b0c913be7bb3e23f6a403eb6a82 DIST grub-0.97-patches-1.14.tar.bz2 52916 SHA256 5c7ca31fd9b2123471daf2e46a1936c4044ad0c12e353d9d3d8c3f83a1c7a0e5 SHA512 d9a8d420fd5a36f181ca608f9b70be90f9d82cee66c8484636fda5085290586071b5d9379d917e8141b993ffc4777859cd02971c916d6167dca6f50d83282c26 WHIRLPOOL 60abd5087e85d9969784b9f5a100934606a76da03b665533d9d4d1d13f4e2d15de233a71e67a32d18a5fbfe128c2c8bf04c0d4451de24e6ca4fbd8dd862e23ea -DIST grub-0.97-patches-1.2.tar.bz2 20872 SHA256 0a41e076ce1c1dd92b4eaac2905ebd5624162b5258ed0cb234889fa8beb38049 SHA512 2f1402c5c2b32e9b3b492cf58bb2ea952b726fcfbb4104134e667dbfd076509b27228af1a4ce86f36eb3cff7c47b10887f56a25dde3313defa83bd815b90f072 WHIRLPOOL 99d5c5bc91d56c6376673b2d4c1f5bca70ea2a0b005ed7abcf46ecdf0475a2e4b875131b5b38c6330f1c662f389edf9ee57716bd1b7d3adca629782d12d7cabf -DIST grub-0.97-patches-1.4.tar.bz2 24693 SHA256 290dd96fdeb9471c516f061f4949ccda33f8d03ab81a6e2beb5005b3022e71da SHA512 349a3fcba0f56f4c54aed4d51c8ff91e66c410135e05743bb0762f2e4db62048621d0f722311336d8e29e550ab6c1192eeb6b2aaaed7413c174c5c07bcab7446 WHIRLPOOL 5f2ec0f44f8dc274652cdb00270785742740a24a1507854235804537b95d96f327c10b787f084369807bb4fb6393c29e72d55c4d4075f31feaa6cf6f5f83be87 -DIST grub-0.97-patches-1.7.tar.bz2 31190 SHA256 6dfb17ff874ce8f737211a728c319a133b90e3633a80daf5ef370c15ee625389 SHA512 5e2cb9d28797b110014d1b15d1554963b1a7c5d98bf8218673de40ddfdd125789a1f9b635b29592f35616ec8b00ac32e84bc7a49801b02361a7e1f125274d1ce WHIRLPOOL b1333cd1af1a375d374404ba48dde76f1c8cf36a44692f44af45a3b483f765e466e4b4ba7f11c160f621331d7cae54db93aa255fad347af2ab5ee361b6874a89 -DIST grub-0.97-patches-1.8.tar.bz2 48274 SHA256 fcd16e6def8ace7bb5928c2d16ddb032a57a5df24a69f9cfae5ce6292785318b SHA512 43c86ef66cb7cf72e48a198caaaf036df2a989c9f2f6d9e0ca7b25fee59bb1926ff1ac22cc56bc94d0927b468844fc96c4ebb70e02a1bec5648b31244498f166 WHIRLPOOL ce8835b7d41b1c84efd8b175f12d72efe36c22ba5deb8ea3d18a5c4255136d23e1cc036b888fe71759bf8e3e6a0f9e47481b4afb7255ccb5232b248995ff0b93 -DIST grub-0.97-patches-1.9.tar.bz2 51809 SHA256 6b8445c9260803f059031cbe7475a45fee6499fc2dbd911288af6169455c4028 SHA512 b639bc7a42212a4d6ca106f3a6acf18aac88494bd5d29f872e530af0ac9552a9fadf34d9197c8335922dc19684cd2866a3648ce828862c540380e052e88c2c25 WHIRLPOOL 6ada276e2cd3aeb2792219d79ddebdaf6237b21b7bed86a42ec1c11374d42d2072a19959ff657ee865c9ee563ab3a157da983d320f002a1e8d8681d01d84b6de DIST grub-0.97.tar.gz 971783 SHA256 4e1d15d12dbd3e9208111d6b806ad5a9857ca8850c47877d36575b904559260b SHA512 c2bc9ffc8583aeae71cee9ddcc4418969768d4e3764d47307da54f93981c0109fb07d84b061b3a3628bd00ba4d14a54742bc04848110eb3ae8ca25dbfbaabadb WHIRLPOOL 0ad7f5dc035e2a3ad5fd29b6388f06fd12a8cc694117b4cbd42b5302433aa522db23566222d35219fe17fb95edb5090553156198507f70208eda5d858fd52dd5 -DIST grub-1.99.tar.xz 2639224 SHA256 f308148d4c83c6f16a73b58a0cd39381656edb740929028cae7ad5f0d651021b SHA512 604b931eef3781cdfbd9589ed76c96d6bc9fd9d6429a7a32c94ab1ea5dc2b2e1e26b60c93353763831bddbe071368779bab8564234139cb5eb6cbc3c88395ff4 WHIRLPOOL 68d9de328eb492b9dc1771db6a356de9af5d0bbceb1e187c0aea48f117c94b492c721e773e715664d3e431bda7f0ff5d63774184d2f2c413a08554a91c13dde4 -DIST grub-2.00.tar.xz 5136412 SHA256 784ec38e7edc32239ad75b8e66df04dc8bfb26d88681bc9f627133a6eb85c458 SHA512 f0dbfc90639491e5c671d2df206dec0139171bf096a99ee236f7ebf21cdafc6e6d39a9607e14ad2a6aee7c199ecc63f0a39573d969318e1a0cd32f989aa6b44a WHIRLPOOL b9690c023ab507926b8615ce28bf9de82b793ebd02126a5ecd52a130ab4bc52e2ae650b02ae2d784d4089e2981be944ba8b4800cde742aab793ff0d9029843c8 -DIST grub-2.00~beta6.tar.xz 5122792 SHA256 e58f5ae62b3384ccb75ea9709c85f344b68823e422fd3dea127b1dc28c08abfc SHA512 e37e40f888c962c561a47c459b7d2a6e8b38d736169750199656fae72e227472695bf820267cbe9f73635cbd07d1ae2dfc967c3e18d17e4d595ba4ebcfac8e8a WHIRLPOOL c7074824bc369ef5179418acf222204ba35e87d7a582cd0e03abeca4fdff4b5a2ad89480069297da5ffd9d37cbc5941a5c38f7b7bd533860ce8a001432144862 +DIST grub-2.00_p5107.tar.xz 5836972 SHA256 92fd8f93621e7083f32ba6ef407f2984e5d3caaafdc35fb3d89ed054ca7c4dac SHA512 a70017dfc837e8fa869af7f71ca6191973f3f44f5a93378100cff5da425aa132b3903a3602ab907ef070872bb7a17f0586c8415845645c596d0621a4929ca83d WHIRLPOOL 5d88806fc849d2ff78ca590312110be4505e2801fee7c68faba39a54a44eedc16eb25dad88f1ff0058dea2e98382944c7e7632ccfa6f4a171ff0ef00cf67fd2d +DIST grub-2.02~beta2.tar.xz 5798740 SHA256 f6c702b2a8ea58f27a2b02928bb77973cb5a827af08f63db38c471c0a01b418d SHA512 359903928febce1df53b3bd38aab701b4ea010dfad0dee434e853c865af4bbc60d115e61eac100c79f18d89aa78b2216ef20123f4ef04cc948ecbe226ea1a58c WHIRLPOOL f92e94f43888648484a972a0c82b0a2ac4dc7fbdd6e35ca8b11a6ee92168ac8cf7ee68987b84697ec46ad18189e5c5c9aee8105b91bb131cd7f6f499f45cd58f DIST splash.xpm.gz 33856 SHA256 b95600f777331b0dd31d51c68f60f0e846e4c8b628857a41165f4e6b30e6acaf SHA512 5ae1f786f7d46a95a7061068d5b2b3ad64607c7b190d6f28379508c5dce67e26308325bfd637542a84855dfcf1ea3d143947326fdb189a6a8972208d3ead23da WHIRLPOOL d95b7b588ea8ac7c2c8c53eb8057aef21c825da6411afe3b7e864c606aeffaaebce8ae41ce3e979f277bd6b48a9e82a1f2ea8afc836213b56523d8a854227d7b -EBUILD grub-0.92-r1.ebuild 2605 SHA256 cd42e232b3d1e3ce99fa391907df1019f38a853f574cfb812346d9b1db0c7596 SHA512 8e1f79d34e3398be574d83a3b6a28ba1adad2ff80fdeadf6bb13cf3d77d73224372161a27f3f079e01aa4b564395473fa658eb52a38c3e3fba937557c0c1b41a WHIRLPOOL 090466918d908b36416a48f8b5109b8042bebae5fd5769a8b27ff3cb6f80dd769ee7960e4981da7ef82f9243a945ec6397e3aa70e958423adf530baedb6731c2 -EBUILD grub-0.94-r1.ebuild 3340 SHA256 d9d07a2c87d1d6656e42559244e1c4f06e47aa7dfdbc644f2a3eeefabf3b784e SHA512 ee66f414607b9d2a14cf8b3e7af5b3614836f35417a45e1eebf3ba2e450818dc6704f80e6b62108697f99b84c3052c9b9dd0bd0a45b021de1b614106cf10641f WHIRLPOOL a538c069f51d9a12b24a083f8223907bd4c1a2ca10b1632db94dc795450739d069095f20c59c6d73528d23d22e288c36f0ca38783104b0eba5588fc9cb3aebf0 -EBUILD grub-0.96-r1.ebuild 4459 SHA256 f7fa0fc99b2554897cb1ac437a49c64231cc0d1513b0a89d9fab78e61af08b4b SHA512 35c917af6d71b6f3f9428628b5673f1ee892c2f7c2d8fd6f8c7ba7605d8c674ff46bebaa7fe9c0815d4b6af92118669d01678e197e066c806690510171adab47 WHIRLPOOL a80d3ca9d42c412f5526cb1927d939c33b15230589eae9a79a10a2db87f41eb2921f848ffc9f1ba08ad7a989bf8419fd4af861024c9d6fc13991a0d9fdaa3184 -EBUILD grub-0.96-r2.ebuild 4315 SHA256 47a243f251180b5e4a8695db5d81eceb90f4a3116c4abc088a1ed656ceadec9a SHA512 542b6a4f3f63e2c5b5072e4cd6b205b572d29b734f0a928330e77bcd5e0b26489eee8af26a6a29eb22f75dd69949f1a640e5a9c1a05b329ae9874f885f0bf291 WHIRLPOOL 5bd5b47084103148bd281f55866547ad337da2eea9112a27b3f6dde583733a9eff7680cb495376defdd6b02afb394a7d515d313d84a2378c5c46ff8cda5323c9 -EBUILD grub-0.96-r3.ebuild 4291 SHA256 ce7a2a810dc1df885b6df4ba6e4bdb9e2db68954bd49ba7259b8e7a7532a49b2 SHA512 21014ad6e31d1cf6186aaead0825b1932d3e7027a7e58520cb9a6f16ca146eae54b9bbb63f5543f93ec80395f8bf5a819159c9b690090b3459db8c8ad2b27aea WHIRLPOOL e78f6ef6fe7ee056ae2b4f6142e106ad3bace7f37a6b2ea32b094d286df5ae250c5506ab75fa7a1d5469e0871229a2b481aa995d65a8b9a721318b4a2817d687 -EBUILD grub-0.97-r10.ebuild 9459 SHA256 86413acb2ff57ab54b2f53499ccef341fc734edda73506ac56063667e473fec6 SHA512 c5d6a183140e1637300db264068c08347145d2808df0206e775458a9ccdc7f2a76c48b76545d563a27f141c8bcace0f17ef71e99e3d8e1de0c5cd6d45ac8b18d WHIRLPOOL 16ef1de80a08205af1be71b3cfe4b0959591f8827bc26a138a8a92e173944f0589df7e466263c074c96ab1e25eb7dc7669f352526d3a6f433581218812aa004d -EBUILD grub-0.97-r11.ebuild 9460 SHA256 adab9a8ca3381cc500b81f48315a7ccdc01aff8bab661a498357b28df580c1e5 SHA512 c5314029baba3a32d805c5ab55d8f9d886cd6954610b7989df30bf0272412c9b1fca734c968e7462cee9d17e46c8a6a2e3144ed09ea8f41cbbf6b02217ad3dde WHIRLPOOL 64b82c6aee372085aefb530d248d192e61fe05e29ed1b577c9c7923caaba18ff309a904fca4ba813e9e5505eaf8b57b3b8ced3c0acd91a4f556e7a546407be46 +DIST unifont-5.1.20080820.pcf.gz 1379965 SHA256 122b9c470f29b70223b0e07404a6dfa7f339fcfa6ae74c024f478945af7a9a63 SHA512 8939e2bc82ca97b60e6678f3ff079a2be7ba9b702f2e8ee289e853af5823695f7baafbf14b674fc5e41071f2a6de4f2dadd56bf8b4653849dd756d59622f1649 WHIRLPOOL 0f083d66781cc4c3e554ebeda4e21843fa275ecf3e1908b4873fadfe37b7c88e8346a124656704bb1b29f89afee23d6301b4df0f19e788f454c60d47156fe78d +DIST unifont-7.0.01.pcf.gz 1358916 SHA256 7618a96ad50703213848af8ecae816828f528bb8ed179a749f7ca2b86eb15805 SHA512 f985e11729d18cb16d3e46fd1004242aa731a9b03ba16035f5954076686e8cdc39df9087daded5e044ead995b03650d8cf1bba9d060d65b5c3af630dbc9e3260 WHIRLPOOL da682398a22abd4282674d9a79b8fdd53e03054863cc166e43e2640dfb7f11c0b71cd3e42431f2086692f3a4202c2ecae9d6d7126249db0127e2da276aae7c9f EBUILD grub-0.97-r12.ebuild 9233 SHA256 d5486666e1f8339a8308489607c9108cd34e8ebc696a956e2ff8dafad1c71815 SHA512 332a89395331ef04654345f960f2939340ce9b47ae6ac755e54f4ecc85f6243060890e7553b515468aaffd8346bbb5a0b7fbd26d23911b847f12c557854e96f1 WHIRLPOOL 1a20c9df999954ce431ca50eaaa5651721c939229b3a55d820445620218ffa64d43ba6251e88b1df6f54163f6914265596698db513a47d3c415ccaa01b51e61d EBUILD grub-0.97-r13.ebuild 9384 SHA256 c694ab37f477548da2b98c9beb2c5432ddd799e40fcbf82273cd2da3fdb072e1 SHA512 615e4d11ba91c7bc2fcb926bfc791d1aa3151a06dd336f9597ccc5b22a4b6a1bbffde5f7622ec6cc4c04216c63d99becfc9cf38bcf8fed476773bd3b7930fad2 WHIRLPOOL 91d94e1f90393bb5137b791bfa2d73b418938091d81ec44b783d749ea08ee3a615a5ca4d07a841c66429f6ff7d480ae2ad4f0626576ddaab459f111106160761 -EBUILD grub-0.97-r2.ebuild 4820 SHA256 e76d0df0f865851a7ed5aba91b4f275ad099d9dd61f897c8a27ac0df31880a2d SHA512 c021917b2b54ed54205dd9d0c74be86882367e04f94e69460cb5c44cc15d05a2762140d286823b8abe8650ae72c0f85c646225d8c463ecadca9742b0ea391a23 WHIRLPOOL 4c741c97cec4820bfd7db26da9fd2d07722c2dc68ecee0388a34cf284c401dfe47700e517c427a55a76644f3cfdf52cb5bf47f7ff3e2a229cd6a07e4dab21f23 -EBUILD grub-0.97-r3.ebuild 4697 SHA256 fc6caf4957afda2029324f73403248c2916e5736a0e779fe1492d0c69fb8d358 SHA512 255f3628d98d4e0f9ecb17bb7e1f09c256abd5da2388034374a80700d7c8d0fb016e69b5fedc109e1bd2bef0e49e090612e77ae5531552252dc35f7110b026b8 WHIRLPOOL 7ef1de92ab6ecfdfdf3b1e64f50924de3702e37c0c142120b3898ba58eebaf15ca42d65aa63c5972acc8124d2e0196503e4cdde00545ab64a7185ffdd6e066d7 -EBUILD grub-0.97-r4.ebuild 4942 SHA256 28e7599759c86df56eedb0390553c85cd5b59ca4188cac2af7d9024b2d8743d4 SHA512 939469c8504dc60a56846d8a5a329673b363feef3e41b54c43b178bb254a3d24f1667b0bde738dbd04a3e5499060def55d758a49110bd89caeb9d388526448ac WHIRLPOOL 9187ee32dc340a66ebdcb9775fda2be3bb6990ae9352b34b0c5c6381c425a3b26140ed2e39fb9832e7fbc9643364392f116a0d1030dbcf6f616b87fabefeeb07 -EBUILD grub-0.97-r5.ebuild 6855 SHA256 3ac1983105be92f0fa20b22ea422391860dcec6975e2278878329532be3596ef SHA512 e770c35e5b91ce9d93c8957394f8a579e333bfd9b209358f0fb05c892eded8cf42acb040c92d4a24f991714ba8658f87a7d62e7dd41c0f7ff524d2915b14392b WHIRLPOOL 10886d92a05480b957f8f565d2b852ccc3da386eb7d0d78fc98238526b3dadfd692dc84036b88341374f1b92e913acfb48592e27d45ce595c7c33d1533982c45 -EBUILD grub-0.97-r6.ebuild 8808 SHA256 2a425bfcd935f7e3d16ba4949067445f851a46bf837a903a2822f7a319bcb407 SHA512 409a7f3f4dca29d76b9a8d6193614c0a801abe196fc096b7dab8db2b8fbe2dbd89ce3f91db576e2c988be36cf06253fad17f93a9807d0a90a4bedb5e6a0228b9 WHIRLPOOL 5d86053fa3be9450004c7637d2677b92eeee7059de2020d0fb509f0034f9b0c1ea56e400bc29489c503f6b7a5bfd59e13f92197f1d37d5c7aaf600be2583aea5 -EBUILD grub-0.97-r8.ebuild 8948 SHA256 3eb9b11beeae64c986c9d27233f79525f271d0362fba66c8eccf6b2a62fc7463 SHA512 0d1ecf0fa67d282d01932683aa722028cf42c0197695a19d2e11d793604b2a275a6bbcd968b1f6d3281a1d258bfd674fab6cbbd704e7e4f73721948b68e34c1b WHIRLPOOL d7bf10cc21047f2d05e6a49d8de0923f4cc5e009f27ccea9f574165afec01e3b6a4e4d55f69b5ccf0652ce4a34918992f1533f0facc18660864313af3dbe47c8 -EBUILD grub-0.97-r9.ebuild 9053 SHA256 b6411eb5c379cc6b9120f1f727733d9724c4257405c3a7a1935b2aa573085726 SHA512 ddcf78c3d72f1bd854ed44753f4870fc9efd0cf69a28efb24423863c6ad740657affa74eff403484b4f30046e338d4a506a71e5d6b1818022377a1a77880b004 WHIRLPOOL 13d3adafd3814259081dd783067c077fbaebfa2974214d5b0249c818aa3cc004cb2bd526b18f1c1a46dfc0641325a92b87c8f73608972061c52c7ded99e95fe0 -EBUILD grub-0.97.ebuild 4238 SHA256 d93dd5dca80c822e0659007b827966fb69c7f702b13ba672b4c3f486af54cee1 SHA512 46d72cfaa5735d0b3d2d89a8e6ce83745e4645370cdbbfcffc37d1413ffeb2b1caafac8c7cc712925ffc09411870b06467eb50bc475997508e7beea8fa5172d7 WHIRLPOOL 4b6fe9a7300baf6364555858a49ae2775ea0da27291d5d48fa634097531ae3b6da445ee2f959ef584bf4c913aad5e689b77e7326af257549ef107704dc0d202e -EBUILD grub-1.99-r2.ebuild 8413 SHA256 13a1281843b801804a5f2dc491cd21d6ac4d068c59e739015dc949a51011f585 SHA512 520bd623cfaf70451b4331f2dc464982f4de1b0c070ee8c0b336c9d16589aaa96924ea923f4c47ccb07d3c8f6da987a89ed285f1f4fa8f922465ab912e8940bd WHIRLPOOL 5abb91bf54a5024b225e7c3891b884827b31e6e8e380db9aa37fd520c55cd2e94ce1e7545271d52a58baab63446906cb69440177a4678000ac519088b9ae6966 -EBUILD grub-2.00-r1.ebuild 8862 SHA256 c88e12c0de910726920616a0fb9fecd1dab504532287d9742015faab713268ab SHA512 2589fb92dee5d6a25af6a9584ccb45c6b019d219fde0c3dbde1e35abc8a82e7ce8793375e694c30372ea98da9e7383db98b6639c8ee93d23dfb0b9cb6f0cc838 WHIRLPOOL 06f3d43667856a0d6c2fe6ebf3b89930171f047e66ed9df5d766b8851b9bb5ae0db7f72a6d319d16db18a1968b6a4d6c4bcf1b8532df168141bb9c9f0733d24a -EBUILD grub-2.00-r2.ebuild 8674 SHA256 371eef0156015ab5216baaafbc5faef833c83048e8dc8fc0434f4358dd3a13a0 SHA512 4b461bfb162a43d98bdccdd8927949f7b2073684e9a6af7becf8dd328c0abc939946117ad5044db4baa233000d9db525e71246708f345774ddd81c1c7aba5242 WHIRLPOOL 2f6f4eebfda762159e6bd136ef0838dc1c3aff631af750708f74a91fe3ba3f2045710ad6b48294d10f5fbdc7ef125cbe0641ec3364f373ef143042d3b6084cb8 -EBUILD grub-2.00_beta6.ebuild 7140 SHA256 8026d9d32d21863e5427cac5b641fbc5f799662437bd9a40daa3f9a377a0de68 SHA512 35b5a7aa5224ba1f0d3dabaeb03d915b86a3c16419f6ef012c8092b198e8bbc054f22e4658930f704402066622b98c67c869f0c9cf5d74637c34ae786b0861fa WHIRLPOOL 54839cae4be956d12f8c62524923e9087f76c5e2c3c7db7cca074084deba71cd870238e514227a73a1131748fac501566afe29866231b68e4bbddbf2b465a71b -EBUILD grub-9999.ebuild 8605 SHA256 506e79cb8de178641162809a15b2656d771af197cb8bc4dbe83754ac99234cdb SHA512 3dcda4d909ab6f37e9e9db5951d4bad076b42e6a38a5e28431b7e5cd801c2c3e569966a5a16ce6031acec03a05005ac8dee1c5a12305fac88e38c3554afa68b8 WHIRLPOOL da73ca55e91e5e303e5f0254197722a0ff05ef223d5fc70305d6d215ef36879232350734b7c92851608989ae97d4e3c71bedb6e64557f2b93b98ac47655483f2 -MISC ChangeLog 48389 SHA256 40e61650279307893f5b1d3b67088a5e75beafe4178a90dfc782ba73a6611d51 SHA512 6abbd2a4df86f9931a6d698bcf22ad6550d4e34d6f5cff96b815c9d91eb5e3f8e3c17c274a699dd53b0a227454509f8611ed3c19cb51bfce60a7603143d5b71c WHIRLPOOL bbb9140139bdc778fe0413598328afc00cd877abbe3945d3b873ed93dd9e5e5bd5565b1afd78f3b6162599f79be5b9c750370fc5dcaee23d47db84b31f454d44 -MISC metadata.xml 673 SHA256 e14e5e46b726a3645b85217a2afbd5b04adb54990c7db837e01a50a8322d81b9 SHA512 9df3d519f0aa3e53304c956638acb927224f3ca83ba1959f089852ee7c822ca3cae99d3da0efcbfeedd99dbe630aa0b39d6f9b61d0cad8e72c155f7253c7d8cc WHIRLPOOL ed7bc1f5c8f84ef6fb18143163f239d9f47e8fd88c3fd521f625b2191349d7520bf4c6a7e6c7e3eef73a0af43faa6814e591c983cc29298bf88e7c42df3c69d2 +EBUILD grub-2.00_p5107-r2.ebuild 8180 SHA256 1db3f6266e63332ef89d9c32895189fee3307a5ca2f687620df43c5a9d52547a SHA512 f95264d8eff99a1dd8420d64539aef4b7eb464edc8119076af7c175fac418d0e554ee7bb0ae4edb57c3a1a5b82f32da51db6b7ffc4a9a62dc7541d3694b65faa WHIRLPOOL d1dd247120f6de17aaea2899760fd7daf3eb242a3945f6ae2c03eae71c33e3c6bb780639a030d9ba46f4b9b8f23d383fc6559306e40a82be293466ce6d6270a5 +EBUILD grub-2.02_beta2.ebuild 8187 SHA256 d87dd39f9f59e721a70f3263caf6367a460418c01622a5d38f6e4ab2bcf33d5e SHA512 a36467f0f75280514d7074e7e8fce3193bf8ff59bfef1fa33a5153a029c86f3ce29edfd0e09ff02f6badf363c422530d23b95a5d5ef43ba5fcae8b27916755db WHIRLPOOL d76fee7b4019ac6cd56905185193333e6c382a9cda293a42ec8e356646042a23485c6c5a0332a43cdd69d9760a50e5a868419593dce5dbe4edc037da16b00377 +EBUILD grub-9999-r1.ebuild 8185 SHA256 708107511c09a6ba441a4c9c2809f3ab3e838e617142d696f8e7c931febfbff7 SHA512 c7e0c34c908e3740cbe74a0f52220eef261fad2724524d0435b1eecf81ca4c606db2a0712a6174d38cd848583578f759ebbeadb33c200e3503a9d0c699d72099 WHIRLPOOL e72e1b245a493b44dfd22210e44af3e32cd0ed1797f3887130d711348381c1244568d7bca4895196e493cf4dd0664d492001aa5c0e9bd8b5e9b44e89b5e7adb1 +MISC ChangeLog 59191 SHA256 89096f446b5d12072f916fae749b6a29306cc1bf648d8f32dc96c4461877f852 SHA512 97fa02242b7b17c77f00e20aeae045b205f56940a73aa19146753b86e21b55b2c24df80c20a30e27641988ab5fb5451ef6ff401fc5beac764317533b3cf77f1d WHIRLPOOL 88c9d1a8457eb83c8a21c6fa4e56433a5c3473db7e19cef63621beafb2f1e86b4a9c8d0d9770d8d401ef3825c9aa8697eaa1dbb7b04b5f1d493810964918782a +MISC metadata.xml 838 SHA256 01beea9f20f03e00fdc21576a1311d3c21874980cdd57a9f2ed08a9d7cda1c46 SHA512 f6266f2f77db089d2f9289be079ef5a3637726b0906c5e96a7d8b7e29a8105cb7c48b9739f5607c0fdac2545db0e87f35132769f82b12db11a6f0018cc3c92f2 WHIRLPOOL 528d4f57ca38b0f0d4c34cd6bd60c7aeefc0fabd1e1e7be8efe0fcba04824d047a6e04288f1fbbd8e865c7435b53e84caffe7d4196809b157ee76e0d2be6f8df -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2 -iF4EAREIAAYFAlEO5zYACgkQC77qH+pIQ6S5lwEApR9Z4NKa3N1pra7I83ciCi72 -6wbYIx273E9gt/J38jUA/ippKNu3lNUJwIdcD6LEpuVHKwvOueV5KQ5r+nJDApUT -=201N +iF4EAREIAAYFAlOnGiIACgkQC77qH+pIQ6TFwQEAmbuMcXkJAwY8Wz2HGHy/DpDs +BRL78cuU871SPpQL9FQBAJinVEHFfS02306Yj6gFj9BCsq+ZUdJJ2lOSsw33s3AY +=LiX1 -----END PGP SIGNATURE----- diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-call_proper_grub_probe.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-call_proper_grub_probe.patch deleted file mode 100644 index 6d65b5f85d..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-call_proper_grub_probe.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN grub-1.99/util/grub.d/30_os-prober.in grub-1.99.new/util/grub.d/30_os-prober.in ---- grub-1.99/util/grub.d/30_os-prober.in 2010-12-25 18:13:57.000000000 +0100 -+++ grub-1.99.new/util/grub.d/30_os-prober.in 2011-08-28 12:35:40.965038455 +0200 -@@ -168,7 +168,7 @@ - done - ;; - macosx) -- OSXUUID="`grub-probe --target=fs_uuid --device ${DEVICE} 2> /dev/null`" -+ OSXUUID="`${grub_probe} --target=fs_uuid --device ${DEVICE} 2> /dev/null`" - osx_entry xnu_kernel 32 - osx_entry xnu_kernel64 64 - ;; diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-do_not_stat_so_often.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-do_not_stat_so_often.patch deleted file mode 100644 index ca8a023900..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-do_not_stat_so_often.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- grub-core/kern/emu/getroot.c 2011-05-18 07:35:47 +0000 -+++ grub-core/kern/emu/getroot.c 2011-05-21 05:03:55 +0000 -@@ -358,7 +358,7 @@ - - if (S_ISLNK (st.st_mode)) { - #ifdef __linux__ -- if (strcmp (dir, "mapper") == 0) { -+ if (strcmp (dir, "mapper") == 0 || strcmp (dir, "/dev/mapper") == 0) { - /* Follow symbolic links under /dev/mapper/; the canonical name - may be something like /dev/dm-0, but the names under - /dev/mapper/ are more human-readable and so we prefer them if -@@ -609,20 +609,27 @@ - - if (os_dev) - { -- if (stat (os_dev, &st) >= 0) -- dev = st.st_rdev; -- else -+ char *tmp = os_dev; -+ os_dev = canonicalize_file_name (os_dev); -+ free (tmp); -+ } -+ -+ if (os_dev) -+ { -+ if (strncmp (os_dev, "/dev/dm-", sizeof ("/dev/dm-") - 1) != 0) -+ return os_dev; -+ if (stat (os_dev, &st) < 0) - grub_util_error ("cannot stat `%s'", os_dev); - free (os_dev); -- } -- else -- { -- if (stat (dir, &st) >= 0) -- dev = st.st_dev; -- else -- grub_util_error ("cannot stat `%s'", dir); -- } -- -+ dev = st.st_rdev; -+ return grub_find_device ("/dev/mapper", dev); -+ } -+ -+ if (stat (dir, &st) < 0) -+ grub_util_error ("cannot stat `%s'", dir); -+ -+ dev = st.st_dev; -+ - #ifdef __CYGWIN__ - /* Cygwin specific function. */ - os_dev = grub_find_device (dir, dev); - ---- grub-core/kern/emu/hostdisk.c 2011-05-18 07:35:47 +0000 -+++ grub-core/kern/emu/hostdisk.c 2011-05-21 05:03:55 +0000 -@@ -1408,7 +1408,8 @@ - if (tree) - dm_tree_free (tree); - free (path); -- char *ret = grub_find_device (NULL, (major << 8) | minor); -+ char *ret = grub_find_device ("/dev/mapper", -+ (major << 8) | minor); - return ret; - } - - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-improve_devmapper.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-improve_devmapper.patch deleted file mode 100644 index 5f0a930e37..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-improve_devmapper.patch +++ /dev/null @@ -1,279 +0,0 @@ ---- grub-core/kern/emu/getroot.c 2011-04-21 09:26:29 +0000 -+++ grub-core/kern/emu/getroot.c 2011-05-18 07:35:47 +0000 -@@ -34,6 +34,10 @@ - #include - #include - -+#ifdef HAVE_DEVICE_MAPPER -+# include -+#endif -+ - #ifdef __GNU__ - #include - #include -@@ -634,32 +638,65 @@ - } - - static int --grub_util_is_dmraid (const char *os_dev) -+grub_util_is_lvm (const char *os_dev) - { -- if (! strncmp (os_dev, "/dev/mapper/nvidia_", 19)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/isw_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/hpt37x_", 19)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/hpt45x_", 19)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/via_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/lsi_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/pdc_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/jmicron_", 20)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/asr_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/sil_", 16)) -- return 1; -- else if (! strncmp (os_dev, "/dev/mapper/ddf1_", 17)) -- return 1; -- -- return 0; -+ if ((strncmp ("/dev/mapper/", os_dev, 12) != 0)) -+ return 0; -+ -+#ifdef HAVE_DEVICE_MAPPER -+ { -+ struct dm_tree *tree; -+ uint32_t maj, min; -+ struct dm_tree_node *node = NULL; -+ const char *node_uuid; -+ struct stat st; -+ -+ if (stat (os_dev, &st) < 0) -+ return 0; -+ -+ tree = dm_tree_create (); -+ if (! tree) -+ { -+ grub_printf ("Failed to create tree\n"); -+ grub_dprintf ("hostdisk", "dm_tree_create failed\n"); -+ return 0; -+ } -+ -+ maj = major (st.st_rdev); -+ min = minor (st.st_rdev); -+ -+ if (! dm_tree_add_dev (tree, maj, min)) -+ { -+ grub_dprintf ("hostdisk", "dm_tree_add_dev failed\n"); -+ dm_tree_free (tree); -+ return 0; -+ } -+ -+ node = dm_tree_find_node (tree, maj, min); -+ if (! node) -+ { -+ grub_dprintf ("hostdisk", "dm_tree_find_node failed\n"); -+ dm_tree_free (tree); -+ return 0; -+ } -+ node_uuid = dm_tree_node_get_uuid (node); -+ if (! node_uuid) -+ { -+ grub_dprintf ("hostdisk", "%s has no DM uuid\n", os_dev); -+ dm_tree_free (tree); -+ return 0; -+ } -+ if (strncmp (node_uuid, "LVM-", 4) != 0) -+ { -+ dm_tree_free (tree); -+ return 0; -+ } -+ dm_tree_free (tree); -+ return 1; -+ } -+#else -+ return 1; -+#endif /* HAVE_DEVICE_MAPPER */ - } - - int -@@ -671,13 +708,11 @@ - return GRUB_DEV_ABSTRACTION_NONE; - - /* Check for LVM. */ -- if (!strncmp (os_dev, "/dev/mapper/", 12) -- && ! grub_util_is_dmraid (os_dev) -- && strncmp (os_dev, "/dev/mapper/mpath", 17) != 0) -+ if (grub_util_is_lvm (os_dev)) - return GRUB_DEV_ABSTRACTION_LVM; - - /* Check for RAID. */ -- if (!strncmp (os_dev, "/dev/md", 7)) -+ if (!strncmp (os_dev, "/dev/md", 7) && ! grub_util_device_is_mapped (os_dev)) - return GRUB_DEV_ABSTRACTION_RAID; - #endif - - -=== modified file 'grub-core/kern/emu/hostdisk.c' ---- grub-core/kern/emu/hostdisk.c 2011-05-09 16:59:35 +0000 -+++ grub-core/kern/emu/hostdisk.c 2011-05-18 07:35:47 +0000 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -331,18 +332,23 @@ - return GRUB_ERR_NONE; - } - -+int -+grub_util_device_is_mapped (const char *dev) -+{ - #ifdef HAVE_DEVICE_MAPPER --static int --device_is_mapped (const char *dev) --{ - struct stat st; - -+ if (!grub_device_mapper_supported ()) -+ return 0; -+ - if (stat (dev, &st) < 0) - return 0; - - return dm_is_dm_major (major (st.st_rdev)); -+#else -+ return 0; -+#endif /* HAVE_DEVICE_MAPPER */ - } --#endif /* HAVE_DEVICE_MAPPER */ - - #if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) - /* FIXME: geom actually gives us the whole container hierarchy. -@@ -418,7 +424,7 @@ - # endif /* !defined(HAVE_DIOCGDINFO) */ - - # ifdef HAVE_DEVICE_MAPPER -- if (grub_device_mapper_supported () && device_is_mapped (dev)) { -+ if (grub_util_device_is_mapped (dev)) { - struct dm_task *task = NULL; - grub_uint64_t start, length; - char *target_type, *params, *space; -@@ -1149,6 +1155,54 @@ - return ret; - } - -+#ifdef HAVE_DEVICE_MAPPER -+static int -+grub_util_get_dm_node_linear_info (const char *dev, -+ int *maj, int *min) -+{ -+ struct dm_task *dmt; -+ void *next = NULL; -+ uint64_t length, start; -+ char *target, *params; -+ char *ptr; -+ int major, minor; -+ -+ dmt = dm_task_create(DM_DEVICE_TABLE); -+ if (!dmt) -+ return 0; -+ -+ if (!dm_task_set_name(dmt, dev)) -+ return 0; -+ dm_task_no_open_count(dmt); -+ if (!dm_task_run(dmt)) -+ return 0; -+ next = dm_get_next_target(dmt, next, &start, &length, -+ &target, ¶ms); -+ if (grub_strcmp (target, "linear") != 0) -+ return 0; -+ major = grub_strtoul (params, &ptr, 10); -+ if (grub_errno) -+ { -+ grub_errno = GRUB_ERR_NONE; -+ return 0; -+ } -+ if (*ptr != ':') -+ return 0; -+ ptr++; -+ minor = grub_strtoul (ptr, 0, 10); -+ if (grub_errno) -+ { -+ grub_errno = GRUB_ERR_NONE; -+ return 0; -+ } -+ if (maj) -+ *maj = major; -+ if (min) -+ *min = minor; -+ return 1; -+} -+#endif -+ - static char * - convert_system_partition_to_system_disk (const char *os_dev, struct stat *st) - { -@@ -1325,9 +1379,39 @@ - node = NULL; - goto devmapper_out; - } -- else if (strncmp (node_uuid, "DMRAID-", 7) != 0) -- { -+ if (strncmp (node_uuid, "LVM-", 4) == 0) -+ { -+ grub_dprintf ("hostdisk", "%s is an LVM\n", path); -+ node = NULL; -+ goto devmapper_out; -+ } -+ if (strncmp (node_uuid, "mpath-", 6) == 0) -+ { -+ /* Multipath partitions have partN-mpath-* UUIDs, and are -+ linear mappings so are handled by -+ grub_util_get_dm_node_linear_info. Multipath disks are not -+ linear mappings and must be handled specially. */ -+ grub_dprintf ("hostdisk", "%s is a multipath disk\n", path); -+ mapper_name = dm_tree_node_get_name (node); -+ goto devmapper_out; -+ } -+ if (strncmp (node_uuid, "DMRAID-", 7) != 0) -+ { -+ int major, minor; -+ const char *node_name; - grub_dprintf ("hostdisk", "%s is not DM-RAID\n", path); -+ -+ if ((node_name = dm_tree_node_get_name (node)) -+ && grub_util_get_dm_node_linear_info (node_name, -+ &major, &minor)) -+ { -+ if (tree) -+ dm_tree_free (tree); -+ free (path); -+ char *ret = grub_find_device (NULL, (major << 8) | minor); -+ return ret; -+ } -+ - node = NULL; - goto devmapper_out; - } - ---- include/grub/emu/misc.h 2010-12-02 13:26:46 +0000 -+++ include/grub/emu/misc.h 2011-05-18 07:35:47 +0000 -@@ -54,6 +54,8 @@ - - char *grub_make_system_path_relative_to_its_root (const char *path) - __attribute__ ((warn_unused_result)); -+int -+grub_util_device_is_mapped (const char *dev); - - void * EXPORT_FUNC(xmalloc) (grub_size_t size) __attribute__ ((warn_unused_result)); - void * EXPORT_FUNC(xrealloc) (void *ptr, grub_size_t size) __attribute__ ((warn_unused_result)); - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p1.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p1.patch deleted file mode 100644 index fc14c536b8..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p1.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- grub-core/kern/emu/getroot.c 2011-05-21 05:03:55 +0000 -+++ grub-core/kern/emu/getroot.c 2011-06-23 17:50:41 +0000 -@@ -616,13 +616,15 @@ - - if (os_dev) - { -- if (strncmp (os_dev, "/dev/dm-", sizeof ("/dev/dm-") - 1) != 0) -+ int dm = (strncmp (os_dev, "/dev/dm-", sizeof ("/dev/dm-") - 1) == 0); -+ int root = (strcmp (os_dev, "/dev/root") == 0); -+ if (!dm && !root) - return os_dev; - if (stat (os_dev, &st) < 0) - grub_util_error ("cannot stat `%s'", os_dev); - free (os_dev); - dev = st.st_rdev; -- return grub_find_device ("/dev/mapper", dev); -+ return grub_find_device (dm ? "/dev/mapper" : "/dev", dev); - } - - if (stat (dir, &st) < 0) - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p2.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p2.patch deleted file mode 100644 index aa7fd18675..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/1.99-stat_root_device_properly-p2.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- grub-core/kern/emu/getroot.c 2011-06-23 17:50:41 +0000 -+++ grub-core/kern/emu/getroot.c 2011-06-24 02:32:54 +0000 -@@ -620,11 +620,13 @@ - int root = (strcmp (os_dev, "/dev/root") == 0); - if (!dm && !root) - return os_dev; -- if (stat (os_dev, &st) < 0) -- grub_util_error ("cannot stat `%s'", os_dev); -+ if (stat (os_dev, &st) >= 0) -+ { -+ free (os_dev); -+ dev = st.st_rdev; -+ return grub_find_device (dm ? "/dev/mapper" : "/dev", dev); -+ } - free (os_dev); -- dev = st.st_rdev; -- return grub_find_device (dm ? "/dev/mapper" : "/dev", dev); - } - - if (stat (dir, &st) < 0) - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-0.97-gpt.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-0.97-gpt.patch deleted file mode 100644 index 7b1a55cd89..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-0.97-gpt.patch +++ /dev/null @@ -1,315 +0,0 @@ -diff -ruBbd --unidirectional-new-file grub-0.96/stage2/builtins.c grub-0.96-patched/stage2/builtins.c ---- grub-0.96/stage2/builtins.c 2004-06-20 09:33:04.000000000 -0400 -+++ grub-0.96-patched/stage2/builtins.c 2007-01-04 13:56:06.000000000 -0500 -@@ -1229,14 +1229,15 @@ - for (drive = 0x80; drive < 0x88; drive++) - { - unsigned long part = 0xFFFFFF; -- unsigned long start, len, offset, ext_offset; -- int type, entry; -+ unsigned long start, len, offset, ext_offset, gpt_offset; -+ int type, entry, gpt_count, gpt_size; - char buf[SECTOR_SIZE]; - - current_drive = drive; - while (next_partition (drive, 0xFFFFFF, &part, &type, - &start, &len, &offset, &entry, -- &ext_offset, buf)) -+ &ext_offset, &gpt_offset, -+ &gpt_count, &gpt_size, buf)) - { - if (type != PC_SLICE_TYPE_NONE - && ! IS_PC_SLICE_TYPE_BSD (type) -@@ -2806,8 +2807,8 @@ - { - int new_type; - unsigned long part = 0xFFFFFF; -- unsigned long start, len, offset, ext_offset; -- int entry, type; -+ unsigned long start, len, offset, ext_offset, gpt_offset; -+ int entry, type, gpt_count, gpt_size; - char mbr[512]; - - /* Get the drive and the partition. */ -@@ -2844,7 +2845,14 @@ - /* Look for the partition. */ - while (next_partition (current_drive, 0xFFFFFF, &part, &type, - &start, &len, &offset, &entry, -- &ext_offset, mbr)) -+ &ext_offset, &gpt_offset, &gpt_count, &gpt_size, mbr)) -+ /* The partition may not be a GPT partition. */ -+ if (gpt_offset != 0) -+ { -+ errnum = ERR_BAD_ARGUMENT; -+ return 1; -+ } -+ - { - if (part == current_partition) - { -diff -ruBbd --unidirectional-new-file grub-0.96/stage2/disk_io.c grub-0.96-patched/stage2/disk_io.c ---- grub-0.96/stage2/disk_io.c 2004-05-23 12:35:24.000000000 -0400 -+++ grub-0.96-patched/stage2/disk_io.c 2007-01-04 14:01:08.000000000 -0500 -@@ -21,6 +21,7 @@ - - #include - #include -+#include - - #ifdef SUPPORT_NETBOOT - # define GRUB 1 -@@ -502,8 +503,8 @@ - set_partition_hidden_flag (int hidden) - { - unsigned long part = 0xFFFFFF; -- unsigned long start, len, offset, ext_offset; -- int entry, type; -+ unsigned long start, len, offset, ext_offset, gpt_offset; -+ int entry, type, gpt_count, gpt_size; - char mbr[512]; - - /* The drive must be a hard disk. */ -@@ -524,7 +525,14 @@ - /* Look for the partition. */ - while (next_partition (current_drive, 0xFFFFFF, &part, &type, - &start, &len, &offset, &entry, -- &ext_offset, mbr)) -+ &ext_offset, &gpt_offset, &gpt_count, &gpt_size, mbr)) -+ /* The partition may not be a GPT partition. */ -+ if (gpt_offset != 0) -+ { -+ errnum = ERR_BAD_ARGUMENT; -+ return 1; -+ } -+ - { - if (part == current_partition) - { -@@ -577,11 +585,14 @@ - unsigned long *partition, int *type, - unsigned long *start, unsigned long *len, - unsigned long *offset, int *entry, -- unsigned long *ext_offset, char *buf) -+ unsigned long *ext_offset, -+ unsigned long *gpt_offset, int *gpt_count, -+ int *gpt_size, char *buf) - { - /* Forward declarations. */ - auto int next_bsd_partition (void); - auto int next_pc_slice (void); -+ auto int next_gpt_slice(void); - - /* Get next BSD partition in current PC slice. */ - int next_bsd_partition (void) -@@ -666,6 +677,40 @@ - return 0; - } - -+ /* If this is a GPT partition table, read it as such. */ -+ if (*entry == -1 && *offset == 0 && PC_SLICE_TYPE (buf, 0) == PC_SLICE_TYPE_GPT) -+ { -+ struct grub_gpt_header *hdr = (struct grub_gpt_header *) buf; -+ -+ /* Read in the GPT Partition table header. */ -+ if (! rawread (drive, 1, 0, SECTOR_SIZE, buf)) -+ return 0; -+ -+ if (hdr->magic == GPT_HEADER_MAGIC && hdr->version == 0x10000) -+ { -+ /* Let gpt_offset point to the first entry in the GPT -+ partition table. This can also be used by callers of -+ next_partition to determine if a entry comes from a -+ GPT partition table or not. */ -+ *gpt_offset = hdr->partitions; -+ *gpt_count = hdr->maxpart; -+ *gpt_size = hdr->partentry_size; -+ -+ return next_gpt_slice(); -+ } -+ else -+ { -+ /* This is not a valid header for a GPT partition table. -+ Re-read the MBR or the boot sector of the extended -+ partition. */ -+ if (! rawread (drive, *offset, 0, SECTOR_SIZE, buf)) -+ return 0; -+ } -+ } -+ -+ /* Not a GPT partition. */ -+ *gpt_offset = 0; -+ - /* Increase the entry number. */ - (*entry)++; - -@@ -710,6 +755,43 @@ - return 1; - } - -+ /* Get the next GPT slice. */ -+ int next_gpt_slice (void) -+ { -+ struct grub_gpt_partentry *gptentry = (struct grub_gpt_partentry *) buf; -+ /* Make GPT partitions show up as PC slices. */ -+ int pc_slice_no = (*partition & 0xFF0000) >> 16; -+ -+ /* If this is the first time... */ -+ if (pc_slice_no == 0xFF) -+ { -+ pc_slice_no = -1; -+ *entry = -1; -+ } -+ -+ do { -+ (*entry)++; -+ -+ if (*entry >= *gpt_count) -+ { -+ errnum = ERR_NO_PART; -+ return 0; -+ } -+ /* Read in the GPT Partition table entry. */ -+ if (! rawread (drive, (*gpt_offset) + GPT_ENTRY_SECTOR (*gpt_size, *entry), GPT_ENTRY_INDEX (*gpt_size, *entry), *gpt_size, buf)) -+ return 0; -+ } while (! (gptentry->type1 && gptentry->type2)); -+ -+ pc_slice_no++; -+ *start = gptentry->start; -+ *len = gptentry->end - gptentry->start + 1; -+ *type = PC_SLICE_TYPE_EXT2FS; -+ *entry = pc_slice_no; -+ *partition = (*entry << 16) | 0xFFFF; -+ -+ return 1; -+ } -+ - /* Start the body of this function. */ - - #ifndef STAGE1_5 -@@ -717,6 +799,9 @@ - return 0; - #endif - -+ if (*partition != 0xFFFFFF && *gpt_offset != 0) -+ return next_gpt_slice (); -+ - /* If previous partition is a BSD partition or a PC slice which - contains BSD partitions... */ - if ((*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_BSD (*type & 0xff)) -@@ -755,6 +840,9 @@ - unsigned long dest_partition = current_partition; - unsigned long part_offset; - unsigned long ext_offset; -+ unsigned long gpt_offset; -+ int gpt_count; -+ int gpt_size; - int entry; - char buf[SECTOR_SIZE]; - int bsd_part, pc_slice; -@@ -766,7 +854,8 @@ - int ret = next_partition (current_drive, dest_partition, - ¤t_partition, ¤t_slice, - &part_start, &part_length, -- &part_offset, &entry, &ext_offset, buf); -+ &part_offset, &entry, &ext_offset, -+ &gpt_offset, &gpt_count, &gpt_size, buf); - bsd_part = (current_partition >> 8) & 0xFF; - pc_slice = current_partition >> 16; - return ret; -diff -ruBbd --unidirectional-new-file grub-0.96/stage2/gpt.h grub-0.96-patched/stage2/gpt.h ---- grub-0.96/stage2/gpt.h 1969-12-31 19:00:00.000000000 -0500 -+++ grub-0.96-patched/stage2/gpt.h 2007-01-04 13:52:14.000000000 -0500 -@@ -0,0 +1,68 @@ -+/* -+ * GRUB -- GRand Unified Bootloader -+ * Copyright (C) 2002,2005,2006 Free Software Foundation, Inc. -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -+ */ -+ -+#ifndef _GPT_H -+#define _GPT_H -+ -+typedef signed char grub_int8_t; -+typedef signed short grub_int16_t; -+typedef signed int grub_int32_t; -+typedef signed long long int grub_int64_t; -+typedef unsigned char grub_uint8_t; -+typedef unsigned short grub_uint16_t; -+typedef unsigned int grub_uint32_t; -+typedef unsigned long long int grub_uint64_t; -+ -+struct grub_gpt_header -+{ -+ grub_uint64_t magic; -+ grub_uint32_t version; -+ grub_uint32_t headersize; -+ grub_uint32_t crc32; -+ grub_uint32_t unused1; -+ grub_uint64_t primary; -+ grub_uint64_t backup; -+ grub_uint64_t start; -+ grub_uint64_t end; -+ grub_uint8_t guid[16]; -+ grub_uint64_t partitions; -+ grub_uint32_t maxpart; -+ grub_uint32_t partentry_size; -+ grub_uint32_t partentry_crc32; -+} __attribute__ ((packed)); -+ -+struct grub_gpt_partentry -+{ -+ grub_uint64_t type1; -+ grub_uint64_t type2; -+ grub_uint8_t guid[16]; -+ grub_uint64_t start; -+ grub_uint64_t end; -+ grub_uint8_t attrib; -+ char name[72]; -+} __attribute__ ((packed)); -+ -+#define GPT_HEADER_MAGIC 0x5452415020494645UL -+ -+#define GPT_ENTRY_SECTOR(size,entry) \ -+ ((((entry) * (size) + 1) & ~(SECTOR_SIZE - 1)) >> SECTOR_BITS) -+#define GPT_ENTRY_INDEX(size,entry) \ -+ ((((entry) * (size) + 1) & (SECTOR_SIZE - 1)) - 1) -+ -+#endif /* _GPT_H */ -diff -ruBbd --unidirectional-new-file grub-0.96/stage2/pc_slice.h grub-0.96-patched/stage2/pc_slice.h ---- grub-0.96/stage2/pc_slice.h 2003-07-09 07:45:53.000000000 -0400 -+++ grub-0.96-patched/stage2/pc_slice.h 2007-01-04 13:52:14.000000000 -0500 -@@ -115,6 +115,7 @@ - #define PC_SLICE_TYPE_LINUX_EXTENDED 0x85 - #define PC_SLICE_TYPE_VSTAFS 0x9e - #define PC_SLICE_TYPE_DELL_UTIL 0xde -+#define PC_SLICE_TYPE_GPT 0xee - #define PC_SLICE_TYPE_LINUX_RAID 0xfd - - -diff -ruBbd --unidirectional-new-file grub-0.96/stage2/shared.h grub-0.96-patched/stage2/shared.h ---- grub-0.96/stage2/shared.h 2004-06-19 12:40:09.000000000 -0400 -+++ grub-0.96-patched/stage2/shared.h 2007-01-04 13:52:15.000000000 -0500 -@@ -934,7 +934,9 @@ - unsigned long *partition, int *type, - unsigned long *start, unsigned long *len, - unsigned long *offset, int *entry, -- unsigned long *ext_offset, char *buf); -+ unsigned long *ext_offset, -+ unsigned long *gpt_offset, int *gpt_count, -+ int *gpt_size, char *buf); - - /* Sets device to the one represented by the SAVED_* parameters. */ - int make_saved_active (void); diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-compression.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-compression.patch deleted file mode 100644 index 58bc1f9327..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-compression.patch +++ /dev/null @@ -1,84 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=424527 -https://savannah.gnu.org/bugs/index.php?36770 - -=== modified file 'grub-core/lib/xzembed/xz_dec_stream.c' ---- grub-core/lib/xzembed/xz_dec_stream.c 2012-02-29 13:56:51 +0000 -+++ grub-core/lib/xzembed/xz_dec_stream.c 2012-07-22 14:27:03 +0000 -@@ -403,18 +403,25 @@ - } - #endif - -- do { -+ if (b->in_pos == b->in_size) -+ return XZ_OK; -+ -+ if (!crc32 && s->hash_size == 0) -+ s->pos += 8; -+ -+ while (s->pos < (crc32 ? 32 : s->hash_size * 8)) { - if (b->in_pos == b->in_size) - return XZ_OK; - - #ifndef GRUB_EMBED_DECOMPRESSOR -- if (hash && s->hash_value[s->pos / 8] != b->in[b->in_pos++]) -+ if (hash && s->hash_value[s->pos / 8] != b->in[b->in_pos]) - return XZ_DATA_ERROR; - #endif -+ b->in_pos++; - - s->pos += 8; - -- } while (s->pos < (crc32 ? 32 : s->hash_size * 8)); -+ } - - #ifndef GRUB_EMBED_DECOMPRESSOR - if (s->hash) -@@ -529,8 +536,6 @@ - s->hash->init(s->index.hash.hash_context); - s->hash->init(s->block.hash.hash_context); - } -- if (!s->hash) -- return XZ_OPTIONS_ERROR; - #endif - } - else - -=== modified file 'grub-core/normal/autofs.c' ---- grub-core/normal/autofs.c 2012-05-01 13:26:36 +0000 -+++ grub-core/normal/autofs.c 2012-07-22 14:23:46 +0000 -@@ -32,11 +32,21 @@ - autoload_fs_module (void) - { - grub_named_list_t p; -+ int ret = 0; -+ grub_file_filter_t grub_file_filters_was[GRUB_FILE_FILTER_MAX]; -+ -+ grub_memcpy (grub_file_filters_was, grub_file_filters_enabled, -+ sizeof (grub_file_filters_enabled)); -+ grub_memcpy (grub_file_filters_enabled, grub_file_filters_all, -+ sizeof (grub_file_filters_enabled)); - - while ((p = fs_module_list) != NULL) - { - if (! grub_dl_get (p->name) && grub_dl_load (p->name)) -- return 1; -+ { -+ ret = 1; -+ break; -+ } - - if (grub_errno) - grub_print_error (); -@@ -46,7 +56,10 @@ - grub_free (p); - } - -- return 0; -+ grub_memcpy (grub_file_filters_enabled, grub_file_filters_was, -+ sizeof (grub_file_filters_enabled)); -+ -+ return ret; - } - - /* Read the file fs.lst for auto-loading. */ - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-config-quoting.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-config-quoting.patch deleted file mode 100644 index 3b031c6264..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-config-quoting.patch +++ /dev/null @@ -1,113 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=426364 -https://savannah.gnu.org/bugs/index.php?36839 ---- util/grub-mkconfig_lib.in -+++ util/grub-mkconfig_lib.in -@@ -255,19 +255,19 @@ - echo "$version_find_latest_a" - } - --# One layer of quotation is eaten by "", the second by sed, and the third by --# printf; so this turns ' into \'. Note that you must use the output of -+# One layer of quotation is eaten by "" and the second by -+# sed; so this turns ' into \'. Note that you must use the output of - # this function in a printf format string. - - grub_quote () { -- sed "s/'/'\\\\\\\\''/g" -+ sed "s/'/'\\\\''/g" - } - - gettext_quoted () { -- gettext "$@" | sed "s/'/'\\\\\\\\''/g" -+ gettext "$@" | grub_quote - } - --# Run the first argument through gettext_quoted, and then pass that and all -+# Run the first argument through gettext, and then pass that and all - # remaining arguments to printf. This is a useful abbreviation and tends to - # be easier to type. - gettext_printf () { - -=== modified file 'util/grub.d/10_hurd.in' ---- util/grub.d/10_hurd.in -+++ util/grub.d/10_hurd.in -@@ -117,7 +117,7 @@ - opts= - fi - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/} $opts ${GRUB_CMDLINE_GNUMACH} - EOF - -@@ -133,7 +133,7 @@ - fi - - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - module /hurd/${hurd_fs}.static ${hurd_fs} $opts \\ - --multiboot-command-line='\${kernel-command-line}' \\ - --host-priv-port='\${host-port}' \\ ---- util/grub.d/10_illumos.in -+++ util/grub.d/10_illumos.in -@@ -46,6 +46,7 @@ - ISADIR= - fi - zfs-bootfs $($grub_mkrelpath /) ZFS_BOOTFS -+ echo '$(echo "$message" | grub_quote)' - multiboot $($grub_mkrelpath /platform/i86pc/kernel)/\$ISADIR/unix /platform/i86pc/kernel/\$ISADIR/unix -B \$ZFS_BOOTFS,console=text - module $($grub_mkrelpath /platform/i86pc)/\$ISADIR/boot_archive /platform/i86pc/\$ISADIR/boot_archive - } ---- util/grub.d/10_kfreebsd.in -+++ util/grub.d/10_kfreebsd.in -@@ -100,7 +100,7 @@ - printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" - message="$(gettext_printf "Loading kernel of FreeBSD %s ..." ${version})" - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - kfreebsd ${rel_dirname}/${basename} ${args} - EOF - ---- util/grub.d/10_linux.in -+++ util/grub.d/10_linux.in -@@ -134,14 +134,14 @@ - fi - message="$(gettext_printf "Loading Linux %s ..." ${version})" - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} - EOF - if test -n "${initrd}" ; then - # TRANSLATORS: ramdisk isn't identifier. Should be translated. - message="$(gettext_printf "Loading initial ramdisk ...")" - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - initrd ${rel_dirname}/${initrd} - EOF - fi ---- util/grub.d/20_linux_xen.in -+++ util/grub.d/20_linux_xen.in -@@ -120,16 +120,16 @@ - xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})" - lmessage="$(gettext_printf "Loading Linux %s ..." ${version})" - sed "s/^/$submenu_indentation/" << EOF -- echo '$xmessage' -+ echo '$(echo "$xmessage" | grub_quote)' - multiboot ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} -- echo '$lmessage' -+ echo '$(echo "$lmessage" | grub_quote)' - module ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args} - EOF - if test -n "${initrd}" ; then - # TRANSLATORS: ramdisk isn't identifier. Should be translated. - message="$(gettext_printf "Loading initial ramdisk ...")" - sed "s/^/$submenu_indentation/" << EOF -- echo '$message' -+ echo '$(echo "$message" | grub_quote)' - module ${rel_dirname}/${initrd} - EOF - fi diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-freebsd.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-freebsd.patch deleted file mode 100644 index bcfbf2633c..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-freebsd.patch +++ /dev/null @@ -1,382 +0,0 @@ -Taken from -http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/4556 -http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/4584 -http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/4624 -http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/4625 - -diff -Nur grub-2.00.orig/grub-core/loader/i386/bsd.c grub-2.00/grub-core/loader/i386/bsd.c ---- grub-2.00.orig/grub-core/loader/i386/bsd.c 2012-06-07 22:06:00.000000000 +0900 -+++ grub-2.00/grub-core/loader/i386/bsd.c 2013-01-04 19:50:55.000000000 +0900 -@@ -1309,7 +1309,7 @@ - && phdr->p_type != PT_DYNAMIC) - return 0; - -- paddr = phdr->p_paddr & 0xFFFFFF; -+ paddr = phdr->p_paddr & 0xFFFFFFF; - - if (paddr < kern_start) - kern_start = paddr; -@@ -1333,7 +1333,7 @@ - } - - *do_load = 1; -- phdr->p_paddr &= 0xFFFFFF; -+ phdr->p_paddr &= 0xFFFFFFF; - paddr = phdr->p_paddr; - - *addr = (grub_addr_t) (paddr - kern_start + (grub_uint8_t *) kern_chunk_src); -@@ -1351,7 +1351,7 @@ - && phdr->p_type != PT_DYNAMIC) - return 0; - -- paddr = phdr->p_paddr & 0xffffff; -+ paddr = phdr->p_paddr & 0xfffffff; - - if (paddr < kern_start) - kern_start = paddr; -@@ -1375,7 +1375,7 @@ - } - - *do_load = 1; -- paddr = phdr->p_paddr & 0xffffff; -+ paddr = phdr->p_paddr & 0xfffffff; - - *addr = (grub_addr_t) (paddr - kern_start + (grub_uint8_t *) kern_chunk_src); - -@@ -1394,7 +1394,7 @@ - { - grub_relocator_chunk_t ch; - -- entry = elf->ehdr.ehdr32.e_entry & 0xFFFFFF; -+ entry = elf->ehdr.ehdr32.e_entry & 0xFFFFFFF; - err = grub_elf32_phdr_iterate (elf, filename, - grub_bsd_elf32_size_hook, NULL); - if (err) -diff -Nur grub-2.00.orig/util/grub-mkconfig_lib.in grub-2.00/util/grub-mkconfig_lib.in ---- grub-2.00.orig/util/grub-mkconfig_lib.in 2012-06-28 00:27:53.000000000 +0900 -+++ grub-2.00/util/grub-mkconfig_lib.in 2013-01-04 19:50:55.000000000 +0900 -@@ -349,3 +349,10 @@ - cat - fi - } -+ -+grub_tab=" " -+ -+grub_add_tab () { -+ sed -e "s/^/$grub_tab/" -+} -+ -diff -Nur grub-2.00.orig/util/grub.d/10_hurd.in grub-2.00/util/grub.d/10_hurd.in ---- grub-2.00.orig/util/grub.d/10_hurd.in 2012-03-05 05:10:04.000000000 +0900 -+++ grub-2.00/util/grub.d/10_hurd.in 2013-01-04 19:50:55.000000000 +0900 -@@ -108,7 +108,7 @@ - EOF - fi - -- prepare_grub_to_access_device "${GRUB_DEVICE_BOOT}" | sed -e "s/^/\t/"|sed "s/^/$submenu_indentation/" -+ prepare_grub_to_access_device "${GRUB_DEVICE_BOOT}" | grub_add_tab|sed "s/^/$submenu_indentation/" - message="$(gettext_printf "Loading GNU Mach ...")" - - if [ x$type = xrecovery ] ; then -@@ -122,9 +122,9 @@ - EOF - - if [ x$type != xrecovery ] ; then -- save_default_entry | sed -e "s/^/\t/"| sed "s/^/$submenu_indentation/" -+ save_default_entry | grub_add_tab| sed "s/^/$submenu_indentation/" - fi -- prepare_grub_to_access_device "${GRUB_DEVICE}" | sed -e "s/^/\t/"| sed "s/^/$submenu_indentation/" -+ prepare_grub_to_access_device "${GRUB_DEVICE}" | grub_add_tab| sed "s/^/$submenu_indentation/" - message="$(gettext_printf "Loading the Hurd ...")" - if [ x$type = xrecovery ] ; then - opts= -@@ -158,7 +158,7 @@ - - if [ "x$is_first_entry" = xtrue ]; then - hurd_entry "$kernel" simple -- submenu_indentation="\t" -+ submenu_indentation="$grub_tab" - - # TRANSLATORS: %s is replaced with an OS name - echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnuhurd-advanced-$(grub_get_device_id "${GRUB_DEVICE_BOOT}")' {" -diff -Nur grub-2.00.orig/util/grub.d/10_illumos.in grub-2.00/util/grub.d/10_illumos.in ---- grub-2.00.orig/util/grub.d/10_illumos.in 2012-03-05 04:03:38.000000000 +0900 -+++ grub-2.00/util/grub.d/10_illumos.in 2013-01-04 19:50:55.000000000 +0900 -@@ -35,8 +35,8 @@ - esac - - echo "menuentry '$(echo "$OS" | grub_quote)' ${CLASS} \$menuentry_id_option 'illumos-$(grub_get_device_id "${GRUB_DEVICE_BOOT}")' {" --save_default_entry | sed -e "s/^/\t/" --prepare_grub_to_access_device "${GRUB_DEVICE_BOOT}" | sed -e "s/^/\t/" -+save_default_entry | grub_add_tab -+prepare_grub_to_access_device "${GRUB_DEVICE_BOOT}" | grub_add_tab - message="$(gettext_printf "Loading kernel of Illumos ...")" - cat << EOF - insmod gzio -diff -Nur grub-2.00.orig/util/grub.d/10_kfreebsd.in grub-2.00/util/grub.d/10_kfreebsd.in ---- grub-2.00.orig/util/grub.d/10_kfreebsd.in 2012-03-05 06:02:30.000000000 +0900 -+++ grub-2.00/util/grub.d/10_kfreebsd.in 2013-01-04 19:50:55.000000000 +0900 -@@ -54,7 +54,7 @@ - fi - - if [ -z "${prepare_module_dir_cache}" ]; then -- prepare_module_dir_cache="$(prepare_grub_to_access_device $(grub-probe -t device "${module_dir}") | sed -e "s/^/\t/")" -+ prepare_module_dir_cache="$(prepare_grub_to_access_device $(${grub_probe} -t device "${module_dir}") | grub_add_tab)" - fi - - printf '%s\n' "${prepare_module_dir_cache}" -@@ -91,10 +91,10 @@ - echo "menuentry '$(echo "$OS" | grub_quote)' ${CLASS} \$menuentry_id_option 'kfreebsd-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/" - fi - if [ x$type != xrecovery ] ; then -- save_default_entry | sed -e "s/^/\t/" | sed "s/^/$submenu_indentation/" -+ save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/" - fi - if [ -z "${prepare_boot_cache}" ]; then -- prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")" -+ prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)" - fi - - printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" -@@ -112,7 +112,7 @@ - - load_kfreebsd_module acpi true - -- for abstraction in dummy $(grub-probe -t abstraction --device ${GRUB_DEVICE}) ; do -+ for abstraction in dummy $(${grub_probe} -t abstraction --device ${GRUB_DEVICE}) ; do - case $abstraction in - lvm) load_kfreebsd_module geom_linux_lvm false ;; - esac -@@ -122,10 +122,10 @@ - zfs) - load_kfreebsd_module opensolaris false - -- ls "${dirname}/zfs/zpool.cache" > /dev/null -+ ls "/boot/zfs/zpool.cache" > /dev/null - printf '%s\n' "${prepare_boot_cache}" - sed "s/^/$submenu_indentation/" << EOF -- kfreebsd_module ${rel_dirname}/zfs/zpool.cache type=/boot/zfs/zpool.cache -+ kfreebsd_module $(make_system_path_relative_to_its_root /boot)/zfs/zpool.cache type=/boot/zfs/zpool.cache - EOF - ;; - esac -@@ -179,7 +179,7 @@ - case ${GRUB_FS} in - zfs) - # zpool name -- kfreebsd_device=$(grub-probe -t fs_label --device ${GRUB_DEVICE}) -+ kfreebsd_device=$(${grub_probe} -t fs_label --device ${GRUB_DEVICE}) - # filesystem name (empty string for the main filesystem) - kfreebsd_device="${kfreebsd_device}$(${grub_mkrelpath} / | sed -e "s,/*@$,,")" - ;; -@@ -213,7 +213,7 @@ - - if [ "x$is_first_entry" = xtrue ]; then - kfreebsd_entry "${OS}" "${version}" simple -- submenu_indentation="\t" -+ submenu_indentation="$grub_tab" - - if [ -z "$boot_device_id" ]; then - boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" -diff -Nur grub-2.00.orig/util/grub.d/10_linux.in grub-2.00/util/grub.d/10_linux.in ---- grub-2.00.orig/util/grub.d/10_linux.in 2012-04-19 06:24:38.000000000 +0900 -+++ grub-2.00/util/grub.d/10_linux.in 2013-01-04 19:50:55.000000000 +0900 -@@ -101,7 +101,7 @@ - echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/" - fi - if [ x$type != xrecovery ] ; then -- save_default_entry | sed -e "s/^/\t/" -+ save_default_entry | grub_add_tab - fi - - # Use ELILO's generic "efifb" when it's known to be available. -@@ -123,12 +123,12 @@ - - if [ x$dirname = x/ ]; then - if [ -z "${prepare_root_cache}" ]; then -- prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")" -+ prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | grub_add_tab)" - fi - printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/" - else - if [ -z "${prepare_boot_cache}" ]; then -- prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")" -+ prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)" - fi - printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" - fi -@@ -230,7 +230,7 @@ - linux_entry "${OS}" "${version}" simple \ - "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" - -- submenu_indentation="\t" -+ submenu_indentation="$grub_tab" - - if [ -z "$boot_device_id" ]; then - boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" -diff -Nur grub-2.00.orig/util/grub.d/10_netbsd.in grub-2.00/util/grub.d/10_netbsd.in ---- grub-2.00.orig/util/grub.d/10_netbsd.in 2012-03-05 04:47:35.000000000 +0900 -+++ grub-2.00/util/grub.d/10_netbsd.in 2013-01-04 19:50:55.000000000 +0900 -@@ -77,10 +77,10 @@ - prepare_grub_to_access_device $(${grub_probe} -t device "${kmodule}") | sed -e 's,^, ,' - case "${loader}" in - knetbsd) -- printf "\tknetbsd_module_elf %s\n" "${kmodule_rel}" -+ printf "$grub_tabknetbsd_module_elf %s\n" "${kmodule_rel}" - ;; - multiboot) -- printf "\tmodule %s\n" "${kmodule_rel}" -+ printf "$grub_tabmodule %s\n" "${kmodule_rel}" - ;; - esac - } -@@ -121,11 +121,11 @@ - printf "%s\n" "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" - case "${loader}" in - knetbsd) -- printf "\tknetbsd %s -r %s %s\n" \ -+ printf "$grub_tabknetbsd %s -r %s %s\n" \ - "${kernel}" "${kroot_device}" "${GRUB_CMDLINE_NETBSD} ${args}" | sed "s/^/$submenu_indentation/" - ;; - multiboot) -- printf "\tmultiboot %s %s root=%s %s\n" \ -+ printf "$grub_tabmultiboot %s %s root=%s %s\n" \ - "${kernel}" "${kernel}" "${kroot_device}" "${GRUB_CMDLINE_NETBSD} ${args}" | sed "s/^/$submenu_indentation/" - ;; - esac -@@ -159,7 +159,7 @@ - - if [ "x$is_first_entry" = xtrue ]; then - netbsd_entry "knetbsd" "$k" simple "${GRUB_CMDLINE_NETBSD_DEFAULT}" -- submenu_indentation="\t" -+ submenu_indentation="$grub_tab" - - if [ -z "$boot_device_id" ]; then - boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" -diff -Nur grub-2.00.orig/util/grub.d/10_windows.in grub-2.00/util/grub.d/10_windows.in ---- grub-2.00.orig/util/grub.d/10_windows.in 2012-03-05 06:11:43.000000000 +0900 -+++ grub-2.00/util/grub.d/10_windows.in 2013-01-04 19:50:55.000000000 +0900 -@@ -45,7 +45,7 @@ - sort | uniq | wc -l`" = 1 || return 1 - - # Search 'default=PARTITION' -- get_os_name_from_boot_ini_part=`sed -n 's,^default=,,p' "$1" | sed 's,\\\\,/,g;s,[ \t\r]*$,,;1q'` -+ get_os_name_from_boot_ini_part=`sed -n 's,^default=,,p' "$1" | sed 's,\\\\,/,g;s,[ $grub_tab\r]*$,,;1q'` - test -n "$get_os_name_from_boot_ini_part" || return 1 - - # Search 'PARTITION="NAME" ...' -@@ -87,8 +87,8 @@ - menuentry '$(echo "$OS" | grub_quote)' \$menuentry_id_option '$osid-$(grub_get_device_id "${dev}")' { - EOF - -- save_default_entry | sed -e 's,^,\t,' -- prepare_grub_to_access_device "$dev" | sed 's,^,\t,' -+ save_default_entry | sed -e 's,^,$grub_tab,' -+ prepare_grub_to_access_device "$dev" | sed 's,^,$grub_tab,' - test -z "$needmap" || cat < +Date: Fri Nov 29 12:19:36 2013 +0000 + + Fix build with FreeType 2.5.1 + + * util/grub-gen-asciih.c: Include FT_SYNTHESIS_H rather than + , fixing build with FreeType 2.5.1. + * util/grub-gen-widthspec.c: Likewise. + * util/grub-mkfont.c: Likewise. + +diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c +index 0d8eb78..242dd01 100644 +--- a/util/grub-mkfont.c ++++ b/util/grub-mkfont.c +@@ -43,7 +43,7 @@ + #include FT_FREETYPE_H + #include FT_TRUETYPE_TAGS_H + #include FT_TRUETYPE_TABLES_H +-#include ++#include FT_SYNTHESIS_H + + #undef __FTERRORS_H__ + #define FT_ERROR_START_LIST const char *ft_errmsgs[] = { diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-hardcoded-awk.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-hardcoded-awk.patch deleted file mode 100644 index 8019a3c74c..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-hardcoded-awk.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=424137 -https://savannah.gnu.org/bugs/?37558 -https://code.google.com/p/original-mawk/issues/detail?id=17 ---- grub-core/Makefile.am 2012-07-07 12:29:01 +0000 -+++ grub-core/Makefile.am 2012-10-12 13:04:02 +0000 -@@ -349,7 +349,7 @@ - - # generate global module dependencies list - moddep.lst: syminfo.lst genmoddep.awk video.lst -- cat $< | sort | awk -f $(srcdir)/genmoddep.awk > $@ || (rm -f $@; exit 1) -+ cat $< | sort | $(AWK) -f $(srcdir)/genmoddep.awk > $@ || (rm -f $@; exit 1) - platform_DATA += moddep.lst - CLEANFILES += config.log syminfo.lst moddep.lst - - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-no-gets.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-no-gets.patch deleted file mode 100644 index c21d4b976e..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-no-gets.patch +++ /dev/null @@ -1,22 +0,0 @@ -hack until gzip pulls a newer gnulib version - -From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 -From: Eric Blake -Date: Thu, 29 Mar 2012 13:30:41 -0600 -Subject: [PATCH] stdio: don't assume gets any more - -Gnulib intentionally does not have a gets module, and now that C11 -and glibc have dropped it, we should be more proactive about warning -any user on a platform that still has a declaration of this dangerous -interface. - ---- a/grub-core/gnulib/stdio.in.h -+++ b/grub-core/gnulib/stdio.in.h -@@ -125,7 +125,6 @@ - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets --_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-parallel-make.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-parallel-make.patch deleted file mode 100644 index 03d634bb64..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-parallel-make.patch +++ /dev/null @@ -1,46 +0,0 @@ -Fix parallel make problems. -Upstream changesets 4547, 4552, 4578. ---- gentpl.py -+++ gentpl.py -@@ -484,10 +484,10 @@ - def installdir(default="bin"): - return "[+ IF installdir +][+ installdir +][+ ELSE +]" + default + "[+ ENDIF +]" - --def manpage(): -+def manpage(adddeps): - r = "if COND_MAN_PAGES\n" - r += gvar_add("man_MANS", "[+ name +].[+ mansection +]\n") -- r += rule("[+ name +].[+ mansection +]", "[+ name +]", """ -+ r += rule("[+ name +].[+ mansection +]", "[+ name +] " + adddeps, """ - chmod a+x [+ name +] - PATH=$(builddir):$$PATH pkgdatadir=$(builddir) $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] - """) -@@ -503,7 +503,7 @@ - r += gvar_add("TESTS", "[+ name +]") - r += "[+ ELSE +]" - r += var_add(installdir() + "_PROGRAMS", "[+ name +]") -- r += "[+ IF mansection +]" + manpage() + "[+ ENDIF +]" -+ r += "[+ IF mansection +]" + manpage("") + "[+ ENDIF +]" - r += "[+ ENDIF +]" - - r += var_set(cname() + "_SOURCES", platform_sources(platform)) -@@ -532,7 +532,7 @@ - r += gvar_add ("TESTS", "[+ name +]") - r += "[+ ELSE +]" - r += var_add(installdir() + "_SCRIPTS", "[+ name +]") -- r += "[+ IF mansection +]" + manpage() + "[+ ENDIF +]" -+ r += "[+ IF mansection +]" + manpage("grub-mkconfig_lib") + "[+ ENDIF +]" - r += "[+ ENDIF +]" - - r += rule("[+ name +]", platform_sources(platform) + " $(top_builddir)/config.status", """ ---- grub-core/Makefile.am -+++ grub-core/Makefile.am -@@ -63,7 +63,7 @@ - rs_decoder.S: $(srcdir)/lib/reed_solomon.c - $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3 -ffreestanding - --kern/i386/pc/startup.S: $(builddir)/rs_decoder.S -+boot/i386/pc/startup_raw.S: $(builddir)/rs_decoder.S - boot/mips/loongson/fwstart.S: $(builddir)/sm712_start.S - - CLEANFILES += grub_script.yy.c grub_script.yy.h diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-tftp-endian.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-tftp-endian.patch deleted file mode 100644 index f4e56445dd..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-tftp-endian.patch +++ /dev/null @@ -1,24 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=438612 - -=== modified file 'grub-core/net/tftp.c' ---- grub-core/net/tftp.c 2012-06-22 20:04:16 +0000 -+++ grub-core/net/tftp.c 2012-07-02 09:22:50 +0000 -@@ -143,7 +143,7 @@ - - tftph_ack = (struct tftphdr *) nb_ack.data; - tftph_ack->opcode = grub_cpu_to_be16 (TFTP_ACK); -- tftph_ack->u.ack.block = block; -+ tftph_ack->u.ack.block = grub_cpu_to_be16 (block); - - err = grub_net_send_udp_packet (data->sock, &nb_ack); - if (err) -@@ -225,7 +225,7 @@ - grub_priority_queue_pop (data->pq); - - if (file->device->net->packs.count < 50) -- err = ack (data, tftph->u.data.block); -+ err = ack (data, data->block + 1); - else - { - file->device->net->stall = 1; - diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-zfs-feature-flag-support.patch b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-zfs-feature-flag-support.patch deleted file mode 100644 index 998dc07336..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub-2.00-zfs-feature-flag-support.patch +++ /dev/null @@ -1,1017 +0,0 @@ -ZFS Feature Flag Support - -This is a monolithic version of the following commits: - -https://github.com/maxximino/grub2/commit/31a32560fd7948ae5ff5c63105d7c068de7890c8 -https://github.com/maxximino/grub2/commit/595d76e8ca0690a963f5533689de8db54ef07e75 -https://github.com/maxximino/grub2/commit/58344034e40218b20500fa2936eb4d7d019e1e88 -https://github.com/maxximino/grub2/commit/f98cb078abab2c14bb0766b5a0ceb055683dab81 -https://github.com/maxximino/grub2/commit/f12806f43a969a654dee7bb89b2e8fd5c42f0e2e - -A minor change was made to account for d8a0feb6 from upstream. This change -prevents a compile time failure that is caused by a change in the callback -interface used by mzap_interate(). - -The initial feature flag support patches were written by Delphix while the LZ4 -support was written by Saso Kiselkov. The work porting this to GRUB2 was done -by Massimo Maggi, while the adaption to Gentoo's GRUB2 package was done by -Richard Yao. - -diff --git a/Makefile.util.def b/Makefile.util.def -index b80187c..1bf3038 100644 ---- a/Makefile.util.def -+++ b/Makefile.util.def -@@ -95,6 +95,7 @@ library = { - common = grub-core/fs/zfs/zfs.c; - common = grub-core/fs/zfs/zfsinfo.c; - common = grub-core/fs/zfs/zfs_lzjb.c; -+ common = grub-core/fs/zfs/zfs_lz4.c; - common = grub-core/fs/zfs/zfs_sha256.c; - common = grub-core/fs/zfs/zfs_fletcher.c; - common = grub-core/lib/envblk.c; -diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def -index 39e77a4..1550b90 100644 ---- a/grub-core/Makefile.core.def -+++ b/grub-core/Makefile.core.def -@@ -1186,6 +1186,7 @@ module = { - name = zfs; - common = fs/zfs/zfs.c; - common = fs/zfs/zfs_lzjb.c; -+ common = fs/zfs/zfs_lz4.c; - common = fs/zfs/zfs_sha256.c; - common = fs/zfs/zfs_fletcher.c; - }; -diff --git a/grub-core/fs/zfs/zfs.c b/grub-core/fs/zfs/zfs.c -index ba0554a..de31e6c 100644 ---- a/grub-core/fs/zfs/zfs.c -+++ b/grub-core/fs/zfs/zfs.c -@@ -2,6 +2,7 @@ - * GRUB -- GRand Unified Bootloader - * Copyright (C) 1999,2000,2001,2002,2003,2004,2009,2010,2011 Free Software Foundation, Inc. - * Copyright 2010 Sun Microsystems, Inc. -+ * Copyright (c) 2012 by Delphix. All rights reserved. - * - * GRUB is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -153,11 +154,13 @@ ZAP_LEAF_ENTRY(zap_leaf_phys_t *l, int bs, int idx) - - - /* -- * Decompression Entry - lzjb -+ * Decompression Entry - lzjb & lz4 - */ - - extern grub_err_t lzjb_decompress (void *, void *, grub_size_t, grub_size_t); - -+extern grub_err_t lz4_decompress (void *, void *, grub_size_t, grub_size_t); -+ - typedef grub_err_t zfs_decomp_func_t (void *s_start, void *d_start, - grub_size_t s_len, grub_size_t d_len); - typedef struct decomp_entry -@@ -263,6 +266,19 @@ grub_crypto_cipher_handle_t (*grub_zfs_load_key) (const struct grub_zfs_key *key - grub_size_t keysize, - grub_uint64_t salt, - grub_uint64_t algo) = NULL; -+/* -+ * List of pool features that the grub implementation of ZFS supports for -+ * read. Note that features that are only required for write do not need -+ * to be listed here since grub opens pools in read-only mode. -+ */ -+static const char *spa_feature_names[] = { -+ "org.illumos:lz4_compress",NULL -+}; -+ -+static int -+check_feature(const char *name, grub_uint64_t val); -+static int -+check_mos_features(dnode_phys_t *mosmdn_phys,grub_zfs_endian_t endian,struct grub_zfs_data* data ); - - static grub_err_t - zlib_decompress (void *s, void *d, -@@ -322,6 +338,7 @@ static decomp_entry_t decomp_table[ZIO_COMPRESS_FUNCTIONS] = { - {"gzip-8", zlib_decompress}, /* ZIO_COMPRESS_GZIP8 */ - {"gzip-9", zlib_decompress}, /* ZIO_COMPRESS_GZIP9 */ - {"zle", zle_decompress}, /* ZIO_COMPRESS_ZLE */ -+ {"lz4", lz4_decompress}, /* ZIO_COMPRESS_LZ4 */ - }; - - static grub_err_t zio_read_data (blkptr_t * bp, grub_zfs_endian_t endian, -@@ -482,15 +499,11 @@ uberblock_verify (uberblock_phys_t * ub, grub_uint64_t offset, - - if (grub_zfs_to_cpu64 (uber->ub_magic, GRUB_ZFS_LITTLE_ENDIAN) - == UBERBLOCK_MAGIC -- && grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_LITTLE_ENDIAN) > 0 -- && grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_LITTLE_ENDIAN) -- <= SPA_VERSION) -- endian = GRUB_ZFS_LITTLE_ENDIAN; -+ && SPA_VERSION_IS_SUPPORTED(grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_LITTLE_ENDIAN))) -+ endian = GRUB_ZFS_LITTLE_ENDIAN; - - if (grub_zfs_to_cpu64 (uber->ub_magic, GRUB_ZFS_BIG_ENDIAN) == UBERBLOCK_MAGIC -- && grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_BIG_ENDIAN) > 0 -- && grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_BIG_ENDIAN) -- <= SPA_VERSION) -+ && SPA_VERSION_IS_SUPPORTED(grub_zfs_to_cpu64 (uber->ub_version, GRUB_ZFS_BIG_ENDIAN))) - endian = GRUB_ZFS_BIG_ENDIAN; - - if (endian == GRUB_ZFS_UNKNOWN_ENDIAN) -@@ -764,6 +777,155 @@ fill_vdev_info (struct grub_zfs_data *data, - } - - /* -+ * For a given XDR packed nvlist, verify the first 4 bytes and move on. -+ * -+ * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) : -+ * -+ * encoding method/host endian (4 bytes) -+ * nvl_version (4 bytes) -+ * nvl_nvflag (4 bytes) -+ * encoded nvpairs: -+ * encoded size of the nvpair (4 bytes) -+ * decoded size of the nvpair (4 bytes) -+ * name string size (4 bytes) -+ * name string data (sizeof(NV_ALIGN4(string)) -+ * data type (4 bytes) -+ * # of elements in the nvpair (4 bytes) -+ * data -+ * 2 zero's for the last nvpair -+ * (end of the entire list) (8 bytes) -+ * -+ */ -+ -+/* -+ * The nvlist_next_nvpair() function returns a handle to the next nvpair in the -+ * list following nvpair. If nvpair is NULL, the first pair is returned. If -+ * nvpair is the last pair in the nvlist, NULL is returned. -+ */ -+static const char * -+nvlist_next_nvpair(const char *nvl, const char *nvpair) -+{ -+ const char *nvp; -+ int encode_size; -+ int name_len; -+ if (nvl == NULL) -+ return (NULL); -+ -+ if (nvpair == NULL) { -+ /* skip over header, nvl_version and nvl_nvflag */ -+ nvpair = nvl + 4 * 3; -+ } else { -+ /* skip to the next nvpair */ -+ encode_size = grub_be_to_cpu32 (grub_get_unaligned32(nvpair)); -+ nvpair += encode_size; -+ } -+ /* 8 bytes of 0 marks the end of the list */ -+ if (*(grub_uint64_t*)nvpair == 0) -+ return (NULL); -+ /*consistency checks*/ -+ if (nvpair + 4 * 3 >= nvl + VDEV_PHYS_SIZE) -+ { -+ grub_dprintf ("zfs", "nvlist overflow\n"); -+ grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist"); -+ return (NULL); -+ } -+ encode_size = grub_be_to_cpu32 (grub_get_unaligned32(nvpair)); -+ -+ nvp = nvpair + 4*2; -+ name_len = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ nvp += 4; -+ -+ nvp = nvp + ((name_len + 3) & ~3); // align -+ if (nvp + 4 >= nvl + VDEV_PHYS_SIZE -+ || encode_size < 0 -+ || nvp + 4 + encode_size > nvl + VDEV_PHYS_SIZE) -+ { -+ grub_dprintf ("zfs", "nvlist overflow\n"); -+ grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist"); -+ return (NULL); -+ } -+ /* end consistency checks */ -+ -+ return (nvpair); -+} -+/* -+ * This function returns 0 on success and 1 on failure. On success, a string -+ * containing the name of nvpair is saved in buf. -+ */ -+static int -+nvpair_name(const char *nvp, char **buf, int* buflen) -+{ -+ int len; -+ -+ /* skip over encode/decode size */ -+ nvp += 4 * 2; -+ -+ len = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ nvp=nvp+4; -+ -+ *buf=(char*)nvp; -+ *buflen=len; -+ -+ return (0); -+} -+/* -+ * This function retrieves the value of the nvpair in the form of enumerated -+ * type data_type_t. -+ */ -+static int -+nvpair_type(const char *nvp) -+{ -+ int name_len, type; -+ -+ /* skip over encode/decode size */ -+ nvp += 4 * 2; -+ -+ /* skip over name_len */ -+ name_len = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ nvp += 4; -+ -+ /* skip over name */ -+ nvp = nvp + ((name_len + 3) & ~3); /* align */ -+ -+ type = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ -+ return (type); -+} -+static int -+nvpair_value(const char *nvp,char **val, -+ grub_size_t *size_out, grub_size_t *nelm_out) -+{ -+ int name_len,nelm,encode_size; -+ -+ /* skip over encode/decode size */ -+ encode_size = grub_be_to_cpu32 (grub_get_unaligned32(nvp)); -+ nvp += 8; -+ -+ /* skip over name_len */ -+ name_len = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ nvp += 4; -+ -+ /* skip over name */ -+ nvp = nvp + ((name_len + 3) & ~3); /* align */ -+ -+ /* skip over type */ -+ nvp += 4; -+ nelm = grub_be_to_cpu32 (grub_get_unaligned32 (nvp)); -+ nvp +=4; -+ if (nelm < 1) -+ { -+ grub_error (GRUB_ERR_BAD_FS, "empty nvpair"); -+ return 0; -+ } -+ *val = (char *) nvp; -+ *size_out = encode_size; -+ if (nelm_out) -+ *nelm_out = nelm; -+ -+ return 1; -+} -+ -+/* - * Check the disk label information and retrieve needed vdev name-value pairs. - * - */ -@@ -773,7 +935,7 @@ check_pool_label (struct grub_zfs_data *data, - int *inserted) - { - grub_uint64_t pool_state, txg = 0; -- char *nvlist; -+ char *nvlist,*features; - #if 0 - char *nv; - #endif -@@ -837,13 +999,13 @@ check_pool_label (struct grub_zfs_data *data, - } - grub_dprintf ("zfs", "check 8 passed\n"); - -- if (version > SPA_VERSION) -+ if (!SPA_VERSION_IS_SUPPORTED(version)) - { - grub_free (nvlist); - return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, - "too new version %llu > %llu", - (unsigned long long) version, -- (unsigned long long) SPA_VERSION); -+ (unsigned long long) SPA_VERSION_BEFORE_FEATURES); - } - grub_dprintf ("zfs", "check 9 passed\n"); - -@@ -893,7 +1055,30 @@ check_pool_label (struct grub_zfs_data *data, - grub_free (nv); - } - grub_dprintf ("zfs", "check 10 passed\n"); -- -+ if ((features=grub_zfs_nvlist_lookup_nvlist(nvlist, ZPOOL_CONFIG_FEATURES_FOR_READ))) -+ { -+ const char *nvp=NULL; -+ char *name = grub_zalloc(51); -+ char *nameptr; -+ int namelen; -+ while ((nvp = nvlist_next_nvpair(features, nvp)) != NULL) -+ { -+ nvpair_name(nvp, &nameptr,&namelen); -+ if(namelen > 50){namelen=50;} -+ grub_strncpy(name,nameptr,namelen); -+ name[namelen]=0; -+ grub_dprintf("zfs","namelen=%u str=%s\n",namelen,name); -+ if (check_feature(name,1) != 0) -+ { -+ grub_dprintf("zfs","feature missing in check_pool_label:%s\n",name); -+ err= grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET," check_pool_label missing feature '%s' for read",name); -+ grub_free(name); -+ return err; -+ } -+ } -+ grub_free(name); -+ } -+ grub_dprintf ("zfs", "check 12 passed (feature flags)\n"); - grub_free (nvlist); - - return GRUB_ERR_NONE; -@@ -3034,34 +3219,14 @@ dnode_get_fullpath (const char *fullpath, struct subvolume *subvol, - return err; - } - --/* -- * For a given XDR packed nvlist, verify the first 4 bytes and move on. -- * -- * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) : -- * -- * encoding method/host endian (4 bytes) -- * nvl_version (4 bytes) -- * nvl_nvflag (4 bytes) -- * encoded nvpairs: -- * encoded size of the nvpair (4 bytes) -- * decoded size of the nvpair (4 bytes) -- * name string size (4 bytes) -- * name string data (sizeof(NV_ALIGN4(string)) -- * data type (4 bytes) -- * # of elements in the nvpair (4 bytes) -- * data -- * 2 zero's for the last nvpair -- * (end of the entire list) (8 bytes) -- * -- */ -- - static int - nvlist_find_value (const char *nvlist_in, const char *name, - int valtype, char **val, - grub_size_t *size_out, grub_size_t *nelm_out) - { -- int name_len, type, encode_size; -- const char *nvpair, *nvp_name, *nvlist = nvlist_in; -+ int name_len, type ; -+ const char *nvpair=NULL,*nvlist=nvlist_in; -+ char *nvp_name; - - /* Verify if the 1st and 2nd byte in the nvlist are valid. */ - /* NOTE: independently of what endianness header announces all -@@ -3074,62 +3239,18 @@ nvlist_find_value (const char *nvlist_in, const char *name, - return 0; - } - -- /* skip the header, nvl_version, and nvl_nvflag */ -- nvlist = nvlist + 4 * 3; - /* - * Loop thru the nvpair list - * The XDR representation of an integer is in big-endian byte order. - */ -- while ((encode_size = grub_be_to_cpu32 (grub_get_unaligned32 (nvlist)))) -+ while ((nvpair=nvlist_next_nvpair(nvlist,nvpair))) - { -- int nelm; -- -- if (nvlist + 4 * 4 >= nvlist_in + VDEV_PHYS_SIZE) -- { -- grub_dprintf ("zfs", "nvlist overflow\n"); -- grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist"); -- return 0; -- } -- -- nvpair = nvlist + 4 * 2; /* skip the encode/decode size */ -- -- name_len = grub_be_to_cpu32 (grub_get_unaligned32 (nvpair)); -- nvpair += 4; -- -- nvp_name = nvpair; -- nvpair = nvpair + ((name_len + 3) & ~3); /* align */ -- -- if (nvpair + 8 >= nvlist_in + VDEV_PHYS_SIZE -- || encode_size < 0 -- || nvpair + 8 + encode_size > nvlist_in + VDEV_PHYS_SIZE) -+ nvpair_name(nvpair,&nvp_name,&name_len); -+ type = nvpair_type(nvpair); -+ if ((grub_strncmp (nvp_name, name, grub_strlen(name)) == 0) && type == valtype) - { -- grub_dprintf ("zfs", "nvlist overflow\n"); -- grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist"); -- return 0; -+ return nvpair_value(nvpair,val,size_out,nelm_out); - } -- -- type = grub_be_to_cpu32 (grub_get_unaligned32 (nvpair)); -- nvpair += 4; -- -- nelm = grub_be_to_cpu32 (grub_get_unaligned32 (nvpair)); -- if (nelm < 1) -- { -- grub_error (GRUB_ERR_BAD_FS, "empty nvpair"); -- return 0; -- } -- -- nvpair += 4; -- -- if ((grub_strncmp (nvp_name, name, name_len) == 0) && type == valtype) -- { -- *val = (char *) nvpair; -- *size_out = encode_size; -- if (nelm_out) -- *nelm_out = nelm; -- return 1; -- } -- -- nvlist += encode_size; /* goto the next nvpair */ - } - return 0; - } -@@ -3386,6 +3507,10 @@ zfs_mount (grub_device_t dev) - return NULL; - } - -+ if (ub->ub_version >= SPA_VERSION_FEATURES && -+ check_mos_features(&((objset_phys_t *) osp)->os_meta_dnode,ub_endian, data) != 0) -+ return NULL; -+ - /* Got the MOS. Save it at the memory addr MOS. */ - grub_memmove (&(data->mos.dn), &((objset_phys_t *) osp)->os_meta_dnode, - DNODE_SIZE); -@@ -3910,6 +4035,64 @@ grub_zfs_dir (grub_device_t device, const char *path, - return grub_errno; - } - -+static int -+check_feature(const char *name, grub_uint64_t val) -+{ -+ int i; -+ if(val ==0) return 0; -+ if(*name==0) return 0; -+ for (i = 0; spa_feature_names[i] != NULL; i++) -+ { -+ if (grub_strcmp(name, spa_feature_names[i]) == 0) -+ return 0; -+ } -+ grub_printf("missing feature for read '%s'\n",name); -+ return 1; -+} -+ -+/* -+ * Checks whether the MOS features that are active are supported by this -+ * (GRUB's) implementation of ZFS. -+ * -+ * Return: -+ * 0: Success. -+ * errnum: Failure. -+ */ -+ -+static int -+check_mos_features(dnode_phys_t *mosmdn_phys,grub_zfs_endian_t endian,struct grub_zfs_data* data ) -+{ -+ grub_uint64_t objnum; -+ grub_uint8_t errnum = 0; -+ dnode_end_t dn,mosmdn; -+ mzap_phys_t* mzp; -+ grub_zfs_endian_t endianzap; -+ int size; -+ grub_memmove(&(mosmdn.dn),mosmdn_phys,sizeof(dnode_phys_t)); -+ mosmdn.endian=endian; -+ if ((errnum = dnode_get(&mosmdn, DMU_POOL_DIRECTORY_OBJECT, -+ DMU_OT_OBJECT_DIRECTORY, &dn,data)) != 0) -+ return (errnum); -+ -+ /* -+ * Find the object number for 'features_for_read' and retrieve its -+ * corresponding dnode. Note that we don't check features_for_write -+ * because GRUB is not opening the pool for write. -+ */ -+ if ((errnum = zap_lookup(&dn, DMU_POOL_FEATURES_FOR_READ, &objnum, data,0)) != 0) -+ return (errnum); -+ -+ if ((errnum = dnode_get(&mosmdn, objnum, DMU_OTN_ZAP_METADATA, &dn, data)) != 0) -+ return (errnum); -+ -+ if ((errnum = dmu_read(&dn, 0, (void**)&mzp, &endianzap,data)) != 0) -+ return (errnum); -+ -+ size = grub_zfs_to_cpu16 (dn.dn.dn_datablkszsec, dn.endian) << SPA_MINBLOCKSHIFT; -+ return (mzap_iterate(mzp,endianzap, size, check_feature)); -+} -+ -+ - #ifdef GRUB_UTIL - static grub_err_t - grub_zfs_embed (grub_device_t device __attribute__ ((unused)), -diff --git a/grub-core/fs/zfs/zfs_lz4.c b/grub-core/fs/zfs/zfs_lz4.c -new file mode 100644 -index 0000000..f199434 ---- /dev/null -+++ b/grub-core/fs/zfs/zfs_lz4.c -@@ -0,0 +1,321 @@ -+/* -+ * LZ4 - Fast LZ compression algorithm -+ * Header File -+ * Copyright (C) 2011-2013, Yann Collet. -+ * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions are -+ * met: -+ * -+ * * Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * * Redistributions in binary form must reproduce the above -+ * copyright notice, this list of conditions and the following disclaimer -+ * in the documentation and/or other materials provided with the -+ * distribution. -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -+ * -+ * You can contact the author at : -+ * - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html -+ * - LZ4 source repository : http://code.google.com/p/lz4/ -+ */ -+ -+#include -+#include -+#include -+#include -+ -+static int LZ4_uncompress_unknownOutputSize(const char *source, char *dest, -+ int isize, int maxOutputSize); -+ -+/* -+ * CPU Feature Detection -+ */ -+ -+/* 32 or 64 bits ? */ -+#if (defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) || \ -+ defined(__amd64) || defined(__ppc64__) || defined(_WIN64) || \ -+ defined(__LP64__) || defined(_LP64)) -+#define LZ4_ARCH64 1 -+#else -+#define LZ4_ARCH64 0 -+#endif -+ -+/* -+ * Little Endian or Big Endian? -+ * Note: overwrite the below #define if you know your architecture endianess. -+ */ -+#if (defined(__BIG_ENDIAN__) || defined(__BIG_ENDIAN) || \ -+ defined(_BIG_ENDIAN) || defined(_ARCH_PPC) || defined(__PPC__) || \ -+ defined(__PPC) || defined(PPC) || defined(__powerpc__) || \ -+ defined(__powerpc) || defined(powerpc) || \ -+ ((defined(__BYTE_ORDER__)&&(__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)))) -+#define LZ4_BIG_ENDIAN 1 -+#else -+ /* -+ * Little Endian assumed. PDP Endian and other very rare endian format -+ * are unsupported. -+ */ -+#endif -+ -+/* -+ * Compiler Options -+ */ -+ -+#if __STDC_VERSION__ >= 199901L /* C99 */ -+/* "restrict" is a known keyword */ -+#else -+/* Disable restrict */ -+#ifndef restrict -+#define restrict /* Only if somebody already didn't take care of that.*/ -+#endif -+#endif -+ -+#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) -+ -+#define lz4_bswap16(x) ((unsigned short int) ((((x) >> 8) & 0xffu) \ -+ | (((x) & 0xffu) << 8))) -+ -+#if (GCC_VERSION >= 302) || (__INTEL_COMPILER >= 800) || defined(__clang__) -+#define expect(expr, value) (__builtin_expect((expr), (value))) -+#else -+#define expect(expr, value) (expr) -+#endif -+ -+#define likely(expr) expect((expr) != 0, 1) -+#define unlikely(expr) expect((expr) != 0, 0) -+ -+/* Basic types */ -+#define BYTE grub_uint8_t -+#define U16 grub_uint16_t -+#define U32 grub_uint32_t -+#define S32 grub_int32_t -+#define U64 grub_uint64_t -+typedef grub_size_t size_t; -+ -+typedef struct _U16_S { -+ U16 v; -+} U16_S; -+typedef struct _U32_S { -+ U32 v; -+} U32_S; -+typedef struct _U64_S { -+ U64 v; -+} U64_S; -+ -+#define A64(x) (((U64_S *)(x))->v) -+#define A32(x) (((U32_S *)(x))->v) -+#define A16(x) (((U16_S *)(x))->v) -+ -+/* -+ * Constants -+ */ -+#define MINMATCH 4 -+ -+#define COPYLENGTH 8 -+#define LASTLITERALS 5 -+ -+#define ML_BITS 4 -+#define ML_MASK ((1U< s_len) -+ return grub_error(GRUB_ERR_BAD_FS,"lz4 decompression failed."); -+ -+ /* -+ * Returns 0 on success (decompression function returned non-negative) -+ * and appropriate error on failure (decompression function returned negative). -+ */ -+ return (LZ4_uncompress_unknownOutputSize((char*)s_start + 4, d_start, bufsiz, -+ d_len) < 0)?grub_error(GRUB_ERR_BAD_FS,"lz4 decompression failed."):0; -+} -+ -+static int -+LZ4_uncompress_unknownOutputSize(const char *source, -+ char *dest, int isize, int maxOutputSize) -+{ -+ /* Local Variables */ -+ const BYTE *restrict ip = (const BYTE *) source; -+ const BYTE *const iend = ip + isize; -+ const BYTE *restrict ref; -+ -+ BYTE *restrict op = (BYTE *) dest; -+ BYTE *const oend = op + maxOutputSize; -+ BYTE *cpy; -+ -+ size_t dec[] = { 0, 3, 2, 3, 0, 0, 0, 0 }; -+ -+ /* Main Loop */ -+ while (ip < iend) { -+ BYTE token; -+ int length; -+ -+ /* get runlength */ -+ token = *ip++; -+ if ((length = (token >> ML_BITS)) == RUN_MASK) { -+ int s = 255; -+ while ((ip < iend) && (s == 255)) { -+ s = *ip++; -+ length += s; -+ } -+ } -+ /* copy literals */ -+ cpy = op + length; -+ if ((cpy > oend - COPYLENGTH) || -+ (ip + length > iend - COPYLENGTH)) { -+ if (cpy > oend) -+ /* -+ * Error: request to write beyond destination -+ * buffer. -+ */ -+ goto _output_error; -+ if (ip + length > iend) -+ /* -+ * Error : request to read beyond source -+ * buffer. -+ */ -+ goto _output_error; -+ grub_memcpy(op, ip, length); -+ op += length; -+ ip += length; -+ if (ip < iend) -+ /* Error : LZ4 format violation */ -+ goto _output_error; -+ /* Necessarily EOF, due to parsing restrictions. */ -+ break; -+ } -+ LZ4_WILDCOPY(ip, op, cpy); -+ ip -= (op - cpy); -+ op = cpy; -+ -+ /* get offset */ -+ LZ4_READ_LITTLEENDIAN_16(ref, cpy, ip); -+ ip += 2; -+ if (ref < (BYTE * const) dest) -+ /* -+ * Error: offset creates reference outside of -+ * destination buffer. -+ */ -+ goto _output_error; -+ -+ /* get matchlength */ -+ if ((length = (token & ML_MASK)) == ML_MASK) { -+ while (ip < iend) { -+ int s = *ip++; -+ length += s; -+ if (s == 255) -+ continue; -+ break; -+ } -+ } -+ /* copy repeated sequence */ -+ if unlikely(op - ref < STEPSIZE) { -+#if LZ4_ARCH64 -+ size_t dec2table[] = { 0, 0, 0, -1, 0, 1, 2, 3 }; -+ size_t dec2 = dec2table[op - ref]; -+#else -+ const int dec2 = 0; -+#endif -+ *op++ = *ref++; -+ *op++ = *ref++; -+ *op++ = *ref++; -+ *op++ = *ref++; -+ ref -= dec[op - ref]; -+ A32(op) = A32(ref); -+ op += STEPSIZE - 4; -+ ref -= dec2; -+ } else { -+ LZ4_COPYSTEP(ref, op); -+ } -+ cpy = op + length - (STEPSIZE - 4); -+ if (cpy > oend - COPYLENGTH) { -+ if (cpy > oend) -+ /* -+ * Error: request to write outside of -+ * destination buffer. -+ */ -+ goto _output_error; -+ LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); -+ while (op < cpy) -+ *op++ = *ref++; -+ op = cpy; -+ if (op == oend) -+ /* -+ * Check EOF (should never happen, since last -+ * 5 bytes are supposed to be literals). -+ */ -+ break; -+ continue; -+ } -+ LZ4_SECURECOPY(ref, op, cpy); -+ op = cpy; /* correction */ -+ } -+ -+ /* end of decoding */ -+ return (int)(((char *)op) - dest); -+ -+ /* write overflow error detected */ -+ _output_error: -+ return (int)(-(((char *)ip) - source)); -+} -diff --git a/grub-core/fs/zfs/zfsinfo.c b/grub-core/fs/zfs/zfsinfo.c -index fdb587a..c96bf21 100644 ---- a/grub-core/fs/zfs/zfsinfo.c -+++ b/grub-core/fs/zfs/zfsinfo.c -@@ -132,21 +132,31 @@ print_vdev_info (char *nvlist, int tab) - grub_free (path); - return GRUB_ERR_NONE; - } -+ char is_mirror=(grub_strcmp(type,VDEV_TYPE_MIRROR) == 0); -+ char is_raidz=(grub_strcmp(type,VDEV_TYPE_RAIDZ) == 0); - -- if (grub_strcmp (type, VDEV_TYPE_MIRROR) == 0) -+ if (is_mirror || is_raidz) - { - int nelm, i; - - nelm = grub_zfs_nvlist_lookup_nvlist_array_get_nelm - (nvlist, ZPOOL_CONFIG_CHILDREN); - -+ if(is_mirror){ -+ grub_puts_ (N_("This VDEV is a mirror")); -+ } -+ else if(is_raidz){ -+ grub_uint64_t parity; -+ grub_zfs_nvlist_lookup_uint64(nvlist,"nparity",&parity); -+ grub_printf_ (N_("This VDEV is a RAIDZ%llu\n"),(unsigned long long)parity); -+ } - print_tabs (tab); - if (nelm <= 0) - { -- grub_puts_ (N_("Incorrect mirror")); -+ grub_puts_ (N_("Incorrect VDEV")); - return GRUB_ERR_NONE; - } -- grub_printf_ (N_("Mirror with %d children\n"), nelm); -+ grub_printf_ (N_("VDEV with %d children\n"), nelm); - print_state (nvlist, tab); - for (i = 0; i < nelm; i++) - { -@@ -162,14 +172,14 @@ print_vdev_info (char *nvlist, int tab) - total element number. And the number itself is fine, - only the element isn't. - */ -- grub_printf_ (N_("Mirror element number %d isn't correct\n"), i); -+ grub_printf_ (N_("VDEV element number %d isn't correct\n"), i); - continue; - } - - /* TRANSLATORS: it's the element carying the number %d, not - total element number. This is used in enumeration - "Element number 1", "Element number 2", ... */ -- grub_printf_ (N_("Mirror element number %d:\n"), i); -+ grub_printf_ (N_("VDEV element number %d:\n"), i); - print_vdev_info (child, tab + 1); - - grub_free (child); -diff --git a/include/grub/zfs/dmu.h b/include/grub/zfs/dmu.h -index 8fc6dc5..4ad616c 100644 ---- a/include/grub/zfs/dmu.h -+++ b/include/grub/zfs/dmu.h -@@ -22,6 +22,39 @@ - - #ifndef _SYS_DMU_H - #define _SYS_DMU_H -+#define B_FALSE 0 -+#define B_TRUE 1 -+ -+#define DMU_OT_NEWTYPE 0x80 -+#define DMU_OT_METADATA 0x40 -+#define DMU_OT_BYTESWAP_MASK 0x3f -+ -+#define DMU_OT(byteswap, metadata) \ -+ (DMU_OT_NEWTYPE | \ -+ ((metadata) ? DMU_OT_METADATA : 0) | \ -+ ((byteswap) & DMU_OT_BYTESWAP_MASK)) -+ -+#define DMU_OT_IS_VALID(ot) (((ot) & DMU_OT_NEWTYPE) ? \ -+ ((ot) & DMU_OT_BYTESWAP_MASK) < DMU_BSWAP_NUMFUNCS : \ -+ (ot) < DMU_OT_NUMTYPES) -+ -+#define DMU_OT_IS_METADATA(ot) (((ot) & DMU_OT_NEWTYPE) ? \ -+ ((ot) & DMU_OT_METADATA) : \ -+ dmu_ot[(ot)].ot_metadata) -+ -+typedef enum dmu_object_byteswap { -+ DMU_BSWAP_UINT8, -+ DMU_BSWAP_UINT16, -+ DMU_BSWAP_UINT32, -+ DMU_BSWAP_UINT64, -+ DMU_BSWAP_ZAP, -+ DMU_BSWAP_DNODE, -+ DMU_BSWAP_OBJSET, -+ DMU_BSWAP_ZNODE, -+ DMU_BSWAP_OLDACL, -+ DMU_BSWAP_ACL, -+ DMU_BSWAP_NUMFUNCS -+} dmu_object_byteswap_t; - - /* - * This file describes the interface that the DMU provides for its -@@ -89,7 +122,17 @@ typedef enum dmu_object_type { - DMU_OT_SA_ATTR_REGISTRATION, /* ZAP */ - DMU_OT_SA_ATTR_LAYOUTS, /* ZAP */ - DMU_OT_DSL_KEYCHAIN = 54, -- DMU_OT_NUMTYPES -+ DMU_OT_NUMTYPES, -+ DMU_OTN_UINT8_DATA = DMU_OT(DMU_BSWAP_UINT8, B_FALSE), -+ DMU_OTN_UINT8_METADATA = DMU_OT(DMU_BSWAP_UINT8, B_TRUE), -+ DMU_OTN_UINT16_DATA = DMU_OT(DMU_BSWAP_UINT16, B_FALSE), -+ DMU_OTN_UINT16_METADATA = DMU_OT(DMU_BSWAP_UINT16, B_TRUE), -+ DMU_OTN_UINT32_DATA = DMU_OT(DMU_BSWAP_UINT32, B_FALSE), -+ DMU_OTN_UINT32_METADATA = DMU_OT(DMU_BSWAP_UINT32, B_TRUE), -+ DMU_OTN_UINT64_DATA = DMU_OT(DMU_BSWAP_UINT64, B_FALSE), -+ DMU_OTN_UINT64_METADATA = DMU_OT(DMU_BSWAP_UINT64, B_TRUE), -+ DMU_OTN_ZAP_DATA = DMU_OT(DMU_BSWAP_ZAP, B_FALSE), -+ DMU_OTN_ZAP_METADATA = DMU_OT(DMU_BSWAP_ZAP, B_TRUE), - } dmu_object_type_t; - - typedef enum dmu_objset_type { -@@ -116,5 +159,6 @@ typedef enum dmu_objset_type { - #define DMU_POOL_HISTORY "history" - #define DMU_POOL_PROPS "pool_props" - #define DMU_POOL_L2CACHE "l2cache" -+#define DMU_POOL_FEATURES_FOR_READ "features_for_read" - - #endif /* _SYS_DMU_H */ -diff --git a/include/grub/zfs/zfs.h b/include/grub/zfs/zfs.h -index e326c8b..761ade7 100644 ---- a/include/grub/zfs/zfs.h -+++ b/include/grub/zfs/zfs.h -@@ -36,8 +36,13 @@ typedef enum grub_zfs_endian - /* - * On-disk version number. - */ --#define SPA_VERSION 33ULL -- -+#define SPA_VERSION_INITIAL 1ULL -+#define SPA_VERSION_BEFORE_FEATURES 33ULL -+#define SPA_VERSION 5000ULL -+#define SPA_VERSION_FEATURES 5000ULL -+#define SPA_VERSION_IS_SUPPORTED(v) \ -+ (((v) >= SPA_VERSION_INITIAL && (v) <= SPA_VERSION_BEFORE_FEATURES) || \ -+ ((v) >= SPA_VERSION_FEATURES && (v) <= SPA_VERSION)) - /* - * The following are configuration names used in the nvlist describing a pool's - * configuration. -@@ -76,6 +81,7 @@ typedef enum grub_zfs_endian - #define ZPOOL_CONFIG_DDT_HISTOGRAM "ddt_histogram" - #define ZPOOL_CONFIG_DDT_OBJ_STATS "ddt_object_stats" - #define ZPOOL_CONFIG_DDT_STATS "ddt_stats" -+#define ZPOOL_CONFIG_FEATURES_FOR_READ "features_for_read" - /* - * The persistent vdev state is stored as separate values rather than a single - * 'vdev_state' entry. This is because a device can be in multiple states, such -diff --git a/include/grub/zfs/zio.h b/include/grub/zfs/zio.h -index b1c46da..8fad2cc 100644 ---- a/include/grub/zfs/zio.h -+++ b/include/grub/zfs/zio.h -@@ -88,6 +88,7 @@ enum zio_compress { - ZIO_COMPRESS_GZIP8, - ZIO_COMPRESS_GZIP9, - ZIO_COMPRESS_ZLE, -+ ZIO_COMPRESS_LZ4, - ZIO_COMPRESS_FUNCTIONS - }; - -diff --git a/po/POTFILES.in b/po/POTFILES.in -index 987b37a..c55d9e3 100644 ---- a/po/POTFILES.in -+++ b/po/POTFILES.in -@@ -173,6 +173,7 @@ - ./grub-core/fs/zfs/zfs_fletcher.c - ./grub-core/fs/zfs/zfsinfo.c - ./grub-core/fs/zfs/zfs_lzjb.c -+./grub-core/fs/zfs/zfs_lz4.c - ./grub-core/fs/zfs/zfs_sha256.c - ./grub-core/gdb/cstub.c - ./grub-core/gdb/gdb.c diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-2 b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-2 index 392a3ae20e..50753147c2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-2 +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-2 @@ -1,10 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-2,v 1.2 2012/06/28 22:36:53 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-2,v 1.4 2013/09/21 18:10:55 floppym Exp $ # # To populate all changes in this file you need to regenerate your # grub configuration file afterwards: -# 'grub2-mkconfig -o /boot/grub2/grub.cfg' +# 'grub2-mkconfig -o /boot/grub/grub.cfg' # # See the grub info page for documentation on possible variables and # their associated values. @@ -16,8 +16,11 @@ GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 -GRUB_CMDLINE_LINUX_DEFAULT="" -GRUB_CMDLINE_LINUX="" +# Append parameters to the linux kernel command line +# GRUB_CMDLINE_LINUX="" + +# Append parameters to the linux kernel command line for non-recovery entries +#GRUB_CMDLINE_LINUX_DEFAULT="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console @@ -30,11 +33,11 @@ GRUB_CMDLINE_LINUX="" # Path to theme spec txt file. # The starfield is by default provided with use truetype. # NOTE: when enabling custom theme, ensure you have required font/etc. -#GRUB_THEME="/boot/grub2/themes/starfield/theme.txt" +#GRUB_THEME="/boot/grub/themes/starfield/theme.txt" # Background image used on graphical terminal. # Can be in various bitmap formats. -#GRUB_BACKGROUND="/boot/grub2/mybackground.png" +#GRUB_BACKGROUND="/boot/grub/mybackground.png" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel #GRUB_DISABLE_LINUX_UUID=true diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-3 similarity index 50% rename from sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default rename to sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-3 index 061e4d1b9d..9eba9fb208 100644 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/files/grub.default-3 @@ -1,23 +1,36 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default,v 1.3 2012/02/29 01:52:23 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-3,v 1.2 2014/02/28 18:07:13 floppym Exp $ # # To populate all changes in this file you need to regenerate your # grub configuration file afterwards: -# 'grub2-mkconfig -o /boot/grub2/grub.cfg' +# 'grub2-mkconfig -o /boot/grub/grub.cfg' # # See the grub info page for documentation on possible variables and # their associated values. GRUB_DISTRIBUTOR="Gentoo" -GRUB_DEFAULT=0 -GRUB_HIDDEN_TIMEOUT=0 -GRUB_HIDDEN_TIMEOUT_QUIET=true -GRUB_TIMEOUT=10 +# Default menu entry +#GRUB_DEFAULT=0 -GRUB_CMDLINE_LINUX_DEFAULT="" -GRUB_CMDLINE_LINUX="" +# Boot the default entry this many seconds after the menu is displayed +#GRUB_TIMEOUT=5 +#GRUB_TIMEOUT_STYLE=menu + +# Append parameters to the linux kernel command line +#GRUB_CMDLINE_LINUX="" +# +# Examples: +# +# Boot with network interface renaming disabled +# GRUB_CMDLINE_LINUX="net.ifnames=0" +# +# Boot with systemd instead of sysvinit (openrc) +# GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" + +# Append parameters to the linux kernel command line for non-recovery entries +#GRUB_CMDLINE_LINUX_DEFAULT="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console @@ -27,9 +40,14 @@ GRUB_CMDLINE_LINUX="" # You can see them in real GRUB with the command `vbeinfo'. #GRUB_GFXMODE=640x480 +# Path to theme spec txt file. +# The starfield is by default provided with use truetype. +# NOTE: when enabling custom theme, ensure you have required font/etc. +#GRUB_THEME="/boot/grub/themes/starfield/theme.txt" + # Background image used on graphical terminal. # Can be in various bitmap formats. -#GRUB_BACKGROUND="/boot/grub2/mybackground.png" +#GRUB_BACKGROUND="/boot/grub/mybackground.png" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel #GRUB_DISABLE_LINUX_UUID=true diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.92-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.92-r1.ebuild deleted file mode 100644 index 0e3d55851e..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.92-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.92-r1.ebuild,v 1.16 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=0.2 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gnu-alpha/grub/${P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${P}-gentoo-${PATCHVER}.tar.bz2 - http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86" -IUSE="" - -DEPEND=">=sys-libs/ncurses-5.2-r5" - -PATCHDIR="${WORKDIR}/gentoo" - -src_unpack() { - unpack ${A} ; cd "${S}" - - EPATCH_SUFFIX="patch" - - epatch "${PATCHDIR}" - - if [ "`gcc-version`" = "3.3" ] - then - epatch "${PATCHDIR}"/gcc-3.3 - fi -} - -src_compile() { - filter-flags "-fstack-protector" - - unset BLOCK_SIZE #73499 - - #i686-specific code in the boot loader is a bad idea; disabling to ensure - #at least some compatibility if the hard drive is moved to an older or - #incompatible system. - unset CFLAGS - ./configure --prefix=/usr \ - --sbindir=/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-auto-linux-mem-opt \ - || die "Configuration of package failed." - - #the vga16.patch changes configure.in but not configure so - #--enable-vga16 doesnt work. config.h gets overwritten by make. - echo "#define VGA16 1" >> config.h.in - - emake || die "Building failed!" -} - -src_install() { - make \ - prefix="${D}"/usr \ - sbindir="${D}"/sbin \ - mandir="${D}"/usr/share/man \ - infodir="${D}"/usr/share/info \ - install || die "Installation failed." - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO -} - -pkg_postinst() { - [ "$ROOT" != "/" ] && return 0 - if [ ! -e /boot/grub/stage1 ] - then - #if the boot loader files aren't in place, copy them over. - cd /usr/share/grub/i386-pc - cp stage1 stage2 *stage1_5 /boot/grub - else - einfo '*** A new GRUB has been installed. If you need to reinstall' - einfo '*** GRUB to a boot record on your drive, please remember to' - einfo '*** "cp /usr/share/grub/i386-pc/*stage* /boot/grub" first.' - einfo "*** If you're using XFS, unmount and remount /boot as well." - fi - - # change menu.lst to grub.conf - if [ ! -e /boot/grub/grub.conf -a -e /boot/grub/menu.lst ] - then - mv /boot/grub/menu.lst /boot/grub/grub.conf - ln -s grub.conf /boot/grub/menu.lst - einfo "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.94-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.94-r1.ebuild deleted file mode 100644 index 2e736f6efe..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.94-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.94-r1.ebuild,v 1.28 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=0.1 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gnu-alpha/grub/${P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${P}-gentoo-${PATCHVER}.tar.bz2 - http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* x86 amd64" -IUSE="static" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.5" - -PATCHDIR="${WORKDIR}/gentoo" - -pkg_setup() { - if use amd64; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A}; cd "${S}" - - EPATCH_SUFFIX="patch" - - epatch "${PATCHDIR}" -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - unset CFLAGS - - filter-ldflags -pie - append-flags -DNDEBUG - [ `gcc-major-version` -eq 3 ] && append-flags -minline-all-stringops - use static && append-ldflags -static - - autoconf || die - aclocal || die - WANT_AUTOMAKE=1.7 automake || die - - # build the net-bootable grub first - CFLAGS="" \ - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv stage2/{nbgrub,pxegrub} "${S}" - mv stage2/stage2 stage2/stage2.netboot - - make clean || die - - # now build the regular grub - CFLAGS="${CFLAGS}" \ - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die - emake || die "making regular stuff" -} - -src_install() { - make DESTDIR="${D}" install || die - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2 stage2/stage2.netboot - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - docinto gentoo - dodoc "${PATCHDIR}"/README* -} - -pkg_postinst() { - [ "$ROOT" != "/" ] && return 0 - - # change menu.lst to grub.conf - if [ ! -e /boot/grub/grub.conf -a -e /boot/grub/menu.lst ] - then - mv /boot/grub/menu.lst /boot/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - einfo "Linking from new grub.conf name to menu.lst" - ln -s grub.conf /boot/grub/menu.lst - - [ -e /boot/grub/stage2 ] && mv /boot/grub/stage2{,.old} - - einfo "Copying files from /usr/lib/grub to /boot" - cp -p /usr/lib/grub/* /boot/grub - cp -p /usr/lib/grub/grub/*/* /boot/grub - - [ -e /boot/grub/grub.conf ] \ - && /usr/sbin/grub \ - --batch \ - --device-map=/boot/grub/device.map \ - < /boot/grub/grub.conf > /dev/null 2>&1 -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r1.ebuild deleted file mode 100644 index 88c4932d66..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r1.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.96-r1.ebuild,v 1.19 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=0.1 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${PF}-gentoo-${PATCHVER}.tar.bz2 - http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${PF}-gentoo-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="static netboot custom-cflags" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.5" - -PATCHDIR="${WORKDIR}/gentoo" - -pkg_setup() { - if use amd64; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A} ; cd "${S}" - - EPATCH_SUFFIX="patch" - epatch "${PATCHDIR}" - - # a bunch of patches apply to raw autotool files - autoconf || die "autoconf failed" - aclocal || die "aclocal failed" - automake || die "automake failed" -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - exeinto /usr/lib/grub/${CHOST} - use netboot && doexe nbgrub pxegrub stage2/stage2.netboot - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - docinto gentoo - dodoc "${PATCHDIR}"/README.Gentoo.patches -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - - # change menu.lst to grub.conf - if [[ ! -e /boot/grub/grub.conf && -e /boot/grub/menu.lst ]] ; then - mv -f /boot/grub/menu.lst /boot/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - einfo "Linking from new grub.conf name to menu.lst" - [[ ! -e /boot/grub/menu.lst ]] && ln -snf grub.conf /boot/grub/menu.lst - - [[ -e /boot/grub/stage2 ]] && mv /boot/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to /boot" - for x in /lib/grub/*/* /usr/lib/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" /boot/grub - done - - # hardened voodoo - [[ -x /sbin/chpax ]] && /sbin/chpax -spme /sbin/grub - [[ -x /sbin/paxctl ]] && /sbin/paxctl -spme /sbin/grub - - [[ -e /boot/grub/grub.conf ]] \ - && /sbin/grub \ - --batch \ - --device-map=/boot/grub/device.map \ - < /boot/grub/grub.conf > /dev/null 2>&1 -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r2.ebuild deleted file mode 100644 index 4c30e9a3f0..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r2.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.96-r2.ebuild,v 1.13 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=0.1 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${PF}-gentoo-${PATCHVER}.tar.bz2 - http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${PF}-gentoo-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="static netboot custom-cflags" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.5" - -PATCHDIR="${WORKDIR}/gentoo" - -pkg_setup() { - if use amd64; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A} ; cd "${S}" - - EPATCH_SUFFIX="patch" - epatch "${PATCHDIR}" - - # a bunch of patches apply to raw autotool files - autoconf || die "autoconf failed" - aclocal || die "aclocal failed" - automake || die "automake failed" -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - exeinto /usr/lib/grub/${CHOST} - use netboot && doexe nbgrub pxegrub stage2/stage2.netboot - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - docinto gentoo - dodoc "${PATCHDIR}"/README* -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - - # change menu.lst to grub.conf - if [[ ! -e /boot/grub/grub.conf && -e /boot/grub/menu.lst ]] ; then - mv -f /boot/grub/menu.lst /boot/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - einfo "Linking from new grub.conf name to menu.lst" - [[ ! -e /boot/grub/menu.lst ]] && ln -snf grub.conf /boot/grub/menu.lst - - [[ -e /boot/grub/stage2 ]] && mv /boot/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to /boot" - for x in /lib/grub/*/* /usr/lib/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" /boot/grub - done - - [[ -e /boot/grub/grub.conf ]] \ - && /sbin/grub \ - --batch \ - --device-map=/boot/grub/device.map \ - < /boot/grub/grub.conf > /dev/null 2>&1 -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r3.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r3.ebuild deleted file mode 100644 index 84ab941791..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.96-r3.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.96-r3.ebuild,v 1.7 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=1.0 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - http://dev.gentoo.org/~seemant/distfiles/${P}-patches-${PATCHVER}.tar.bz2 - http://dev.gentoo.org/~seemant/distfiles/splash.xpm.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static netboot custom-cflags" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.5" - -pkg_setup() { - if use amd64 ; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - - # a bunch of patches apply to raw autotool files - autoconf || die "autoconf failed" - aclocal || die "aclocal failed" - automake || die "automake failed" -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - exeinto /usr/lib/grub/${CHOST} - use netboot && doexe nbgrub pxegrub stage2/stage2.netboot - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - docinto gentoo - dodoc "${PATCHDIR}"/README* -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - - # change menu.lst to grub.conf - if [[ ! -e /boot/grub/grub.conf && -e /boot/grub/menu.lst ]] ; then - mv -f /boot/grub/menu.lst /boot/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - einfo "Linking from new grub.conf name to menu.lst" - [[ ! -e /boot/grub/menu.lst ]] && ln -snf grub.conf /boot/grub/menu.lst - - [[ -e /boot/grub/stage2 ]] && mv /boot/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to /boot" - for x in /lib/grub/*/* /usr/lib/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" /boot/grub - done - - [[ -e /boot/grub/grub.conf ]] \ - && /sbin/grub \ - --batch \ - --device-map=/boot/grub/device.map \ - < /boot/grub/grub.conf > /dev/null 2>&1 -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r10.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r10.ebuild deleted file mode 100644 index 2f15235574..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r10.ebuild +++ /dev/null @@ -1,291 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r10.ebuild,v 1.14 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -# If you need to roll a new grub-static distfile, here is how. -# - Robin H. Johnson - 29 Nov 2010 -# USE='static -ncurses -netboot -custom-cflags' \ -# GRUB_STATIC_PACKAGE_BUILDING=1 ebuild \ -# grub-${PVR}.ebuild package && \ -# cp -f ${PKGDIR}/${CAT}/${PF}.tbz2 ${DISTDIR}/grub-static-${PVR}.tar.bz2 - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools linux-info pax-utils multilib - -PATCHVER="1.12" # Should match the revision ideally -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -RDEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" -DEPEND="${RDEPEND}" - -pkg_setup() { - local arch="$(tc-arch)" - case ${arch} in - amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;; - esac -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_*reiser4* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=9 ;; - x86) GRUB_MAX_KERNEL_SIZE=5 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - if [ -z "${GRUB_STATIC_PACKAGE_BUILDING}" ]; then - die "You must use the grub-static package if you want a static Grub on amd64!" - else - eerror "You have set GRUB_STATIC_PACKAGE_BUILDING. This" - eerror "is specifically intended for building the tarballs for the" - eerror "grub-static package via USE='static -ncurses'." - eerror "All bets are now off." - ebeep 10 - fi - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - # bug 330745 - pax-mark -m "${D}"/sbin/grub - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - dodoc "${FILESDIR}"/grub.conf.gentoo - prepalldocs - - [ -n "${GRUB_STATIC_PACKAGE_BUILDING}" ] && \ - mv \ - "${D}"/usr/share/doc/${PF} \ - "${D}"/usr/share/doc/grub-static-${PF/grub-} - - insinto /usr/share/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - mkdir -p "${dir}" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ewarn "This means you must use either grub-install or perform" - ewarn "root/setup manually! For more help, see the handbook:" - ewarn "http://www.gentoo.org/doc/en/handbook/handbook-${ARCH}.xml?part=1&chap=10#grub-install-auto" - ebeep - fi - - einfo "Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to ${dir}" - for x in \ - "${ROOT}"/lib*/grub/*/* \ - "${ROOT}"/usr/lib*/grub/*/* \ - "${ROOT}"/usr/share/grub/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ ! -e ${dir}/grub.conf ]] ; then - s="${ROOT}/usr/share/doc/${PF}/grub.conf.gentoo" - [[ -e "${s}" ]] && cat "${s}" >${dir}/grub.conf - [[ -e "${s}.gz" ]] && zcat "${s}.gz" >${dir}/grub.conf - [[ -e "${s}.bz2" ]] && bzcat "${s}.bz2" >${dir}/grub.conf - fi - - # Per bug 218599, we support grub.conf.install for users that want to run a - # specific set of Grub setup commands rather than the default ones. - grub_config=${dir}/grub.conf.install - [[ -e ${grub_config} ]] || grub_config=${dir}/grub.conf - if [[ -e ${grub_config} ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${grub_config}" | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi - einfo "Grub has been installed to ${boot_dir} successfully." -} - -pkg_postinst() { - mount-boot_mount_boot_partition - - if [[ -n ${DONT_MOUNT_BOOT} ]]; then - elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" - elog "the following instructions for your /boot!" - elog "Neglecting to do so may cause your system to fail to boot!" - elog - else - setup_boot_dir "${ROOT}"/boot - # Trailing output because if this is run from pkg_postinst, it gets mixed into - # the other output. - einfo "" - fi - elog "To interactively install grub files to another device such as a USB" - elog "stick, just run the following and specify the directory as prompted:" - elog " emerge --config =${PF}" - elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell" - elog "grub where to install in a non-interactive way." - - # needs to be after we call setup_boot_dir - mount-boot_pkg_postinst -} - -pkg_config() { - local dir - if [ ! -d "${GRUB_ALT_INSTALLDIR}" ]; then - einfo "Enter the directory where you want to setup grub:" - read dir - else - dir="${GRUB_ALT_INSTALLDIR}" - fi - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r11.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r11.ebuild deleted file mode 100644 index 74d4128314..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r11.ebuild +++ /dev/null @@ -1,291 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r11.ebuild,v 1.3 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -# If you need to roll a new grub-static distfile, here is how. -# - Robin H. Johnson - 29 Nov 2010 -# USE='static -ncurses -netboot -custom-cflags' \ -# GRUB_STATIC_PACKAGE_BUILDING=1 ebuild \ -# grub-${PVR}.ebuild package && \ -# cp -f ${PKGDIR}/${CAT}/${PF}.tbz2 ${DISTDIR}/grub-static-${PVR}.tar.bz2 - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools linux-info pax-utils multilib - -PATCHVER="1.13" # Should match the revision ideally -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -RDEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" -DEPEND="${RDEPEND}" - -pkg_setup() { - local arch="$(tc-arch)" - case ${arch} in - amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;; - esac -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_*reiser4* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=9 ;; - x86) GRUB_MAX_KERNEL_SIZE=5 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - if [ -z "${GRUB_STATIC_PACKAGE_BUILDING}" ]; then - die "You must use the grub-static package if you want a static Grub on amd64!" - else - eerror "You have set GRUB_STATIC_PACKAGE_BUILDING. This" - eerror "is specifically intended for building the tarballs for the" - eerror "grub-static package via USE='static -ncurses'." - eerror "All bets are now off." - ebeep 10 - fi - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - # bug 330745 - pax-mark -m "${D}"/sbin/grub - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - dodoc "${FILESDIR}"/grub.conf.gentoo - prepalldocs - - [ -n "${GRUB_STATIC_PACKAGE_BUILDING}" ] && \ - mv \ - "${D}"/usr/share/doc/${PF} \ - "${D}"/usr/share/doc/grub-static-${PF/grub-} - - insinto /usr/share/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - mkdir -p "${dir}" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ewarn "This means you must use either grub-install or perform" - ewarn "root/setup manually! For more help, see the handbook:" - ewarn "http://www.gentoo.org/doc/en/handbook/handbook-${ARCH}.xml?part=1&chap=10#grub-install-auto" - ebeep - fi - - einfo "Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to ${dir}" - for x in \ - "${ROOT}"/lib*/grub/*/* \ - "${ROOT}"/usr/lib*/grub/*/* \ - "${ROOT}"/usr/share/grub/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ ! -e ${dir}/grub.conf ]] ; then - s="${ROOT}/usr/share/doc/${PF}/grub.conf.gentoo" - [[ -e "${s}" ]] && cat "${s}" >${dir}/grub.conf - [[ -e "${s}.gz" ]] && zcat "${s}.gz" >${dir}/grub.conf - [[ -e "${s}.bz2" ]] && bzcat "${s}.bz2" >${dir}/grub.conf - fi - - # Per bug 218599, we support grub.conf.install for users that want to run a - # specific set of Grub setup commands rather than the default ones. - grub_config=${dir}/grub.conf.install - [[ -e ${grub_config} ]] || grub_config=${dir}/grub.conf - if [[ -e ${grub_config} ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${grub_config}" | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi - einfo "Grub has been installed to ${boot_dir} successfully." -} - -pkg_postinst() { - mount-boot_mount_boot_partition - - if [[ -n ${DONT_MOUNT_BOOT} ]]; then - elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" - elog "the following instructions for your /boot!" - elog "Neglecting to do so may cause your system to fail to boot!" - elog - else - setup_boot_dir "${ROOT}"/boot - # Trailing output because if this is run from pkg_postinst, it gets mixed into - # the other output. - einfo "" - fi - elog "To interactively install grub files to another device such as a USB" - elog "stick, just run the following and specify the directory as prompted:" - elog " emerge --config =${PF}" - elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell" - elog "grub where to install in a non-interactive way." - - # needs to be after we call setup_boot_dir - mount-boot_pkg_postinst -} - -pkg_config() { - local dir - if [ ! -d "${GRUB_ALT_INSTALLDIR}" ]; then - einfo "Enter the directory where you want to setup grub:" - read dir - else - dir="${GRUB_ALT_INSTALLDIR}" - fi - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r2.ebuild deleted file mode 100644 index 369d2bef37..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r2.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r2.ebuild,v 1.13 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER="1.2" -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="static netboot custom-cflags" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - =sys-devel/automake-1.9* - >=sys-devel/autoconf-2.5" - -pkg_setup() { - if use amd64 ; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - - # a bunch of patches apply to raw autotool files - autoconf || die "autoconf failed" - aclocal || die "aclocal failed" - automake || die "automake failed" - fi -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample -} - -setup_boot_dir() { - local dir="${1}" - - [[ ! -e "${dir}" ]] && die "${dir} does not exist!" - [[ ! -e "${dir}"/grub ]] && mkdir "${dir}/grub" - - # change menu.lst to grub.conf - if [[ ! -e "${dir}"/grub/grub.conf ]] && [[ -e "${dir}"/grub/menu.lst ]] ; then - mv -f "${dir}"/grub/menu.lst "${dir}"/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e "${dir}"/grub/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}/grub/menu.lst" - fi - - [[ -e "${dir}"/grub/stage2 ]] && mv "${dir}"/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to "${dir}"" - for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" "${dir}"/grub/ - done - - if [[ -e "${dir}"/grub/grub.conf ]] ; then - egrep -v '^[[:space:]]*(#|$|default|fallback|splashimage|timeout|title)' "${dir}"/grub/grub.conf | \ - /sbin/grub --batch \ - --device-map="${dir}"/grub/device.map \ - > /dev/null - fi -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - setup_boot_dir /boot - einfo "To install grub files to another device (like a usb stick), just run:" - einfo " emerge --config =${PF}" -} - -pkg_config() { - local dir - einfo "Enter the directory where you want to setup grub:" - read dir - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r3.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r3.ebuild deleted file mode 100644 index 2da2ba547d..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r3.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r3.ebuild,v 1.14 2012/05/31 00:01:18 vapier Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools multilib - -PATCHVER="1.4" -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="static netboot custom-cflags" - -DEPEND=">=sys-libs/ncurses-5.2-r5" - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample -} - -setup_boot_dir() { - local dir="${1}" - - [[ ! -e "${dir}" ]] && die "${dir} does not exist!" - [[ ! -e "${dir}"/grub ]] && mkdir "${dir}/grub" - - # change menu.lst to grub.conf - if [[ ! -e "${dir}"/grub/grub.conf ]] && [[ -e "${dir}"/grub/menu.lst ]] ; then - mv -f "${dir}"/grub/menu.lst "${dir}"/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e "${dir}"/grub/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/grub/menu.lst - fi - - [[ -e "${dir}"/grub/stage2 ]] && mv "${dir}"/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to ${dir}" - for x in /lib*/grub/*/* /usr/lib*/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" "${dir}"/grub/ - done - - if [[ -e "${dir}"/grub/grub.conf ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${dir}"/grub/grub.conf | \ - /sbin/grub --batch \ - --device-map="${dir}"/grub/device.map \ - > /dev/null - fi -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - [[ -n ${DONT_MOUNT_BOOT} ]] && return 0 - setup_boot_dir /boot - einfo "To install grub files to another device (like a usb stick), just run:" - einfo " emerge --config =${PF}" -} - -pkg_config() { - local dir - einfo "Enter the directory where you want to setup grub:" - read dir - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r4.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r4.ebuild deleted file mode 100644 index 2c18753fba..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r4.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r4.ebuild,v 1.8 2012/05/31 00:01:18 vapier Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools multilib - -PATCHVER="1.4" -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="static netboot custom-cflags" - -DEPEND=">=sys-libs/ncurses-5.2-r5" - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - epatch "${FILESDIR}"/grub-0.97-gpt.patch - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - [[ ! -e ${dir} ]] && die "${dir} does not exist!" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - [[ -e ${dir}/stage2 ]] && mv "${dir}"/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to ${dir}" - for x in "${ROOT}"/lib*/grub/*/* "${ROOT}"/usr/lib*/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" "${dir}"/ - done - - if [[ -e ${dir}/grub.conf ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${dir}"/grub.conf | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi -} - -pkg_postinst() { - [[ -n ${DONT_MOUNT_BOOT} ]] && return 0 - setup_boot_dir "${ROOT}"/boot - einfo "To install grub files to another device (like a usb stick), just run:" - einfo " emerge --config =${PF}" -} - -pkg_config() { - local dir - einfo "Enter the directory where you want to setup grub: " - read dir - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r5.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r5.ebuild deleted file mode 100644 index 9f66811928..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r5.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r5.ebuild,v 1.15 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools multilib - -PATCHVER="1.7" -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -DEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=7 ;; - x86) GRUB_MAX_KERNEL_SIZE=3 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - die "You must use the grub-static package if you want a static Grub on amd64!" - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - [[ ! -e ${dir} ]] && die "${dir} does not exist!" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ebeep - fi - - einfo "Copying files from /lib/grub and /usr/lib/grub to ${dir}" - for x in "${ROOT}"/lib*/grub/*/* "${ROOT}"/usr/lib*/grub/*/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ -e ${dir}/grub.conf ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${dir}"/grub.conf | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi -} - -pkg_postinst() { - [[ -n ${DONT_MOUNT_BOOT} ]] && return 0 - setup_boot_dir "${ROOT}"/boot - einfo "To install grub files to another device (like a usb stick), just run:" - einfo " emerge --config =${PF}" -} - -pkg_config() { - local dir - einfo "Enter the directory where you want to setup grub:" - read dir - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r6.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r6.ebuild deleted file mode 100644 index ca03df3f3c..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r6.ebuild +++ /dev/null @@ -1,269 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r6.ebuild,v 1.12 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools multilib - -PATCHVER="1.7" -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -DEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=7 ;; - x86) GRUB_MAX_KERNEL_SIZE=3 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - if [ -z "${GRUB_STATIC_PACKAGE_BUILDING}" ]; then - die "You must use the grub-static package if you want a static Grub on amd64!" - else - eerror "You have set GRUB_STATIC_PACKAGE_BUILDING. This" - eerror "is specifically intended for building the tarballs for the" - eerror "grub-static package via USE='static -ncurses'." - eerror "All bets are now off." - ebeep 10 - fi - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - dodoc "${FILESDIR}"/grub.conf.gentoo - prepalldocs - - [ -n "${GRUB_STATIC_PACKAGE_BUILDING}" ] && \ - mv \ - "${D}"/usr/share/doc/${PF} \ - "${D}"/usr/share/doc/grub-static-${PF/grub-} - - insinto /usr/share/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - [[ ! -e ${dir} ]] && die "${dir} does not exist!" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ewarn "This means you must use either grub-install or perform" - ewarn "root/setup manually! For more help, see the handbook:" - ewarn "http://www.gentoo.org/doc/en/handbook/handbook-${ARCH}.xml?part=1&chap=10#grub-install-auto" - ebeep - fi - - einfo "Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to ${dir}" - for x in \ - "${ROOT}"/lib*/grub/*/* \ - "${ROOT}"/usr/lib*/grub/*/* \ - "${ROOT}"/usr/share/grub/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ ! -e ${dir}/grub.conf ]] ; then - s="${ROOT}/usr/share/doc/${PF}/grub.conf.gentoo" - [[ -e "${s}" ]] && cat "${s}" >${dir}/grub.conf - [[ -e "${s}.gz" ]] && zcat "${s}.gz" >${dir}/grub.conf - [[ -e "${s}.bz2" ]] && bzcat "${s}.bz2" >${dir}/grub.conf - fi - - # Per bug 218599, we support grub.conf.install for users that want to run a - # specific set of Grub setup commands rather than the default ones. - grub_config=${dir}/grub.conf.install - [[ -e ${grub_config} ]] || grub_config=${dir}/grub.conf - if [[ -e ${grub_config} ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${grub_config}" | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi - einfo "Grub has been installed to ${boot_dir} successfully." -} - -pkg_postinst() { - if [[ -n ${DONT_MOUNT_BOOT} ]]; then - elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" - elog "the following instructions for your /boot!" - elog "Neglecting to do so may cause your system to fail to boot!" - elog - else - setup_boot_dir "${ROOT}"/boot - # Trailing output because if this is run from pkg_postinst, it gets mixed into - # the other output. - einfo "" - fi - elog "To interactively install grub files to another device such as a USB" - elog "stick, just run the following and specify the directory as prompted:" - elog " emerge --config =${PF}" - elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell" - elog "grub where to install in a non-interactive way." - -} - -pkg_config() { - local dir - if [ ! -d "${GRUB_ALT_INSTALLDIR}" ]; then - einfo "Enter the directory where you want to setup grub:" - read dir - else - dir="${GRUB_ALT_INSTALLDIR}" - fi - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r8.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r8.ebuild deleted file mode 100644 index d57d39bf95..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r8.ebuild +++ /dev/null @@ -1,273 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r8.ebuild,v 1.6 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools multilib - -PATCHVER="1.8" # Should match the revision ideally -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -DEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=7 ;; - x86) GRUB_MAX_KERNEL_SIZE=3 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - if [ -z "${GRUB_STATIC_PACKAGE_BUILDING}" ]; then - die "You must use the grub-static package if you want a static Grub on amd64!" - else - eerror "You have set GRUB_STATIC_PACKAGE_BUILDING. This" - eerror "is specifically intended for building the tarballs for the" - eerror "grub-static package via USE='static -ncurses'." - eerror "All bets are now off." - ebeep 10 - fi - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - dodoc "${FILESDIR}"/grub.conf.gentoo - prepalldocs - - [ -n "${GRUB_STATIC_PACKAGE_BUILDING}" ] && \ - mv \ - "${D}"/usr/share/doc/${PF} \ - "${D}"/usr/share/doc/grub-static-${PF/grub-} - - insinto /usr/share/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - [[ ! -e ${dir} ]] && die "${dir} does not exist!" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ewarn "This means you must use either grub-install or perform" - ewarn "root/setup manually! For more help, see the handbook:" - ewarn "http://www.gentoo.org/doc/en/handbook/handbook-${ARCH}.xml?part=1&chap=10#grub-install-auto" - ebeep - fi - - einfo "Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to ${dir}" - for x in \ - "${ROOT}"/lib*/grub/*/* \ - "${ROOT}"/usr/lib*/grub/*/* \ - "${ROOT}"/usr/share/grub/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ ! -e ${dir}/grub.conf ]] ; then - s="${ROOT}/usr/share/doc/${PF}/grub.conf.gentoo" - [[ -e "${s}" ]] && cat "${s}" >${dir}/grub.conf - [[ -e "${s}.gz" ]] && zcat "${s}.gz" >${dir}/grub.conf - [[ -e "${s}.bz2" ]] && bzcat "${s}.bz2" >${dir}/grub.conf - fi - - # Per bug 218599, we support grub.conf.install for users that want to run a - # specific set of Grub setup commands rather than the default ones. - grub_config=${dir}/grub.conf.install - [[ -e ${grub_config} ]] || grub_config=${dir}/grub.conf - if [[ -e ${grub_config} ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${grub_config}" | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi - einfo "Grub has been installed to ${boot_dir} successfully." -} - -pkg_postinst() { - mount-boot_mount_boot_partition - - if [[ -n ${DONT_MOUNT_BOOT} ]]; then - elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" - elog "the following instructions for your /boot!" - elog "Neglecting to do so may cause your system to fail to boot!" - elog - else - setup_boot_dir "${ROOT}"/boot - # Trailing output because if this is run from pkg_postinst, it gets mixed into - # the other output. - einfo "" - fi - elog "To interactively install grub files to another device such as a USB" - elog "stick, just run the following and specify the directory as prompted:" - elog " emerge --config =${PF}" - elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell" - elog "grub where to install in a non-interactive way." - - # needs to be after we call setup_boot_dir - mount-boot_pkg_postinst -} - -pkg_config() { - local dir - if [ ! -d "${GRUB_ALT_INSTALLDIR}" ]; then - einfo "Enter the directory where you want to setup grub:" - read dir - else - dir="${GRUB_ALT_INSTALLDIR}" - fi - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r9.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r9.ebuild deleted file mode 100644 index 83e98b7b01..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97-r9.ebuild +++ /dev/null @@ -1,280 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97-r9.ebuild,v 1.10 2012/05/31 00:01:18 vapier Exp $ - -# XXX: we need to review menu.lst vs grub.conf handling. We've been converting -# all systems to grub.conf (and symlinking menu.lst to grub.conf), but -# we never updated any of the source code (it still all wants menu.lst), -# and there is no indication that upstream is making the transition. - -inherit mount-boot eutils flag-o-matic toolchain-funcs autotools linux-info multilib - -PATCHVER="1.9" # Should match the revision ideally -DESCRIPTION="GNU GRUB Legacy boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 ~x86-fbsd" -IUSE="custom-cflags ncurses netboot static" - -DEPEND="ncurses? ( - >=sys-libs/ncurses-5.2-r5 - amd64? ( app-emulation/emul-linux-x86-baselibs ) - )" - -pkg_setup() { - local arch="$(tc-arch)" - case ${arch} in - amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;; - esac -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # patch breaks booting for some people #111885 - rm "${WORKDIR}"/patch/400_* - - # Grub will not handle a kernel larger than EXTENDED_MEMSIZE Mb as - # discovered in bug 160801. We can change this, however, using larger values - # for this variable means that Grub needs more memory to run and boot. For a - # kernel of size N, Grub needs (N+1)*2. Advanced users should set a custom - # value in make.conf, it is possible to make kernels ~16Mb in size, but it - # needs the kitchen sink built-in. - local t="custom" - if [[ -z ${GRUB_MAX_KERNEL_SIZE} ]] ; then - case $(tc-arch) in - amd64) GRUB_MAX_KERNEL_SIZE=7 ;; - x86) GRUB_MAX_KERNEL_SIZE=3 ;; - esac - t="default" - fi - einfo "Grub will support the ${t} maximum kernel size of ${GRUB_MAX_KERNEL_SIZE} Mb (GRUB_MAX_KERNEL_SIZE)" - - sed -i \ - -e "/^#define.*EXTENDED_MEMSIZE/s,3,${GRUB_MAX_KERNEL_SIZE},g" \ - "${S}"/grub/asmstub.c \ - || die "Failed to hack memory size" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - eautoreconf - fi -} - -src_compile() { - filter-flags -fPIE #168834 - - use amd64 && multilib_toolchain_setup x86 - - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # Per bug 216625, the emul packages do not provide .a libs for performing - # suitable static linking - if use amd64 && use static ; then - if [ -z "${GRUB_STATIC_PACKAGE_BUILDING}" ]; then - die "You must use the grub-static package if you want a static Grub on amd64!" - else - eerror "You have set GRUB_STATIC_PACKAGE_BUILDING. This" - eerror "is specifically intended for building the tarballs for the" - eerror "grub-static package via USE='static -ncurses'." - eerror "All bets are now off." - ebeep 10 - fi - fi - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - $(use_with ncurses curses) \ - || die "econf failed" - - # sanity check due to common failure - use ncurses && ! grep -qs "HAVE_LIBCURSES.*1" config.h && die "USE=ncurses but curses not found" - - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - dodoc "${FILESDIR}"/grub.conf.gentoo - prepalldocs - - [ -n "${GRUB_STATIC_PACKAGE_BUILDING}" ] && \ - mv \ - "${D}"/usr/share/doc/${PF} \ - "${D}"/usr/share/doc/grub-static-${PF/grub-} - - insinto /usr/share/grub - doins "${DISTDIR}"/splash.xpm.gz -} - -setup_boot_dir() { - local boot_dir=$1 - local dir=${boot_dir} - - mkdir -p "${dir}" - [[ ! -L ${dir}/boot ]] && ln -s . "${dir}/boot" - dir="${dir}/grub" - if [[ ! -e ${dir} ]] ; then - mkdir "${dir}" || die "${dir} does not exist!" - fi - - # change menu.lst to grub.conf - if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ; then - mv -f "${dir}"/menu.lst "${dir}"/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - - if [[ ! -e ${dir}/menu.lst ]]; then - einfo "Linking from new grub.conf name to menu.lst" - ln -snf grub.conf "${dir}"/menu.lst - fi - - if [[ -e ${dir}/stage2 ]] ; then - mv "${dir}"/stage2{,.old} - ewarn "*** IMPORTANT NOTE: you must run grub and install" - ewarn "the new version's stage1 to your MBR. Until you do," - ewarn "stage1 and stage2 will still be the old version, but" - ewarn "later stages will be the new version, which could" - ewarn "cause problems such as an unbootable system." - ewarn "This means you must use either grub-install or perform" - ewarn "root/setup manually! For more help, see the handbook:" - ewarn "http://www.gentoo.org/doc/en/handbook/handbook-${ARCH}.xml?part=1&chap=10#grub-install-auto" - ebeep - fi - - einfo "Copying files from /lib/grub, /usr/lib/grub and /usr/share/grub to ${dir}" - for x in \ - "${ROOT}"/lib*/grub/*/* \ - "${ROOT}"/usr/lib*/grub/*/* \ - "${ROOT}"/usr/share/grub/* ; do - [[ -f ${x} ]] && cp -p "${x}" "${dir}"/ - done - - if [[ ! -e ${dir}/grub.conf ]] ; then - s="${ROOT}/usr/share/doc/${PF}/grub.conf.gentoo" - [[ -e "${s}" ]] && cat "${s}" >${dir}/grub.conf - [[ -e "${s}.gz" ]] && zcat "${s}.gz" >${dir}/grub.conf - [[ -e "${s}.bz2" ]] && bzcat "${s}.bz2" >${dir}/grub.conf - fi - - # Per bug 218599, we support grub.conf.install for users that want to run a - # specific set of Grub setup commands rather than the default ones. - grub_config=${dir}/grub.conf.install - [[ -e ${grub_config} ]] || grub_config=${dir}/grub.conf - if [[ -e ${grub_config} ]] ; then - egrep \ - -v '^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)' \ - "${grub_config}" | \ - /sbin/grub --batch \ - --device-map="${dir}"/device.map \ - > /dev/null - fi - - # the grub default commands silently piss themselves if - # the default file does not exist ahead of time - if [[ ! -e ${dir}/default ]] ; then - grub-set-default --root-directory="${boot_dir}" default - fi - einfo "Grub has been installed to ${boot_dir} successfully." -} - -pkg_postinst() { - mount-boot_mount_boot_partition - - if [[ -n ${DONT_MOUNT_BOOT} ]]; then - elog "WARNING: you have DONT_MOUNT_BOOT in effect, so you must apply" - elog "the following instructions for your /boot!" - elog "Neglecting to do so may cause your system to fail to boot!" - elog - else - setup_boot_dir "${ROOT}"/boot - # Trailing output because if this is run from pkg_postinst, it gets mixed into - # the other output. - einfo "" - fi - elog "To interactively install grub files to another device such as a USB" - elog "stick, just run the following and specify the directory as prompted:" - elog " emerge --config =${PF}" - elog "Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell" - elog "grub where to install in a non-interactive way." - - # needs to be after we call setup_boot_dir - mount-boot_pkg_postinst -} - -pkg_config() { - local dir - if [ ! -d "${GRUB_ALT_INSTALLDIR}" ]; then - einfo "Enter the directory where you want to setup grub:" - read dir - else - dir="${GRUB_ALT_INSTALLDIR}" - fi - setup_boot_dir "${dir}" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97.ebuild deleted file mode 100644 index f36bdf426b..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-0.97.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.97.ebuild,v 1.6 2012/02/29 23:09:30 floppym Exp $ - -inherit mount-boot eutils flag-o-matic toolchain-funcs - -PATCHVER=1.0 -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" -SRC_URI="mirror://gentoo/${P}.tar.gz - mirror://gnu-alpha/${PN}/${P}.tar.gz - mirror://gentoo/splash.xpm.gz - mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static netboot custom-cflags" - -RDEPEND=">=sys-libs/ncurses-5.2-r5" -DEPEND="${RDEPEND} - >=sys-devel/automake-1.7 - >=sys-devel/autoconf-2.5" - -pkg_setup() { - if use amd64 ; then - ABI_ALLOW="x86" - ABI="x86" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - if [[ -n ${PATCHVER} ]] ; then - EPATCH_SUFFIX="patch" - epatch "${WORKDIR}"/patch - - # a bunch of patches apply to raw autotool files - autoconf || die "autoconf failed" - aclocal || die "aclocal failed" - automake || die "automake failed" - fi -} - -src_compile() { - unset BLOCK_SIZE #73499 - - ### i686-specific code in the boot loader is a bad idea; disabling to ensure - ### at least some compatibility if the hard drive is moved to an older or - ### incompatible system. - - # grub-0.95 added -fno-stack-protector detection, to disable ssp for stage2, - # but the objcopy's (faulty) test fails if -fstack-protector is default. - # create a cache telling configure that objcopy is ok, and add -C to econf - # to make use of the cache. - # - # CFLAGS has to be undefined running econf, else -fno-stack-protector detection fails. - # STAGE2_CFLAGS is not allowed to be used on emake command-line, it overwrites - # -fno-stack-protector detected by configure, removed from netboot's emake. - use custom-cflags || unset CFLAGS - - export grub_cv_prog_objcopy_absolute=yes #79734 - use static && append-ldflags -static - - # build the net-bootable grub first, but only if "netboot" is set - if use netboot ; then - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt \ - --enable-diskless \ - --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \ - --enable-{epic100,exos205,ni5210,lance,ne2100,ni{50,65}10,natsemi} \ - --enable-{ne,ns8390,wd,otulip,rtl8139,sis900,sk-g16,smc9000,tiara} \ - --enable-{tulip,via-rhine,w89c840} || die "netboot econf failed" - - emake w89c840_o_CFLAGS="-O" || die "making netboot stuff" - - mv -f stage2/{nbgrub,pxegrub} "${S}"/ - mv -f stage2/stage2 stage2/stage2.netboot - - make clean || die "make clean failed" - fi - - # Now build the regular grub - # Note that FFS and UFS2 support are broken for now - stage1_5 files too big - econf \ - --libdir=/lib \ - --datadir=/usr/lib/grub \ - --exec-prefix=/ \ - --disable-auto-linux-mem-opt || die "econf failed" - emake || die "making regular stuff" -} - -src_test() { - # non-default block size also give false pass/fails. - unset BLOCK_SIZE - make check || die "make check failed" -} - -src_install() { - make DESTDIR="${D}" install || die - if use netboot ; then - exeinto /usr/lib/grub/${CHOST} - doexe nbgrub pxegrub stage2/stage2.netboot || die "netboot install" - fi - - insinto /boot/grub - doins "${DISTDIR}"/splash.xpm.gz - newins docs/menu.lst grub.conf.sample - - dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO - newdoc docs/menu.lst grub.conf.sample - - docinto gentoo - dodoc "${PATCHDIR}"/README* -} - -pkg_postinst() { - [[ "${ROOT}" != "/" ]] && return 0 - - # change menu.lst to grub.conf - if [[ ! -e /boot/grub/grub.conf && -e /boot/grub/menu.lst ]] ; then - mv -f /boot/grub/menu.lst /boot/grub/grub.conf - ewarn - ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to grub.conf" - ewarn - fi - einfo "Linking from new grub.conf name to menu.lst" - [[ ! -e /boot/grub/menu.lst ]] && ln -snf grub.conf /boot/grub/menu.lst - - [[ -e /boot/grub/stage2 ]] && mv /boot/grub/stage2{,.old} - - einfo "Copying files from /lib/grub and /usr/lib/grub to /boot" - for x in /lib/grub/*/* /usr/lib/grub/*/* ; do - [[ -f "${x}" ]] && cp -p "${x}" /boot/grub - done - - [[ -e /boot/grub/grub.conf ]] \ - && /sbin/grub \ - --batch \ - --device-map=/boot/grub/device.map \ - < /boot/grub/grub.conf > /dev/null 2>&1 -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-1.99-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-1.99-r2.ebuild deleted file mode 100644 index b9e7d4988a..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-1.99-r2.ebuild +++ /dev/null @@ -1,340 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-1.99-r2.ebuild,v 1.12 2012/05/31 00:01:18 vapier Exp $ - -EAPI=4 - -if [[ ${PV} == "9999" ]] ; then - EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" - LIVE_ECLASS="bzr" - SRC_URI="" - DO_AUTORECONF="true" -else - MY_P=${P/_/\~} - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz - mirror://gentoo/${MY_P}.tar.xz" - # Masked until documentation guys consolidate the guide and approve - # it for usage. - #KEYWORDS="~amd64 ~mips ~x86" - S=${WORKDIR}/${MY_P} -fi - -inherit mount-boot eutils flag-o-matic pax-utils toolchain-funcs multilib ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} -unset LIVE_ECLASS - -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" - -LICENSE="GPL-3" -SLOT="2" -IUSE="custom-cflags debug device-mapper efiemu nls static sdl truetype" - -GRUB_PLATFORMS=( - # everywhere: - emu - # mips only: - qemu-mips yeeloong - # amd64, x86, ppc, ppc64: - ieee1275 - # amd64, x86: - coreboot multiboot efi-32 pc qemu - # amd64: - efi-64 -) -IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" - -# os-prober: Used on runtime to detect other OSes -# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" - dev-libs/libisoburn - dev-libs/lzo - sys-boot/os-prober - >=sys-libs/ncurses-5.2-r5 - debug? ( - sdl? ( media-libs/libsdl ) - ) - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - truetype? ( media-libs/freetype >=media-fonts/unifont-5 ) - ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) - ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils )" -DEPEND="${RDEPEND} - >=dev-lang/python-2.5.2 - sys-devel/flex - virtual/yacc - sys-apps/texinfo -" -if [[ -n ${DO_AUTORECONF} ]] ; then - DEPEND+=" >=sys-devel/autogen-5.10 sys-apps/help2man" -else - DEPEND+=" app-arch/xz-utils" -fi - -export STRIP_MASK="*/grub*/*/*.{mod,img}" -QA_EXECSTACK=" - lib64/grub2/*/setjmp.mod - lib64/grub2/*/kernel.img - sbin/grub2-probe - sbin/grub2-setup - sbin/grub2-mkdevicemap - bin/grub2-script-check - bin/grub2-fstest - bin/grub2-mklayout - bin/grub2-menulst2cfg - bin/grub2-mkrelpath - bin/grub2-mkpasswd-pbkdf2 - bin/grub2-mkfont - bin/grub2-editenv - bin/grub2-mkimage -" - -QA_WX_LOAD=" - lib*/grub2/*/kernel.img - lib*/grub2/*/setjmp.mod -" - -grub_run_phase() { - local phase=$1 - local platform=$2 - [[ -z ${phase} || -z ${platform} ]] && die "${FUNCNAME} [phase] [platform]" - - [[ -d "${WORKDIR}/build-${platform}" ]] || \ - { mkdir "${WORKDIR}/build-${platform}" || die ; } - pushd "${WORKDIR}/build-${platform}" > /dev/null || die - - echo ">>> Running ${phase} for platform \"${platform}\"" - echo ">>> Working in: \"${WORKDIR}/build-${platform}\"" - - grub_${phase} ${platform} - - popd > /dev/null || die -} - -grub_src_configure() { - local platform=$1 - local target - - [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" - - # if we have no platform then --with-platform=guessed does not work - [[ ${platform} == "guessed" ]] && platform="" - - # check if we have to specify the target (EFI) - # or just append correct --with-platform - if [[ -n ${platform} ]]; then - if [[ ${platform} == efi* ]]; then - # EFI platform hack - [[ ${platform/*-} == 32 ]] && target=i386 - [[ ${platform/*-} == 64 ]] && target=x86_64 - # program-prefix is required empty because otherwise it is equal to - # target variable, which we do not want at all - platform=" - --with-platform=${platform/-*} - --target=${target} - --program-prefix= - " - else - platform=" --with-platform=${platform}" - fi - fi - - ECONF_SOURCE="${WORKDIR}/${P}/" \ - econf \ - --disable-werror \ - --sbindir=/sbin \ - --bindir=/bin \ - --libdir=/$(get_libdir) \ - --program-transform-name=s,grub,grub2, \ - $(use_enable debug mm-debug) \ - $(use_enable debug grub-emu-usb) \ - $(use_enable device-mapper) \ - $(use_enable efiemu) \ - $(use_enable nls) \ - $(use_enable truetype grub-mkfont) \ - $(use sdl && use_enable debug grub-emu-sdl) \ - ${platform} -} - -grub_src_compile() { - default_src_compile -} - -grub_src_install() { - default_src_install -} - -src_prepare() { - local i j archs - - epatch \ - "${FILESDIR}/1.99-call_proper_grub_probe.patch" \ - "${FILESDIR}/1.99-improve_devmapper.patch" \ - "${FILESDIR}/1.99-do_not_stat_so_often.patch" \ - "${FILESDIR}/1.99-stat_root_device_properly-p1.patch" \ - "${FILESDIR}/1.99-stat_root_device_properly-p2.patch" - - epatch_user - - # fix texinfo file name, as otherwise the grub2.info file will be - # useless - sed -i \ - -e '/setfilename/s:grub.info:grub2.info:' \ - -e 's:(grub):(grub2):' \ - "${S}"/docs/grub.texi - - # autogen.sh does more than just run autotools - if [[ -n ${DO_AUTORECONF} ]] ; then - sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die - (. ./autogen.sh) || die - fi - - # install into the right dir for eselect #372735 - sed -i \ - -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ - util/bash-completion.d/Makefile.in || die - - # get enabled platforms - GRUB_ENABLED_PLATFORMS="" - for i in ${GRUB_PLATFORMS[@]}; do - use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" - done - [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" - elog "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" -} - -src_configure() { - local i - - use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS - use static && append-ldflags -static - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done -} - -src_compile() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done -} - -src_install() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - # No need to move the info file with the live ebuild since we - # already changed the generated file name during the preparation - # phase. - if [[ ${PV} != "9999" ]]; then - # slot all collisions with grub legacy - mv "${ED}"/usr/share/info/grub.info \ - "${ED}"/usr/share/info/grub2.info || die - fi - - # Do pax marking - local PAX=( - "sbin/grub2-probe" - "sbin/grub2-setup" - "sbin/grub2-mkdevicemap" - "bin/grub2-script-check" - "bin/grub2-fstest" - "bin/grub2-mklayout" - "bin/grub2-menulst2cfg" - "bin/grub2-mkrelpath" - "bin/grub2-mkpasswd-pbkdf2" - "bin/grub2-editenv" - "bin/grub2-mkimage" - ) - for e in ${PAX[@]}; do - pax-mark -mpes "${ED}/${e}" - done - - # can't be in docs array as we use default_src_install in different builddir - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - insinto /etc/default - newins "${FILESDIR}"/grub.default grub - cat <> "${ED}"/lib*/grub2/grub-mkconfig_lib - GRUB_DISTRIBUTOR="Gentoo" -EOF - - elog - elog "To configure GRUB 2, check the defaults in /etc/default/grub and" - elog "then run 'emerge --config =${CATEGORY}/${PF}'." - - # display the link to guide - show_doc_url -} - -show_doc_url() { - elog - elog "For informations how to configure grub-2 please refer to the guide:" - elog " http://wiki.gentoo.org/wiki/GRUB2" -} - -setup_boot_dir() { - local dir=$1 - local use_legacy='n' - - # Make sure target directory exists - mkdir -p "${dir}" - - if [[ -e ${dir/2/}/menu.lst ]] ; then - # Legacy config exists, ask user what to do - einfo "Found legacy GRUB configuration. Do you want to convert it" - einfo "instead of using autoconfig (y/N)?" - read use_legacy - - use_legacy=${use_legacy,,[A-Z]} - fi - - if [[ ${use_legacy} == y* ]] ; then - grub1_cfg=${dir/2/}/menu.lst - grub2_cfg=${dir}/grub.cfg - - # GRUB legacy configuration exists. Use it instead of doing - # our normal autoconfigure. - # - - einfo "Converting legacy config at '${grub1_cfg}' for use by GRUB2." - ebegin "Running: grub2-menulst2cfg '${grub1_cfg}' '${grub2_cfg}'" - grub2-menulst2cfg "${grub1_cfg}" "${grub2_cfg}" &> /dev/null - eend $? - - ewarn - ewarn "Even though the conversion above succeeded, you are STRONGLY" - ewarn "URGED to upgrade to the new GRUB2 configuration format." - - # Remind the user about the documentation - show_doc_url - else - # Run GRUB 2 autoconfiguration - einfo "Running GRUB 2 autoconfiguration." - ebegin "grub2-mkconfig -o '${dir}/grub.cfg'" - grub2-mkconfig -o "${dir}/grub.cfg" &> /dev/null - eend $? - fi - - einfo - einfo "Remember to run grub2-install to activate GRUB2 as your default" - einfo "bootloader." -} - -pkg_config() { - local dir - - mount-boot_mount_boot_partition - - einfo "Enter the directory where you want to setup grub2 ('${ROOT}boot/grub2/'):" - read dir - - [[ -z ${dir} ]] && dir="${ROOT}"boot/grub2 - - setup_boot_dir "${dir}" - - mount-boot_pkg_postinst -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r1.ebuild deleted file mode 100644 index 0ae5472fcd..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r1.ebuild +++ /dev/null @@ -1,355 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00-r1.ebuild,v 1.8 2013/01/19 03:05:28 mattst88 Exp $ - -EAPI=4 - -if [[ ${PV} == "9999" ]] ; then - EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" - LIVE_ECLASS="bzr" - SRC_URI="" - DO_AUTORECONF="true" -else - MY_P=${P/_/\~} - if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then - SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" - else - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz - mirror://gentoo/${MY_P}.tar.xz" - fi - KEYWORDS="~amd64 ~x86" - S=${WORKDIR}/${MY_P} - DO_AUTORECONF="true" -fi - -inherit eutils flag-o-matic multiprocessing pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} -unset LIVE_ECLASS - -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" - -LICENSE="GPL-3" -SLOT="2" -IUSE="custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs" - -GRUB_PLATFORMS=( - # everywhere: - emu - # mips only: - qemu-mips yeeloong - # amd64, x86, ppc, ppc64: - ieee1275 - # amd64, x86: - coreboot multiboot efi-32 pc qemu - # amd64, ia64: - efi-64 -) -IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" - -REQUIRED_USE="grub_platforms_qemu? ( truetype ) - grub_platforms_yeeloong? ( truetype )" - -# os-prober: Used on runtime to detect other OSes -# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" - app-arch/xz-utils - >=sys-libs/ncurses-5.2-r5 - debug? ( - sdl? ( media-libs/libsdl ) - ) - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - libzfs? ( sys-fs/zfs ) - mount? ( sys-fs/fuse ) - truetype? ( - media-libs/freetype - media-fonts/dejavu - >=media-fonts/unifont-5 - ) - ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) - ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) -" -DEPEND="${RDEPEND} - >=dev-lang/python-2.5.2 - sys-devel/flex - sys-devel/bison - sys-apps/help2man - sys-apps/texinfo - static? ( - truetype? ( - app-arch/bzip2[static-libs(+)] - media-libs/freetype[static-libs(+)] - sys-libs/zlib[static-libs(+)] - ) - ) -" -RDEPEND+=" - kernel_linux? ( - grub_platforms_efi-32? ( sys-boot/efibootmgr ) - grub_platforms_efi-64? ( sys-boot/efibootmgr ) - ) -" -if [[ -n ${DO_AUTORECONF} ]] ; then - DEPEND+=" >=sys-devel/autogen-5.10" -fi -if [[ ${PV} != 9999 ]]; then - DEPEND+=" app-arch/xz-utils" -fi - -export STRIP_MASK="*/grub/*/*.{mod,img}" - -QA_EXECSTACK=" - usr/bin/grub* - usr/sbin/grub* - usr/lib*/grub/*/*.mod - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/setjmp.module -" - -QA_WX_LOAD=" - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/*.image -" - -QA_PRESTRIPPED=" - usr/lib.*/grub/.*/kernel.img -" - -grub_run_phase() { - local phase=$1 - local platform=$2 - [[ -z ${phase} || -z ${platform} ]] && die "${FUNCNAME} [phase] [platform]" - - [[ -d "${WORKDIR}/build-${platform}" ]] || \ - { mkdir "${WORKDIR}/build-${platform}" || die ; } - pushd "${WORKDIR}/build-${platform}" > /dev/null || die - - echo ">>> Running ${phase} for platform \"${platform}\"" - echo ">>> Working in: \"${WORKDIR}/build-${platform}\"" - - grub_${phase} ${platform} - - popd > /dev/null || die -} - -grub_src_configure() { - local platform=$1 - local with_platform= - local enable_efiemu="--disable-efiemu" - - [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" - - # Used below for efi cross-building - tc-export CC NM OBJCOPY STRIP - - estack_push CTARGET "${CTARGET}" - estack_push TARGET_CC "${TARGET_CC}" - estack_push TARGET_CFLAGS "${TARGET_CFLAGS}" - estack_push TARGET_CPPFLAGS "${TARGET_CPPFLAGS}" - - case ${platform} in - efi-32) - if [[ ${CHOST} == x86_64* ]]; then - CTARGET="${CTARGET:-i386}" - TARGET_CC="${TARGET_CC:-${CC}}" - export TARGET_CC - fi - with_platform="--with-platform=efi" - ;; - efi-64) - if [[ ${CHOST} == i?86* ]]; then - CTARGET="${CTARGET:-x86_64}" - TARGET_CC="${TARGET_CC:-${CC}}" - TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" - TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" - export TARGET_CC TARGET_CFLAGS TARGET_CPPFLAGS - fi - with_platform="--with-platform=efi" - ;; - guessed) ;; - *) - with_platform="--with-platform=${platform}" - case ${CTARGET:-${CHOST}} in - i?86*|x86_64*) - enable_efiemu=$(use_enable efiemu) - ;; - esac - ;; - esac - - ECONF_SOURCE="${S}" \ - econf \ - --libdir=/usr/lib \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --disable-werror \ - --program-prefix= \ - --program-transform-name="s,grub,grub2," \ - --with-grubdir=grub2 \ - ${with_platform} \ - $(use_enable debug mm-debug) \ - $(use_enable debug grub-emu-usb) \ - $(use_enable device-mapper) \ - ${enable_efiemu} \ - $(use_enable mount grub-mount) \ - $(use_enable nls) \ - $(use_enable truetype grub-mkfont) \ - $(use_enable libzfs) \ - $(use sdl && use_enable debug grub-emu-sdl) - - estack_pop CTARGET CTARGET || die - estack_pop TARGET_CC TARGET_CC || die - estack_pop TARGET_CFLAGS TARGET_CFLAGS || die - estack_pop TARGET_CPPFLAGS TARGET_CPPFLAGS || die -} - -grub_src_compile() { - default_src_compile - pax-mark -mpes "${grub_binaries[@]}" -} - -grub_build_docs() { - emake -C docs html -} - -grub_src_install() { - default_src_install -} - -grub_install_docs() { - emake -C docs DESTDIR="${D}" install-html -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - # Bug 439082 - if $(tc-getLD) --version | grep -q "GNU gold"; then - eerror "GRUB does not function correctly when built with the gold linker." - eerror "Please select the bfd linker with binutils-config." - die "GNU gold detected" - fi - fi -} - -src_prepare() { - if [[ ${PV} != 9999 ]]; then - epatch "${FILESDIR}/${P}-parallel-make.patch" #424231 - epatch "${FILESDIR}/${P}-no-gets.patch" #424703 - epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 - epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 - epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 - epatch "${FILESDIR}/${P}-freebsd.patch" #442050 - epatch "${FILESDIR}/${P}-compression.patch" #424527 - fi - - # fix texinfo file name, bug 416035 - sed -i \ - -e 's/^\* GRUB:/* GRUB2:/' \ - -e 's/(grub)/(grub2)/' -- \ - "${S}"/docs/grub.texi - - epatch_user - - # autogen.sh does more than just run autotools - if [[ -n ${DO_AUTORECONF} ]] ; then - sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die - ( - autopoint() { :; } - . ./autogen.sh - ) || die - fi - - # install into the right dir for eselect #372735 - sed -i \ - -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ - util/bash-completion.d/Makefile.in || die - - # get enabled platforms - GRUB_ENABLED_PLATFORMS="" - local i - for i in ${GRUB_PLATFORMS[@]}; do - use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" - done - [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" - einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" -} - -src_configure() { - local i - - use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS - use static && append-ldflags -static - use elibc_FreeBSD && append-cppflags "-isystem /usr/include" - - # Sandbox bug 404013. - use libzfs && addpredict /etc/dfs:/dev/zfs - - multijob_init - for i in ${GRUB_ENABLED_PLATFORMS}; do - multijob_child_init grub_run_phase ${FUNCNAME} ${i} - done - multijob_finish || die -} - -src_compile() { - # Used for pax marking in grub_src_compile - local grub_binaries=( - grub-editenv - grub-fstest - grub-menulst2cfg - grub-mkimage - grub-mklayout - grub-mkpasswd-pbkdf2 - grub-mkrelpath - grub-script-check - grub-bios-setup - grub-ofpathname - grub-probe - grub-sparc64-setup - ) - use mount && grub_binaries+=( grub-mount ) - use truetype && grub_binaries+=( grub-mkfont ) - - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - # Just build docs once - use doc && grub_run_phase build_docs ${i} -} - -src_install() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - use doc && grub_run_phase install_docs ${i} - - mv "${ED}"usr/share/info/grub{,2}.info || die - - # can't be in docs array as we use default_src_install in different builddir - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - insinto /etc/default - newins "${FILESDIR}"/grub.default-2 grub -} - -pkg_postinst() { - # display the link to guide - elog "For information on how to configure grub-2 please refer to the guide:" - elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" - if ! has_version sys-boot/os-prober; then - elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." - fi - if ! has_version dev-libs/libisoburn; then - elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." - fi - if has_version sys-boot/grub:0; then - ewarn "If you want to keep GRUB Legacy (grub-0.97) installed, please run" - ewarn "the following to add sys-boot/grub:0 to your world file." - ewarn "emerge --noreplace sys-boot/grub:0" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r2.ebuild deleted file mode 100644 index d8bc8a96c7..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00-r2.ebuild +++ /dev/null @@ -1,349 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00-r2.ebuild,v 1.2 2013/02/03 22:39:46 floppym Exp $ - -EAPI=4 - -if [[ ${PV} == "9999" ]] ; then - EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" - LIVE_ECLASS="bzr" - SRC_URI="" - DO_AUTORECONF="true" -else - MY_P=${P/_/\~} - if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then - SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" - else - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz - mirror://gentoo/${MY_P}.tar.xz" - fi - KEYWORDS="~amd64 ~x86" - S=${WORKDIR}/${MY_P} - DO_AUTORECONF="true" -fi - -inherit eutils flag-o-matic multiprocessing pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} -unset LIVE_ECLASS - -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" - -LICENSE="GPL-3" -SLOT="2" -IUSE="custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs" - -GRUB_PLATFORMS=( - # everywhere: - emu - # mips only: - qemu-mips yeeloong - # amd64, x86, ppc, ppc64: - ieee1275 - # amd64, x86: - coreboot multiboot efi-32 pc qemu - # amd64, ia64: - efi-64 -) -IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" - -REQUIRED_USE="grub_platforms_qemu? ( truetype )" - -# os-prober: Used on runtime to detect other OSes -# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" - app-arch/xz-utils - >=sys-libs/ncurses-5.2-r5 - debug? ( - sdl? ( media-libs/libsdl ) - ) - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - libzfs? ( sys-fs/zfs ) - mount? ( sys-fs/fuse ) - truetype? ( - media-libs/freetype - media-fonts/dejavu - >=media-fonts/unifont-5 - ) - ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) - ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) -" -DEPEND="${RDEPEND} - >=dev-lang/python-2.5.2 - sys-devel/flex - sys-devel/bison - sys-apps/help2man - sys-apps/texinfo - static? ( - truetype? ( - app-arch/bzip2[static-libs(+)] - media-libs/freetype[static-libs(+)] - sys-libs/zlib[static-libs(+)] - ) - ) -" -RDEPEND+=" - grub_platforms_efi-32? ( sys-boot/efibootmgr ) - grub_platforms_efi-64? ( sys-boot/efibootmgr ) -" -if [[ -n ${DO_AUTORECONF} ]] ; then - DEPEND+=" >=sys-devel/autogen-5.10" -else - DEPEND+=" app-arch/xz-utils" -fi - -export STRIP_MASK="*/grub/*/*.{mod,img}" - -QA_EXECSTACK=" - usr/bin/grub* - usr/sbin/grub* - usr/lib*/grub/*/*.mod - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/setjmp.module -" - -QA_WX_LOAD=" - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/*.image -" - -QA_PRESTRIPPED=" - usr/lib.*/grub/.*/kernel.img -" - -grub_run_phase() { - local phase=$1 - local platform=$2 - [[ -z ${phase} || -z ${platform} ]] && die "${FUNCNAME} [phase] [platform]" - - [[ -d "${WORKDIR}/build-${platform}" ]] || \ - { mkdir "${WORKDIR}/build-${platform}" || die ; } - pushd "${WORKDIR}/build-${platform}" > /dev/null || die - - echo ">>> Running ${phase} for platform \"${platform}\"" - echo ">>> Working in: \"${WORKDIR}/build-${platform}\"" - - grub_${phase} ${platform} - - popd > /dev/null || die -} - -grub_src_configure() { - local platform=$1 - local with_platform= - local enable_efiemu="--disable-efiemu" - - [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" - - # Used below for efi cross-building - tc-export CC NM OBJCOPY STRIP - - estack_push CTARGET "${CTARGET}" - estack_push TARGET_CC "${TARGET_CC}" - estack_push TARGET_CFLAGS "${TARGET_CFLAGS}" - estack_push TARGET_CPPFLAGS "${TARGET_CPPFLAGS}" - - case ${platform} in - efi-32) - if [[ ${CHOST} == x86_64* ]]; then - CTARGET="${CTARGET:-i386}" - TARGET_CC="${TARGET_CC:-${CC}}" - export TARGET_CC - fi - with_platform="--with-platform=efi" - ;; - efi-64) - if [[ ${CHOST} == i?86* ]]; then - CTARGET="${CTARGET:-x86_64}" - TARGET_CC="${TARGET_CC:-${CC}}" - TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" - TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" - export TARGET_CC TARGET_CFLAGS TARGET_CPPFLAGS - fi - with_platform="--with-platform=efi" - ;; - guessed) ;; - *) - with_platform="--with-platform=${platform}" - case ${CTARGET:-${CHOST}} in - i?86*|x86_64*) - enable_efiemu=$(use_enable efiemu) - ;; - esac - ;; - esac - - ECONF_SOURCE="${S}" \ - econf \ - --libdir=/usr/lib \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --disable-werror \ - --program-prefix= \ - --program-transform-name="s,grub,grub2," \ - --with-grubdir=grub2 \ - ${with_platform} \ - $(use_enable debug mm-debug) \ - $(use_enable debug grub-emu-usb) \ - $(use_enable device-mapper) \ - ${enable_efiemu} \ - $(use_enable mount grub-mount) \ - $(use_enable nls) \ - $(use_enable truetype grub-mkfont) \ - $(use_enable libzfs) \ - $(use sdl && use_enable debug grub-emu-sdl) - - estack_pop CTARGET CTARGET || die - estack_pop TARGET_CC TARGET_CC || die - estack_pop TARGET_CFLAGS TARGET_CFLAGS || die - estack_pop TARGET_CPPFLAGS TARGET_CPPFLAGS || die -} - -grub_src_compile() { - default_src_compile - pax-mark -mpes "${grub_binaries[@]}" -} - -grub_build_docs() { - emake -C docs html -} - -grub_src_install() { - default_src_install -} - -grub_install_docs() { - emake -C docs DESTDIR="${D}" install-html -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - # Bug 439082 - if $(tc-getLD) --version | grep -q "GNU gold"; then - eerror "GRUB does not function correctly when built with the gold linker." - eerror "Please select the bfd linker with binutils-config." - die "GNU gold detected" - fi - fi -} - -src_prepare() { - if [[ ${PV} != 9999 ]]; then - epatch "${FILESDIR}/${P}-parallel-make.patch" #424231 - epatch "${FILESDIR}/${P}-no-gets.patch" #424703 - epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 - epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 - epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 - epatch "${FILESDIR}/${P}-zfs-feature-flag-support.patch" #455358 - fi - - # fix texinfo file name, bug 416035 - sed -i \ - -e 's/^\* GRUB:/* GRUB2:/' \ - -e 's/(grub)/(grub2)/' -- \ - "${S}"/docs/grub.texi - - epatch_user - - # autogen.sh does more than just run autotools - if [[ -n ${DO_AUTORECONF} ]] ; then - sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die - ( - autopoint() { :; } - . ./autogen.sh - ) || die - fi - - # install into the right dir for eselect #372735 - sed -i \ - -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ - util/bash-completion.d/Makefile.in || die - - # get enabled platforms - GRUB_ENABLED_PLATFORMS="" - local i - for i in ${GRUB_PLATFORMS[@]}; do - use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" - done - [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" - einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" -} - -src_configure() { - local i - - use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS - use static && append-ldflags -static - - # Sandbox bug 404013. - use libzfs && addpredict /etc/dfs:/dev/zfs - - multijob_init - for i in ${GRUB_ENABLED_PLATFORMS}; do - multijob_child_init grub_run_phase ${FUNCNAME} ${i} - done - multijob_finish || die -} - -src_compile() { - # Used for pax marking in grub_src_compile - local grub_binaries=( - grub-editenv - grub-fstest - grub-menulst2cfg - grub-mkimage - grub-mklayout - grub-mkpasswd-pbkdf2 - grub-mkrelpath - grub-script-check - grub-bios-setup - grub-ofpathname - grub-probe - grub-sparc64-setup - ) - use mount && grub_binaries+=( grub-mount ) - use truetype && grub_binaries+=( grub-mkfont ) - - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - # Just build docs once - use doc && grub_run_phase build_docs ${i} -} - -src_install() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - use doc && grub_run_phase install_docs ${i} - - mv "${ED}"usr/share/info/grub{,2}.info || die - - # can't be in docs array as we use default_src_install in different builddir - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - insinto /etc/default - newins "${FILESDIR}"/grub.default-2 grub -} - -pkg_postinst() { - # display the link to guide - elog "For information on how to configure grub-2 please refer to the guide:" - elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" - if ! has_version sys-boot/os-prober; then - elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." - fi - if ! has_version dev-libs/libisoburn; then - elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." - fi - if has_version sys-boot/grub:0; then - ewarn "If you want to keep GRUB Legacy (grub-0.97) installed, please run" - ewarn "the following to add sys-boot/grub:0 to your world file." - ewarn "emerge --noreplace sys-boot/grub:0" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_beta6.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_beta6.ebuild deleted file mode 100644 index cab3bd99ce..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_beta6.ebuild +++ /dev/null @@ -1,292 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_beta6.ebuild,v 1.1 2012/06/02 16:06:48 floppym Exp $ - -EAPI=4 - -if [[ ${PV} == "9999" ]] ; then - EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" - LIVE_ECLASS="bzr" - SRC_URI="" - DO_AUTORECONF="true" -else - MY_P=${P/_/\~} - if [[ ${PV} == *_alpha* || ${PV} == *_beta* ]]; then - SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" - else - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz - mirror://gentoo/${MY_P}.tar.xz" - fi - # Masked until documentation guys consolidate the guide and approve - # it for usage. - #KEYWORDS="~amd64 ~mips ~x86" - S=${WORKDIR}/${MY_P} -fi - -inherit eutils flag-o-matic pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} -unset LIVE_ECLASS - -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" - -LICENSE="GPL-3" -SLOT="2" -IUSE="custom-cflags debug device-mapper efiemu mount nls static sdl truetype libzfs" - -GRUB_PLATFORMS=( - # everywhere: - emu - # mips only: - qemu-mips yeeloong - # amd64, x86, ppc, ppc64: - ieee1275 - # amd64, x86: - coreboot multiboot efi-32 pc qemu - # amd64, ia64: - efi-64 -) -IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" - -# os-prober: Used on runtime to detect other OSes -# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" - dev-libs/lzo - >=sys-libs/ncurses-5.2-r5 - debug? ( - sdl? ( media-libs/libsdl ) - ) - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - libzfs? ( sys-fs/zfs ) - mount? ( sys-fs/fuse ) - truetype? ( - media-libs/freetype - >=media-fonts/unifont-5 - ) - ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) - ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) -" -DEPEND="${RDEPEND} - >=dev-lang/python-2.5.2 - sys-devel/flex - virtual/yacc - sys-apps/texinfo - static? ( - truetype? ( - app-arch/bzip2[static-libs(+)] - media-libs/freetype[static-libs(+)] - sys-libs/zlib[static-libs(+)] - ) - ) -" -RDEPEND+=" - grub_platforms_efi-32? ( sys-boot/efibootmgr ) - grub_platforms_efi-64? ( sys-boot/efibootmgr ) -" -if [[ -n ${DO_AUTORECONF} ]] ; then - DEPEND+=" >=sys-devel/autogen-5.10 sys-apps/help2man" -else - DEPEND+=" app-arch/xz-utils" -fi - -export STRIP_MASK="*/grub/*/*.{mod,img}" - -QA_EXECSTACK=" - usr/bin/grub* - usr/sbin/grub* - usr/lib*/grub/*/*.mod - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/setjmp.module -" - -QA_WX_LOAD=" - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/*.image -" - -QA_PRESTRIPPED=" - usr/lib.*/grub/.*/kernel.img -" - -grub_run_phase() { - local phase=$1 - local platform=$2 - [[ -z ${phase} || -z ${platform} ]] && die "${FUNCNAME} [phase] [platform]" - - [[ -d "${WORKDIR}/build-${platform}" ]] || \ - { mkdir "${WORKDIR}/build-${platform}" || die ; } - pushd "${WORKDIR}/build-${platform}" > /dev/null || die - - echo ">>> Running ${phase} for platform \"${platform}\"" - echo ">>> Working in: \"${WORKDIR}/build-${platform}\"" - - grub_${phase} ${platform} - - popd > /dev/null || die -} - -grub_src_configure() { - local platform=$1 - local with_platform= - - [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" - - # Used below for efi cross-building - tc-export CC NM OBJCOPY STRIP - - estack_push CTARGET "${CTARGET}" - estack_push TARGET_CC "${TARGET_CC}" - estack_push TARGET_CFLAGS "${TARGET_CFLAGS}" - estack_push TARGET_CPPFLAGS "${TARGET_CPPFLAGS}" - - case ${platform} in - efi-32) - if [[ ${CHOST} == x86_64* ]]; then - CTARGET="${CTARGET:-i386}" - TARGET_CC="${TARGET_CC:-${CC}}" - export TARGET_CC - fi - with_platform="--with-platform=efi" - ;; - efi-64) - if [[ ${CHOST} == i?86* ]]; then - CTARGET="${CTARGET:-x86_64}" - TARGET_CC="${TARGET_CC:-${CC}}" - TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" - TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" - export TARGET_CC TARGET_CFLAGS TARGET_CPPFLAGS - fi - with_platform="--with-platform=efi" - ;; - guessed) ;; - *) with_platform="--with-platform=${platform}" ;; - esac - - ECONF_SOURCE="${S}" \ - econf \ - --disable-werror \ - --program-prefix= \ - --program-transform-name="s,grub,grub2," \ - --with-grubdir=grub2 \ - ${with_platform} \ - $(use_enable debug mm-debug) \ - $(use_enable debug grub-emu-usb) \ - $(use_enable device-mapper) \ - $(use_enable efiemu) \ - $(use_enable mount grub-mount) \ - $(use_enable nls) \ - $(use_enable truetype grub-mkfont) \ - $(use_enable libzfs) \ - $(use sdl && use_enable debug grub-emu-sdl) - - estack_pop CTARGET CTARGET || die - estack_pop TARGET_CC TARGET_CC || die - estack_pop TARGET_CFLAGS TARGET_CFLAGS || die - estack_pop TARGET_CPPFLAGS TARGET_CPPFLAGS || die -} - -grub_src_compile() { - default_src_compile - pax-mark -mpes "${grub_binaries[@]}" -} - -grub_src_install() { - default_src_install -} - -src_prepare() { - local i j - - # fix texinfo file name, bug 416035 - sed -i \ - -e 's/^\* GRUB:/* GRUB2:/' \ - -e 's/(grub)/(grub2)/' -- \ - "${S}"/docs/grub.texi - - epatch_user - - # autogen.sh does more than just run autotools - if [[ -n ${DO_AUTORECONF} ]] ; then - sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die - (. ./autogen.sh) || die - fi - - # install into the right dir for eselect #372735 - sed -i \ - -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ - util/bash-completion.d/Makefile.in || die - - # get enabled platforms - GRUB_ENABLED_PLATFORMS="" - for i in ${GRUB_PLATFORMS[@]}; do - use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" - done - [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" - elog "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" -} - -src_configure() { - local i - - use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS - use libzfs && addpredict /etc/dfs - use static && append-ldflags -static - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done -} - -src_compile() { - # Used for pax marking in grub_src_compile - local grub_binaries=( - grub-editenv - grub-fstest - grub-menulst2cfg - grub-mkimage - grub-mklayout - grub-mkpasswd-pbkdf2 - grub-mkrelpath - grub-script-check - grub-bios-setup - grub-ofpathname - grub-probe - grub-sparc64-setup - ) - use mount && grub_binaries+=( grub-mount ) - use truetype && grub_binaries+=( grub-mkfont ) - - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done -} - -src_install() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - mv "${ED}"usr/share/info/grub{,2}.info || die - - # can't be in docs array as we use default_src_install in different builddir - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - insinto /etc/default - newins "${FILESDIR}"/grub.default grub -} - -pkg_postinst() { - # display the link to guide - elog "For information on how to configure grub-2 please refer to the guide:" - elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" - if ! has_version sys-boot/os-prober; then - elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." - fi - if ! has_version dev-libs/libisoburn; then - elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_p5107-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_p5107-r2.ebuild new file mode 100644 index 0000000000..bb491249f0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.00_p5107-r2.ebuild @@ -0,0 +1,318 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.00_p5107-r2.ebuild,v 1.8 2014/03/15 03:31:16 floppym Exp $ + +EAPI=5 + +if [[ ${PV} == 9999 ]]; then + AUTOTOOLS_AUTORECONF=1 + GRUB_AUTOGEN=1 +fi + +inherit autotools-utils bash-completion-r1 eutils flag-o-matic mount-boot multibuild pax-utils toolchain-funcs versionator + +if [[ ${PV} != 9999 ]]; then + if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then + # The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860 + MY_P=${P/_/'~'} + SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" + S=${WORKDIR}/${MY_P} + else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz + mirror://gentoo/${P}.tar.xz + http://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + S=${WORKDIR}/${P%_*} + fi + KEYWORDS="amd64 x86" + PATCHES=( + "${FILESDIR}/grub-2.00-freetype-2.5.1.patch" + ) +else + inherit git-r3 + EGIT_REPO_URI="git://git.sv.gnu.org/grub.git + http://git.savannah.gnu.org/r/grub.git" +fi + +DEJAVU=dejavu-sans-ttf-2.34 +UNIFONT=unifont-5.1.20080820.pcf +SRC_URI+=" truetype? ( + mirror://sourceforge/dejavu/${DEJAVU}.zip + http://unifoundry.com/${UNIFONT}.gz +)" + +DESCRIPTION="GNU GRUB boot loader" +HOMEPAGE="http://www.gnu.org/software/grub/" + +# Includes licenses for dejavu and unifont +LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +SLOT="2" +IUSE="custom-cflags debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs" + +GRUB_ALL_PLATFORMS=( + # everywhere: + emu + # mips only: + qemu-mips yeeloong + # amd64, x86, ppc, ppc64: + ieee1275 + # amd64, x86: + coreboot multiboot efi-32 pc qemu + # amd64, ia64: + efi-64 +) +IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" + +REQUIRED_USE="grub_platforms_qemu? ( truetype ) + grub_platforms_yeeloong? ( truetype )" + +# os-prober: Used on runtime to detect other OSes +# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue +RDEPEND=" + app-arch/xz-utils + >=sys-libs/ncurses-5.2-r5 + debug? ( + sdl? ( media-libs/libsdl ) + ) + device-mapper? ( >=sys-fs/lvm2-2.02.45 ) + libzfs? ( sys-fs/zfs ) + mount? ( sys-fs/fuse ) + truetype? ( media-libs/freetype ) + ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) + ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) +" +DEPEND="${RDEPEND} + app-misc/pax-utils + >=dev-lang/python-2.5.2 + sys-devel/flex + sys-devel/bison + sys-apps/help2man + sys-apps/texinfo + static? ( + app-arch/xz-utils[static-libs(+)] + truetype? ( + app-arch/bzip2[static-libs(+)] + media-libs/freetype[static-libs(+)] + sys-libs/zlib[static-libs(+)] + ) + ) + test? ( + dev-libs/libisoburn + app-emulation/qemu + ) + truetype? ( app-arch/unzip ) +" +RDEPEND+=" + kernel_linux? ( + grub_platforms_efi-32? ( sys-boot/efibootmgr ) + grub_platforms_efi-64? ( sys-boot/efibootmgr ) + ) + !multislot? ( !sys-boot/grub:0 ) + nls? ( sys-devel/gettext ) +" + +if [[ -n ${GRUB_AUTOGEN} ]]; then + DEPEND+=" >=sys-devel/autogen-5.10" +fi + +STRIP_MASK="*/grub/*/*.{mod,img}" +RESTRICT="test" + +QA_EXECSTACK=" + usr/bin/grub* + usr/sbin/grub* + usr/lib*/grub/*/*.mod + usr/lib*/grub/*/*.module + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img +" + +QA_WX_LOAD=" + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img + usr/lib*/grub/*/*.image +" + +QA_PRESTRIPPED=" + usr/lib.*/grub/.*/kernel.img +" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + # Bug 439082 + if ! version_is_at_least 4.8 "$(gcc-version)" && + $(tc-getLD) --version | grep -q "GNU gold"; then + eerror "GRUB does not function correctly when built with the gold linker." + eerror "Please select the bfd linker with binutils-config." + die "GNU gold detected" + fi + fi +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi + default_src_unpack +} + +src_prepare() { + [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" + sed -i -e /autoreconf/d autogen.sh || die + if use multislot; then + # fix texinfo file name, bug 416035 + sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' docs/grub.texi || die + fi + epatch_user + if [[ -n ${GRUB_AUTOGEN} ]]; then + bash autogen.sh || die + fi + if [[ -n ${AUTOTOOLS_AUTORECONF} ]]; then + autopoint() { return 0; } + eautoreconf + fi +} + +setup_fonts() { + ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die + ln -s "${WORKDIR}/${UNIFONT}" unifont.pcf || die +} + +grub_configure() { + local platform + + case ${MULTIBUILD_VARIANT} in + efi-32) + platform=efi + if [[ ${CTARGET:-${CHOST}} == x86_64* ]]; then + local CTARGET=${CTARGET:-i386} + fi ;; + efi-64) + platform=efi + if [[ ${CTARGET:-${CHOST}} == i?86* ]]; then + local CTARGET=${CTARGET:-x86_64} + local TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" + local TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" + export TARGET_CFLAGS TARGET_CPPFLAGS + fi ;; + guessed) ;; + *) platform=${MULTIBUILD_VARIANT} ;; + esac + + local myeconfargs=( + --disable-werror + --program-prefix= + --libdir="${EPREFIX}"/usr/lib + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable debug mm-debug) + $(use_enable debug grub-emu-usb) + $(use_enable device-mapper) + $(use_enable mount grub-mount) + $(use_enable nls) + $(use_enable truetype grub-mkfont) + $(use_enable libzfs) + $(use sdl && use_enable debug grub-emu-sdl) + ${platform:+--with-platform=}${platform} + + # Let configure detect this where supported + $(usex efiemu '' '--disable-efiemu') + ) + + if use multislot; then + myeconfargs+=( --program-transform-name="s,grub,grub2," ) + fi + + if use truetype; then + mkdir -p "${BUILD_DIR}" || die + run_in_build_dir setup_fonts + fi + + autotools-utils_src_configure +} + +src_configure() { + use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS + use static && export HOST_LDFLAGS="${HOST_LDFLAGS} -static" + + if version_is_at_least 4.8 "$(gcc-version)"; then + export TARGET_LDFLAGS+=" -fuse-ld=bfd" + fi + + tc-export CC NM OBJCOPY STRIP + export TARGET_CC=${TARGET_CC:-${CC}} + tc-export BUILD_CC # Bug 485592 + + # Portage will take care of cleaning up GRUB_PLATFORMS + MULTIBUILD_VARIANTS=( ${GRUB_PLATFORMS:-guessed} ) + multibuild_parallel_foreach_variant grub_configure +} + +src_compile() { + # Sandbox bug 404013. + use libzfs && addpredict /etc/dfs:/dev/zfs + + multibuild_foreach_variant autotools-utils_src_compile + + use doc && multibuild_for_best_variant \ + autotools-utils_src_compile -C docs html +} + +src_test() { + # The qemu dependency is a bit complex. + # You will need to adjust QEMU_SOFTMMU_TARGETS to match the cpu/platform. + multibuild_foreach_variant autotools-utils_src_test +} + +src_install() { + multibuild_foreach_variant autotools-utils_src_install \ + bashcompletiondir="$(get_bashcompdir)" + + use doc && multibuild_for_best_variant run_in_build_dir \ + emake -C docs DESTDIR="${D}" install-html + + if use multislot; then + mv "${ED%/}"/usr/share/info/grub{,2}.info || die + fi + + insinto /etc/default + newins "${FILESDIR}"/grub.default-2 grub + + cd "${ED}" || die + pax-mark mpes $(scanelf -BF %F usr/{bin,sbin}) +} + +pkg_postinst() { + mount-boot_mount_boot_partition + + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" && ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then + mkdir -p "${ROOT%/}/boot/grub" + ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" + fi + + mount-boot_pkg_postinst + + elog "For information on how to configure GRUB2 please refer to the guide:" + elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" + + if has_version 'sys-boot/grub:0'; then + elog "A migration guide for GRUB Legacy users is available:" + elog " http://www.gentoo.org/doc/en/grub2-migration.xml" + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if ! has_version sys-boot/os-prober; then + elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." + fi + if ! has_version dev-libs/libisoburn; then + elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." + fi + else + local v + for v in ${REPLACING_VERSIONS}; do + if use multislot && ! version_is_at_least 2.00_p5107-r1 ${v}; then + ewarn "The grub directory has changed from /boot/grub2 to /boot/grub." + ewarn "Please run grub2-install and grub2-mkconfig -o /boot/grub/grub.cfg." + break + fi + done + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.02_beta2.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.02_beta2.ebuild new file mode 100644 index 0000000000..46984e2b8d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-2.02_beta2.ebuild @@ -0,0 +1,320 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.02_beta2.ebuild,v 1.8 2014/06/22 18:02:08 floppym Exp $ + +EAPI=5 + +if [[ ${PV} == 9999 ]]; then + AUTOTOOLS_AUTORECONF=1 + GRUB_AUTOGEN=1 +fi + +if [[ -n ${GRUB_AUTOGEN} ]]; then + PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) + inherit python-any-r1 +fi + +inherit autotools-utils bash-completion-r1 eutils flag-o-matic mount-boot multibuild pax-utils toolchain-funcs versionator + +if [[ ${PV} != 9999 ]]; then + if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then + # The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860 + MY_P=${P/_/'~'} + SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" + S=${WORKDIR}/${MY_P} + else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz + mirror://gentoo/${P}.tar.xz + http://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + S=${WORKDIR}/${P%_*} + fi + KEYWORDS="~amd64 ~x86" + PATCHES=() +else + inherit git-r3 + EGIT_REPO_URI="git://git.sv.gnu.org/grub.git + http://git.savannah.gnu.org/r/grub.git" +fi + +DEJAVU=dejavu-sans-ttf-2.34 +UNIFONT=unifont-7.0.01 +SRC_URI+=" truetype? ( + mirror://sourceforge/dejavu/${DEJAVU}.zip + mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz +)" + +DESCRIPTION="GNU GRUB boot loader" +HOMEPAGE="http://www.gnu.org/software/grub/" + +# Includes licenses for dejavu and unifont +LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +SLOT="2" +IUSE="debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs" + +GRUB_ALL_PLATFORMS=( + # everywhere: + emu + # mips only: + qemu-mips yeeloong + # amd64, x86, ppc, ppc64: + ieee1275 + # amd64, x86: + coreboot multiboot efi-32 pc qemu xen + # amd64, ia64: + efi-64 +) +IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" + +REQUIRED_USE="grub_platforms_qemu? ( truetype ) + grub_platforms_yeeloong? ( truetype )" + +# os-prober: Used on runtime to detect other OSes +# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue +RDEPEND=" + app-arch/xz-utils + >=sys-libs/ncurses-5.2-r5 + debug? ( + sdl? ( media-libs/libsdl ) + ) + device-mapper? ( >=sys-fs/lvm2-2.02.45 ) + libzfs? ( sys-fs/zfs ) + mount? ( sys-fs/fuse ) + truetype? ( media-libs/freetype ) + ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) + ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + app-misc/pax-utils + sys-devel/flex + sys-devel/bison + sys-apps/help2man + sys-apps/texinfo + grub_platforms_xen? ( app-emulation/xen-tools ) + static? ( + app-arch/xz-utils[static-libs(+)] + truetype? ( + app-arch/bzip2[static-libs(+)] + media-libs/freetype[static-libs(+)] + sys-libs/zlib[static-libs(+)] + ) + ) + test? ( + dev-libs/libisoburn + app-emulation/qemu + ) + truetype? ( app-arch/unzip ) +" +RDEPEND+=" + kernel_linux? ( + grub_platforms_efi-32? ( sys-boot/efibootmgr ) + grub_platforms_efi-64? ( sys-boot/efibootmgr ) + ) + !multislot? ( !sys-boot/grub:0 ) + nls? ( sys-devel/gettext ) +" + +STRIP_MASK="*/grub/*/*.{mod,img}" +RESTRICT="test" + +QA_EXECSTACK=" + usr/bin/grub*-emu* + usr/lib*/grub/*/*.mod + usr/lib*/grub/*/*.module + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img +" + +QA_WX_LOAD=" + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img + usr/lib*/grub/*/*.image +" + +QA_PRESTRIPPED=" + usr/lib.*/grub/.*/kernel.img +" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + # Bug 439082 + if ! version_is_at_least 4.8 "$(gcc-version)" && + $(tc-getLD) --version | grep -q "GNU gold"; then + eerror "GRUB does not function correctly when built with the gold linker." + eerror "Please select the bfd linker with binutils-config." + die "GNU gold detected" + fi + fi +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi + default_src_unpack +} + +src_prepare() { + [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" + sed -i -e /autoreconf/d autogen.sh || die + if use multislot; then + # fix texinfo file name, bug 416035 + sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' docs/grub.texi || die + fi + epatch_user + if [[ -n ${GRUB_AUTOGEN} ]]; then + python_setup + bash autogen.sh || die + fi + if [[ -n ${AUTOTOOLS_AUTORECONF} ]]; then + autopoint() { return 0; } + eautoreconf + fi +} + +setup_fonts() { + ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die + ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die +} + +grub_configure() { + local platform + + case ${MULTIBUILD_VARIANT} in + efi-32) + platform=efi + if [[ ${CTARGET:-${CHOST}} == x86_64* ]]; then + local CTARGET=${CTARGET:-i386} + fi ;; + efi-64) + platform=efi + if [[ ${CTARGET:-${CHOST}} == i?86* ]]; then + local CTARGET=${CTARGET:-x86_64} + local TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" + local TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" + export TARGET_CFLAGS TARGET_CPPFLAGS + fi ;; + guessed) ;; + *) platform=${MULTIBUILD_VARIANT} ;; + esac + + local myeconfargs=( + --disable-werror + --program-prefix= + --libdir="${EPREFIX}"/usr/lib + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable debug mm-debug) + $(use_enable debug grub-emu-usb) + $(use_enable device-mapper) + $(use_enable mount grub-mount) + $(use_enable nls) + $(use_enable truetype grub-mkfont) + $(use_enable libzfs) + $(use sdl && use_enable debug grub-emu-sdl) + ${platform:+--with-platform=}${platform} + + # Let configure detect this where supported + $(usex efiemu '' '--disable-efiemu') + ) + + if use multislot; then + myeconfargs+=( --program-transform-name="s,grub,grub2," ) + fi + + if use truetype; then + mkdir -p "${BUILD_DIR}" || die + run_in_build_dir setup_fonts + fi + + autotools-utils_src_configure +} + +src_configure() { + # Bug 508758. + replace-flags -O3 -O2 + + # We don't want to leak flags onto boot code. + export HOST_CCASFLAGS=${CCASFLAGS} + export HOST_CFLAGS=${CFLAGS} + export HOST_CPPFLAGS=${CPPFLAGS} + export HOST_LDFLAGS=${LDFLAGS} + unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS + + use static && HOST_LDFLAGS+=" -static" + + if version_is_at_least 4.8 "$(gcc-version)"; then + export TARGET_LDFLAGS+=" -fuse-ld=bfd" + fi + + tc-export CC NM OBJCOPY STRIP + export TARGET_CC=${TARGET_CC:-${CC}} + tc-export BUILD_CC # Bug 485592 + + # Portage will take care of cleaning up GRUB_PLATFORMS + MULTIBUILD_VARIANTS=( ${GRUB_PLATFORMS:-guessed} ) + multibuild_parallel_foreach_variant grub_configure +} + +src_compile() { + # Sandbox bug 404013. + use libzfs && addpredict /etc/dfs:/dev/zfs + + multibuild_foreach_variant autotools-utils_src_compile + + use doc && multibuild_for_best_variant \ + autotools-utils_src_compile -C docs html +} + +src_test() { + # The qemu dependency is a bit complex. + # You will need to adjust QEMU_SOFTMMU_TARGETS to match the cpu/platform. + multibuild_foreach_variant autotools-utils_src_test +} + +src_install() { + multibuild_foreach_variant autotools-utils_src_install \ + bashcompletiondir="$(get_bashcompdir)" + + use doc && multibuild_for_best_variant run_in_build_dir \ + emake -C docs DESTDIR="${D}" install-html + + if use multislot; then + mv "${ED%/}"/usr/share/info/grub{,2}.info || die + fi + + insinto /etc/default + newins "${FILESDIR}"/grub.default-3 grub +} + +pkg_postinst() { + mount-boot_mount_boot_partition + + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" ]]; then + ewarn "The grub directory has changed from /boot/grub2 to /boot/grub." + ewarn "Please run grub2-install and grub2-mkconfig -o /boot/grub/grub.cfg." + + if [[ ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then + mkdir -p "${ROOT%/}/boot/grub" + ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" + fi + fi + + mount-boot_pkg_postinst + + elog "For information on how to configure GRUB2 please refer to the guide:" + elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" + + if has_version 'sys-boot/grub:0'; then + elog "A migration guide for GRUB Legacy users is available:" + elog " http://www.gentoo.org/doc/en/grub2-migration.xml" + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if ! has_version sys-boot/os-prober; then + elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." + fi + if ! has_version dev-libs/libisoburn; then + elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." + fi + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999-r1.ebuild new file mode 100644 index 0000000000..9b330dda93 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999-r1.ebuild @@ -0,0 +1,320 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.17 2014/06/22 18:02:08 floppym Exp $ + +EAPI=5 + +if [[ ${PV} == 9999 ]]; then + AUTOTOOLS_AUTORECONF=1 + GRUB_AUTOGEN=1 +fi + +if [[ -n ${GRUB_AUTOGEN} ]]; then + PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) + inherit python-any-r1 +fi + +inherit autotools-utils bash-completion-r1 eutils flag-o-matic mount-boot multibuild pax-utils toolchain-funcs versionator + +if [[ ${PV} != 9999 ]]; then + if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then + # The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860 + MY_P=${P/_/'~'} + SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" + S=${WORKDIR}/${MY_P} + else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz + mirror://gentoo/${P}.tar.xz + http://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + S=${WORKDIR}/${P%_*} + fi + KEYWORDS="~amd64 ~x86" + PATCHES=() +else + inherit git-r3 + EGIT_REPO_URI="git://git.sv.gnu.org/grub.git + http://git.savannah.gnu.org/r/grub.git" +fi + +DEJAVU=dejavu-sans-ttf-2.34 +UNIFONT=unifont-7.0.01 +SRC_URI+=" truetype? ( + mirror://sourceforge/dejavu/${DEJAVU}.zip + mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz +)" + +DESCRIPTION="GNU GRUB boot loader" +HOMEPAGE="http://www.gnu.org/software/grub/" + +# Includes licenses for dejavu and unifont +LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +SLOT="2" +IUSE="debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs" + +GRUB_ALL_PLATFORMS=( + # everywhere: + emu + # mips only: + qemu-mips yeeloong + # amd64, x86, ppc, ppc64: + ieee1275 + # amd64, x86: + coreboot multiboot efi-32 pc qemu xen + # amd64, ia64: + efi-64 +) +IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" + +REQUIRED_USE="grub_platforms_qemu? ( truetype ) + grub_platforms_yeeloong? ( truetype )" + +# os-prober: Used on runtime to detect other OSes +# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue +RDEPEND=" + app-arch/xz-utils + >=sys-libs/ncurses-5.2-r5 + debug? ( + sdl? ( media-libs/libsdl ) + ) + device-mapper? ( >=sys-fs/lvm2-2.02.45 ) + libzfs? ( sys-fs/zfs ) + mount? ( sys-fs/fuse ) + truetype? ( media-libs/freetype ) + ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) + ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + app-misc/pax-utils + sys-devel/flex + sys-devel/bison + sys-apps/help2man + sys-apps/texinfo + grub_platforms_xen? ( app-emulation/xen-tools ) + static? ( + app-arch/xz-utils[static-libs(+)] + truetype? ( + app-arch/bzip2[static-libs(+)] + media-libs/freetype[static-libs(+)] + sys-libs/zlib[static-libs(+)] + ) + ) + test? ( + dev-libs/libisoburn + app-emulation/qemu + ) + truetype? ( app-arch/unzip ) +" +RDEPEND+=" + kernel_linux? ( + grub_platforms_efi-32? ( sys-boot/efibootmgr ) + grub_platforms_efi-64? ( sys-boot/efibootmgr ) + ) + !multislot? ( !sys-boot/grub:0 ) + nls? ( sys-devel/gettext ) +" + +STRIP_MASK="*/grub/*/*.{mod,img}" +RESTRICT="test" + +QA_EXECSTACK=" + usr/bin/grub*-emu* + usr/lib*/grub/*/*.mod + usr/lib*/grub/*/*.module + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img +" + +QA_WX_LOAD=" + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img + usr/lib*/grub/*/*.image +" + +QA_PRESTRIPPED=" + usr/lib.*/grub/.*/kernel.img +" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + # Bug 439082 + if ! version_is_at_least 4.8 "$(gcc-version)" && + $(tc-getLD) --version | grep -q "GNU gold"; then + eerror "GRUB does not function correctly when built with the gold linker." + eerror "Please select the bfd linker with binutils-config." + die "GNU gold detected" + fi + fi +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi + default_src_unpack +} + +src_prepare() { + [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" + sed -i -e /autoreconf/d autogen.sh || die + if use multislot; then + # fix texinfo file name, bug 416035 + sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' docs/grub.texi || die + fi + epatch_user + if [[ -n ${GRUB_AUTOGEN} ]]; then + python_setup + bash autogen.sh || die + fi + if [[ -n ${AUTOTOOLS_AUTORECONF} ]]; then + autopoint() { return 0; } + eautoreconf + fi +} + +setup_fonts() { + ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die + ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die +} + +grub_configure() { + local platform + + case ${MULTIBUILD_VARIANT} in + efi-32) + platform=efi + if [[ ${CTARGET:-${CHOST}} == x86_64* ]]; then + local CTARGET=${CTARGET:-i386} + fi ;; + efi-64) + platform=efi + if [[ ${CTARGET:-${CHOST}} == i?86* ]]; then + local CTARGET=${CTARGET:-x86_64} + local TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" + local TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" + export TARGET_CFLAGS TARGET_CPPFLAGS + fi ;; + guessed) ;; + *) platform=${MULTIBUILD_VARIANT} ;; + esac + + local myeconfargs=( + --disable-werror + --program-prefix= + --libdir="${EPREFIX}"/usr/lib + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable debug mm-debug) + $(use_enable debug grub-emu-usb) + $(use_enable device-mapper) + $(use_enable mount grub-mount) + $(use_enable nls) + $(use_enable truetype grub-mkfont) + $(use_enable libzfs) + $(use sdl && use_enable debug grub-emu-sdl) + ${platform:+--with-platform=}${platform} + + # Let configure detect this where supported + $(usex efiemu '' '--disable-efiemu') + ) + + if use multislot; then + myeconfargs+=( --program-transform-name="s,grub,grub2," ) + fi + + if use truetype; then + mkdir -p "${BUILD_DIR}" || die + run_in_build_dir setup_fonts + fi + + autotools-utils_src_configure +} + +src_configure() { + # Bug 508758. + replace-flags -O3 -O2 + + # We don't want to leak flags onto boot code. + export HOST_CCASFLAGS=${CCASFLAGS} + export HOST_CFLAGS=${CFLAGS} + export HOST_CPPFLAGS=${CPPFLAGS} + export HOST_LDFLAGS=${LDFLAGS} + unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS + + use static && HOST_LDFLAGS+=" -static" + + if version_is_at_least 4.8 "$(gcc-version)"; then + export TARGET_LDFLAGS+=" -fuse-ld=bfd" + fi + + tc-export CC NM OBJCOPY STRIP + export TARGET_CC=${TARGET_CC:-${CC}} + tc-export BUILD_CC # Bug 485592 + + # Portage will take care of cleaning up GRUB_PLATFORMS + MULTIBUILD_VARIANTS=( ${GRUB_PLATFORMS:-guessed} ) + multibuild_parallel_foreach_variant grub_configure +} + +src_compile() { + # Sandbox bug 404013. + use libzfs && addpredict /etc/dfs:/dev/zfs + + multibuild_foreach_variant autotools-utils_src_compile + + use doc && multibuild_for_best_variant \ + autotools-utils_src_compile -C docs html +} + +src_test() { + # The qemu dependency is a bit complex. + # You will need to adjust QEMU_SOFTMMU_TARGETS to match the cpu/platform. + multibuild_foreach_variant autotools-utils_src_test +} + +src_install() { + multibuild_foreach_variant autotools-utils_src_install \ + bashcompletiondir="$(get_bashcompdir)" + + use doc && multibuild_for_best_variant run_in_build_dir \ + emake -C docs DESTDIR="${D}" install-html + + if use multislot; then + mv "${ED%/}"/usr/share/info/grub{,2}.info || die + fi + + insinto /etc/default + newins "${FILESDIR}"/grub.default-3 grub +} + +pkg_postinst() { + mount-boot_mount_boot_partition + + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" ]]; then + ewarn "The grub directory has changed from /boot/grub2 to /boot/grub." + ewarn "Please run grub2-install and grub2-mkconfig -o /boot/grub/grub.cfg." + + if [[ ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then + mkdir -p "${ROOT%/}/boot/grub" + ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" + fi + fi + + mount-boot_pkg_postinst + + elog "For information on how to configure GRUB2 please refer to the guide:" + elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" + + if has_version 'sys-boot/grub:0'; then + elog "A migration guide for GRUB Legacy users is available:" + elog " http://www.gentoo.org/doc/en/grub2-migration.xml" + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if ! has_version sys-boot/os-prober; then + elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." + fi + if ! has_version dev-libs/libisoburn; then + elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." + fi + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999.ebuild deleted file mode 100644 index db2e902b84..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/grub-9999.ebuild +++ /dev/null @@ -1,348 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999.ebuild,v 1.85 2012/10/20 21:46:34 floppym Exp $ - -EAPI=4 - -if [[ ${PV} == "9999" ]] ; then - EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" - LIVE_ECLASS="bzr" - SRC_URI="" - DO_AUTORECONF="true" -else - MY_P=${P/_/\~} - if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then - SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" - else - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz - mirror://gentoo/${MY_P}.tar.xz" - fi - KEYWORDS="~amd64 ~x86" - S=${WORKDIR}/${MY_P} - DO_AUTORECONF="true" -fi - -inherit eutils flag-o-matic multiprocessing pax-utils toolchain-funcs ${DO_AUTORECONF:+autotools} ${LIVE_ECLASS} -unset LIVE_ECLASS - -DESCRIPTION="GNU GRUB boot loader" -HOMEPAGE="http://www.gnu.org/software/grub/" - -LICENSE="GPL-3" -SLOT="2" -IUSE="custom-cflags debug device-mapper doc efiemu mount nls static sdl truetype libzfs" - -GRUB_PLATFORMS=( - # everywhere: - emu - # mips only: - qemu-mips yeeloong - # amd64, x86, ppc, ppc64: - ieee1275 - # amd64, x86: - coreboot multiboot efi-32 pc qemu - # amd64, ia64: - efi-64 -) -IUSE+=" ${GRUB_PLATFORMS[@]/#/grub_platforms_}" - -REQUIRED_USE="grub_platforms_qemu? ( truetype )" - -# os-prober: Used on runtime to detect other OSes -# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue -RDEPEND=" - app-arch/xz-utils - >=sys-libs/ncurses-5.2-r5 - debug? ( - sdl? ( media-libs/libsdl ) - ) - device-mapper? ( >=sys-fs/lvm2-2.02.45 ) - libzfs? ( sys-fs/zfs ) - mount? ( sys-fs/fuse ) - truetype? ( - media-libs/freetype - media-fonts/dejavu - >=media-fonts/unifont-5 - ) - ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) - ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) -" -DEPEND="${RDEPEND} - >=dev-lang/python-2.5.2 - sys-devel/flex - sys-devel/bison - sys-apps/help2man - sys-apps/texinfo - static? ( - truetype? ( - app-arch/bzip2[static-libs(+)] - media-libs/freetype[static-libs(+)] - sys-libs/zlib[static-libs(+)] - ) - ) -" -RDEPEND+=" - grub_platforms_efi-32? ( sys-boot/efibootmgr ) - grub_platforms_efi-64? ( sys-boot/efibootmgr ) -" -if [[ -n ${DO_AUTORECONF} ]] ; then - DEPEND+=" >=sys-devel/autogen-5.10" -else - DEPEND+=" app-arch/xz-utils" -fi - -export STRIP_MASK="*/grub/*/*.{mod,img}" - -QA_EXECSTACK=" - usr/bin/grub* - usr/sbin/grub* - usr/lib*/grub/*/*.mod - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/setjmp.module -" - -QA_WX_LOAD=" - usr/lib*/grub/*/kernel.exec - usr/lib*/grub/*/kernel.img - usr/lib*/grub/*/*.image -" - -QA_PRESTRIPPED=" - usr/lib.*/grub/.*/kernel.img -" - -grub_run_phase() { - local phase=$1 - local platform=$2 - [[ -z ${phase} || -z ${platform} ]] && die "${FUNCNAME} [phase] [platform]" - - [[ -d "${WORKDIR}/build-${platform}" ]] || \ - { mkdir "${WORKDIR}/build-${platform}" || die ; } - pushd "${WORKDIR}/build-${platform}" > /dev/null || die - - echo ">>> Running ${phase} for platform \"${platform}\"" - echo ">>> Working in: \"${WORKDIR}/build-${platform}\"" - - grub_${phase} ${platform} - - popd > /dev/null || die -} - -grub_src_configure() { - local platform=$1 - local with_platform= - local enable_efiemu="--disable-efiemu" - - [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" - - # Used below for efi cross-building - tc-export CC NM OBJCOPY STRIP - - estack_push CTARGET "${CTARGET}" - estack_push TARGET_CC "${TARGET_CC}" - estack_push TARGET_CFLAGS "${TARGET_CFLAGS}" - estack_push TARGET_CPPFLAGS "${TARGET_CPPFLAGS}" - - case ${platform} in - efi-32) - if [[ ${CHOST} == x86_64* ]]; then - CTARGET="${CTARGET:-i386}" - TARGET_CC="${TARGET_CC:-${CC}}" - export TARGET_CC - fi - with_platform="--with-platform=efi" - ;; - efi-64) - if [[ ${CHOST} == i?86* ]]; then - CTARGET="${CTARGET:-x86_64}" - TARGET_CC="${TARGET_CC:-${CC}}" - TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" - TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" - export TARGET_CC TARGET_CFLAGS TARGET_CPPFLAGS - fi - with_platform="--with-platform=efi" - ;; - guessed) ;; - *) - with_platform="--with-platform=${platform}" - case ${CTARGET:-${CHOST}} in - i?86*|x86_64*) - enable_efiemu=$(use_enable efiemu) - ;; - esac - ;; - esac - - ECONF_SOURCE="${S}" \ - econf \ - --libdir=/usr/lib \ - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ - --disable-werror \ - --program-prefix= \ - --program-transform-name="s,grub,grub2," \ - --with-grubdir=grub2 \ - ${with_platform} \ - $(use_enable debug mm-debug) \ - $(use_enable debug grub-emu-usb) \ - $(use_enable device-mapper) \ - ${enable_efiemu} \ - $(use_enable mount grub-mount) \ - $(use_enable nls) \ - $(use_enable truetype grub-mkfont) \ - $(use_enable libzfs) \ - $(use sdl && use_enable debug grub-emu-sdl) - - estack_pop CTARGET CTARGET || die - estack_pop TARGET_CC TARGET_CC || die - estack_pop TARGET_CFLAGS TARGET_CFLAGS || die - estack_pop TARGET_CPPFLAGS TARGET_CPPFLAGS || die -} - -grub_src_compile() { - default_src_compile - pax-mark -mpes "${grub_binaries[@]}" -} - -grub_build_docs() { - emake -C docs html -} - -grub_src_install() { - default_src_install -} - -grub_install_docs() { - emake -C docs DESTDIR="${D}" install-html -} - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]]; then - # Bug 439082 - if $(tc-getLD) --version | grep -q "GNU gold"; then - eerror "GRUB does not function correctly when built with the gold linker." - eerror "Please select the bfd linker with binutils-config." - die "GNU gold detected" - fi - fi -} - -src_prepare() { - if [[ ${PV} != 9999 ]]; then - epatch "${FILESDIR}/${P}-parallel-make.patch" #424231 - epatch "${FILESDIR}/${P}-no-gets.patch" #424703 - epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 - epatch "${FILESDIR}/${P}-tftp-endian.patch" # 438612 - epatch "${FILESDIR}/${P}-hardcoded-awk.patch" #424137 - fi - - # fix texinfo file name, bug 416035 - sed -i \ - -e 's/^\* GRUB:/* GRUB2:/' \ - -e 's/(grub)/(grub2)/' -- \ - "${S}"/docs/grub.texi - - epatch_user - - # autogen.sh does more than just run autotools - if [[ -n ${DO_AUTORECONF} ]] ; then - sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die - ( - autopoint() { :; } - . ./autogen.sh - ) || die - fi - - # install into the right dir for eselect #372735 - sed -i \ - -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ - util/bash-completion.d/Makefile.in || die - - # get enabled platforms - GRUB_ENABLED_PLATFORMS="" - local i - for i in ${GRUB_PLATFORMS[@]}; do - use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" - done - [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" - einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" -} - -src_configure() { - local i - - use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS - use static && append-ldflags -static - - # Sandbox bug 404013. - use libzfs && addpredict /etc/dfs:/dev/zfs - - multijob_init - for i in ${GRUB_ENABLED_PLATFORMS}; do - multijob_child_init grub_run_phase ${FUNCNAME} ${i} - done - multijob_finish || die -} - -src_compile() { - # Used for pax marking in grub_src_compile - local grub_binaries=( - grub-editenv - grub-fstest - grub-menulst2cfg - grub-mkimage - grub-mklayout - grub-mkpasswd-pbkdf2 - grub-mkrelpath - grub-script-check - grub-bios-setup - grub-ofpathname - grub-probe - grub-sparc64-setup - ) - use mount && grub_binaries+=( grub-mount ) - use truetype && grub_binaries+=( grub-mkfont ) - - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - # Just build docs once - use doc && grub_run_phase build_docs ${i} -} - -src_install() { - local i - - for i in ${GRUB_ENABLED_PLATFORMS}; do - grub_run_phase ${FUNCNAME} ${i} - done - - use doc && grub_run_phase install_docs ${i} - - mv "${ED}"usr/share/info/grub{,2}.info || die - - # can't be in docs array as we use default_src_install in different builddir - dodoc AUTHORS ChangeLog NEWS README THANKS TODO - insinto /etc/default - newins "${FILESDIR}"/grub.default-2 grub -} - -pkg_postinst() { - # display the link to guide - elog "For information on how to configure grub-2 please refer to the guide:" - elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" - if ! has_version sys-boot/os-prober; then - elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." - fi - if ! has_version dev-libs/libisoburn; then - elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." - fi - if has_version sys-boot/grub:0; then - ewarn "If you want to keep GRUB Legacy (grub-0.97) installed, please run" - ewarn "the following to add sys-boot/grub:0 to your world file." - ewarn "emerge --noreplace sys-boot/grub:0" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sys-boot/grub/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-boot/grub/metadata.xml index 2cf8c3a38a..05e8839334 100644 --- a/sdk_container/src/third_party/portage-stable/sys-boot/grub/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-boot/grub/metadata.xml @@ -11,7 +11,7 @@ - Enable support for sys-fs/device-mapper + Enable support for device-mapper from sys-fs/lvm2 Build and install the efiemu runtimes @@ -22,5 +22,9 @@ Enable support for sys-fs/zfs + + Allow concurrent installation of sys-boot/grub:0 and + sys-boot/grub:2 by renaming all programs. +