]> git.pld-linux.org Git - packages/mosquitto.git/commitdiff
move mosquitto_ctrl to -admin subpackage auto/th/mosquitto-2.0.17-1
authorJan Palus <atler@pld-linux.org>
Tue, 12 Sep 2023 22:18:57 +0000 (00:18 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 12 Sep 2023 22:18:57 +0000 (00:18 +0200)
can be used to manage mosquitto instance remotely so don't require
entire server installation in this scenario

mosquitto.spec

index bad171fc8adadeb67a6c9b7a75dd468ee15734db..fd04f84be513292d50359ef93c79b4f97e1797a3 100644 (file)
@@ -30,6 +30,7 @@ Requires(pre):        /bin/id
 Requires(pre): /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
+Suggests:      %{name}-admin = %{version}-%{release}
 Suggests:      %{name}-clients = %{version}-%{release}
 Suggests:      %{name}-plugin-dynamic-security = %{version}-%{release}
 Provides:      group(mosquitto)
@@ -47,6 +48,14 @@ machine" messaging such as with low power sensors or mobile devices
 such as phones, embedded computers or micro-controllers like the
 Arduino.
 
+%package admin
+Summary:       Tools to manage Mosquitto configuration
+Group:         Applications/Networking
+Requires:      libmosquitto = %{version}-%{release}
+
+%description admin
+Tools to manage Mosquitto configuration.
+
 %package clients
 Summary:       Mosquitto command line pub/sub clients
 Group:         Applications/Networking
@@ -181,18 +190,21 @@ fi
 %attr(600,mosquitto,mosquitto) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/aclfile
 %attr(600,mosquitto,mosquitto) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/pskfile
 %attr(600,mosquitto,mosquitto) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/pwfile
-%attr(755,root,root) %{_bindir}/mosquitto_ctrl
 %attr(755,root,root) %{_bindir}/mosquitto_passwd
 %attr(755,root,root) %{_sbindir}/mosquitto
 %{?with_systemd:%{systemdunitdir}/mosquitto.service}
-%{_mandir}/man1/mosquitto_ctrl.1*
-%{_mandir}/man1/mosquitto_ctrl_dynsec.1*
 %{_mandir}/man1/mosquitto_passwd.1*
 %{_mandir}/man5/mosquitto.conf.5*
 %{_mandir}/man7/mosquitto-tls.7*
 %{_mandir}/man7/mqtt.7*
 %{_mandir}/man8/mosquitto.8*
 
+%files admin
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mosquitto_ctrl
+%{_mandir}/man1/mosquitto_ctrl.1*
+%{_mandir}/man1/mosquitto_ctrl_dynsec.1*
+
 %files clients
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mosquitto_pub
This page took 0.42786 seconds and 4 git commands to generate.