Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package wpa_supplicant for openSUSE:Factory
checked in at 2026-11-23 12:19:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wpa_supplicant (Old)
and /work/SRC/openSUSE:Factory/.wpa_supplicant.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wpa_supplicant"
Mon Nov 23 12:19:16 2026 rev:105 rq:1398131 version:2.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/wpa_supplicant/wpa_supplicant.changes
2026-08-27 18:49:06.406837761 +0200
+++
/work/SRC/openSUSE:Factory/.wpa_supplicant.new.1340718/wpa_supplicant.changes
2026-11-23 12:19:27.705763495 +0100
@@ -1,0 +2,54 @@
+Tue Nov 10 08:40:00 UTC 2026 - Clemens Famulla-Conrad <[email protected]>
+
+- Add D-Bus-Drop-leftover-allow-send_interface-for-root.patch:
+ drop the send_interface allow rule left over from upstream commit
+ df9e2c2a55ee to fix the rpmlint
+ dbus-policy-allow-without-destination error
+
+-------------------------------------------------------------------
+Thu Nov 5 08:35:04 UTC 2026 - Clemens Famulla-Conrad <[email protected]>
+
+- Log to the journal by default instead of /var/log/wpa_supplicant.log,
+ needs CONFIG_DEBUG_SYSLOG=y in config (bsc#1236494)
+- Drop the ineffective "-c /etc/wpa_supplicant/wpa_supplicant.conf"
+ from wpa_supplicant.service and the D-Bus activation files.
+ Without -i, wpa_supplicant ignores it when started with -u;
+ [email protected] keeps it.
+- Drop fi.epitest.hostap.WPASupplicant.service (wicked does not
+ use it since 0.6.66)
+- Drop the logrotate config and the logrotate dependency, nothing
+ writes /var/log/wpa_supplicant.log by default anymore
+- Replace the packaged dbus-fi.w1.wpa_supplicant1.service symlink
+ with Alias= in wpa_supplicant.service (equal to upstream).
+ The alias now only exists while wpa_supplicant.service is
+ enabled. D-Bus activation is not affected, it uses
+ wpa_supplicant.service. Services or scripts which use
+ dbus-fi.w1.wpa_supplicant1.service directly need to run
+ "systemctl enable wpa_supplicant.service" after this update.
+- Fix /run/wpa_supplicant being listed twice in %files
+
+-------------------------------------------------------------------
+Sun Oct 18 15:50:05 UTC 2026 - Tomáš Chvátal <[email protected]>
+
+- Recommend wireless-regdb so the kernel can load the regulatory
+ database and use the correct country domain instead of the
+ restrictive world domain; since crda was dropped from Factory
+ nothing pulled the package in, so fresh installs never got it
+ (cfg80211: failed to load regulatory.db)
+- Drop the readline-devel BuildRequires: the shipped build
+ config disables CONFIG_READLINE and nothing in the build
+ uses readline
+- Use the make_build macro for the main and eapol_test builds,
+ keeping the explicit CFLAGS optflags assignment in front of
+ it: the assignment is load-bearing for this Makefile, without
+ it the compiles fall back to the Makefile defaults (verified
+ in the build log)
+- Correct the License tag to BSD-3-Clause: upstream has
+ distributed under the BSD option only since 2012 (see
+ COPYING), the GPL v2 option is no longer used and was
+ GPL-2.0-only, never -or-later
+- Add the systemd hardening block to [email protected]
+ so the template unit carries the same directives as
+ wpa_supplicant.service
+
+-------------------------------------------------------------------
Old:
----
fi.epitest.hostap.WPASupplicant.service
logrotate.wpa_supplicant
New:
----
D-Bus-Drop-leftover-allow-send_interface-for-root.patch
----------(New B)----------
New:
- Add D-Bus-Drop-leftover-allow-send_interface-for-root.patch:
drop the send_interface allow rule left over from upstream commit
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wpa_supplicant.spec ++++++
--- /var/tmp/diff_new_pack.IGrVjP/_old 2026-11-23 12:19:29.980859210 +0100
+++ /var/tmp/diff_new_pack.IGrVjP/_new 2026-11-23 12:19:29.981859252 +0100
@@ -20,13 +20,11 @@
Version: 2.12
Release: 0
Summary: WPA supplicant implementation
-License: BSD-3-Clause AND GPL-2.0-or-later
+License: BSD-3-Clause
URL: https://w1.fi/wpa_supplicant
Source0: https://w1.fi/releases/%{name}-%{version}.tar.gz
Source1: config
Source2: %{name}.conf
-Source3: fi.epitest.hostap.WPASupplicant.service
-Source4: logrotate.wpa_supplicant
Source5: fi.w1.wpa_supplicant1.service
Source6: wpa_supplicant.service
Source7: [email protected]
@@ -41,8 +39,9 @@
Patch6: Revert-Mark-authorization-completed-on-driver-indica.patch
# UPSTREAM-FIX fix https://w1.fi/security/2026-5
Patch7: RADIUS-Fix-Message-Authenticator-attribute-validatio.patch
+# Leftover from upstream df9e2c2a55ee, flagged by rpmlint
+Patch8: D-Bus-Drop-leftover-allow-send_interface-for-root.patch
BuildRequires: pkgconfig
-BuildRequires: readline-devel
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Gui)
@@ -50,7 +49,7 @@
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(openssl)
-Requires: logrotate
+Recommends: wireless-regdb
%description
wpa_supplicant is an implementation of the WPA Supplicant component,
@@ -73,11 +72,11 @@
%build
cd wpa_supplicant
-CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
-CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} eapol_test
+CFLAGS="%{optflags}" %make_build
+CFLAGS="%{optflags}" %make_build eapol_test
cd wpa_gui-qt4
-%qmake6
-make %{?_smp_mflags}
+%{qmake6}
+%make_build
%install
install -d %{buildroot}/%{_sbindir}
@@ -91,15 +90,7 @@
install -m 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}
sed 's-@RUNSTATEDIR@-%{_rundir}-g' -i
%{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
install -d %{buildroot}/%{_datadir}/dbus-1/system-services
-install -m 0644 %{SOURCE3} %{buildroot}/%{_datadir}/dbus-1/system-services
install -m 0644 %{SOURCE5} %{buildroot}/%{_datadir}/dbus-1/system-services
-%if 0%{?suse_version} > 1500
-install -d %{buildroot}/%{_distconfdir}/logrotate.d/
-install -m 644 %{SOURCE4}
%{buildroot}/%{_distconfdir}/logrotate.d/wpa_supplicant
-%else
-install -d %{buildroot}/%{_sysconfdir}/logrotate.d/
-install -m 644 %{SOURCE4}
%{buildroot}/%{_sysconfdir}/logrotate.d/wpa_supplicant
-%endif
install -d %{buildroot}/%{_rundir}/%{name}
install -d %{buildroot}%{_mandir}/man{5,8}
install -m 0644 wpa_supplicant/doc/docbook/*.8 %{buildroot}%{_mandir}/man8
@@ -115,26 +106,9 @@
%endif
# avoid spurious dependency on /usr/bin/python
chmod -x wpa_supplicant/examples/*.py
-# dbus auto activation boo#966535
-ln -s wpa_supplicant.service
%{buildroot}%{_unitdir}/dbus-fi.epitest.hostap.WPASupplicant.service
-ln -s wpa_supplicant.service
%{buildroot}%{_unitdir}/dbus-fi.w1.wpa_supplicant1.service
%pre
%service_add_pre wpa_supplicant.service
-%if 0%{?suse_version} > 1500
-# Prepare for migration to /usr/etc; save any old .rpmsave
-for i in logrotate.d/wpa_supplicant ; do
- test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i}.rpmsave.old ||:
-done
-%endif
-
-%if 0%{?suse_version} > 1500
-%posttrans
-# Migration to /usr/etc, restore just created .rpmsave
-for i in logrotate.d/wpa_supplicant ; do
- test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave
%{_sysconfdir}/${i} ||:
-done
-%endif
%post
%service_add_post wpa_supplicant.service
@@ -158,17 +132,9 @@
%{_datadir}/dbus-1/system.d/%{name}.conf
%{_datadir}/dbus-1/system-services
%config %{_sysconfdir}/%{name}/%{name}.conf
-%if 0%{?suse_version} > 1500
-%{_distconfdir}/logrotate.d/wpa_supplicant
-%else
-%config(noreplace) %{_sysconfdir}/logrotate.d/wpa_supplicant
-%endif
-%dir %{_rundir}/%{name}
-%ghost %{_rundir}/%{name}
+%ghost %dir %{_rundir}/%{name}
%{_unitdir}/wpa_supplicant.service
%{_unitdir}/[email protected]
-%{_unitdir}/dbus-fi.epitest.hostap.WPASupplicant.service
-%{_unitdir}/dbus-fi.w1.wpa_supplicant1.service
%dir %{_sysconfdir}/%{name}
%{_mandir}/man8/*
%exclude %{_mandir}/man8/wpa_gui.*
++++++ D-Bus-Drop-leftover-allow-send_interface-for-root.patch ++++++
From: Clemens Famulla-Conrad <[email protected]>
Subject: [PATCH] D-Bus: Drop leftover <allow send_interface="..."/> for root
Commit df9e2c2a55ee removed <deny send_interface="fi.w1.wpa_supplicant1"/>
from the default context but kept the matching allow rule for root, which
has had no purpose since.
Fixes: df9e2c2a55ee ("D-Bus: Don't do <deny send_interface="..." /> in dbus
service file")
---
wpa_supplicant/dbus/dbus-wpa_supplicant.conf | 1 -
1 file changed, 1 deletion(-)
--- a/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
+++ b/wpa_supplicant/dbus/dbus-wpa_supplicant.conf
@@ -6,7 +6,6 @@
<allow own="fi.w1.wpa_supplicant1"/>
<allow send_destination="fi.w1.wpa_supplicant1"/>
- <allow send_interface="fi.w1.wpa_supplicant1"/>
<allow receive_sender="fi.w1.wpa_supplicant1"
receive_type="signal"/>
</policy>
<policy context="default">
++++++ config ++++++
--- /var/tmp/diff_new_pack.IGrVjP/_old 2026-11-23 12:19:30.042861818 +0100
+++ /var/tmp/diff_new_pack.IGrVjP/_new 2026-11-23 12:19:30.045861945 +0100
@@ -428,7 +428,7 @@
CONFIG_DEBUG_FILE=y
# Send debug messages to syslog instead of stdout
-# CONFIG_DEBUG_SYSLOG=y
+CONFIG_DEBUG_SYSLOG=y
# Set syslog facility for debug messages
#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
++++++ fi.w1.wpa_supplicant1.service ++++++
--- /var/tmp/diff_new_pack.IGrVjP/_old 2026-11-23 12:19:30.070862996 +0100
+++ /var/tmp/diff_new_pack.IGrVjP/_new 2026-11-23 12:19:30.072863081 +0100
@@ -1,6 +1,6 @@
[D-BUS Service]
Name=fi.w1.wpa_supplicant1
-Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t
-f /var/log/wpa_supplicant.log
+Exec=/usr/sbin/wpa_supplicant -u -s
User=root
SystemdService=wpa_supplicant.service
++++++ wpa_supplicant.service ++++++
--- /var/tmp/diff_new_pack.IGrVjP/_old 2026-11-23 12:19:30.162866867 +0100
+++ /var/tmp/diff_new_pack.IGrVjP/_new 2026-11-23 12:19:30.180867624 +0100
@@ -15,11 +15,12 @@
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
-# end of automatic additions
+# end of automatic additions
Type=dbus
BusName=fi.w1.wpa_supplicant1
-ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf
-u -t -f /var/log/wpa_supplicant.log
+ExecStart=/usr/sbin/wpa_supplicant -u -s
[Install]
WantedBy=multi-user.target
+Alias=dbus-fi.w1.wpa_supplicant1.service
++++++ [email protected] ++++++
--- /var/tmp/diff_new_pack.IGrVjP/_old 2026-11-23 12:19:30.244870317 +0100
+++ /var/tmp/diff_new_pack.IGrVjP/_new 2026-11-23 12:19:30.256870822 +0100
@@ -5,9 +5,20 @@
After=sys-subsystem-net-devices-%I.device
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=read-only
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=dbus
BusName=fi.w1.wpa_supplicant1
-ExecStart=/usr/sbin/wpa_supplicant -i%i -c
/etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log
+ExecStart=/usr/sbin/wpa_supplicant -i%i -c
/etc/wpa_supplicant/wpa_supplicant.conf -u -s
[Install]
WantedBy=multi-user.target