public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2017-03-01 17:20 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2017-03-01 17:20 UTC (permalink / raw
  To: gentoo-commits

commit:     8d40f2d10daa73b08aef92c023dacb25a9461555
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 17:20:26 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 17:20:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d40f2d1

sys-apps/irqbalance: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/irqbalance/Manifest                       |  5 --
 .../irqbalance/files/irqbalance-0.56-build.patch   | 16 ------
 sys-apps/irqbalance/files/irqbalance.1             | 64 ----------------------
 sys-apps/irqbalance/files/irqbalance.confd         | 15 -----
 sys-apps/irqbalance/files/irqbalance.init-0.55-r2  | 20 -------
 sys-apps/irqbalance/files/irqbalance.init.2        | 11 ----
 sys-apps/irqbalance/files/irqbalance.service       | 11 ----
 sys-apps/irqbalance/irqbalance-0.56.ebuild         | 38 -------------
 sys-apps/irqbalance/irqbalance-1.0.4.ebuild        | 34 ------------
 sys-apps/irqbalance/irqbalance-1.0.5-r1.ebuild     | 39 -------------
 sys-apps/irqbalance/irqbalance-1.0.6.ebuild        | 39 -------------
 sys-apps/irqbalance/irqbalance-1.0.7-r1.ebuild     | 48 ----------------
 sys-apps/irqbalance/irqbalance-1.0.7.ebuild        | 43 ---------------
 sys-apps/irqbalance/irqbalance-1.0.9.ebuild        | 48 ----------------
 14 files changed, 431 deletions(-)

diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest
index f2409a80dfd..966fd0df5cb 100644
--- a/sys-apps/irqbalance/Manifest
+++ b/sys-apps/irqbalance/Manifest
@@ -1,8 +1,3 @@
-DIST irqbalance-0.56.tbz2 28089 SHA256 516e1bdc5469f0f350e2e9ad2925b221faa4497a608c8d4e28a997938451c5fc SHA512 52575520abeaa4268cfc1bb2c5044cb43704e1981dcdbf3e124fced436222b5a5a9d57ec8082e2a4139bfb5be177aefc11809c6865a2b085f46babeeb541daa2 WHIRLPOOL b0d73af7a80a09635ecab2984bf473d27056a8e6cb562708fa5f19428ad07f8c69362d99ea21e7a2a8522d474d65d41358764682fa3e6e481b10baf465525875
-DIST irqbalance-1.0.4.tar.bz2 286985 SHA256 15725edf4a6f20258620cbd05ebf02d0c25aadd5ffa4871ef8507c9215021c43 SHA512 f61d7cd0690a80cfa2ff249a75db675179d4a945bc784b3af8293200a642b6ac0e0564b8c7b8fc0a63363caf8ebab2a7b50b6699cb53587fafd5b50cf73c0f11 WHIRLPOOL ab1a7717cd1c08ce17ac831d75f934aa0d48653f8c194cf683694c498532a90086de18ee3cc0ee7ad09e4cce442173c94dd98e919b8f169e716eb6ead5f593c6
-DIST irqbalance-1.0.5.tar.gz 350213 SHA256 1123e75224b9c0b63ac85892e920bc4a9c76211278ea3d5d4bcbbde44815685c SHA512 333587c16221532be6a353d628b5f8cc557f7917fb423cfac0092f9a5000cc82b042d37b9c3160f5d37d931e8e50a313278e8e30f2dc65f7db60fdf95664bc06 WHIRLPOOL 7fd5e93c0549011c593dbcad9fd9fe94706ac78d4e394a098b0eb63f6de33225f2358aaf84863c662fb392463dfa97777587753df69c041033dee06f91844aa8
-DIST irqbalance-1.0.6.tar.gz 352325 SHA256 95ac79992e6de501f613c781b0fc8aa17a4aaf6a3d865bb6e15ac6a46c6ab1fd SHA512 be14f89c0f137a0cb9c572bc7fb2360941751e4676b147a9d4a44aeb6242577b7dfaa4aa4810ded05244da59fc6d24f22ab88740a8751685a3177b010259a6f0 WHIRLPOOL dcc51bec29eb78a0e9e777a7c5d254ff338390e44dfc4019edb2a1f1eb85f6eafd9bdd7fdc60903b1f94f70194cc1ab1d61cac68da429a009d1f26bee7d357ef
-DIST irqbalance-1.0.7.tar.gz 41209 SHA256 8c3916780d254b74fb1c7ec22876d63ac01f1b32776d9204a604b73c8f591d2a SHA512 388f982fe620d8df850e6e298a194a5ba1393f29f1b25897bfa79e34f3acb32e762b86e31154e7af614d5d84a38a61b85ff07c0dd2032e1eb6b0e30ea9010612 WHIRLPOOL fdbaa8817aae91bc1960115aa457e4dc92b36f62ba7680e9aac35459072d73f2e30015c616c86ce451ac6cd335406ac2423328232768c893e17e17537c3c951e
 DIST irqbalance-1.0.9.tar.gz 44661 SHA256 f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3 SHA512 ef3ce9eeec11ec86291e2e3cd701e782ee1fb4ba256e2ea5ea0ea04b373f97ff2eae0a44919127c4dbd7fd805e9e3df3a5e62a3528e4d1c9bbab4db39186b5c5 WHIRLPOOL 7bed3d8dd868b4ad697b997143a59b9101815d0bfc08d1d594248c1fcfeaec22045fbe779605583a89aa7d2c8a54e079317bf8a6e4ef8135fc887e2d1518e706
 DIST irqbalance-1.1.0.tar.gz 46742 SHA256 91506e638b03bf27cf5da7dc250d58a753ce8a0288a20265fc7ff0266040706b SHA512 66abf71b87e25df190417afbf9da24d826d817de3c0ebdc686e3ae56ac131b2f9586092ba67e5f9c749cb139fbf2faaa2af2ef30700955a5b347f1964f61bf6b WHIRLPOOL 581cb27ae79648d69200ea2746cabf6dde8c865fd3afc80d87a0c43a150b40b6ad5e22ecd15fef5cc9aff166055b568e6217554c08b4767757f0534a998f35be
 DIST irqbalance-1.2.0.tar.gz 55618 SHA256 0efe5d2a0947b54d89c7196a48eca9b3b33c80bc15964e4226a0f7d3fd9535b2 SHA512 02510d0d4dc069570b5f98f3b8191384593a6ed9a88c65c87f5a4261f375c291d95c401b01c03ef9d80834925dd124a088f56ac90c5f290815e26337d4f61c1b WHIRLPOOL 32cdb9d91310012f729f45643b4d105a9840fb88fa55533d48b9a93848a6f3e7f273f9aa9957add8b5ddf4444f5d620da9accb9d79ad237126029176942a37cc

diff --git a/sys-apps/irqbalance/files/irqbalance-0.56-build.patch b/sys-apps/irqbalance/files/irqbalance-0.56-build.patch
deleted file mode 100644
index b7202a4701f..00000000000
--- a/sys-apps/irqbalance/files/irqbalance-0.56-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://code.google.com/p/irqbalance/issues/detail?id=8
-http://code.google.com/p/irqbalance/issues/detail?id=13
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -25,7 +25,9 @@
-  
- INCLUDES = -I${top_srcdir} 
- LIBS = $(CAPNG_LDADD) $(GLIB_LIBS)
--AM_CFLAGS = -g -Os -W -Wall -Wshadow -Wformat -Wundef $(GLIB_CFLAGS) -D_GNU_SOURCE
-+AM_CFLAGS = -W -Wall -Wshadow -Wformat -Wundef
-+AM_CPPFLAGS = $(GLIB_CFLAGS) -D_GNU_SOURCE
-+dist_man_MANS = irqbalance.1
- noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
- 	types.h
- sbin_PROGRAMS = irqbalance

diff --git a/sys-apps/irqbalance/files/irqbalance.1 b/sys-apps/irqbalance/files/irqbalance.1
deleted file mode 100644
index c26c709a01d..00000000000
--- a/sys-apps/irqbalance/files/irqbalance.1
+++ /dev/null
@@ -1,64 +0,0 @@
-.\"Generated by db2man.xsl. Don't modify this, modify the source.
-.de Sh \" Subsection
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Ip \" List item
-.br
-.ie \\n(.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH "IRQBALANCE" 1 "Dec 2006" "Linux" "irqbalance"
-.SH NAME
-irqbalance \- distribute hardware interrupts across processors on a multiprocessor system
-.SH "SYNOPSIS"
-
-.nf
-\fBirqbalance\fR 
-.fi
-
-.SH "DESCRIPTION"
-
-.PP
-The purpose of \fBirqbalance\fR is distribute hardware interrupts across processors on a multiprocessor system in order to increase performance\&.
-
-.SH "OPTIONS"
-
-.TP
-.B --oneshot
-Causes irqbalance to be run once, after which the daemon exits
-.TP
-
-.B --debug
-Causes irqbalance to run in the foreground and extra debug information to be printed
-
-.SH "ENVIRONMENT VARIABLES"
-.TP
-.B IRQBALANCE_ONESHOT
-Same as --oneshot
-
-.TP
-.B IRQBALANCE_DEBUG
-Same as --debug
-
-.TP
-.B IRQBALANCE_BANNED_CPUS
-Provides a mask of cpus which irqbalance should ignore and never assign interrupts to
-
-.TP
-.B IRQBALANCE_BANNED_INTERRUPTS
-A list of space delimited IRQ numbers that irqbalance should not touch
-
-.SH "Homepage"
-http://www.irqbalance.org
-
-

diff --git a/sys-apps/irqbalance/files/irqbalance.confd b/sys-apps/irqbalance/files/irqbalance.confd
deleted file mode 100644
index 152dd798865..00000000000
--- a/sys-apps/irqbalance/files/irqbalance.confd
+++ /dev/null
@@ -1,15 +0,0 @@
-# /etc/conf.d/irqbalance: config file for /etc/init.d/irqbalance
-# These are envvars used by irqbalance itself.  For more info,
-# please see the irqbalance manpage.
-
-# Run irqbalance once and then exit
-#IRQBALANCE_ONESHOT="0"
-
-# Include debug messages in output
-#IRQBALANCE_DEBUG="0"
-
-# List of cpus to not include in balancing
-#IRQBALANCE_BANNED_CPUS=""
-
-# List of interrupts to not include in balancing
-#IRQBALANCE_BANNED_INTERRUPTS=""

diff --git a/sys-apps/irqbalance/files/irqbalance.init-0.55-r2 b/sys-apps/irqbalance/files/irqbalance.init-0.55-r2
deleted file mode 100644
index 7ffff4406ef..00000000000
--- a/sys-apps/irqbalance/files/irqbalance.init-0.55-r2
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-depend() {
-	need localmount
-	after bootmisc
-}
-
-start() {
-	ebegin "Starting irqbalance"
-	start-stop-daemon --start --exec /sbin/irqbalance
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping irqbalance"
-	start-stop-daemon --stop --exec /sbin/irqbalance
-	eend $?
-}

diff --git a/sys-apps/irqbalance/files/irqbalance.init.2 b/sys-apps/irqbalance/files/irqbalance.init.2
deleted file mode 100644
index 05afae9459b..00000000000
--- a/sys-apps/irqbalance/files/irqbalance.init.2
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 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}"

diff --git a/sys-apps/irqbalance/files/irqbalance.service b/sys-apps/irqbalance/files/irqbalance.service
deleted file mode 100644
index b7b589f2294..00000000000
--- a/sys-apps/irqbalance/files/irqbalance.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=CPU Interrupt Balancer
-
-[Service]
-ExecStart=/usr/sbin/irqbalance --debug
-# --debug implies a lot of cruft
-# but it's the only way to get foregrounding
-StandardOutput=null
-
-[Install]
-WantedBy=multi-user.target

diff --git a/sys-apps/irqbalance/irqbalance-0.56.ebuild b/sys-apps/irqbalance/irqbalance-0.56.ebuild
deleted file mode 100644
index 5a1c0e67fb9..00000000000
--- a/sys-apps/irqbalance/irqbalance-0.56.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils autotools
-
-DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system"
-HOMEPAGE="http://www.irqbalance.org/"
-SRC_URI="https://github.com/Irqbalance/irqbalancefiles/${P}.tbz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="caps"
-
-RDEPEND="dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-build.patch
-	mv cap-ng.m4 acinclude.m4 || die
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		--sbindir=/sbin \
-		$(use_with caps libcap-ng)
-}
-
-src_install() {
-	emake install DESTDIR="${D}" || die
-	newinitd "${FILESDIR}"/irqbalance.init-0.55-r2 irqbalance || die
-	newconfd "${FILESDIR}"/irqbalance.confd irqbalance
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.4.ebuild b/sys-apps/irqbalance/irqbalance-1.0.4.ebuild
deleted file mode 100644
index e35606ad48a..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit systemd
-
-DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system"
-HOMEPAGE="https://github.com/Irqbalance/irqbalance"
-SRC_URI="https://github.com/Irqbalance/irqbalancefiles/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="caps numa"
-
-RDEPEND="dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )
-	numa? ( sys-process/numactl )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-src_configure() {
-	econf \
-		$(use_with caps libcap-ng) \
-		$(use_enable numa)
-}
-
-src_install() {
-	default
-	newinitd "${FILESDIR}"/irqbalance.init.2 irqbalance
-	newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance
-	systemd_dounit "${FILESDIR}"/irqbalance.service
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.5-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.0.5-r1.ebuild
deleted file mode 100644
index bc0e0255f75..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.5-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit 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/irqbalancefiles/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="caps +numa"
-
-RDEPEND="dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )
-	numa? ( sys-process/numactl )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-pkg_setup() {
-	CONFIG_CHECK="~PCI_MSI"
-	linux-info_pkg_setup
-}
-
-src_configure() {
-	econf \
-		$(use_with caps libcap-ng) \
-		$(use_enable numa)
-}
-
-src_install() {
-	default
-	newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance
-	newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance
-	systemd_dounit "${FILESDIR}"/irqbalance.service
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.6.ebuild b/sys-apps/irqbalance/irqbalance-1.0.6.ebuild
deleted file mode 100644
index bc0e0255f75..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.6.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit 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/irqbalancefiles/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="caps +numa"
-
-RDEPEND="dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )
-	numa? ( sys-process/numactl )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-pkg_setup() {
-	CONFIG_CHECK="~PCI_MSI"
-	linux-info_pkg_setup
-}
-
-src_configure() {
-	econf \
-		$(use_with caps libcap-ng) \
-		$(use_enable numa)
-}
-
-src_install() {
-	default
-	newinitd "${FILESDIR}"/irqbalance.init.3 irqbalance
-	newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance
-	systemd_dounit "${FILESDIR}"/irqbalance.service
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.7-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.0.7-r1.ebuild
deleted file mode 100644
index 78322eb0962..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.7-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2014 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_dounit "${FILESDIR}"/irqbalance.service
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.7.ebuild b/sys-apps/irqbalance/irqbalance-1.0.7.ebuild
deleted file mode 100644
index 7dcc8525bb6..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.7.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2014 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"
-
-RDEPEND="dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )
-	numa? ( sys-process/numactl )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-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_dounit "${FILESDIR}"/irqbalance.service
-}

diff --git a/sys-apps/irqbalance/irqbalance-1.0.9.ebuild b/sys-apps/irqbalance/irqbalance-1.0.9.ebuild
deleted file mode 100644
index 1af7a52eb9c..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.0.9.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_dounit "${FILESDIR}"/irqbalance.service
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2017-03-01 17:20 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2017-03-01 17:20 UTC (permalink / raw
  To: gentoo-commits

commit:     13b6f378ac4f9a8c5546e160a3dc3a8a9ead5036
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 17:15:12 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 17:20:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b6f378

sys-apps/irqbalance: Bump to version 1.2.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/irqbalance/Manifest                       |  1 +
 .../irqbalance/files/irqbalance-1.2.0-tinfo.patch  | 32 +++++++++++
 sys-apps/irqbalance/files/irqbalance.init.4        | 20 +++++++
 sys-apps/irqbalance/irqbalance-1.2.0.ebuild        | 63 ++++++++++++++++++++++
 4 files changed, 116 insertions(+)

diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest
index 1bcd2b23a92..f2409a80dfd 100644
--- a/sys-apps/irqbalance/Manifest
+++ b/sys-apps/irqbalance/Manifest
@@ -5,3 +5,4 @@ DIST irqbalance-1.0.6.tar.gz 352325 SHA256 95ac79992e6de501f613c781b0fc8aa17a4aa
 DIST irqbalance-1.0.7.tar.gz 41209 SHA256 8c3916780d254b74fb1c7ec22876d63ac01f1b32776d9204a604b73c8f591d2a SHA512 388f982fe620d8df850e6e298a194a5ba1393f29f1b25897bfa79e34f3acb32e762b86e31154e7af614d5d84a38a61b85ff07c0dd2032e1eb6b0e30ea9010612 WHIRLPOOL fdbaa8817aae91bc1960115aa457e4dc92b36f62ba7680e9aac35459072d73f2e30015c616c86ce451ac6cd335406ac2423328232768c893e17e17537c3c951e
 DIST irqbalance-1.0.9.tar.gz 44661 SHA256 f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3 SHA512 ef3ce9eeec11ec86291e2e3cd701e782ee1fb4ba256e2ea5ea0ea04b373f97ff2eae0a44919127c4dbd7fd805e9e3df3a5e62a3528e4d1c9bbab4db39186b5c5 WHIRLPOOL 7bed3d8dd868b4ad697b997143a59b9101815d0bfc08d1d594248c1fcfeaec22045fbe779605583a89aa7d2c8a54e079317bf8a6e4ef8135fc887e2d1518e706
 DIST irqbalance-1.1.0.tar.gz 46742 SHA256 91506e638b03bf27cf5da7dc250d58a753ce8a0288a20265fc7ff0266040706b SHA512 66abf71b87e25df190417afbf9da24d826d817de3c0ebdc686e3ae56ac131b2f9586092ba67e5f9c749cb139fbf2faaa2af2ef30700955a5b347f1964f61bf6b WHIRLPOOL 581cb27ae79648d69200ea2746cabf6dde8c865fd3afc80d87a0c43a150b40b6ad5e22ecd15fef5cc9aff166055b568e6217554c08b4767757f0534a998f35be
+DIST irqbalance-1.2.0.tar.gz 55618 SHA256 0efe5d2a0947b54d89c7196a48eca9b3b33c80bc15964e4226a0f7d3fd9535b2 SHA512 02510d0d4dc069570b5f98f3b8191384593a6ed9a88c65c87f5a4261f375c291d95c401b01c03ef9d80834925dd124a088f56ac90c5f290815e26337d4f61c1b WHIRLPOOL 32cdb9d91310012f729f45643b4d105a9840fb88fa55533d48b9a93848a6f3e7f273f9aa9957add8b5ddf4444f5d620da9accb9d79ad237126029176942a37cc

diff --git a/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch b/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch
new file mode 100644
index 00000000000..20716542b6d
--- /dev/null
+++ b/sys-apps/irqbalance/files/irqbalance-1.2.0-tinfo.patch
@@ -0,0 +1,32 @@
+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.init.4 b/sys-apps/irqbalance/files/irqbalance.init.4
new file mode 100644
index 00000000000..1fb9eeb11f4
--- /dev/null
+++ b/sys-apps/irqbalance/files/irqbalance.init.4
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 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}"
+
+start_pre() {
+	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
+}

diff --git a/sys-apps/irqbalance/irqbalance-1.2.0.ebuild b/sys-apps/irqbalance/irqbalance-1.2.0.ebuild
new file mode 100644
index 00000000000..5a860709ee8
--- /dev/null
+++ b/sys-apps/irqbalance/irqbalance-1.2.0.ebuild
@@ -0,0 +1,63 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2018-07-09 12:34 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2018-07-09 12:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3843742efffba73810bc4140604977aa0fdd9824
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  9 11:58:34 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 12:34:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3843742e

sys-apps/irqbalance: Removed old.

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-apps/irqbalance/Manifest                       |  3 --
 .../irqbalance/files/irqbalance-1.2.0-tinfo.patch  | 32 -----------
 sys-apps/irqbalance/files/irqbalance.init.3        | 27 ----------
 sys-apps/irqbalance/files/irqbalance.service.1     |  8 ---
 sys-apps/irqbalance/irqbalance-1.0.9-r1.ebuild     | 48 -----------------
 sys-apps/irqbalance/irqbalance-1.1.0.ebuild        | 56 -------------------
 sys-apps/irqbalance/irqbalance-1.2.0.ebuild        | 63 ----------------------
 7 files changed, 237 deletions(-)

diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest
index b9bf92621df..1e33c837789 100644
--- a/sys-apps/irqbalance/Manifest
+++ b/sys-apps/irqbalance/Manifest
@@ -1,5 +1,2 @@
-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

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 20716542b6d..00000000000
--- 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.init.3 b/sys-apps/irqbalance/files/irqbalance.init.3
deleted file mode 100644
index 9ed16416510..00000000000
--- 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 af7a979a25d..00000000000
--- 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 6d9972b6a36..00000000000
--- 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 0673ae2ab01..00000000000
--- 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 5a860709ee8..00000000000
--- 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
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2019-11-19 13:00 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2019-11-19 13:00 UTC (permalink / raw
  To: gentoo-commits

commit:     bf4fd2b5126581ecce8f8ea3a73cc87d3a354246
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 19 13:00:39 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 13:00:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4fd2b5

sys-apps/irqbalance: Removed old

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/irqbalance/Manifest                       |  1 -
 .../files/irqbalance-1.4.0-configure.patch         | 68 ----------------------
 sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild     | 67 ---------------------
 3 files changed, 136 deletions(-)

diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest
index 5a4c4054ed8..9194616e778 100644
--- a/sys-apps/irqbalance/Manifest
+++ b/sys-apps/irqbalance/Manifest
@@ -1,3 +1,2 @@
-DIST irqbalance-1.4.0.tar.gz 53431 BLAKE2B 35271fab011cb917e5472079025f88df45142b0622d94570f62ef7cce7f2a4e9c9c0b77a79121afa5e7edf4510707c7ace52e894b2af44a5a26b543160f481d0 SHA512 d95909c5e86efa452d0d440df0335b398bd2bf973d6a84e29068534f8c4dc033df90913bf507a6d1b7cdab11b288bafbd2c88b4e476f04e32d5f4c89efe4f7d9
 DIST irqbalance-1.5.0.tar.gz 55150 BLAKE2B b111e9fd4cfec968b261f6ae8a6876d15845849ebf28d7304fd8af3bdeb93b8b9a626888c5728b69925f02a5e472c3512f5862726c6ae9a4d378c46ebcf39069 SHA512 343421fd533d7d161fd05a0edfadaddf1da6ced854a19e9f10ea6c12b97b2ef1629aad855214d9700d31d056bb816bf3ec90cdf7c643a1b6e8af1de5befa64f5
 DIST irqbalance-1.6.0.tar.gz 55310 BLAKE2B 67589a40541e9034a0ac09d60a2293dde7a0cf524620794e25b60b4d78f2c91270252f6cebc2c91c66aed105536a211d51aeb29305fc1235112d96b714dc80bd SHA512 ce89dc41eb3aab5950a56b4b1c817aae5e87eaa84bc69bf88618caf53386513e488bb0b4724a600ae175c96be509367cfc418c7f85531007f80e02f7de549b16

diff --git a/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch b/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch
deleted file mode 100644
index 6008e45126c..00000000000
--- a/sys-apps/irqbalance/files/irqbalance-1.4.0-configure.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-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/irqbalance-1.4.0-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild
deleted file mode 100644
index 4b61bf9bc3c..00000000000
--- a/sys-apps/irqbalance/irqbalance-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-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 ppc x86"
-IUSE="caps +numa selinux tui"
-
-CDEPEND="
-	dev-libs/glib:2
-	caps? ( sys-libs/libcap-ng )
-	numa? ( sys-process/numactl )
-	tui? ( sys-libs/ncurses:0=[unicode] )
-"
-DEPEND="${CDEPEND}
-	virtual/pkgconfig
-"
-RDEPEND="${CDEPEND}
-	selinux? ( sec-policy/selinux-irqbalance )
-"
-
-PATCHES=(
-	"${FILESDIR}/${P}-configure.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
-
-	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
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2020-07-11 20:04 Lars Wendler
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Wendler @ 2020-07-11 20:04 UTC (permalink / raw
  To: gentoo-commits

commit:     c1915ceb7aeba51d4a7d16c3cabc229b370a1ba7
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 20:02:01 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 20:04:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1915ceb

sys-apps/irqbalance: Revbump to make sure /run/irqbalance exists

Closes: https://bugs.gentoo.org/732158
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/irqbalance/files/irqbalance.init.4                           | 4 +++-
 .../{irqbalance-1.6.0.ebuild => irqbalance-1.6.0-r1.ebuild}           | 0
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/irqbalance/files/irqbalance.init.4 b/sys-apps/irqbalance/files/irqbalance.init.4
index 1fb9eeb11f4..8b2d63143c3 100644
--- a/sys-apps/irqbalance/files/irqbalance.init.4
+++ b/sys-apps/irqbalance/files/irqbalance.init.4
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License, v2 or later
 
 depend() {
@@ -17,4 +17,6 @@ start_pre() {
 		eerror "You need to update your kernel."
 		return 1
 	fi
+
+	checkpath -q -d /run/${SVCNAME}
 }

diff --git a/sys-apps/irqbalance/irqbalance-1.6.0.ebuild b/sys-apps/irqbalance/irqbalance-1.6.0-r1.ebuild
similarity index 100%
rename from sys-apps/irqbalance/irqbalance-1.6.0.ebuild
rename to sys-apps/irqbalance/irqbalance-1.6.0-r1.ebuild


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/
@ 2024-05-04  2:46 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-05-04  2:46 UTC (permalink / raw
  To: gentoo-commits

commit:     42c7cfb8934774ff857d057195bfae649fad7b90
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Fri May  3 16:43:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May  4 02:45:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c7cfb8

sys-apps/irqbalance: version 1.9.4 doesn't work in systemd-based installations

There's an option (ProtectKernelTunables) in the systemd unit that doesn't
allow irqbalance to work. The upstream patch drops the option from the
unit file.

Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/36535
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...qbalance-1.9.4-drop-protectkerneltunables.patch | 25 ++++++++++++++++++++++
 ...-1.9.4-r1.ebuild => irqbalance-1.9.4-r2.ebuild} |  4 ++++
 2 files changed, 29 insertions(+)

diff --git a/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch b/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch
new file mode 100644
index 000000000000..552132c8372e
--- /dev/null
+++ b/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch
@@ -0,0 +1,25 @@
+https://github.com/Irqbalance/irqbalance/issues/308
+https://github.com/Irqbalance/irqbalance/commit/f2c8309a4198d8f51069a783905049c5b7eb7600
+
+From f2c8309a4198d8f51069a783905049c5b7eb7600 Mon Sep 17 00:00:00 2001
+From: Neil Horman <nhorman@openssl.org>
+Date: Mon, 1 Apr 2024 08:05:14 -0400
+Subject: [PATCH] Drop ProtectKernelTunables
+
+It makes /proc/irq read only
+---
+ misc/irqbalance.service | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/misc/irqbalance.service b/misc/irqbalance.service
+index 87e19c1..b731cc6 100644
+--- a/misc/irqbalance.service
++++ b/misc/irqbalance.service
+@@ -23,7 +23,6 @@ PrivateNetwork=yes
+ PrivateUsers=true
+ ProtectHostname=yes 
+ ProtectClock=yes 
+-ProtectKernelTunables=yes 
+ ProtectKernelModules=yes 
+ ProtectKernelLogs=yes 
+ ProtectControlGroups=yes 

diff --git a/sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
similarity index 96%
rename from sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild
rename to sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
index ba4b5355945e..30094b283bf5 100644
--- a/sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild
+++ b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild
@@ -33,6 +33,10 @@ RDEPEND="
 	selinux? ( sec-policy/selinux-irqbalance )
 "
 
+PATCHES=(
+	"${FILESDIR}"/${P}-drop-protectkerneltunables.patch
+)
+
 pkg_setup() {
 	CONFIG_CHECK="~PCI_MSI"
 	linux-info_pkg_setup


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-04  2:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01 17:20 [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/ Lars Wendler
  -- strict thread matches above, loose matches on Subject: below --
2024-05-04  2:46 Sam James
2020-07-11 20:04 Lars Wendler
2019-11-19 13:00 Lars Wendler
2018-07-09 12:34 Lars Wendler
2017-03-01 17:20 Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox