diff --git a/Set-fd-limit.patch b/Set-fd-limit.patch index ba3d721..7f0e8cb 100644 --- a/Set-fd-limit.patch +++ b/Set-fd-limit.patch @@ -1,11 +1,11 @@ -Index: irqbalance-1.4.0/misc/irqbalance.service +Index: irqbalance-1.6.0/misc/irqbalance.service =================================================================== ---- irqbalance-1.4.0.orig/misc/irqbalance.service -+++ irqbalance-1.4.0/misc/irqbalance.service -@@ -5,6 +5,7 @@ ConditionVirtualization=!container - [Service] - EnvironmentFile=/path/to/irqbalance.env - ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS +--- irqbalance-1.6.0.orig/misc/irqbalance.service 2019-07-01 17:12:55.781596074 +0200 ++++ irqbalance-1.6.0/misc/irqbalance.service 2019-07-01 17:13:22.025596492 +0200 +@@ -13,6 +13,7 @@ ReadOnlyPaths=/ + ReadWritePaths=/proc/irq + RestrictAddressFamilies=AF_UNIX + RuntimeDirectory=irqbalance/ +LimitNOFILE=4096 [Install] diff --git a/_service b/_service index a10fec1..2dcf136 100644 --- a/_service +++ b/_service @@ -2,9 +2,14 @@ https://github.com/Irqbalance/irqbalance.git git - enable + disable irqbalance - 1.4.0 + 1.6.0 + + + + irqbalance*.tar + gz diff --git a/_servicedata b/_servicedata deleted file mode 100644 index a904407..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/Irqbalance/irqbalance.git - 5a1c7b89f7c9b928f6307ea50fc46fd7ce0cd061 \ No newline at end of file diff --git a/fix_buffer_overflow_compiler.patch b/fix_buffer_overflow_compiler.patch deleted file mode 100644 index bdfb3fd..0000000 --- a/fix_buffer_overflow_compiler.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Thomas Renninger - -Fix compiler warning - -Avoid: -In function ‘snprintf’, - inlined from ‘sock_handle’ at irqbalance.c:457:12: -/usr/include/bits/stdio2.h:64:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer [enabled by default] - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - - -Index: irqbalance-1.4.0/irqbalance.c -=================================================================== ---- irqbalance-1.4.0.orig/irqbalance.c 2018-05-14 21:06:54.000000000 +0200 -+++ irqbalance-1.4.0/irqbalance.c 2018-10-04 14:16:54.982803686 +0200 -@@ -454,7 +454,7 @@ gboolean sock_handle(gint fd, GIOConditi - if (!strncmp(buff, "setup", strlen("setup"))) { - char banned[512]; - char *setup = calloc(strlen("SLEEP ") + 11 +1, 1); -- snprintf(setup, 2048, "SLEEP %d ", sleep_interval); -+ sprintf(setup, "SLEEP %d ", sleep_interval); - if(g_list_length(cl_banned_irqs) > 0) { - for_each_irq(cl_banned_irqs, get_irq_data, setup); - } diff --git a/irqbalance-1.6.0.tar.gz b/irqbalance-1.6.0.tar.gz new file mode 100644 index 0000000..7f8a165 --- /dev/null +++ b/irqbalance-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:242dbad1997540c079f1a8ef8edb602c886b231a3ede9fbdbf1e5aec4c88abdb +size 56941 diff --git a/irqbalance.changes b/irqbalance.changes index 45322a9..c944f88 100644 --- a/irqbalance.changes +++ b/irqbalance.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Jul 1 15:18:05 UTC 2019 - trenn@suse.de + +- Update to version 1.6.0 (b47eea84cbb93f533b0cba2f1aa): + * fix balancing when numa information isn't available + * Refine document about IRQBALANCE_BANNED_CPUS + * Fix string truncation issues detected by GCC 8 + * fix socket path creation + * Update document for option --banmod and --deepestcache + * Fix ambiguous parsing of *node* entries in /sys. + * procinterrupts: check xen-dyn-event more flexible + * misc: Add an example for policy script + * policyscript: ignore non-executable files when specifying a directory + +remove because already mainline: +D fix_buffer_overflow_compiler.patch + ------------------------------------------------------------------- Thu Oct 4 09:51:31 UTC 2018 - trenn@suse.de diff --git a/irqbalance.spec b/irqbalance.spec index 6f4000a..24be016 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,7 +1,7 @@ # # spec file for package irqbalance # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,17 +21,17 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: irqbalance -Version: 1.4.0 +Version: 1.6.0 Release: 0 Summary: Balance IRQs on SMP Machines License: GPL-2.0-or-later Group: System/Daemons Url: https://github.com/Irqbalance/irqbalance -Source: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz +#Source: https://github.com/Irqbalance/irqbalance/archive/v%%{version}.tar.gz +Source: %{name}-%{version}.tar.gz Source3: sysconfig.irqbalance Patch1: Set-fd-limit.patch Patch2: install-man-pages.patch -Patch3: fix_buffer_overflow_compiler.patch BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: ncurses-devel diff --git a/v1.4.0.tar.gz b/v1.4.0.tar.gz deleted file mode 100644 index da4895e..0000000 --- a/v1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62de71510a2496fcf027efb0b288dd48e53e9efc931fa573c95580cad6264d07 -size 53431