1 |
commit: 0b853f0f984325e04f0b0e235cb45f1eef92b337 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 22 06:41:24 2020 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 22 06:41:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b853f0f |
7 |
|
8 |
sys-apps/tuned: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
sys-apps/tuned/Manifest | 2 - |
14 |
sys-apps/tuned/files/tuned-2.7.0-upstream.patch | 39 -------------- |
15 |
.../tuned/files/tuned-2.7.1-makefile-rpm.patch | 19 ------- |
16 |
sys-apps/tuned/files/tuned-2.7.1-sysctl.patch | 11 ---- |
17 |
sys-apps/tuned/tuned-2.7.0.ebuild | 49 ------------------ |
18 |
sys-apps/tuned/tuned-2.7.1-r2.ebuild | 51 ------------------- |
19 |
sys-apps/tuned/tuned-2.7.1-r3.ebuild | 59 ---------------------- |
20 |
7 files changed, 230 deletions(-) |
21 |
|
22 |
diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest |
23 |
index 48a49f8969e..f25e76d623c 100644 |
24 |
--- a/sys-apps/tuned/Manifest |
25 |
+++ b/sys-apps/tuned/Manifest |
26 |
@@ -1,4 +1,2 @@ |
27 |
DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83 SHA512 e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60 |
28 |
DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15 SHA512 d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927 |
29 |
-DIST tuned-2.7.0.tar.bz2 107541 BLAKE2B b26924a091fd78bbc7e61c8a45b49808d132eb5ebd3fdc00f96be7eaddcffd88183fa59595a29e2c402b2c434bfdb706601d397c2ebca9a5822c6a3416373465 SHA512 ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55 |
30 |
-DIST tuned-2.7.1.tar.bz2 107471 BLAKE2B c9259ee5ce502100edc7c537f6857de3a6af4af0be1773e0c9422c10de16b4a513d514532da26764b0a743f943577d527919f329ff48a012e269fd2a0ac59f10 SHA512 4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833 |
31 |
|
32 |
diff --git a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch b/sys-apps/tuned/files/tuned-2.7.0-upstream.patch |
33 |
deleted file mode 100644 |
34 |
index f864433b194..00000000000 |
35 |
--- a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch |
36 |
+++ /dev/null |
37 |
@@ -1,39 +0,0 @@ |
38 |
-diff --git a/tuned-gui.py b/tuned-gui.py |
39 |
-index 0555404..b169dec 100755 |
40 |
---- a/tuned-gui.py |
41 |
-+++ b/tuned-gui.py |
42 |
-@@ -89,7 +89,7 @@ class Base(object): |
43 |
- try: |
44 |
- self.controller = \ |
45 |
- tuned.admin.DBusController(consts.DBUS_BUS, |
46 |
-- consts.DBUS_OBJECT, consts.DBUS_INTERFACE) |
47 |
-+ consts.DBUS_INTERFACE, consts.DBUS_OBJECT) |
48 |
- self.controller.is_running() |
49 |
- except tuned.admin.exceptions.TunedAdminDBusException, ex: |
50 |
- response = self.tuned_daemon_exception_dialog.run() |
51 |
-diff --git a/tuned.spec b/tuned.spec |
52 |
-index 3a2dcec..1b46daf 100644 |
53 |
---- a/tuned.spec |
54 |
-+++ b/tuned.spec |
55 |
-@@ -334,8 +334,6 @@ fi |
56 |
- %changelog |
57 |
- * Tue Jul 19 2016 Jaroslav Škarvada <jskarvad@××××××.com> - 2.7.0-1 |
58 |
- - new-release |
59 |
-- - rebase tuned to latest upstream |
60 |
-- resolves: rhbz#1289048 |
61 |
- - gui: fixed save profile |
62 |
- resolves: rhbz#1242491 |
63 |
- - tuned-adm: added --ignore-missing parameter |
64 |
-diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py |
65 |
-index ad501c0..cbdd1be 100644 |
66 |
---- a/tuned/admin/admin.py |
67 |
-+++ b/tuned/admin/admin.py |
68 |
-@@ -98,7 +98,7 @@ class Admin(object): |
69 |
- |
70 |
- def _action_list(self): |
71 |
- self._print_profiles(self._profiles_locator.get_known_names_summary()) |
72 |
-- self._action_dbus_active() |
73 |
-+ self._action_active() |
74 |
- return True |
75 |
- |
76 |
- def _dbus_get_active_profile(self): |
77 |
|
78 |
diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch b/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch |
79 |
deleted file mode 100644 |
80 |
index 408ef2b73c3..00000000000 |
81 |
--- a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch |
82 |
+++ /dev/null |
83 |
@@ -1,19 +0,0 @@ |
84 |
-diff --git a/Makefile b/Makefile |
85 |
-index df2a139..6200cae 100644 |
86 |
---- a/Makefile |
87 |
-+++ b/Makefile |
88 |
-@@ -19,8 +19,12 @@ else |
89 |
- GIT_PSUFFIX = .$(GIT_SUFFIX) |
90 |
- RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX) |
91 |
- endif |
92 |
--UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo /usr/lib/systemd/system) |
93 |
--TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo /usr/lib/tmpfiles.d) |
94 |
-+UNITDIR_FALLBACK = /usr/lib/systemd/system |
95 |
-+UNITDIR_DETECT = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo $(UNITDIR_FALLBACK)) |
96 |
-+UNITDIR = $(UNITDIR_DETECT:%{_unitdir}=$(UNITDIR_FALLBACK)) |
97 |
-+TMPFILESDIR_FALLBACK = /usr/lib/tmpfiles.d |
98 |
-+TMPFILESDIR_DETECT = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo $(TMPFILESDIR_FALLBACK)) |
99 |
-+TMPFILESDIR = $(TMPFILESDIR_DETECT:%{_tmpfilesdir}=$(TMPFILESDIR_FALLBACK)) |
100 |
- VERSIONED_NAME = $(NAME)-$(VERSION)$(GIT_PSUFFIX) |
101 |
- |
102 |
- DATADIR = /usr/share |
103 |
|
104 |
diff --git a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch |
105 |
deleted file mode 100644 |
106 |
index 8e2a70fc377..00000000000 |
107 |
--- a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch |
108 |
+++ /dev/null |
109 |
@@ -1,11 +0,0 @@ |
110 |
---- a/tuned/plugins/plugin_sysctl.py |
111 |
-+++ b/tuned/plugins/plugin_sysctl.py |
112 |
-@@ -67,7 +67,7 @@ |
113 |
- self._write_sysctl(option, value) |
114 |
- |
115 |
- def _execute_sysctl(self, arguments): |
116 |
-- execute = ["/sbin/sysctl"] + arguments |
117 |
-+ execute = ["sysctl"] + arguments |
118 |
- log.debug("executing %s" % execute) |
119 |
- return self._cmd.execute(execute) |
120 |
- |
121 |
|
122 |
diff --git a/sys-apps/tuned/tuned-2.7.0.ebuild b/sys-apps/tuned/tuned-2.7.0.ebuild |
123 |
deleted file mode 100644 |
124 |
index 94d7224a94c..00000000000 |
125 |
--- a/sys-apps/tuned/tuned-2.7.0.ebuild |
126 |
+++ /dev/null |
127 |
@@ -1,49 +0,0 @@ |
128 |
-# Copyright 1999-2016 Gentoo Foundation |
129 |
-# Distributed under the terms of the GNU General Public License v2 |
130 |
- |
131 |
-EAPI=5 |
132 |
- |
133 |
-PYTHON_COMPAT=( python2_7 ) |
134 |
- |
135 |
-inherit python-single-r1 systemd |
136 |
- |
137 |
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" |
138 |
-HOMEPAGE="https://fedorahosted.org/tuned/" |
139 |
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" |
140 |
- |
141 |
-LICENSE="GPL-2" |
142 |
-SLOT="0" |
143 |
-KEYWORDS="~amd64 ~x86" |
144 |
-IUSE="" |
145 |
- |
146 |
-COMMON_DEPEND="${PYTHON_DEPS} |
147 |
- dev-python/configobj[${PYTHON_USEDEP}] |
148 |
- dev-python/decorator[${PYTHON_USEDEP}] |
149 |
- dev-python/pyudev[${PYTHON_USEDEP}] |
150 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
151 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
152 |
-" |
153 |
-DEPEND="${COMMON_DEPEND}" |
154 |
-RDEPEND="${COMMON_DEPEND} |
155 |
- sys-apps/dbus |
156 |
- sys-power/powertop |
157 |
- dev-util/systemtap |
158 |
-" |
159 |
- |
160 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
161 |
- |
162 |
-src_prepare() { |
163 |
- epatch "${FILESDIR}"/${P}-upstream.patch |
164 |
- |
165 |
- sed -i \ |
166 |
- -e "/^UNITDIR = /s:\$(shell rpm --eval '%{_unitdir}'):$(systemd_get_unitdir):" \ |
167 |
- -e "/\$(DESTDIR)\/run\/tuned/d" \ |
168 |
- Makefile ||die |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- default |
173 |
- newinitd "${FILESDIR}"/tuned.initd tuned |
174 |
- |
175 |
- python_fix_shebang "${ED}" |
176 |
-} |
177 |
|
178 |
diff --git a/sys-apps/tuned/tuned-2.7.1-r2.ebuild b/sys-apps/tuned/tuned-2.7.1-r2.ebuild |
179 |
deleted file mode 100644 |
180 |
index be0e99e3ef4..00000000000 |
181 |
--- a/sys-apps/tuned/tuned-2.7.1-r2.ebuild |
182 |
+++ /dev/null |
183 |
@@ -1,51 +0,0 @@ |
184 |
-# Copyright 1999-2016 Gentoo Foundation |
185 |
-# Distributed under the terms of the GNU General Public License v2 |
186 |
- |
187 |
-EAPI=5 |
188 |
- |
189 |
-PYTHON_COMPAT=( python2_7 ) |
190 |
- |
191 |
-inherit python-single-r1 systemd |
192 |
- |
193 |
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" |
194 |
-HOMEPAGE="https://fedorahosted.org/tuned/" |
195 |
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" |
196 |
- |
197 |
-LICENSE="GPL-2" |
198 |
-SLOT="0" |
199 |
-KEYWORDS="~amd64 ~x86" |
200 |
-IUSE="" |
201 |
- |
202 |
-COMMON_DEPEND="${PYTHON_DEPS} |
203 |
- dev-python/configobj[${PYTHON_USEDEP}] |
204 |
- dev-python/decorator[${PYTHON_USEDEP}] |
205 |
- dev-python/pyudev[${PYTHON_USEDEP}] |
206 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
207 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
208 |
-" |
209 |
-DEPEND="${COMMON_DEPEND}" |
210 |
-RDEPEND="${COMMON_DEPEND} |
211 |
- sys-apps/dbus |
212 |
- sys-apps/ethtool |
213 |
- sys-power/powertop |
214 |
- sys-process/procps |
215 |
- dev-util/systemtap |
216 |
-" |
217 |
- |
218 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
219 |
- |
220 |
-src_prepare() { |
221 |
- epatch "${FILESDIR}"/${P}-sysctl.patch |
222 |
- epatch "${FILESDIR}"/${P}-makefile-rpm.patch |
223 |
- |
224 |
- sed -i \ |
225 |
- -e "/\$(DESTDIR)\/run\/tuned/d" \ |
226 |
- Makefile ||die |
227 |
-} |
228 |
- |
229 |
-src_install() { |
230 |
- default |
231 |
- newinitd "${FILESDIR}"/tuned.initd tuned |
232 |
- |
233 |
- python_fix_shebang "${ED}" |
234 |
-} |
235 |
|
236 |
diff --git a/sys-apps/tuned/tuned-2.7.1-r3.ebuild b/sys-apps/tuned/tuned-2.7.1-r3.ebuild |
237 |
deleted file mode 100644 |
238 |
index 99c6ce5840b..00000000000 |
239 |
--- a/sys-apps/tuned/tuned-2.7.1-r3.ebuild |
240 |
+++ /dev/null |
241 |
@@ -1,59 +0,0 @@ |
242 |
-# Copyright 1999-2019 Gentoo Authors |
243 |
-# Distributed under the terms of the GNU General Public License v2 |
244 |
- |
245 |
-EAPI=6 |
246 |
- |
247 |
-PYTHON_COMPAT=( python2_7 ) |
248 |
- |
249 |
-inherit python-single-r1 systemd |
250 |
- |
251 |
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" |
252 |
-HOMEPAGE="https://fedorahosted.org/tuned/" |
253 |
-SRC_URI="https://fedorahosted.org/releases/t/u/${PN}/${P}.tar.bz2" |
254 |
- |
255 |
-LICENSE="GPL-2" |
256 |
-SLOT="0" |
257 |
-KEYWORDS="~amd64 ~x86" |
258 |
- |
259 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
260 |
- |
261 |
-CDEPEND=" |
262 |
- ${PYTHON_DEPS} |
263 |
- dev-python/configobj[${PYTHON_USEDEP}] |
264 |
- dev-python/decorator[${PYTHON_USEDEP}] |
265 |
- dev-python/pyudev[${PYTHON_USEDEP}] |
266 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
267 |
- dev-python/pygobject:3[${PYTHON_USEDEP}]" |
268 |
- |
269 |
-DEPEND=" |
270 |
- ${CDEPEND}" |
271 |
- |
272 |
-RDEPEND=" |
273 |
- ${CDEPEND} |
274 |
- sys-apps/dbus |
275 |
- sys-apps/ethtool |
276 |
- sys-power/powertop |
277 |
- sys-process/procps |
278 |
- dev-util/systemtap" |
279 |
- |
280 |
-PATCHES=( |
281 |
- "${FILESDIR}/${P}-sysctl.patch" |
282 |
- "${FILESDIR}/${P}-makefile-rpm.patch" |
283 |
-) |
284 |
- |
285 |
-RESTRICT="test" |
286 |
- |
287 |
-src_prepare() { |
288 |
- default |
289 |
- |
290 |
- sed -i \ |
291 |
- -e "/\$(DESTDIR)\/run\/tuned/d" \ |
292 |
- Makefile || die |
293 |
-} |
294 |
- |
295 |
-src_install() { |
296 |
- default |
297 |
- |
298 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
299 |
- python_fix_shebang "${ED}" |
300 |
-} |