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