1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prosody_ynh.git synced 2024-09-03 20:15:57 +02:00

Merge pull request #13 from YunoHost-Apps/testing

Upgrade to 0.12.3
This commit is contained in:
yalh76 2023-08-04 22:37:37 +02:00 committed by GitHub
commit be45b0f2dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 41 additions and 23 deletions

View file

@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Prosody for YunoHost
[![Integration level](https://dash.yunohost.org/integration/prosody.svg)](https://dash.yunohost.org/appci/app/prosody) ![Working status](https://ci-apps.yunohost.org/ci/badges/prosody.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/prosody.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/prosody.svg)](https://dash.yunohost.org/appci/app/prosody) ![Working status](https://ci-apps.yunohost.org/ci/badges/prosody.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/prosody.maintain.svg)
[![Install Prosody with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prosody)
*[Lire ce readme en français.](./README_fr.md)*
@ -18,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.
**Shipped version:** 0.11.13~ynh3
**Shipped version:** 0.12.3~ynh1
## Disclaimers / important information
* Prosody will not replace the XMPP service Metronome integrated in YunoHost, it has been implemented for some specific apps that require Prosody

View file

@ -5,29 +5,30 @@ It shall NOT be edited by hand.
# Prosody pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/prosody.svg)](https://dash.yunohost.org/appci/app/prosody) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prosody.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prosody.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/prosody.svg)](https://dash.yunohost.org/appci/app/prosody) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/prosody.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/prosody.maintain.svg)
[![Installer Prosody avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prosody)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Prosody rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Prosody rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.
**Version incluse :** 0.11.13~ynh3
**Version incluse :** 0.12.3~ynh1
## Avertissements / informations importantes
* Prosody will not replace the XMPP service Metronome integrated in YunoHost, it has been implemented for some specific apps that require Prosody
## Documentations et ressources
* Site officiel de l'app : <https://prosody.im/>
* Documentation officielle de l'admin : <https://prosody.im/doc>
* Dépôt de code officiel de l'app : <https://hg.prosody.im/>
* Site officiel de lapp : <https://prosody.im/>
* Documentation officielle de ladmin : <https://prosody.im/doc>
* Dépôt de code officiel de lapp : <https://hg.prosody.im/>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_prosody>
* Signaler un bug : <https://github.com/YunoHost-Apps/prosody_ynh/issues>
@ -43,4 +44,4 @@ ou
sudo yunohost app upgrade prosody -u https://github.com/YunoHost-Apps/prosody_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://prosody.im/downloads/source/prosody-0.11.13.tar.gz
SOURCE_SUM=39c61b346a09b5125b604cb969e14206cbbcb86c81156ffc6ba2d62527cf0432
SOURCE_URL=https://prosody.im/downloads/source/prosody-0.12.3.tar.gz
SOURCE_SUM=35da0d031ff46040a2d638e004d4255e249b6323fe6212db9ddd76b401db2101
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -5,7 +5,7 @@
"description": {
"en": "a modern XMPP communication server"
},
"version": "0.11.13~ynh3",
"version": "0.12.3~ynh1",
"url": "https://prosody.im/",
"upstream": {
"license": "MIT",

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="libidn11-dev, liblua5.2-dev, libssl-dev, lua-busted, lua5.2-expat, lua5.2-socket, lua5.2, openssl, txt2man"
pkg_dependencies="gawk icu-devtools libicu-dev libidn11-dev|libidn-dev liblua5.4-dev libncurses-dev libpkgconf3 libreadline-dev libsigsegv2 libssl-dev libyaml-dev lua-busted lua-cliargs lua-dkjson lua-expat lua-inifile lua-luassert lua-mediator lua-penlight lua-say lua-system lua-term lua-yaml lua5.4 pkg-config|pkgconf-bin txt2man"
#=================================================
# PERSONAL HELPERS

View file

@ -30,8 +30,11 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_script_progression --message="Disabling Metronome..."
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
if systemctl list-unit-files metronome.service &>/dev/null
then
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
fi
#=================================================
# STORE SETTINGS FROM MANIFEST
@ -100,6 +103,8 @@ ynh_setup_source --dest_dir="$builddir"
#=================================================
ynh_script_progression --message="Building Prosody..."
update-alternatives --set lua-interpreter /usr/bin/lua5.4
pushd "$builddir"
./configure --prefix=/usr
make

View file

@ -101,8 +101,11 @@ ynh_system_user_delete --username=$app
#=================================================
ynh_script_progression --message="Enabling Metronome..."
systemctl enable metronome.service --quiet
ynh_systemd_action --service_name="metronome" --action="start"
if systemctl list-unit-files metronome.service &>/dev/null
then
systemctl enable metronome.service --quiet
ynh_systemd_action --service_name="metronome" --action="start"
fi
#=================================================
# END OF SCRIPT

View file

@ -35,8 +35,11 @@ config_path=$(ynh_app_setting_get --app=$app --key=config_path)
#=================================================
ynh_script_progression --message="Disabling Metronome..."
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
if systemctl list-unit-files metronome.service &>/dev/null
then
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
fi
#=================================================
# STANDARD RESTORATION STEPS

View file

@ -46,8 +46,11 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Disabling Metronome..."
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
if systemctl list-unit-files metronome.service &>/dev/null
then
ynh_systemd_action --service_name="metronome" --action="stop"
systemctl disable metronome.service --quiet
fi
#=================================================
# STANDARD UPGRADE STEPS
@ -100,6 +103,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Building Prosody..."
update-alternatives --set lua-interpreter /usr/bin/lua5.4
pushd "$builddir"
./configure --prefix=/usr
make