Thanks, applied as 729420ec3038494c2e4aca291248341c9aaaad8a.

Michael

[sent from post-receive hook]

On Mon, 08 Sep 2025 09:24:16 +0200, Fabian Pflug <[email protected]> wrote:
> Add a new config option to install mosquitto_passwd if needed onto the
> target.
> 
> Signed-off-by: Fabian Pflug <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 via email to