1 |
commit: 436e8f88a6e1a7e68afc7992adafe21d8d71881c |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 29 11:21:31 2019 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 04:55:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436e8f88 |
7 |
|
8 |
app-emulation/xen-pvgrub: bump to 4.12.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
13 |
|
14 |
app-emulation/xen-pvgrub/Manifest | 2 +- |
15 |
...-4.12.0_rc5.ebuild => xen-pvgrub-4.12.0.ebuild} | 39 ++++++++++------------ |
16 |
2 files changed, 19 insertions(+), 22 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/xen-pvgrub/Manifest b/app-emulation/xen-pvgrub/Manifest |
19 |
index dddb5629e41..37e7420046d 100644 |
20 |
--- a/app-emulation/xen-pvgrub/Manifest |
21 |
+++ b/app-emulation/xen-pvgrub/Manifest |
22 |
@@ -5,5 +5,5 @@ DIST pciutils-2.2.9.tar.bz2 212265 BLAKE2B 014b664e90c64e7255c9e21fc25a2cc60d57f |
23 |
DIST polarssl-1.1.4-gpl.tgz 611340 BLAKE2B 613da06dda9e4b86db5a4d616a0a0afee98c907c3c6b352eed3d9e500fc5739e62eb4f6fc32ff02579c6a6de9bd49fcd2c8bd8b2d158a5050cbaa82118d61ef0 SHA512 88da614e4d3f4409c4fd3bb3e44c7587ba051e3fed4e33d526069a67e8180212e1ea22da984656f50e290049f60ddca65383e5983c0f8884f648d71f698303ad |
24 |
DIST xen-4.10.3.tar.gz 24695778 BLAKE2B 50a9e31fb4cf587eeedb357fc710405a1cd4506174a38eb9b032a0cdd9b7f7343d98624ecb07cf605b1403664c7117cdc8f011290309caa18ca9604b4008b906 SHA512 030d23109ce4c0ebf50ade6841d5525a39032bcf8fd0599ccaa9502ff301c1f61f9c5f49233b41a5934a71228958febc1e529a9fc6822ba401a0c18c490ad412 |
25 |
DIST xen-4.11.1.tar.gz 25152217 BLAKE2B a8dfbeb3d490787725c589e1ce82dcbbcd0be7fb4743b38daf3a8704dffda34d1faabb07d74e01d2fab1572ce0b730c21192469317545e8b3edb3fae1130ef8c SHA512 c1655c5decdaed95a2b9a99652318cfc72f6cfdae957cfe60d635f7787e8850f33e8fafc4c4b8d61fb579c9b9d93028a6382903e71808a0418b931e76d72a649 |
26 |
-DIST xen-4.12.0-rc5.tar.gz 26514850 BLAKE2B 41985dc33175bee8bddc4da0ec3b4da9f8cf3ebe580406011db47a27a8740566c1ace6e906d3385f73fee9b6cd572b0f3292381ac72a696fc15d020eb982ad02 SHA512 3d7fb254503c412a3c37782f7c75d093a1d43553dc110338d8dc00df0c6be4c8825cebf7f0519731e49263cef38d07ef48c18f073926d7eaf30abe64b13c52cb |
27 |
+DIST xen-4.12.0.tar.gz 26949697 BLAKE2B 9175cc9054e4a2b5c34df89a4efd667f86b4861bef9c3310bf431d041f710a7cb265b4d34a76ab18a17a3121392942d2e5d76c5044eb9b957d4255af889fe69a SHA512 0ce366dcac607c9b592c5e9c0f40652eef743913b246bed4b0c380b8d59ac23a6adcd05befec37fc799a61476f47df76d4911cbf1da6ceb51441c546bf2464de |
28 |
DIST zlib-1.2.3.tar.gz 496597 BLAKE2B 603020b70cd52b83e48bde420b86e2acfd29d69bf7476eecbeeb07d1b8bcab703d2cbd3eab77772990bddb8c268f13594592ce985798d49e2d6ba25104d49f22 SHA512 021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e |
29 |
|
30 |
diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild b/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild |
31 |
similarity index 84% |
32 |
rename from app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild |
33 |
rename to app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild |
34 |
index 7b6c8cecaa9..90600bb0eee 100644 |
35 |
--- a/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild |
36 |
+++ b/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild |
37 |
@@ -1,12 +1,12 @@ |
38 |
# Copyright 1999-2019 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=6 |
42 |
+EAPI=7 |
43 |
|
44 |
PYTHON_COMPAT=( python2_7 ) |
45 |
PYTHON_REQ_USE='xml,threads' |
46 |
|
47 |
-inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs |
48 |
+inherit flag-o-matic multilib python-single-r1 toolchain-funcs |
49 |
|
50 |
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles" |
51 |
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci |
52 |
@@ -17,10 +17,8 @@ UPSTREAM_VER= |
53 |
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz |
54 |
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
55 |
|
56 |
-MY_PV=${PV/_/-} |
57 |
- |
58 |
SRC_URI=" |
59 |
- https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz |
60 |
+ https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz |
61 |
$GRUB_URL/grub-0.97.tar.gz |
62 |
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz |
63 |
$LIBPCI_URL/pciutils-2.2.9.tar.bz2 |
64 |
@@ -29,14 +27,13 @@ SRC_URI=" |
65 |
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz |
66 |
${UPSTREAM_PATCHSET_URI}" |
67 |
|
68 |
-S="${WORKDIR}/xen-${MY_PV}" |
69 |
+S="${WORKDIR}/xen-${PV}" |
70 |
|
71 |
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem" |
72 |
HOMEPAGE="https://www.xenproject.org" |
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
-#KEYWORDS="~amd64 ~x86" |
76 |
-KEYWORDS="" |
77 |
+KEYWORDS="~amd64 ~x86" |
78 |
IUSE="custom-cflags" |
79 |
|
80 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
81 |
@@ -57,21 +54,21 @@ retar-externals() { |
82 |
# Purely to unclutter src_prepare |
83 |
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" |
84 |
|
85 |
- # epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative |
86 |
+ # eapply can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative |
87 |
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \ |
88 |
- -i "${WORKDIR}"/zlib-1.2.3/configure |
89 |
+ -i "${WORKDIR}"/zlib-1.2.3/configure || die |
90 |
sed -e 's:^AR=ar rc:AR=ar:' \ |
91 |
-e s':$(AR) $@:$(AR) rc $@:' \ |
92 |
- -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} |
93 |
+ -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} || die |
94 |
einfo "zlib Makefile edited" |
95 |
|
96 |
- cd "${WORKDIR}" |
97 |
- tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz |
98 |
- tar czp grub-0.97 -f grub-0.97.tar.gz |
99 |
- tar czp lwip -f lwip-1.3.0.tar.gz |
100 |
- tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz |
101 |
- tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz |
102 |
- mv $set "${S}"/stubdom/ |
103 |
+ cd "${WORKDIR}" || die |
104 |
+ tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz || die |
105 |
+ tar czp grub-0.97 -f grub-0.97.tar.gz || die |
106 |
+ tar czp lwip -f lwip-1.3.0.tar.gz || die |
107 |
+ tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz || die |
108 |
+ tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz || die |
109 |
+ mv $set "${S}"/stubdom/ || die |
110 |
einfo "tarballs moved to source" |
111 |
} |
112 |
|
113 |
@@ -82,7 +79,7 @@ src_prepare() { |
114 |
EPATCH_SUFFIX="patch" \ |
115 |
EPATCH_FORCE="yes" \ |
116 |
EPATCH_OPTS="-p1" \ |
117 |
- epatch "${WORKDIR}"/patches-upstream |
118 |
+ eapply "${WORKDIR}"/patches-upstream |
119 |
fi |
120 |
|
121 |
# if the user *really* wants to use their own custom-cflags, let them |
122 |
@@ -102,10 +99,10 @@ src_prepare() { |
123 |
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die |
124 |
|
125 |
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading |
126 |
- epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch |
127 |
+ eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch |
128 |
|
129 |
# fix jobserver in Makefile |
130 |
- epatch "${FILESDIR}"/${PN}-4.8-jserver.patch |
131 |
+ eapply "${FILESDIR}"/${PN}-4.8-jserver.patch |
132 |
|
133 |
#Substitute for internal downloading. pciutils copied only due to the only .bz2 |
134 |
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom" |