1 |
commit: 32d41831c080fbd3603eb073e7524081751244c5 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Sep 27 08:23:12 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 2 11:03:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d41831 |
7 |
|
8 |
app-emulation/xen-pvgrub: drop old |
9 |
|
10 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
app-emulation/xen-pvgrub/Manifest | 1 - |
15 |
app-emulation/xen-pvgrub/xen-pvgrub-4.9.2.ebuild | 161 ----------------------- |
16 |
2 files changed, 162 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/xen-pvgrub/Manifest b/app-emulation/xen-pvgrub/Manifest |
19 |
index a701d239cfc..4ffc740ba18 100644 |
20 |
--- a/app-emulation/xen-pvgrub/Manifest |
21 |
+++ b/app-emulation/xen-pvgrub/Manifest |
22 |
@@ -8,5 +8,4 @@ DIST xen-4.10.1.tar.gz 24674240 BLAKE2B f9a7e0c637db865ab32ad6b6185ab96022903aff |
23 |
DIST xen-4.10.2.tar.gz 24697204 BLAKE2B b331d3ad8d7842446f7d2da5dd31560f636aa1408dd3cc8798dff35b868ef5a609d17e97ef4355e1e5aa825a5abc74103796f9a8015037f0a564ffcebd825722 SHA512 2e301b4d6eb106fcb52203bc1208c8fd1fc7bb5d795166c0f86e4085227050301f7daa6f21db440c47bc2ca2c7f87d9b96753cfdf3fa724e0416b5679b84c163 |
24 |
DIST xen-4.11.0-upstream-patches-1.tar.xz 56664 BLAKE2B 27579f4e628bb0d3fdd59f7e133e9134d4ca175842dfdae3a3f765b133254239ae3bca94d75dd655735b5bcbd67f9b8d444dd227028642e6e459e57ed8a20341 SHA512 e90b8e7fa9433e93b1620a776833a6d3578babebe5d73dcaae11186f473945a2270046932ab314a9c6049d3b460a655456f487a5b59730fe88a4f08d482c47a1 |
25 |
DIST xen-4.11.0.tar.gz 25131533 BLAKE2B 892639b8bcd9b9956104e4d5137ffd88e17f92d965fa967b4af8d74a4fddcc21c6971c53026e0fb5ce833ab2c25c68f827abcac0b7b1dcebc21dca645c465573 SHA512 33d431c194f10d5ee767558404a1f80a66b3df019012b0bbd587fcbc9524e1bba7ea04269020ce891fe9d211d2f81c63bf78abedcdbe1595aee26251c803a50a |
26 |
-DIST xen-4.9.2.tar.gz 23392753 BLAKE2B 5f96f0e5062eff8ac2971eef85ea2bae0e94e7542151237937a1cf7e74690bb0ce1c952e830d2fc13b3277f70b9ed1de511afe4f780ad7b3be0c58742ece39b2 SHA512 e06aec25439abcc548c174ba8e271c23031ea704bcc2480905140aa68490064fbb1c58d9c4174f6617b4f7bbcddfda284317df6f480a6e5b5b5a2c71fbe0ac93 |
27 |
DIST zlib-1.2.3.tar.gz 496597 BLAKE2B 603020b70cd52b83e48bde420b86e2acfd29d69bf7476eecbeeb07d1b8bcab703d2cbd3eab77772990bddb8c268f13594592ce985798d49e2d6ba25104d49f22 SHA512 021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e |
28 |
|
29 |
diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-4.9.2.ebuild b/app-emulation/xen-pvgrub/xen-pvgrub-4.9.2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 138f1da19fe..00000000000 |
32 |
--- a/app-emulation/xen-pvgrub/xen-pvgrub-4.9.2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,161 +0,0 @@ |
35 |
-# Copyright 1999-2018 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
-PYTHON_REQ_USE='xml,threads' |
42 |
- |
43 |
-inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs |
44 |
- |
45 |
-XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles" |
46 |
-LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci |
47 |
-GRUB_URL=mirror://gnu-alpha/grub |
48 |
- |
49 |
-UPSTREAM_VER= |
50 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
51 |
- UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
52 |
- |
53 |
-SRC_URI=" |
54 |
- https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz |
55 |
- $GRUB_URL/grub-0.97.tar.gz |
56 |
- $XEN_EXTFILES_URL/zlib-1.2.3.tar.gz |
57 |
- $LIBPCI_URL/pciutils-2.2.9.tar.bz2 |
58 |
- $XEN_EXTFILES_URL/lwip-1.3.0.tar.gz |
59 |
- $XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz |
60 |
- $XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz |
61 |
- ${UPSTREAM_PATCHSET_URI}" |
62 |
- |
63 |
-S="${WORKDIR}/xen-${PV}" |
64 |
- |
65 |
-DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem" |
66 |
-HOMEPAGE="https://www.xenproject.org" |
67 |
-LICENSE="GPL-2" |
68 |
-SLOT="0" |
69 |
-KEYWORDS="amd64 ~x86" |
70 |
-IUSE="custom-cflags" |
71 |
- |
72 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
73 |
- |
74 |
-DEPEND="sys-devel/gettext |
75 |
- sys-devel/bin86 |
76 |
- sys-apps/texinfo |
77 |
- x11-libs/pixman" |
78 |
- |
79 |
-RDEPEND="${PYTHON_DEPS} |
80 |
- >=app-emulation/xen-tools-${PV}" |
81 |
- |
82 |
-pkg_setup() { |
83 |
- python-single-r1_pkg_setup |
84 |
-} |
85 |
- |
86 |
-retar-externals() { |
87 |
- # Purely to unclutter src_prepare |
88 |
- local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz" |
89 |
- |
90 |
- # epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative |
91 |
- sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \ |
92 |
- -i "${WORKDIR}"/zlib-1.2.3/configure |
93 |
- sed -e 's:^AR=ar rc:AR=ar:' \ |
94 |
- -e s':$(AR) $@:$(AR) rc $@:' \ |
95 |
- -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} |
96 |
- einfo "zlib Makefile edited" |
97 |
- |
98 |
- cd "${WORKDIR}" |
99 |
- tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz |
100 |
- tar czp grub-0.97 -f grub-0.97.tar.gz |
101 |
- tar czp lwip -f lwip-1.3.0.tar.gz |
102 |
- tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz |
103 |
- tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz |
104 |
- mv $set "${S}"/stubdom/ |
105 |
- einfo "tarballs moved to source" |
106 |
-} |
107 |
- |
108 |
-src_prepare() { |
109 |
- # Upstream's patchset |
110 |
- if [[ -n ${UPSTREAM_VER} ]]; then |
111 |
- einfo "Try to apply Xen Upstream patch set" |
112 |
- EPATCH_SUFFIX="patch" \ |
113 |
- EPATCH_FORCE="yes" \ |
114 |
- EPATCH_OPTS="-p1" \ |
115 |
- epatch "${WORKDIR}"/patches-upstream |
116 |
- fi |
117 |
- |
118 |
- # if the user *really* wants to use their own custom-cflags, let them |
119 |
- if use custom-cflags; then |
120 |
- einfo "User wants their own CFLAGS - removing defaults" |
121 |
- # try and remove all the default custom-cflags |
122 |
- find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \ |
123 |
- -e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \ |
124 |
- -e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \ |
125 |
- -e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \ |
126 |
- -e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \ |
127 |
- -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \ |
128 |
- -i {} \; |
129 |
- fi |
130 |
- |
131 |
- # Patch the unmergeable newlib, fix most of the leftover gcc QA issues |
132 |
- cp "${FILESDIR}"/newlib-implicits.patch stubdom || die |
133 |
- |
134 |
- # Patch stubdom/Makefile to patch insource newlib & prevent internal downloading |
135 |
- epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch |
136 |
- |
137 |
- # fix jobserver in Makefile |
138 |
- epatch "${FILESDIR}"/${PN}-4.8-jserver.patch |
139 |
- |
140 |
- #Substitute for internal downloading. pciutils copied only due to the only .bz2 |
141 |
- cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom" |
142 |
- retar-externals || die "re-tar procedure failed" |
143 |
- |
144 |
- default |
145 |
-} |
146 |
- |
147 |
-src_configure() { |
148 |
- local myconf="--prefix=${PREFIX}/usr \ |
149 |
- --libdir=${PREFIX}/usr/$(get_libdir) \ |
150 |
- --libexecdir=${PREFIX}/usr/libexec \ |
151 |
- --disable-werror \ |
152 |
- --disable-xen" |
153 |
- |
154 |
- econf ${myconf} |
155 |
-} |
156 |
- |
157 |
-src_compile() { |
158 |
- use custom-cflags || unset CFLAGS |
159 |
- if test-flag-CC -fno-strict-overflow; then |
160 |
- append-flags -fno-strict-overflow |
161 |
- fi |
162 |
- |
163 |
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include |
164 |
- |
165 |
- if use x86; then |
166 |
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \ |
167 |
- XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub |
168 |
- elif use amd64; then |
169 |
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \ |
170 |
- XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub |
171 |
- if has_multilib_profile; then |
172 |
- multilib_toolchain_setup x86 |
173 |
- emake CC="$(tc-getCC)" AR="$(tc-getAR)" \ |
174 |
- XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub |
175 |
- fi |
176 |
- fi |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- if use x86; then |
181 |
- emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub |
182 |
- fi |
183 |
- if use amd64; then |
184 |
- emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub |
185 |
- if has_multilib_profile; then |
186 |
- emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub |
187 |
- fi |
188 |
- fi |
189 |
-} |
190 |
- |
191 |
-pkg_postinst() { |
192 |
- elog "Official Xen Guide and the offical wiki page:" |
193 |
- elog "https://wiki.gentoo.org/wiki/Xen" |
194 |
- elog "https://wiki.xen.org/wiki/Main_Page" |
195 |
-} |