Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mosquitto for openSUSE:Factory checked in at 2026-09-29 17:50:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mosquitto (Old) and /work/SRC/openSUSE:Factory/.mosquitto.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mosquitto" Tue Sep 29 17:50:30 2026 rev:38 rq:1381262 version:2.0.23 Changes: -------- --- /work/SRC/openSUSE:Factory/mosquitto/mosquitto.changes 2026-02-23 16:14:14.169507801 +0100 +++ /work/SRC/openSUSE:Factory/.mosquitto.new.383539/mosquitto.changes 2026-09-29 17:51:50.185359894 +0200 @@ -1,0 +2,6 @@ +Mon Sep 28 18:43:29 UTC 2026 - Arjen de Korte <[email protected]> + +- Don't install apparmor profiles by default for Tumbleweed (already + part of apparmor-profiles) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mosquitto.spec ++++++ --- /var/tmp/diff_new_pack.hpWr5z/_old 2026-09-29 17:51:51.074397018 +0200 +++ /var/tmp/diff_new_pack.hpWr5z/_new 2026-09-29 17:51:51.077397143 +0200 @@ -1,7 +1,7 @@ # # spec file for package mosquitto # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -17,6 +17,12 @@ # +%if 0%{?suse_version} >= 1699 +%bcond_with local_apparmor_profile +%else +%bcond_without local_apparmor_profile +%endif + %define home %{_localstatedir}/lib/%{name} %define c_lib libmosquitto1 %define cpp_lib libmosquittopp1 @@ -98,6 +104,21 @@ This package holds the development files. +%if %{with local_apparmor_profile} +%package apparmor +Summary: Apparmor profile for %{name} +Group: Productivity/Networking/Other +Requires: %{name} = %{version}-%{release} +Supplements: (apparmor and %{name}) + +%description apparmor +Mosquitto is a message broker that implements the +MQ Telemetry Transport protocol versions 3.1 and 3.1.1. MQTT provides a +lightweight method of carrying out messaging using a publish/subscribe model. + +This package adds the Apparmor profile files. +%endif + %package clients Summary: Client for Mosquitto Group: Productivity/Networking/Other @@ -132,9 +153,11 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} install -Dd -m 0750 %{buildroot}%{home} chmod -R o= %{buildroot}%{_sysconfdir}/%{name}/ +%if %{with local_apparmor_profile} install -D -m 644 security/mosquitto.apparmor %{buildroot}%{_sysconfdir}/apparmor.d/usr.sbin.mosquitto install -D -m 755 -d %{buildroot}%{_sysconfdir}/apparmor.d/local/ echo "# Site-specific additions and overrides for 'usr.sbin.mosquitto'" > %{buildroot}%{_sysconfdir}/apparmor.d/local/usr.sbin.mosquitto +%endif install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/mosquitto/conf.d/README install -D -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/mosquitto/ca_certificates/README install -D -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/mosquitto/certs/README @@ -176,10 +199,14 @@ %{_libdir}/mosquitto_dynamic_security.so %{_sysusersdir}/%{name}-user.conf %dir %attr(-,%{name},%{name}) %{home} + +%if %{with local_apparmor_profile} +%files apparmor %dir %{_sysconfdir}/apparmor.d/ %dir %{_sysconfdir}/apparmor.d/local/ %config %{_sysconfdir}/apparmor.d/usr.sbin.mosquitto %config(noreplace) %{_sysconfdir}/apparmor.d/local/usr.sbin.mosquitto +%endif %files clients %license edl-v10 epl-v20 LICENSE.txt
