1 |
commit: 19f09adfd8381e39d89938a57d57c2c038ad2d67 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 4 13:31:24 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 13:40:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f09adf |
7 |
|
8 |
sys-apps/irqbalance: Bump to version 1.7.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/irqbalance/Manifest | 1 + |
14 |
sys-apps/irqbalance/irqbalance-1.7.0.ebuild | 62 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest |
18 |
index c86daea9a67..81e1c4ce089 100644 |
19 |
--- a/sys-apps/irqbalance/Manifest |
20 |
+++ b/sys-apps/irqbalance/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST irqbalance-1.6.0.tar.gz 55310 BLAKE2B 67589a40541e9034a0ac09d60a2293dde7a0cf524620794e25b60b4d78f2c91270252f6cebc2c91c66aed105536a211d51aeb29305fc1235112d96b714dc80bd SHA512 ce89dc41eb3aab5950a56b4b1c817aae5e87eaa84bc69bf88618caf53386513e488bb0b4724a600ae175c96be509367cfc418c7f85531007f80e02f7de549b16 |
23 |
+DIST irqbalance-1.7.0.tar.gz 54209 BLAKE2B 1213b21c7d3979c9ba7d2298c21f7f0b75217d251ecfa02660ea0602a032d62c9c9b0254bf158e07e0fdcf55b35f332f5a17f929c7393dfdb894ca952dad52b4 SHA512 2fa29c738275dda2fac38d78ca0ec4619826b72529e8eda7ad8ddcda5768bbf282e2260dddc16a8b46d4296289b25dc59684575ae1badca0c6c6ae30b1e9b5ea |
24 |
|
25 |
diff --git a/sys-apps/irqbalance/irqbalance-1.7.0.ebuild b/sys-apps/irqbalance/irqbalance-1.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0d1fd414c8a |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/irqbalance/irqbalance-1.7.0.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools systemd linux-info |
37 |
+ |
38 |
+DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" |
39 |
+HOMEPAGE="https://github.com/Irqbalance/irqbalance" |
40 |
+SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
45 |
+IUSE="caps +numa selinux tui" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ dev-libs/glib:2 |
49 |
+ caps? ( sys-libs/libcap-ng ) |
50 |
+ numa? ( sys-process/numactl ) |
51 |
+ tui? ( sys-libs/ncurses:0=[unicode] ) |
52 |
+" |
53 |
+BDEPEND=" |
54 |
+ virtual/pkgconfig |
55 |
+" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ selinux? ( sec-policy/selinux-irqbalance ) |
58 |
+" |
59 |
+ |
60 |
+pkg_setup() { |
61 |
+ CONFIG_CHECK="~PCI_MSI" |
62 |
+ linux-info_pkg_setup |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ # Follow systemd policies |
67 |
+ # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy |
68 |
+ sed \ |
69 |
+ -e 's/ $IRQBALANCE_ARGS//' \ |
70 |
+ -e '/EnvironmentFile/d' \ |
71 |
+ -i misc/irqbalance.service || die |
72 |
+ |
73 |
+ default |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local myeconfargs=( |
79 |
+ $(use_with caps libcap-ng) |
80 |
+ $(use_enable numa) |
81 |
+ $(use_with tui irqbalance-ui) |
82 |
+ ) |
83 |
+ econf "${myeconfargs[@]}" |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ default |
88 |
+ |
89 |
+ newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance |
90 |
+ newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance |
91 |
+ systemd_dounit misc/irqbalance.service |
92 |
+} |