mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] mosquitto: Add possibility to add mosquitto_passwd
Date: Mon,  8 Sep 2025 09:24:16 +0200	[thread overview]
Message-ID: <20250908072416.3509916-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250902142910.191624-1-f.pflug@pengutronix.de>

Thanks, applied as 729420ec3038494c2e4aca291248341c9aaaad8a.

Michael

[sent from post-receive hook]

On Mon, 08 Sep 2025 09:24:16 +0200, Fabian Pflug <f.pflug@pengutronix.de> wrote:
> Add a new config option to install mosquitto_passwd if needed onto the
> target.
> 
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
> Message-Id: <20250902142910.191624-1-f.pflug@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/mosquitto.in b/rules/mosquitto.in
> index 3c751ede7efb..5ebc6ef2f577 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 239f1fe3c34a..488618e15478 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)



      reply	other threads:[~2025-09-08  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-02 10:35 [ptxdist] [PATCH] " Fabian Pflug
2025-09-02 11:59 ` Thorsten Scherer
2025-09-02 14:28 ` [ptxdist] [PATCH v2] " Fabian Pflug
2025-09-08  7:24   ` Michael Olbrich [this message]

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=20250908072416.3509916-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.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