1 |
commit: 3843742efffba73810bc4140604977aa0fdd9824 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 11:58:34 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 12:34:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3843742e |
7 |
|
8 |
sys-apps/irqbalance: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/irqbalance/Manifest | 3 -- |
13 |
.../irqbalance/files/irqbalance-1.2.0-tinfo.patch | 32 ----------- |
14 |
sys-apps/irqbalance/files/irqbalance.init.3 | 27 ---------- |
15 |
sys-apps/irqbalance/files/irqbalance.service.1 | 8 --- |
16 |
sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild | 48 ----------------- |
17 |
sys-apps/irqbalance/irqbalance-1.1.0.ebuild | 56 ------------------- |
18 |
sys-apps/irqbalance/irqbalance-1.2.0.ebuild | 63 ---------------------- |
19 |
7 files changed, 237 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest |
22 |
index b9bf92621df..1e33c837789 100644 |
23 |
--- a/sys-apps/irqbalance/Manifest |
24 |
+++ b/sys-apps/irqbalance/Manifest |
25 |
@@ -1,5 +1,2 @@ |
26 |
-DIST irqbalance-1.0.9.tar.gz 44661 BLAKE2B f6405629683499c0c92a954927e51dff56eeb1e9df175d3bf77251ea3d465e32e69500bed10da8e6b2d93c5fbc0102fefba09cb8eee80c846b2f4c6a2c25178e SHA512 ef3ce9eeec11ec86291e2e3cd701e782ee1fb4ba256e2ea5ea0ea04b373f97ff2eae0a44919127c4dbd7fd805e9e3df3a5e62a3528e4d1c9bbab4db39186b5c5 |
27 |
-DIST irqbalance-1.1.0.tar.gz 46742 BLAKE2B 621e97abd3b901b3ceac3b7959c6bcf88e5dda3742ff83bb3e15e0b65887c945180a9a24b93d20acbb6153015bceda849bb4552293ceb7d94c072aa9cb2781f9 SHA512 66abf71b87e25df190417afbf9da24d826d817de3c0ebdc686e3ae56ac131b2f9586092ba67e5f9c749cb139fbf2faaa2af2ef30700955a5b347f1964f61bf6b |
28 |
-DIST irqbalance-1.2.0.tar.gz 55618 BLAKE2B 2f5be5564e4cfe510537d7a9322725eec0783b75ebc165d59edc742dde6af3ae694da9ecc4775b5e43c3f4f8946bc4e75cb227258936922f7487f0244752e072 SHA512 02510d0d4dc069570b5f98f3b8191384593a6ed9a88c65c87f5a4261f375c291d95c401b01c03ef9d80834925dd124a088f56ac90c5f290815e26337d4f61c1b |
29 |
DIST irqbalance-1.3.0.tar.gz 53225 BLAKE2B 01820d3a3e465896823927dfb43655c4c5efd1eb043a25b438d7b0802c5a6dd7a966825cfb1e71a32d47eca41b72260ba29190e49d9f585c4bf70b676db75c81 SHA512 6328d3e419689192a9dce99ccfd803aaf3ad0e766498e63da1c8c5fbbd7ef669b94fa4102b841fa7aca3729ca595f72c05a0ae4373922fb340b6832648de12c4 |
30 |
DIST irqbalance-1.4.0.tar.gz 53431 BLAKE2B 35271fab011cb917e5472079025f88df45142b0622d94570f62ef7cce7f2a4e9c9c0b77a79121afa5e7edf4510707c7ace52e894b2af44a5a26b543160f481d0 SHA512 d95909c5e86efa452d0d440df0335b398bd2bf973d6a84e29068534f8c4dc033df90913bf507a6d1b7cdab11b288bafbd2c88b4e476f04e32d5f4c89efe4f7d9 |
31 |
|
32 |
diff --git a/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch b/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch |
33 |
deleted file mode 100644 |
34 |
index 20716542b6d..00000000000 |
35 |
--- a/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch |
36 |
+++ /dev/null |
37 |
@@ -1,32 +0,0 @@ |
38 |
-From 287d50594fe624bdb4400611d0dbecec6ff38a41 Mon Sep 17 00:00:00 2001 |
39 |
-From: Lars Wendler <polynomial-c@g.o> |
40 |
-Date: Wed, 1 Mar 2017 17:11:42 +0100 |
41 |
-Subject: [PATCH] Prefer pkgconfig to check for ncursesw. |
42 |
- |
43 |
-That way we take possible separate tinfo lib into account. |
44 |
---- |
45 |
- configure.ac | 8 +++++++- |
46 |
- 1 file changed, 7 insertions(+), 1 deletion(-) |
47 |
- |
48 |
-diff --git a/configure.ac b/configure.ac |
49 |
-index 17b879a..77d8aa4 100644 |
50 |
---- a/configure.ac |
51 |
-+++ b/configure.ac |
52 |
-@@ -26,7 +26,13 @@ AC_CHECK_FUNCS(getopt_long) |
53 |
- AC_CHECK_LIB(numa, numa_available) |
54 |
- AC_CHECK_LIB(m, floor) |
55 |
- |
56 |
--AC_CHECK_LIB(curses, mvprintw) |
57 |
-+PKG_CHECK_MODULES([NCURSESW], [ncursesw], [has_ncursesw=yes], [AC_CHECK_LIB(curses, mvprintw)]) |
58 |
-+AS_IF([test "x$has_ncursesw" = "xyes"], [ |
59 |
-+ AC_SUBST([NCURSESW_CFLAGS]) |
60 |
-+ AC_SUBST([NCURSESW_LIBS]) |
61 |
-+ LIBS="$LIBS $NCURSESW_LIBS" |
62 |
-+ AC_SUBST([LIBS]) |
63 |
-+]) |
64 |
- |
65 |
- AC_C_CONST |
66 |
- AC_C_INLINE |
67 |
--- |
68 |
-2.12.0 |
69 |
- |
70 |
|
71 |
diff --git a/sys-apps/irqbalance/files/irqbalance.init.3 b/sys-apps/irqbalance/files/irqbalance.init.3 |
72 |
deleted file mode 100644 |
73 |
index 9ed16416510..00000000000 |
74 |
--- a/sys-apps/irqbalance/files/irqbalance.init.3 |
75 |
+++ /dev/null |
76 |
@@ -1,27 +0,0 @@ |
77 |
-#!/sbin/openrc-run |
78 |
-# Copyright 1999-2013 Gentoo Foundation |
79 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
80 |
- |
81 |
-depend() { |
82 |
- need localmount |
83 |
- after bootmisc |
84 |
-} |
85 |
- |
86 |
-command="/usr/sbin/irqbalance" |
87 |
-command_args="${IRQBALANCE_OPTS}" |
88 |
- |
89 |
-check_sysfs() { |
90 |
- if grep -q MSI /proc/interrupts 2>/dev/null && \ |
91 |
- test -z "$(find /sys/devices -type d -name msi_irqs 2>/dev/null)"; then |
92 |
- eerror "MSI interrupts found in /proc/interrupts but none found in sysfs." |
93 |
- eerror "You need to update your kernel." |
94 |
- return 1 |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-start() { |
99 |
- check_sysfs || return 1 |
100 |
- ebegin "Starting irqbalance" |
101 |
- start-stop-daemon --exec ${command} --start -- ${IRQBALANCE_OPTS} |
102 |
- eend $? |
103 |
-} |
104 |
|
105 |
diff --git a/sys-apps/irqbalance/files/irqbalance.service.1 b/sys-apps/irqbalance/files/irqbalance.service.1 |
106 |
deleted file mode 100644 |
107 |
index af7a979a25d..00000000000 |
108 |
--- a/sys-apps/irqbalance/files/irqbalance.service.1 |
109 |
+++ /dev/null |
110 |
@@ -1,8 +0,0 @@ |
111 |
-[Unit] |
112 |
-Description=CPU Interrupt Balancer |
113 |
- |
114 |
-[Service] |
115 |
-ExecStart=/usr/sbin/irqbalance --foreground |
116 |
- |
117 |
-[Install] |
118 |
-WantedBy=multi-user.target |
119 |
|
120 |
diff --git a/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild |
121 |
deleted file mode 100644 |
122 |
index 6d9972b6a36..00000000000 |
123 |
--- a/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild |
124 |
+++ /dev/null |
125 |
@@ -1,48 +0,0 @@ |
126 |
-# Copyright 1999-2015 Gentoo Foundation |
127 |
-# Distributed under the terms of the GNU General Public License v2 |
128 |
- |
129 |
-EAPI=5 |
130 |
- |
131 |
-AUTOTOOLS_AUTORECONF=true |
132 |
- |
133 |
-inherit autotools-utils systemd linux-info |
134 |
- |
135 |
-DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" |
136 |
-HOMEPAGE="https://github.com/Irqbalance/irqbalance" |
137 |
-SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
138 |
- |
139 |
-LICENSE="GPL-2" |
140 |
-SLOT="0" |
141 |
-KEYWORDS="amd64 ppc x86" |
142 |
-IUSE="caps +numa selinux" |
143 |
- |
144 |
-CDEPEND="dev-libs/glib:2 |
145 |
- caps? ( sys-libs/libcap-ng ) |
146 |
- numa? ( sys-process/numactl ) |
147 |
-" |
148 |
-DEPEND="${CDEPEND} |
149 |
- virtual/pkgconfig |
150 |
-" |
151 |
-RDEPEND="${CDEPEND} |
152 |
- selinux? ( sec-policy/selinux-irqbalance ) |
153 |
-" |
154 |
- |
155 |
-pkg_setup() { |
156 |
- CONFIG_CHECK="~PCI_MSI" |
157 |
- linux-info_pkg_setup |
158 |
-} |
159 |
- |
160 |
-src_configure() { |
161 |
- local myeconfargs=( |
162 |
- $(use_with caps libcap-ng) |
163 |
- $(use_enable numa) |
164 |
- ) |
165 |
- autotools-utils_src_configure |
166 |
-} |
167 |
- |
168 |
-src_install() { |
169 |
- autotools-utils_src_install |
170 |
- newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance |
171 |
- newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance |
172 |
- systemd_newunit "${FILESDIR}"/irqbalance.service.1 irqbalance.service |
173 |
-} |
174 |
|
175 |
diff --git a/sys-apps/irqbalance/irqbalance-1.1.0.ebuild b/sys-apps/irqbalance/irqbalance-1.1.0.ebuild |
176 |
deleted file mode 100644 |
177 |
index 0673ae2ab01..00000000000 |
178 |
--- a/sys-apps/irqbalance/irqbalance-1.1.0.ebuild |
179 |
+++ /dev/null |
180 |
@@ -1,56 +0,0 @@ |
181 |
-# Copyright 1999-2016 Gentoo Foundation |
182 |
-# Distributed under the terms of the GNU General Public License v2 |
183 |
- |
184 |
-EAPI=5 |
185 |
-AUTOTOOLS_AUTORECONF=true |
186 |
- |
187 |
-inherit autotools-utils systemd linux-info |
188 |
- |
189 |
-DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" |
190 |
-HOMEPAGE="https://github.com/Irqbalance/irqbalance" |
191 |
-SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
192 |
- |
193 |
-LICENSE="GPL-2" |
194 |
-SLOT="0" |
195 |
-KEYWORDS="~amd64 ~ppc ~x86" |
196 |
-IUSE="caps +numa selinux" |
197 |
- |
198 |
-CDEPEND=" |
199 |
- dev-libs/glib:2 |
200 |
- caps? ( sys-libs/libcap-ng ) |
201 |
- numa? ( sys-process/numactl ) |
202 |
-" |
203 |
-DEPEND="${CDEPEND} |
204 |
- virtual/pkgconfig |
205 |
-" |
206 |
-RDEPEND="${CDEPEND} |
207 |
- selinux? ( sec-policy/selinux-irqbalance ) |
208 |
-" |
209 |
- |
210 |
-pkg_setup() { |
211 |
- CONFIG_CHECK="~PCI_MSI" |
212 |
- linux-info_pkg_setup |
213 |
-} |
214 |
- |
215 |
-src_prepare() { |
216 |
- # Follow systemd policies |
217 |
- # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy |
218 |
- sed -i -e 's/ $IRQBALANCE_ARGS//' misc/irqbalance.service || die |
219 |
- sed -i -e '/EnvironmentFile/d' misc/irqbalance.service || die |
220 |
- autotools-utils_src_prepare |
221 |
-} |
222 |
- |
223 |
-src_configure() { |
224 |
- local myeconfargs=( |
225 |
- $(use_with caps libcap-ng) |
226 |
- $(use_enable numa) |
227 |
- ) |
228 |
- autotools-utils_src_configure |
229 |
-} |
230 |
- |
231 |
-src_install() { |
232 |
- autotools-utils_src_install |
233 |
- newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance |
234 |
- newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance |
235 |
- systemd_dounit misc/irqbalance.service |
236 |
-} |
237 |
|
238 |
diff --git a/sys-apps/irqbalance/irqbalance-1.2.0.ebuild b/sys-apps/irqbalance/irqbalance-1.2.0.ebuild |
239 |
deleted file mode 100644 |
240 |
index 5a860709ee8..00000000000 |
241 |
--- a/sys-apps/irqbalance/irqbalance-1.2.0.ebuild |
242 |
+++ /dev/null |
243 |
@@ -1,63 +0,0 @@ |
244 |
-# Copyright 1999-2017 Gentoo Foundation |
245 |
-# Distributed under the terms of the GNU General Public License v2 |
246 |
- |
247 |
-EAPI=5 |
248 |
-AUTOTOOLS_AUTORECONF=true |
249 |
- |
250 |
-inherit autotools-utils systemd linux-info |
251 |
- |
252 |
-DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" |
253 |
-HOMEPAGE="https://github.com/Irqbalance/irqbalance" |
254 |
-SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
255 |
- |
256 |
-LICENSE="GPL-2" |
257 |
-SLOT="0" |
258 |
-KEYWORDS="~amd64 ~ppc ~x86" |
259 |
-IUSE="caps +numa selinux" |
260 |
- |
261 |
-CDEPEND=" |
262 |
- dev-libs/glib:2 |
263 |
- sys-libs/ncurses:0=[unicode] |
264 |
- caps? ( sys-libs/libcap-ng ) |
265 |
- numa? ( sys-process/numactl ) |
266 |
-" |
267 |
-DEPEND="${CDEPEND} |
268 |
- virtual/pkgconfig |
269 |
-" |
270 |
-RDEPEND="${CDEPEND} |
271 |
- selinux? ( sec-policy/selinux-irqbalance ) |
272 |
-" |
273 |
- |
274 |
-PATCHES=( |
275 |
- "${FILESDIR}/${P}-tinfo.patch" |
276 |
-) |
277 |
- |
278 |
-pkg_setup() { |
279 |
- CONFIG_CHECK="~PCI_MSI" |
280 |
- linux-info_pkg_setup |
281 |
-} |
282 |
- |
283 |
-src_prepare() { |
284 |
- # Follow systemd policies |
285 |
- # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy |
286 |
- sed \ |
287 |
- -e 's/ $IRQBALANCE_ARGS//' \ |
288 |
- -e '/EnvironmentFile/d' \ |
289 |
- -i misc/irqbalance.service || die |
290 |
- autotools-utils_src_prepare |
291 |
-} |
292 |
- |
293 |
-src_configure() { |
294 |
- local myeconfargs=( |
295 |
- $(use_with caps libcap-ng) |
296 |
- $(use_enable numa) |
297 |
- ) |
298 |
- autotools-utils_src_configure |
299 |
-} |
300 |
- |
301 |
-src_install() { |
302 |
- autotools-utils_src_install |
303 |
- newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance |
304 |
- newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance |
305 |
- systemd_dounit misc/irqbalance.service |
306 |
-} |