From: Fabian Pflug <f.pflug@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [ptxdist] [PATCH] mosquitto: Add possibility to add mosquitto_passwd
Date: Tue, 2 Sep 2025 12:35:38 +0200 [thread overview]
Message-ID: <20250902103538.2271809-1-f.pflug@pengutronix.de> (raw)
Add a new config option to install mosquitto_passwd if needed onto the
target.
Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
rules/mosquitto.in | 6 ++++++
rules/mosquitto.make | 5 +++++
2 files changed, 11 insertions(+)
diff --git a/rules/mosquitto.in b/rules/mosquitto.in
index 3c751ede7..e38b1e8c8 100644
--- a/rules/mosquitto.in
+++ b/rules/mosquitto.in
@@ -37,6 +37,12 @@ config MOSQUITTO_SRV
bool
prompt "SRV lookup support"
+config MOSQUITTO_PASSWD
+ bool
+ prompt "install mosquitto passwd"
+ help
+ Installs the file /usr/bin/mosquitto_passwd
+
config MOSQUITTO_WEBSOCKETS
bool
depends on MOSQUITTO_BROKER
diff --git a/rules/mosquitto.make b/rules/mosquitto.make
index 239f1fe3c..d337ae630 100644
--- a/rules/mosquitto.make
+++ b/rules/mosquitto.make
@@ -106,6 +106,11 @@ ifdef PTXCONF_MOSQUITTO_SYSTEMD_UNIT
endif
endif
+ifdef PTXCONF_MOSQUITTO_PASSWD
+ # password file management
+ @$(call install_copy, mosquitto, 0, 0, 0755, -, /usr/bin/mosquitto_passwd)
+endif
+
@$(call install_finish, mosquitto)
@$(call touch)
--
2.47.2
next reply other threads:[~2025-09-02 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 10:35 Fabian Pflug [this message]
2025-09-02 11:59 ` Thorsten Scherer
2025-09-02 14:28 ` [ptxdist] [PATCH v2] " Fabian Pflug
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=20250902103538.2271809-1-f.pflug@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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