Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package irqbalance for openSUSE:Factory checked in at 2025-04-15 20:46:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqbalance (Old) and /work/SRC/openSUSE:Factory/.irqbalance.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irqbalance" Tue Apr 15 20:46:49 2025 rev:77 rq:1269344 version:1.9.4.77.git+d913f60 Changes: -------- --- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes 2025-01-29 16:09:36.701557308 +0100 +++ /work/SRC/openSUSE:Factory/.irqbalance.new.1907/irqbalance.changes 2025-04-15 20:46:58.972844012 +0200 @@ -1,0 +2,54 @@ +Fri Apr 11 10:44:04 UTC 2025 - tr...@suse.de + +- Introduce multibuild and conditionally build either via meson or + autoconf build environment +- Update to version 1.9.4.77.git+d913f60: + * Increase file descriptor limit via systemd service file + * Properly embed EnvironmentFile sourced systemd configs into meson and autonconf + * Unify meson and autoconf: Install executables to sbin +- Remove mainline integrated patch: +D Set-fd-limit.patch + +------------------------------------------------------------------- +Fri Mar 28 13:21:52 UTC 2025 - Thomas Renninger <tr...@suse.de> + +- Provide 2 systemd Environment files, a package provided one and a + possibly existing user provided one overwriting default env vars + provided by the package if found. + EnvironmentFile=/usr/lib/irqbalance/defaults.env + EnvironmentFile=-/etc/irqbalance/defaults.env +- Remove fillup dependency due to above changes + +------------------------------------------------------------------- +Wed Mar 26 17:51:37 UTC 2025 - tr...@suse.de + +- Blacklist/Ban megaraid_sas driver (bsc#1238559) +- Update to version 1.9.4.71.git+be5e3b8: + * Fix the wrong string existence checking condition + * check_platform_device: Check the length of path + * Check API command length, allow up to 16384 + * fix some GCC fanalyzer warnings + * Use EPERM instead of EIO when try setting irq affinity fails + * irqbalance.1: a , b => a, b; it's type => its type + * Check info->moved before updating + * Add CAP_SETPCAP to CapabilityBoundingSet in irqbalance.service + * Version option should return 0 rather than 1 + * Minor punctuation fix. + * define IRQBALANCE_ARGS as empty string to squelch systemd warning + * Track IRQ "slots" count per CPU to avoid overflowing + * meson: use find_library for numa + * meson: replace generic array with files() + * Drop ProtectKernelTunables + * meson: add a minimum version decorator + * meson: drop redundant install_man() options + * meson: move build files to repository root + * cast void pointer to actual type + * add void to fix strict-prototypes + * fix 32-bit formats + * Check fflush() return value + * irqbalance-ui: check if using a negative index of buffer +D sysconfig.irqbalance +This file was outdated, better use the upstream one +A irqbalance_banmod.diff + +------------------------------------------------------------------- Old: ---- Set-fd-limit.patch irqbalance-1.9.4.0.git+f8b8cdd.obscpio sysconfig.irqbalance New: ---- irqbalance-1.9.4.77.git+d913f60.obscpio irqbalance_banmod.diff BETA DEBUG BEGIN: Old:- Remove mainline integrated patch: D Set-fd-limit.patch BETA DEBUG END: BETA DEBUG BEGIN: New:This file was outdated, better use the upstream one A irqbalance_banmod.diff BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.vLIOdD/_old 2025-04-15 20:46:59.516866588 +0200 +++ /var/tmp/diff_new_pack.vLIOdD/_new 2025-04-15 20:46:59.516866588 +0200 @@ -15,13 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir %{_localstatedir}/adm/fillup-templates -%endif +%bcond_with meson Name: irqbalance -Version: 1.9.4.0.git+f8b8cdd +Version: 1.9.4.77.git+d913f60 Release: 0 Summary: Daemon to balance IRQs on SMP machines License: GPL-2.0-or-later @@ -29,18 +25,20 @@ URL: https://github.com/Irqbalance/irqbalance #Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz Source: %{name}-%{version}.tar.gz -Source3: sysconfig.irqbalance -Patch1: Set-fd-limit.patch +Patch1: irqbalance_banmod.diff BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libsystemd) -Requires(pre): %fillup_prereq +BuildRequires: pkgconfig(systemd) Recommends: %{name}-ui ExcludeArch: s390 s390x %{?systemd_ordering} +%if %{with meson} +BuildRequires: meson +%endif %ifarch x86_64 %{?x86_64} BuildRequires: pkgconfig(libnl-3.0) %endif @@ -65,39 +63,43 @@ %autopatch -p1 %build +%if %{with meson} +%meson -Dpkgconfdir=%{_distconfdir}/default -Dusrconfdir=%{_sysconfdir}/default +%meson_build +%else + NOCONFIGURE=1 ./autogen.sh %configure \ --with-systemd \ + --with-pkgconfdir=%{_distconfdir}/default \ + --with-usrconfdir=%{_sysconfdir}/default \ %ifarch x86_64 %{?x86_64} --enable-thermal %endif %make_build LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)" -cp %{SOURCE3} . +%endif %install +%if %{with meson} +%meson_install +%else %make_install +%endif -mkdir -p %{buildroot}%{_fillupdir}/ -install -m 0644 sysconfig.irqbalance %{buildroot}%{_fillupdir}/ -sed -ie "s|EnvironmentFile=.*|EnvironmentFile=%{_sysconfdir}/sysconfig/irqbalance|g" misc/irqbalance.service -# Remove syslog.target in systemd service file; not provided by systemd anymore -sed -ie "s|After=syslog.target||g" misc/irqbalance.service -# Remove ProtectKernelTunables=yes. See https://github.com/Irqbalance/irqbalance/issues/308 -sed -ie "s|ProtectKernelTunables=yes||g" misc/irqbalance.service -install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service %if 0%{?suse_version} < 1600 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcirqbalance %endif +%if %{without meson} %check %make_build check +%endif %pre %service_add_pre irqbalance.service %post -%fillup_only %{name} %service_add_post irqbalance.service %preun @@ -115,7 +117,7 @@ %endif %{_unitdir}/irqbalance.service %{_mandir}/man1/irqbalance.1%{?ext_man} -%{_fillupdir}/sysconfig.irqbalance +%{_distconfdir}/default/irqbalance.env %files ui %{_sbindir}/irqbalance-ui ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.vLIOdD/_old 2025-04-15 20:46:59.560868415 +0200 +++ /var/tmp/diff_new_pack.vLIOdD/_new 2025-04-15 20:46:59.564868581 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/Irqbalance/irqbalance.git</param> - <param name="changesrevision">f8b8cddfb54516308cd484c883d930f97c9e12ed</param></service></servicedata> + <param name="changesrevision">d913f60d8413c718a74eb3c197026919c78a44cb</param></service></servicedata> (No newline at EOF) ++++++ irqbalance-1.9.4.0.git+f8b8cdd.obscpio -> irqbalance-1.9.4.77.git+d913f60.obscpio ++++++ ++++ 2094 lines of diff (skipped) ++++++ irqbalance.obsinfo ++++++ --- /var/tmp/diff_new_pack.vLIOdD/_old 2025-04-15 20:46:59.688873727 +0200 +++ /var/tmp/diff_new_pack.vLIOdD/_new 2025-04-15 20:46:59.692873893 +0200 @@ -1,5 +1,5 @@ name: irqbalance -version: 1.9.4.0.git+f8b8cdd -mtime: 1710857766 -commit: f8b8cddfb54516308cd484c883d930f97c9e12ed +version: 1.9.4.77.git+d913f60 +mtime: 1744200809 +commit: d913f60d8413c718a74eb3c197026919c78a44cb ++++++ irqbalance_banmod.diff ++++++ diff --git a/misc/irqbalance.env b/misc/irqbalance.env index 84cb843..3875dbe 100644 --- a/misc/irqbalance.env +++ b/misc/irqbalance.env @@ -41,4 +41,4 @@ # Append any args here to the irqbalance daemon as documented in the man # page. # -IRQBALANCE_ARGS="" +IRQBALANCE_ARGS="--banmod megaraid_sas"