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 #14 from YunoHost-Apps/testing

Fix bookworm
This commit is contained in:
yalh76 2023-08-06 01:22:10 +02:00 committed by GitHub
commit 3227473db3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 6 deletions

View file

@ -19,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. 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.12.3~ynh1 **Shipped version:** 0.12.3~ynh2
## Disclaimers / important information ## 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 * Prosody will not replace the XMPP service Metronome integrated in YunoHost, it has been implemented for some specific apps that require Prosody

View file

@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
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. 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.12.3~ynh1 **Version incluse :** 0.12.3~ynh2
## Avertissements / informations importantes ## 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 * 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,7 +5,7 @@
"description": { "description": {
"en": "a modern XMPP communication server" "en": "a modern XMPP communication server"
}, },
"version": "0.12.3~ynh1", "version": "0.12.3~ynh2",
"url": "https://prosody.im/", "url": "https://prosody.im/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -4,8 +4,14 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
if [[ $(lsb_release --codename --short) == "bookworm" ]]; then
luaversion="5.4"
else
luaversion="5.2"
fi
# dependencies used by the app # dependencies used by the app
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" pkg_dependencies="libicu-dev libidn11-dev|libidn-dev liblua${luaversion}-dev libssl-dev lua-busted lua${luaversion} lua${luaversion}-expat lua${luaversion}-socket openssl txt2man lua${luaversion}-sec lua${luaversion}-unbound"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -103,7 +103,7 @@ ynh_setup_source --dest_dir="$builddir"
#================================================= #=================================================
ynh_script_progression --message="Building Prosody..." ynh_script_progression --message="Building Prosody..."
update-alternatives --set lua-interpreter /usr/bin/lua5.4 update-alternatives --set lua-interpreter /usr/bin/lua${luaversion}
pushd "$builddir" pushd "$builddir"
./configure --prefix=/usr ./configure --prefix=/usr

View file

@ -103,7 +103,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Building Prosody..." ynh_script_progression --message="Building Prosody..."
update-alternatives --set lua-interpreter /usr/bin/lua5.4 update-alternatives --set lua-interpreter /usr/bin/lua${luaversion}
pushd "$builddir" pushd "$builddir"
./configure --prefix=/usr ./configure --prefix=/usr