mirror of
https://github.com/YunoHost-Apps/mosquitto_ynh.git
synced 2024-09-03 19:45:54 +02:00
Upgrade to version 2.0.8
This commit is contained in:
parent
63ffbf7577
commit
234d0e772f
8 changed files with 24 additions and 21 deletions
10
README.md
10
README.md
|
@ -15,7 +15,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
[Mosquitto](https://mosquitto.org/) gives you interconnect your objects and applications with an open source MQTT broker. Client can publish or subscribe after authentication (username, password).
|
[Mosquitto](https://mosquitto.org/) gives you interconnect your objects and applications with an open source MQTT broker. Client can publish or subscribe after authentication (username, password).
|
||||||
|
|
||||||
**Shipped version:** 1.8.2.2
|
**Shipped version:** 2.0.8
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -29,13 +29,13 @@ How to configure this app: From an admin panel or a plain file with SSH.
|
||||||
|
|
||||||
#### Multi-user support
|
#### Multi-user support
|
||||||
|
|
||||||
Are LDAP and HTTP auth supported? **No**
|
* Are LDAP and HTTP auth supported? **No**
|
||||||
Can the app be used by multiple users? **No**
|
* Can the app be used by multiple users? **No**
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/mosquitto/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/mosquitto/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/mosquitto/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/mosquitto/)
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
|
|
10
README_fr.md
10
README_fr.md
|
@ -15,7 +15,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
|
||||||
|
|
||||||
[Mosquitto](https://mosquitto.org/) vous permet d'interconnecter vos objets et applications avec un broker MQTT open source. Le client peut publier ou s'abonner après authentification (nom d'utilisateur, mot de passe).
|
[Mosquitto](https://mosquitto.org/) vous permet d'interconnecter vos objets et applications avec un broker MQTT open source. Le client peut publier ou s'abonner après authentification (nom d'utilisateur, mot de passe).
|
||||||
|
|
||||||
**Version incluse :** 1.8.2.2
|
**Version incluse :** 2.0.8
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@ -29,13 +29,13 @@ Comment configurer cette application : via le panneau d'administration ou un fic
|
||||||
|
|
||||||
#### Support multi-utilisateur
|
#### Support multi-utilisateur
|
||||||
|
|
||||||
* L'authentification LDAP et HTTP est-elle prise en charge ? **Non**
|
* L'authentification LDAP et HTTP est-elle prise en charge ? **Non**
|
||||||
* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Non**
|
* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Non**
|
||||||
|
|
||||||
#### Architectures supportées
|
#### Architectures supportées
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/mosquitto/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/mosquitto/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/mosquitto/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/mosquitto/)
|
||||||
|
|
||||||
## Liens
|
## Liens
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
;; Test complet
|
;; Test complet
|
||||||
; Manifest
|
; Manifest
|
||||||
username="mosquitto"
|
username="mosquitto"
|
||||||
password="pass" (PASSWORD)
|
password="pass"
|
||||||
port="1883" (PORT)
|
port="1883"
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_nourl=1
|
setup_nourl=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=0 from_commit=CommitHash
|
upgrade=1 from_commit=3423395180264623342ee41946d10f30cd38e471
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
port_already_use=0
|
port_already_use=1 (1883)
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=
|
Email=grena+mosquitto@grenabox.fr
|
||||||
Notification=none
|
Notification=yes
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Interconnect your objects and applications with an open source MQTT broker",
|
"en": "Interconnect your objects and applications with an open source MQTT broker",
|
||||||
"fr": "Interconnecter vos objets et vos applications grâce à un serveur MQTT open source"
|
"fr": "Interconnecter vos objets et vos applications grâce à un serveur MQTT open source"
|
||||||
},
|
},
|
||||||
"version": "1.5.7~ynh1",
|
"version": "2.0.8~ynh1",
|
||||||
"url": "https://mosquitto.org/",
|
"url": "https://mosquitto.org/",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
password_file="/etc/mosquitto/passwd"
|
password_file="/etc/mosquitto/passwd"
|
||||||
config_file="/etc/mosquitto/conf.d/default.conf"
|
config_file="/etc/mosquitto/conf.d/default.conf"
|
||||||
|
|
||||||
|
# extra repository used by the app
|
||||||
|
extra_repo="deb https://repo.mosquitto.org/debian buster main"
|
||||||
|
extra_repo_key="http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key"
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="mosquitto"
|
pkg_dependencies="mosquitto"
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=20
|
ynh_script_progression --message="Installing dependencies..." --weight=20
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_extra_app_dependencies --repo="$extra_repo" --package="$pkg_dependencies" --key="$extra_repo_key" --name="$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
|
|
|
@ -46,8 +46,7 @@ ynh_script_progression --message="Restoring the Fail2Ban configuration..." --wei
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=20
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=20
|
||||||
|
|
||||||
# Define and install dependencies
|
ynh_install_extra_app_dependencies --repo="$extra_repo" --package="$pkg_dependencies" --key="$extra_repo_key" --name="$app"
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
|
|
|
@ -52,7 +52,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=10
|
ynh_script_progression --message="Upgrading dependencies..." --weight=10
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_extra_app_dependencies --repo="$extra_repo" --package="$pkg_dependencies" --key="$extra_repo_key" --name="$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
|
Loading…
Add table
Reference in a new issue