From: Thorsten Scherer <T.Scherer@eckelmann.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: Re: [ptxdist] [PATCH] mosquitto: Add possibility to add mosquitto_passwd
Date: Tue, 2 Sep 2025 13:59:34 +0200 [thread overview]
Message-ID: <psvcoerww2y576p6h2yur2vj62rdrbvrwjo3tm3l5ctnh32mj7@efy3e5hiqlzt> (raw)
In-Reply-To: <20250902103538.2271809-1-f.pflug@pengutronix.de>
Hello Fabian,
On Tue, Sep 02, 2025 at 12:35:38PM +0200, Fabian Pflug wrote:
> 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
the helptext should be indented with "<Tab><Space><Space>"
> +
> 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
>
>
Best regards
Thorsten
next prev parent reply other threads:[~2025-09-02 11:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 10:35 Fabian Pflug
2025-09-02 11:59 ` Thorsten Scherer [this message]
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=psvcoerww2y576p6h2yur2vj62rdrbvrwjo3tm3l5ctnh32mj7@efy3e5hiqlzt \
--to=t.scherer@eckelmann.de \
--cc=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