public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mosquitto] epel10: Merge branch 'f43' into epel10
Date: Sun, 22 Nov 2026 21:28:45 GMT	[thread overview]
Message-ID: <179538292532.1.2283799939930618834.rpms-mosquitto-6c64be774890@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mosquitto
Branch : epel10
Commit : 6c64be774890604a4dd5cbd7d9d3a515265985f5
Author : Peter Robinson <pbrobinson@gmail.com>
Date   : 2026-11-22T21:28:17+00:00
Stats  : +43/-60 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/mosquitto/c/6c64be774890604a4dd5cbd7d9d3a515265985f5?branch=epel10

Log:
Merge branch 'f43' into epel10

---
diff --git a/0001-Fix-the-libdir-location-in-the-pkgconf-files.patch b/0001-Fix-the-libdir-location-in-the-pkgconf-files.patch
deleted file mode 100644
index 52375d5..0000000
--- a/0001-Fix-the-libdir-location-in-the-pkgconf-files.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From d24d8348879055a70460aa072b0e7e65e5702fc9 Mon Sep 17 00:00:00 2001
-From: Peter Robinson <pbrobinson@gmail.com>
-Date: Thu, 31 Oct 2024 23:10:01 +0000
-Subject: [PATCH] Fix the libdir location in the pkgconf files
-
-In some distributions libraries are installed
-into lib64 rather than lib for 64 bit architectures
-so use the cmake variable like we already do
-for the prefix to ensure that's correct for all
-distributions.
-
-Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
----
- libmosquitto.pc.in   | 2 +-
- libmosquittopp.pc.in | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libmosquitto.pc.in b/libmosquitto.pc.in
-index 101a125f..2d8c1a83 100644
---- a/libmosquitto.pc.in
-+++ b/libmosquitto.pc.in
-@@ -1,7 +1,7 @@
- prefix=@CMAKE_INSTALL_PREFIX@
- exec_prefix=${prefix}
- includedir=${prefix}/include
--libdir=${exec_prefix}/lib
-+libdir=@CMAKE_INSTALL_LIBDIR@
- 
- Name: mosquitto
- Description: mosquitto MQTT library (C bindings)
-diff --git a/libmosquittopp.pc.in b/libmosquittopp.pc.in
-index 6070f44f..ae93e88d 100644
---- a/libmosquittopp.pc.in
-+++ b/libmosquittopp.pc.in
-@@ -1,7 +1,7 @@
- prefix=@CMAKE_INSTALL_PREFIX@
- exec_prefix=${prefix}
- includedir=${prefix}/include
--libdir=${exec_prefix}/lib
-+libdir=@CMAKE_INSTALL_LIBDIR@
- 
- Name: mosquittopp
- Description: mosquitto MQTT library (C++ bindings)
--- 
-2.47.0
-

diff --git a/mosquitto-fix-service.patch b/mosquitto-fix-service.patch
new file mode 100644
index 0000000..29da749
--- /dev/null
+++ b/mosquitto-fix-service.patch
@@ -0,0 +1,10 @@
+--- mosquitto-2.0.22/service/systemd/mosquitto.service.notify.orig	2025-12-18 00:27:44.907573533 +0000
++++ mosquitto-2.0.22/service/systemd/mosquitto.service.notify	2025-12-18 00:28:33.929697561 +0000
+@@ -6,6 +6,7 @@ Wants=network-online.target
+ 
+ [Service]
+ User=mosquitto
++Group=mosquitto
+ Type=notify
+ WatchdogSec=3min
+ NotifyAccess=main

diff --git a/mosquitto.spec b/mosquitto.spec
index 982b972..b78382e 100644
--- a/mosquitto.spec
+++ b/mosquitto.spec
@@ -1,7 +1,7 @@
 %global with_tests 0
 
 Name:           mosquitto
-Version:        2.0.22
+Version:        2.0.23
 Release:        1%{?dist}
 Summary:        Open Source MQTT v5/v3.1.x Broker
 
@@ -10,7 +10,7 @@ URL:            https://mosquitto.org/
 Source0:        https://mosquitto.org/files/source/%{name}-%{version}.tar.gz
 Source1:        mosquitto-sysusers.conf
 # https://github.com/eclipse-mosquitto/mosquitto/pull/3150
-Patch1:         0001-Fix-the-libdir-location-in-the-pkgconf-files.patch
+Patch:          mosquitto-fix-service.patch
 
 BuildRequires:  c-ares-devel
 BuildRequires:  cjson-devel
@@ -58,28 +58,24 @@ sed -i "s|(INSTALL) -s|(INSTALL)|g" lib/Makefile src/Makefile client/Makefile
 sed -i "s/websockets_shared/websockets/" src/CMakeLists.txt
 
 %build
-mkdir build
-pushd build
 %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
        -DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
        -DWITH_WEBSOCKETS=ON \
        -DWITH_SYSTEMD=ON \
        -DWITH_SRV=ON \
        -DWITH_TLS=ON \
-       ..
+       %nil
 
 %cmake_build
-popd
-
 
 %install
-pushd build
 %cmake_install
-popd
 
 mkdir -p %{buildroot}%{_unitdir}
 install -p -m 0644 service/systemd/%{name}.service.notify %{buildroot}%{_unitdir}/%{name}.service
 install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
+mkdir -p %{buildroot}%{_var}/log/%{name}
+mkdir -p %{buildroot}%{_rundir}/%{name}
 
 %if 0%{?with_tests}
 %check
@@ -89,16 +85,18 @@ make test
 %files
 %license LICENSE.txt 
 %doc ChangeLog.txt CONTRIBUTING.md README.md
+%dir %attr(750,mosquitto,mosquitto) %{_sysconfdir}/%{name}
+%dir %attr(750,mosquitto,mosquitto) %{_localstatedir}/log/%{name}
+%dir %attr(750,mosquitto,mosquitto) %{_rundir}/%{name}
+%config(noreplace) %attr(640,mosquitto,mosquitto) %{_sysconfdir}/%{name}/%{name}.conf
+%config %attr(640,mosquitto,mosquitto) %{_sysconfdir}/%{name}/*.example
 %{_bindir}/%{name}*
-%if 0%{?fedora} < 42 || 0%{?rhel}
+%if 0%{?rhel}
 %{_sbindir}/%{name}
 %endif
 %{_libdir}/libmosquitto*.so.1
 %{_libdir}/libmosquitto*.so.%{version}
 %{_libdir}/mosquitto_dynamic_security.so
-%dir %{_sysconfdir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
-%config %{_sysconfdir}/%{name}/*.example
 %{_sysusersdir}/%{name}.conf
 %{_unitdir}/%{name}.service
 %{_mandir}/man*/%{name}*
@@ -112,6 +110,27 @@ make test
 %{_mandir}/man3/libmosquitto.3.*
 
 %changelog
+* Wed Nov 18 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.23-1
+- Update to 2.0.23
+
+* Mon Jul 27 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-7
+- Rebuild for libwebsockets
+
+* Thu Dec 18 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-6
+- Fix service startup, mosquitto user to own dirs, package owns runtime dirs
+
+* Sun Nov 30 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-5
+- Rebuild against libwebsockets 4.5.0
+
+* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
+
+* Mon Jul 21 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-3
+- Rebuild for libwebsockets 4.4
+
+* Sun Jul 20 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-2
+- Minor spec cleanups
+
 * Mon Jul 14 2025 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.22-1
 - Update to 2.0.22
 - Update for older releases to address sbin dir

diff --git a/sources b/sources
index 1d1ba05..f5a5abe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mosquitto-2.0.22.tar.gz) = 5aae399b308d8262a758a72064c613bfd6930e1a54f34939e30454d988c65c9d7c4c139ed70a016baa1264a0100a0c842c00e843ffe3ef83f90be440403e7482
+SHA512 (mosquitto-2.0.23.tar.gz) = e71cd3e21e0094cf6af1bb5c6d5a855a3e6437fc2d9fc5f1c7d632c1ae2800b42a322db727bb3d6108489d2a1dd686a4a49ceb75320d222e37dc2fab2a194371

                 reply	other threads:[~2026-11-22 21:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179538292532.1.2283799939930618834.rpms-mosquitto-6c64be774890@fedoraproject.org \
    --to=pbrobinson@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox