From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06D39158090 for ; Sat, 28 May 2022 06:13:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DAD7E084A; Sat, 28 May 2022 06:13:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11D14E084A for ; Sat, 28 May 2022 06:13:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B1CF341575 for ; Sat, 28 May 2022 06:13:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C7013AA for ; Sat, 28 May 2022 06:13:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1653718392.0a4be5705d9ab3a08d8d1f17f564246412032a1b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/irqbalance/Manifest sys-apps/irqbalance/irqbalance-1.9.0.ebuild X-VCS-Directories: sys-apps/irqbalance/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0a4be5705d9ab3a08d8d1f17f564246412032a1b X-VCS-Branch: master Date: Sat, 28 May 2022 06:13:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e73c4a4c-3208-4045-985a-a635dbdd13dd X-Archives-Hash: e73054acc19178f001e88155f4f83b31 commit: 0a4be5705d9ab3a08d8d1f17f564246412032a1b Author: Sam James gentoo org> AuthorDate: Sat May 28 06:13:12 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 28 06:13:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4be570 sys-apps/irqbalance: add 1.9.0 Signed-off-by: Sam James gentoo.org> sys-apps/irqbalance/Manifest | 1 + sys-apps/irqbalance/irqbalance-1.9.0.ebuild | 62 +++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest index e85f3fdf526f..7349c47125af 100644 --- a/sys-apps/irqbalance/Manifest +++ b/sys-apps/irqbalance/Manifest @@ -1 +1,2 @@ DIST irqbalance-1.8.0.tar.gz 55238 BLAKE2B 0181ee57c4ddbdb55e1529cfd7da4b875320eff65cb606f925f0b4f4243b51e1349d4aba38690a78d7deab6d3f55ae8d6c45af44a904f03d7127678202f288db SHA512 3d757198dbe680b010ed9233d73cbf3b4a150e6b07ef97d3e94f5fa0472a22b0b3800868634340fb413a18683ff95ff6a8f7fa51ace65d870651336479e32740 +DIST irqbalance-1.9.0.tar.gz 55779 BLAKE2B 11df51b03a473da10340c0c9ca9a28b3d9f9ed81e202e434b135a4be1cf54bc5558b33a4a922eba89bdd8cebbd6d3448527507fa72f03c4ff494ae83d513854e SHA512 878977da5eff18e53bdceeaa4aca952f73ba8b03eb028cf176816af971ffc65f0b1f1bb3a68e3a2502491895cc2b9438652dc97d5696232bb2f64860109e9a24 diff --git a/sys-apps/irqbalance/irqbalance-1.9.0.ebuild b/sys-apps/irqbalance/irqbalance-1.9.0.ebuild new file mode 100644 index 000000000000..b2eda8368949 --- /dev/null +++ b/sys-apps/irqbalance/irqbalance-1.9.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools 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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86" +IUSE="caps +numa selinux tui" + +DEPEND=" + dev-libs/glib:2 + caps? ( sys-libs/libcap-ng ) + numa? ( sys-process/numactl ) + tui? ( sys-libs/ncurses:=[unicode(+)] ) +" +BDEPEND=" + virtual/pkgconfig +" +RDEPEND="${DEPEND} + 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 \ + -e 's/ $IRQBALANCE_ARGS//' \ + -e '/EnvironmentFile/d' \ + -i misc/irqbalance.service || die + + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with caps libcap-ng) + $(use_enable numa) + $(use_with tui irqbalance-ui) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/irqbalance.init.4 irqbalance + newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance + systemd_dounit misc/irqbalance.service +}