1 |
commit: 4c78c13255d7e52e097e9015fc946b7ae1d80082 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 00:41:51 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 00:41:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c78c132 |
7 |
|
8 |
app-emulation/qemu-guest-agent: Remove old (py3.6) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-emulation/qemu-guest-agent/Manifest | 2 - |
13 |
.../files/qemu-guest-agent-2.5.0-sysmacros.patch | 17 ----- |
14 |
.../qemu-guest-agent/qemu-guest-agent-3.1.0.ebuild | 82 ---------------------- |
15 |
.../qemu-guest-agent/qemu-guest-agent-4.0.0.ebuild | 82 ---------------------- |
16 |
4 files changed, 183 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/qemu-guest-agent/Manifest b/app-emulation/qemu-guest-agent/Manifest |
19 |
index 51faa0caf06..54512aa781b 100644 |
20 |
--- a/app-emulation/qemu-guest-agent/Manifest |
21 |
+++ b/app-emulation/qemu-guest-agent/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST qemu-3.1.0.tar.xz 36070104 BLAKE2B 9ed7d1b3256d84f2b73d61763e20f5e4bc5b47d56e4e0d56cf4c29cd25669457b0f08e90d7255589c9666400bb310df3dba3b9290232cad18057b20f08013a3b SHA512 7e8dae823937cfac2f0c60406bd3bdcb89df40313dab2a4bed327d5198f7fcc68ac8b31e44692caa09299cc71256ee0b8c17e4f49f78ada8043d424f5daf82fe |
24 |
-DIST qemu-4.0.0.tar.xz 55628624 BLAKE2B 8afd1f54aa13d2e61fd36c4f4544b7c4ffb1a7eee5c69d3aa1d40a432ca296ad8abe6cb83d7c66ac4045ca624d2a00e737f51e4e62ed46fef9766ef71f43b98b SHA512 952e94194ce9e64c15388c59035cb31fb9f761d30095c2fb9441012b609c18c9976285727b93bf37b95e15675802d73f8e1c4619ebecd23606675bb503646b13 |
25 |
DIST qemu-4.2.0.tar.xz 62222068 BLAKE2B 27c9fbcd5093af425764674817ab9299224bd03f37b5983786f6f437fff1fab3b7da247c55c4ca8b8c42726b9867005944a2f7f04f2d0d94d753961615f901ef SHA512 2a79973c2b07c53e8c57a808ea8add7b6b2cbca96488ed5d4b669ead8c9318907dec2b6109f180fc8ca8f04c0f73a56e82b3a527b5626b799d7e849f2474ec56 |
26 |
DIST qemu-5.0.0.tar.xz 62426192 BLAKE2B 785d02ef79c95b5c4f0556186054885f9893d4e8a9f4b4f2d6199a4e1ae9c31d7c79dd900305469217f85d61bbe74134b601d5c6c1b0eee2b74792d010f1fd63 SHA512 21ef0cbe107c468a40f0fa2635db2a40048c8790b629dfffca5cd62bb1b502ea8eb133bfc40df5ecf1489e2bffe87f6829aee041cb8a380ff04a8afa23b39fcf |
27 |
|
28 |
diff --git a/app-emulation/qemu-guest-agent/files/qemu-guest-agent-2.5.0-sysmacros.patch b/app-emulation/qemu-guest-agent/files/qemu-guest-agent-2.5.0-sysmacros.patch |
29 |
deleted file mode 100644 |
30 |
index 4d5690c59ae..00000000000 |
31 |
--- a/app-emulation/qemu-guest-agent/files/qemu-guest-agent-2.5.0-sysmacros.patch |
32 |
+++ /dev/null |
33 |
@@ -1,17 +0,0 @@ |
34 |
-https://bugs.gentoo.org/580924 |
35 |
- |
36 |
-Linux C libs are moving away from implicit header pollution with sys/types.h |
37 |
- |
38 |
---- a/include/qemu/osdep.h |
39 |
-+++ b/include/qemu/osdep.h |
40 |
-@@ -78,6 +78,10 @@ extern int daemon(int, int); |
41 |
- #include <assert.h> |
42 |
- #include <signal.h> |
43 |
- |
44 |
-+#ifdef __linux__ |
45 |
-+#include <sys/sysmacros.h> |
46 |
-+#endif |
47 |
-+ |
48 |
- #ifdef __OpenBSD__ |
49 |
- #include <sys/signal.h> |
50 |
- #endif |
51 |
|
52 |
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-3.1.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-3.1.0.ebuild |
53 |
deleted file mode 100644 |
54 |
index bef260b3de0..00000000000 |
55 |
--- a/app-emulation/qemu-guest-agent/qemu-guest-agent-3.1.0.ebuild |
56 |
+++ /dev/null |
57 |
@@ -1,82 +0,0 @@ |
58 |
-# Copyright 1999-2020 Gentoo Authors |
59 |
-# Distributed under the terms of the GNU General Public License v2 |
60 |
- |
61 |
-EAPI="7" |
62 |
- |
63 |
-PYTHON_COMPAT=( python3_6 ) |
64 |
- |
65 |
-inherit eutils systemd toolchain-funcs udev python-any-r1 |
66 |
- |
67 |
-MY_PN="qemu" |
68 |
-MY_P="${MY_PN}-${PV}" |
69 |
- |
70 |
-SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz" |
71 |
-KEYWORDS="amd64 ~ppc ~ppc64 x86" |
72 |
- |
73 |
-DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM" |
74 |
-HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent" |
75 |
- |
76 |
-LICENSE="GPL-2 BSD-2" |
77 |
-SLOT="0" |
78 |
-IUSE="" |
79 |
- |
80 |
-RDEPEND="dev-libs/glib" |
81 |
- |
82 |
-DEPEND="${RDEPEND} |
83 |
- ${PYTHON_DEPS}" |
84 |
- |
85 |
-S="${WORKDIR}/${MY_P}" |
86 |
- |
87 |
-PATCHES=( |
88 |
- "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch #580924 |
89 |
-) |
90 |
- |
91 |
-src_configure() { |
92 |
- tc-export AR LD OBJCOPY RANLIB |
93 |
- |
94 |
- local myconf=( |
95 |
- --prefix=/usr |
96 |
- --sysconfdir=/etc |
97 |
- --libdir="/usr/$(get_libdir)" |
98 |
- --localstatedir=/ |
99 |
- --disable-bsd-user |
100 |
- --disable-linux-user |
101 |
- --disable-system |
102 |
- --disable-strip |
103 |
- --disable-tools |
104 |
- --disable-werror |
105 |
- --enable-guest-agent |
106 |
- --python="${PYTHON}" |
107 |
- --cc="$(tc-getCC)" |
108 |
- --cxx="$(tc-getCXX)" |
109 |
- --host-cc="$(tc-getBUILD_CC)" |
110 |
- ) |
111 |
- echo "./configure ${myconf[*]}" |
112 |
- ./configure "${myconf[@]}" || die |
113 |
-} |
114 |
- |
115 |
-src_compile() { |
116 |
- emake V=1 qemu-ga |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- dobin qemu-ga |
121 |
- |
122 |
- # Normal init stuff |
123 |
- newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent |
124 |
- newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent |
125 |
- |
126 |
- insinto /etc/logrotate.d |
127 |
- newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent |
128 |
- |
129 |
- # systemd stuff |
130 |
- udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules |
131 |
- |
132 |
- systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \ |
133 |
- qemu-guest-agent.service |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- elog "You should add 'qemu-guest-agent' to the default runlevel." |
138 |
- elog "e.g. rc-update add qemu-guest-agent default" |
139 |
-} |
140 |
|
141 |
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-4.0.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-4.0.0.ebuild |
142 |
deleted file mode 100644 |
143 |
index bef260b3de0..00000000000 |
144 |
--- a/app-emulation/qemu-guest-agent/qemu-guest-agent-4.0.0.ebuild |
145 |
+++ /dev/null |
146 |
@@ -1,82 +0,0 @@ |
147 |
-# Copyright 1999-2020 Gentoo Authors |
148 |
-# Distributed under the terms of the GNU General Public License v2 |
149 |
- |
150 |
-EAPI="7" |
151 |
- |
152 |
-PYTHON_COMPAT=( python3_6 ) |
153 |
- |
154 |
-inherit eutils systemd toolchain-funcs udev python-any-r1 |
155 |
- |
156 |
-MY_PN="qemu" |
157 |
-MY_P="${MY_PN}-${PV}" |
158 |
- |
159 |
-SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz" |
160 |
-KEYWORDS="amd64 ~ppc ~ppc64 x86" |
161 |
- |
162 |
-DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM" |
163 |
-HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent" |
164 |
- |
165 |
-LICENSE="GPL-2 BSD-2" |
166 |
-SLOT="0" |
167 |
-IUSE="" |
168 |
- |
169 |
-RDEPEND="dev-libs/glib" |
170 |
- |
171 |
-DEPEND="${RDEPEND} |
172 |
- ${PYTHON_DEPS}" |
173 |
- |
174 |
-S="${WORKDIR}/${MY_P}" |
175 |
- |
176 |
-PATCHES=( |
177 |
- "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch #580924 |
178 |
-) |
179 |
- |
180 |
-src_configure() { |
181 |
- tc-export AR LD OBJCOPY RANLIB |
182 |
- |
183 |
- local myconf=( |
184 |
- --prefix=/usr |
185 |
- --sysconfdir=/etc |
186 |
- --libdir="/usr/$(get_libdir)" |
187 |
- --localstatedir=/ |
188 |
- --disable-bsd-user |
189 |
- --disable-linux-user |
190 |
- --disable-system |
191 |
- --disable-strip |
192 |
- --disable-tools |
193 |
- --disable-werror |
194 |
- --enable-guest-agent |
195 |
- --python="${PYTHON}" |
196 |
- --cc="$(tc-getCC)" |
197 |
- --cxx="$(tc-getCXX)" |
198 |
- --host-cc="$(tc-getBUILD_CC)" |
199 |
- ) |
200 |
- echo "./configure ${myconf[*]}" |
201 |
- ./configure "${myconf[@]}" || die |
202 |
-} |
203 |
- |
204 |
-src_compile() { |
205 |
- emake V=1 qemu-ga |
206 |
-} |
207 |
- |
208 |
-src_install() { |
209 |
- dobin qemu-ga |
210 |
- |
211 |
- # Normal init stuff |
212 |
- newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent |
213 |
- newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent |
214 |
- |
215 |
- insinto /etc/logrotate.d |
216 |
- newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent |
217 |
- |
218 |
- # systemd stuff |
219 |
- udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules |
220 |
- |
221 |
- systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \ |
222 |
- qemu-guest-agent.service |
223 |
-} |
224 |
- |
225 |
-pkg_postinst() { |
226 |
- elog "You should add 'qemu-guest-agent' to the default runlevel." |
227 |
- elog "e.g. rc-update add qemu-guest-agent default" |
228 |
-} |