diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:52:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:52:04 +0100 |
commit | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /sys-apps/irqbalance | |
parent | 6612a728ea11526a849618ec515ad57131d64416 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'sys-apps/irqbalance')
-rw-r--r-- | sys-apps/irqbalance/Manifest | 16 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch | 32 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch | 68 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/irqbalance.init.3 | 27 | ||||
-rw-r--r-- | sys-apps/irqbalance/files/irqbalance.service.1 | 8 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild | 48 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.1.0.ebuild | 56 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.2.0.ebuild | 63 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.3.0.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild (renamed from sys-apps/irqbalance/irqbalance-1.4.0.ebuild) | 13 | ||||
-rw-r--r-- | sys-apps/irqbalance/metadata.xml | 1 |
11 files changed, 86 insertions, 253 deletions
diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest index 4dea65cf1e37..5175b28398ff 100644 --- a/sys-apps/irqbalance/Manifest +++ b/sys-apps/irqbalance/Manifest @@ -1,16 +1,8 @@ -AUX irqbalance-1.2.0-tinfo.patch 894 BLAKE2B a16f1b7f6111149ef7d76481de5badb280fa9f1853fdcdb43bc4cd8c2ecb6507493044db9afa115c849327e88bfa4de080e44c40e32b98ed5ab69638992de632 SHA512 28306e3af22e039edfad83e9aa37539b5491daf2ba663dd6bbe6419a369c1f4c8bf10025ce938495973415cee288a4bca22586d26fa5f66f57ee9fb234e5b7ac +AUX irqbalance-1.4.0-configure.patch 2370 BLAKE2B 235d7a6b2fe7f49cb9ae7d98e0c991fea67c712aa430975b49967133441e213336ca94d8c788297984cb6d5343b82a1ec4824c9667c7a3d8e5dbced444055144 SHA512 70b7510df8f0ad61eb3b432f7fcf4ec8e3408ba7a7397b47a6052a3e9be3a4bbffb0bc1f9b0eb3b7eaad783e548f2f81fd195fa9a93d937e73a9dec80c549374 AUX irqbalance.confd-1 577 BLAKE2B 2744f203cb1d20ec44bec2f4cd2adc92209575a4742c601f45780cc55ff44434248987c31faf6ae2205ae02b2ecfdbd914f271169cb345e403f41376e3bc48b8 SHA512 90e7ed187b4dccd6f6c4383ba54d6e1aed1645240e44aaf02db1b70b56594b1a828644d671e6db91212417981b1d5e53d1ecfd4b366496dbcb484d1064d7d24c -AUX irqbalance.init.3 670 BLAKE2B 7b82d4eb9aa957c390d869b525e5d29d6ab73de0ae0ec03cf84e19c9508f4905045cd645b5900e9e8b04397b1b0067be6dd7e043921bf9721c965a44c18916b1 SHA512 88c3902015c6ce2d0ed2f1e41b0239c3ff68a14c4e1879c9670111d5ed7f7e37dc61915f109998527b74331ced06e48d42fc0b5c9185c2280f116706ae108b7e AUX irqbalance.init.4 524 BLAKE2B 473ee234adf186f620ec022cf20d61b3aaec368611659ce29be47e1038a0d54e4c353264326353cfbca9e43486e4b9bff17086c8484357512dbd9dc74997ff06 SHA512 3b438b142915139d403f6162271e00807db6f0e9432798b3f2955e798dd58ecb07a6c8920cc85032e65cc5a6d4c16fc65402119d6334920ea6715c4f918f6cbc -AUX irqbalance.service.1 135 BLAKE2B 484be5a7cc397def4cc01c240c8d0953f49fa212f5021f318cb48ef83402e0e139b37f2f0e741e1d254216086bd11e9828150e1fa89ce98f322b4636609ff69b SHA512 c0ed7187eddef54645196d0ff072445decfa3ce358aa3d473aac685b55a2f2580bf45bab34b68ccbc2035a3db8597af8cc1f8e53981f5afe7d63f6f7f5683cbd -DIST irqbalance-1.0.9.tar.gz 44661 BLAKE2B f6405629683499c0c92a954927e51dff56eeb1e9df175d3bf77251ea3d465e32e69500bed10da8e6b2d93c5fbc0102fefba09cb8eee80c846b2f4c6a2c25178e SHA512 ef3ce9eeec11ec86291e2e3cd701e782ee1fb4ba256e2ea5ea0ea04b373f97ff2eae0a44919127c4dbd7fd805e9e3df3a5e62a3528e4d1c9bbab4db39186b5c5 -DIST irqbalance-1.1.0.tar.gz 46742 BLAKE2B 621e97abd3b901b3ceac3b7959c6bcf88e5dda3742ff83bb3e15e0b65887c945180a9a24b93d20acbb6153015bceda849bb4552293ceb7d94c072aa9cb2781f9 SHA512 66abf71b87e25df190417afbf9da24d826d817de3c0ebdc686e3ae56ac131b2f9586092ba67e5f9c749cb139fbf2faaa2af2ef30700955a5b347f1964f61bf6b -DIST irqbalance-1.2.0.tar.gz 55618 BLAKE2B 2f5be5564e4cfe510537d7a9322725eec0783b75ebc165d59edc742dde6af3ae694da9ecc4775b5e43c3f4f8946bc4e75cb227258936922f7487f0244752e072 SHA512 02510d0d4dc069570b5f98f3b8191384593a6ed9a88c65c87f5a4261f375c291d95c401b01c03ef9d80834925dd124a088f56ac90c5f290815e26337d4f61c1b DIST irqbalance-1.3.0.tar.gz 53225 BLAKE2B 01820d3a3e465896823927dfb43655c4c5efd1eb043a25b438d7b0802c5a6dd7a966825cfb1e71a32d47eca41b72260ba29190e49d9f585c4bf70b676db75c81 SHA512 6328d3e419689192a9dce99ccfd803aaf3ad0e766498e63da1c8c5fbbd7ef669b94fa4102b841fa7aca3729ca595f72c05a0ae4373922fb340b6832648de12c4 DIST irqbalance-1.4.0.tar.gz 53431 BLAKE2B 35271fab011cb917e5472079025f88df45142b0622d94570f62ef7cce7f2a4e9c9c0b77a79121afa5e7edf4510707c7ace52e894b2af44a5a26b543160f481d0 SHA512 d95909c5e86efa452d0d440df0335b398bd2bf973d6a84e29068534f8c4dc033df90913bf507a6d1b7cdab11b288bafbd2c88b4e476f04e32d5f4c89efe4f7d9 -EBUILD irqbalance-1.0.9-r1.ebuild 1101 BLAKE2B 083823f898474bf5b2f77eb1d36112de974f3b0d45a9fd3e2cf5a11206406fe94d414c20aa9e5bb6d547171cb0dba5f4a256b30600a07f0544d07a2f58abdb3c SHA512 2678b9c3a2c6153da80f5d57544c830e77a757a1a7003097f69ae197da481b2de800feaef0c39fc3d44e7b9c033beb7bddb3c9f1c3b39872b677e6fa3463c50c -EBUILD irqbalance-1.1.0.ebuild 1340 BLAKE2B e6ef271f0f0618a212ba68ca6d4054231456acd3426a660381b196baa35eab20a80b8f1109d67b3142e168a476697a1cd66a6c43e37e1a3ded7a6b8fdfa37b74 SHA512 0fa381cf76a3d8f3aaac20be25b475e224f33a96b150900d03e92f31699589a70ac39d5a31dee40f85aad851fec15292b4d9c44862ff0a9487ace4ed91f57ec7 -EBUILD irqbalance-1.2.0.ebuild 1388 BLAKE2B c1d4462b8f5351b917f914cc1c89da2f355dbb491d6a94bd1099694d80017eacfcdf2bc73f641215a4eccdefff7e97dfecc712c62d571cad1ead98646daa9503 SHA512 b3685c9dd1bbf964a65f26c6793c0f50a2c481c73984a11a03ba6f20e12a15d1e9af7b6ae85cfe0fd8f40ccd0140e442a62740120ae05fc32d58c1fa43340a21 -EBUILD irqbalance-1.3.0.ebuild 1309 BLAKE2B e20fa01ae98ed0c025757fa054e481d14310550c524fb5dc39ae3fc988801bbeaa6f82534573e147fd84e098a016650f0d3049570d174519c1685ca4bbe5056c SHA512 6c525633cd0e51f2619c0abefe0c72e0ecc088473d0340a2c32836b724c9a637d142733f1ada947b252f33f24fdffe7fb84af8273ab8a9e61783ee7eb8e97e18 -EBUILD irqbalance-1.4.0.ebuild 1312 BLAKE2B 01bceca1162ec02b2da9abdf4e61dd2e957065219340761759f17835ab8768c192ded2fbbfaf27a01a8de9d168f55a1042a346f06a93b38a4b7456a47b6847cd SHA512 6517f4e61420198ccbbd69af374fad9dea3b22b15bc53b2cef0fbb75cfc14d404eca565bf091c7e75392c10807deef4c89b9a319d2d02449f655c92dc745fddf -MISC metadata.xml 470 BLAKE2B 36ac34fad0213fbffff8a7f905e2a225b98dabc69c5937803e9387c74e0fa500e3af38f398233cf9e25b014ef890d2cf8a7a22a545575651b585f44054a570f2 SHA512 287a8da55452b17215da39aed9dfaf52090f5c3faefcc07df2c713e29cbfc13f810b4dc72029a21741d36ef51edf8c5598f572e20fb635e105d708848996730a +EBUILD irqbalance-1.3.0.ebuild 1339 BLAKE2B 9f78de3dbbcf32ae2ac58dbd27462451e802c0b5d0d1c8bd43d598611f8901584c724438cd31a94776b82a8f09455ea34610e4ecd29efb777a3e1541517dbb68 SHA512 d41e57841284df007f65fb30ef653b824594d337d178fd51164c646a5b05080c3d5a20a084435d21a0593b7b572d5b28903860fb539a2e2ad80615efd9cc81c3 +EBUILD irqbalance-1.4.0-r1.ebuild 1378 BLAKE2B 33bd7d885601927c4cf8257f3221740720e89fc377eed6b902fb07b434316957aa6b8003c1b4fb62d5297bdad9627849f77b375ea8462ce4ac71430379730e98 SHA512 525ea4f2d8568468302141fd24bba7857cede16098a6f591e77403b529290c39776f8ec8e5efc608c92f82a5f2ea41f6c01b0a0a989950c3e8a55fca62c57ce3 +MISC metadata.xml 546 BLAKE2B 9c510c79c069672f2fdd1ccd7d2bd08917b692779904237650fbf8262bed2a6a40af805179d9f265534e761f074cb4d533fe89e46533880edae9c30f9a118a7f SHA512 6510fd0c07b1b59b79037b05a482554b3934c8d19acc8f4d54058ac5bc605c5adde426d3c12b7f618dd87381435467ecbab7baafcfb27166981f83cb56b72a04 diff --git a/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch b/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch deleted file mode 100644 index 20716542b6dd..000000000000 --- a/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 287d50594fe624bdb4400611d0dbecec6ff38a41 Mon Sep 17 00:00:00 2001 -From: Lars Wendler <polynomial-c@gentoo.org> -Date: Wed, 1 Mar 2017 17:11:42 +0100 -Subject: [PATCH] Prefer pkgconfig to check for ncursesw. - -That way we take possible separate tinfo lib into account. ---- - configure.ac | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 17b879a..77d8aa4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -26,7 +26,13 @@ AC_CHECK_FUNCS(getopt_long) - AC_CHECK_LIB(numa, numa_available) - AC_CHECK_LIB(m, floor) - --AC_CHECK_LIB(curses, mvprintw) -+PKG_CHECK_MODULES([NCURSESW], [ncursesw], [has_ncursesw=yes], [AC_CHECK_LIB(curses, mvprintw)]) -+AS_IF([test "x$has_ncursesw" = "xyes"], [ -+ AC_SUBST([NCURSESW_CFLAGS]) -+ AC_SUBST([NCURSESW_LIBS]) -+ LIBS="$LIBS $NCURSESW_LIBS" -+ AC_SUBST([LIBS]) -+]) - - AC_C_CONST - AC_C_INLINE --- -2.12.0 - diff --git a/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch b/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch new file mode 100644 index 000000000000..6008e45126c7 --- /dev/null +++ b/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch @@ -0,0 +1,68 @@ +From 8ad74cdabac37599d20a985e6a456b1faca92df8 Mon Sep 17 00:00:00 2001 +From: Manuel Mommertz <2kmm@gmx.de> +Date: Mon, 9 Jul 2018 14:08:35 +0200 +Subject: [PATCH 1/2] configure.ac: Fix --without-caps option + +irqbalance links to libcap-ng if it is installed, even when useflag +caps is disabled. This is an error in the configure-script, which +checks for the wrong variable to determine if the user used --with/ +--without for libcap-ng. + +Downstream bug report: https://bugs.gentoo.org/660782 + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index f6c60da..19b148a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -65,7 +65,7 @@ AC_ARG_WITH([libcap-ng], + AS_HELP_STRING([libcap-ng], [Add libcap-ng-support @<:@default=auto@:>@])) + + AS_IF( +- [test "x$libcap_ng" != "xno"], ++ [test "x$with_libcap_ng" != "xno"], + [ + PKG_CHECK_MODULES([LIBCAP_NG], [libcap-ng], + [AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])], +-- +2.18.0 + +From bc56dbd4eead9ad19ff1d84dc8810123c96503c0 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Mon, 9 Jul 2018 14:11:44 +0200 +Subject: [PATCH 2/2] configure.ac: Fix --enable-irqbalance-ui logic + +Before this patch --enable-irqbalance-ui disabled compilation/ +installation of the ui because AC_ARG_WITH is used wrong. +The third arguement to AC_ARG_WITH is _action-if-present_ which means +that this action gets triggered once the --enable option has been +submitted to configure on command line no matter if it's enabled or +disabled. +See also https://autotools.io/autoconf/arguments.html chapter 3.1 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 19b148a..75c234d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -43,9 +43,9 @@ AM_PROG_CC_C_O + AC_ARG_WITH([irqbalance-ui], + [AC_HELP_STRING([--without-irqbalance-ui], + [Dont build the irqbalance ui component])], +- [with_irqbalanceui=false], [with_irqbalanceui=true]) ++ [with_irqbalanceui=$withval], [with_irqbalanceui=yes]) + +-AM_CONDITIONAL([IRQBALANCEUI], [test x$with_irqbalanceui = xtrue]) ++AM_CONDITIONAL([IRQBALANCEUI], [test x$with_irqbalanceui = xyes]) + + AC_ARG_WITH([systemd], + [ AS_HELP_STRING([--with-systemd],[Add systemd-lib support])] +-- +2.18.0 + diff --git a/sys-apps/irqbalance/files/irqbalance.init.3 b/sys-apps/irqbalance/files/irqbalance.init.3 deleted file mode 100644 index 9ed16416510d..000000000000 --- a/sys-apps/irqbalance/files/irqbalance.init.3 +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need localmount - after bootmisc -} - -command="/usr/sbin/irqbalance" -command_args="${IRQBALANCE_OPTS}" - -check_sysfs() { - if grep -q MSI /proc/interrupts 2>/dev/null && \ - test -z "$(find /sys/devices -type d -name msi_irqs 2>/dev/null)"; then - eerror "MSI interrupts found in /proc/interrupts but none found in sysfs." - eerror "You need to update your kernel." - return 1 - fi -} - -start() { - check_sysfs || return 1 - ebegin "Starting irqbalance" - start-stop-daemon --exec ${command} --start -- ${IRQBALANCE_OPTS} - eend $? -} diff --git a/sys-apps/irqbalance/files/irqbalance.service.1 b/sys-apps/irqbalance/files/irqbalance.service.1 deleted file mode 100644 index af7a979a25d0..000000000000 --- a/sys-apps/irqbalance/files/irqbalance.service.1 +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=CPU Interrupt Balancer - -[Service] -ExecStart=/usr/sbin/irqbalance --foreground - -[Install] -WantedBy=multi-user.target diff --git a/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild deleted file mode 100644 index 6d9972b6a36b..000000000000 --- a/sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils systemd linux-info - -DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" -HOMEPAGE="https://github.com/Irqbalance/irqbalance" -SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="caps +numa selinux" - -CDEPEND="dev-libs/glib:2 - caps? ( sys-libs/libcap-ng ) - numa? ( sys-process/numactl ) -" -DEPEND="${CDEPEND} - virtual/pkgconfig -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-irqbalance ) -" - -pkg_setup() { - CONFIG_CHECK="~PCI_MSI" - linux-info_pkg_setup -} - -src_configure() { - local myeconfargs=( - $(use_with caps libcap-ng) - $(use_enable numa) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance - newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance - systemd_newunit "${FILESDIR}"/irqbalance.service.1 irqbalance.service -} diff --git a/sys-apps/irqbalance/irqbalance-1.1.0.ebuild b/sys-apps/irqbalance/irqbalance-1.1.0.ebuild deleted file mode 100644 index 0673ae2ab01a..000000000000 --- a/sys-apps/irqbalance/irqbalance-1.1.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils systemd linux-info - -DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" -HOMEPAGE="https://github.com/Irqbalance/irqbalance" -SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="caps +numa selinux" - -CDEPEND=" - dev-libs/glib:2 - caps? ( sys-libs/libcap-ng ) - numa? ( sys-process/numactl ) -" -DEPEND="${CDEPEND} - virtual/pkgconfig -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-irqbalance ) -" - -pkg_setup() { - CONFIG_CHECK="~PCI_MSI" - linux-info_pkg_setup -} - -src_prepare() { - # Follow systemd policies - # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy - sed -i -e 's/ $IRQBALANCE_ARGS//' misc/irqbalance.service || die - sed -i -e '/EnvironmentFile/d' misc/irqbalance.service || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_with caps libcap-ng) - $(use_enable numa) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance - newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance - systemd_dounit misc/irqbalance.service -} diff --git a/sys-apps/irqbalance/irqbalance-1.2.0.ebuild b/sys-apps/irqbalance/irqbalance-1.2.0.ebuild deleted file mode 100644 index 5a860709ee8d..000000000000 --- a/sys-apps/irqbalance/irqbalance-1.2.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils systemd linux-info - -DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system" -HOMEPAGE="https://github.com/Irqbalance/irqbalance" -SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="caps +numa selinux" - -CDEPEND=" - dev-libs/glib:2 - sys-libs/ncurses:0=[unicode] - caps? ( sys-libs/libcap-ng ) - numa? ( sys-process/numactl ) -" -DEPEND="${CDEPEND} - virtual/pkgconfig -" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-irqbalance ) -" - -PATCHES=( - "${FILESDIR}/${P}-tinfo.patch" -) - -pkg_setup() { - CONFIG_CHECK="~PCI_MSI" - linux-info_pkg_setup -} - -src_prepare() { - # Follow systemd policies - # https://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy - sed \ - -e 's/ $IRQBALANCE_ARGS//' \ - -e '/EnvironmentFile/d' \ - -i misc/irqbalance.service || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_with caps libcap-ng) - $(use_enable numa) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance - newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance - systemd_dounit misc/irqbalance.service -} diff --git a/sys-apps/irqbalance/irqbalance-1.3.0.ebuild b/sys-apps/irqbalance/irqbalance-1.3.0.ebuild index 144745c1bc8b..e8685a791611 100644 --- a/sys-apps/irqbalance/irqbalance-1.3.0.ebuild +++ b/sys-apps/irqbalance/irqbalance-1.3.0.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" -AUTOTOOLS_AUTORECONF=true inherit autotools systemd linux-info @@ -28,6 +27,10 @@ RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-irqbalance ) " +PATCHES=( + "${FILESDIR}/${PN}-1.4.0-configure.patch" +) + pkg_setup() { CONFIG_CHECK="~PCI_MSI" linux-info_pkg_setup diff --git a/sys-apps/irqbalance/irqbalance-1.4.0.ebuild b/sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild index a38439a45dc5..c3874ddf72d9 100644 --- a/sys-apps/irqbalance/irqbalance-1.4.0.ebuild +++ b/sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild @@ -2,7 +2,6 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="6" -AUTOTOOLS_AUTORECONF=true inherit autotools systemd linux-info @@ -13,13 +12,13 @@ SRC_URI="https://github.com/Irqbalance/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="caps +numa selinux" +IUSE="caps +numa selinux tui" CDEPEND=" dev-libs/glib:2 - sys-libs/ncurses:0=[unicode] caps? ( sys-libs/libcap-ng ) numa? ( sys-process/numactl ) + tui? ( sys-libs/ncurses:0=[unicode] ) " DEPEND="${CDEPEND} virtual/pkgconfig @@ -28,6 +27,10 @@ RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-irqbalance ) " +PATCHES=( + "${FILESDIR}/${P}-configure.patch" +) + pkg_setup() { CONFIG_CHECK="~PCI_MSI" linux-info_pkg_setup @@ -50,8 +53,8 @@ src_configure() { local myeconfargs=( $(use_with caps libcap-ng) $(use_enable numa) - ) - + $(use_with tui irqbalance-ui) + ) econf "${myeconfargs[@]}" } diff --git a/sys-apps/irqbalance/metadata.xml b/sys-apps/irqbalance/metadata.xml index 8aa1af6dd709..d4dedf3afa55 100644 --- a/sys-apps/irqbalance/metadata.xml +++ b/sys-apps/irqbalance/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="numa">Support balancing IRQs across NUMA nodes</flag> + <flag name="tui">Enable build of irqbalance terminal user interface</flag> </use> <upstream> <remote-id type="google-code">irqbalance</remote-id> |