mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Merge pull request #96 from YunoHost-Apps/bookworm
Fix upgrade on bookworm: call the correct php version
This commit is contained in:
commit
d16bb48712
4 changed files with 59 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lea el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
|
|
43
README_es.md
Normal file
43
README_es.md
Normal file
|
@ -0,0 +1,43 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Z-Push para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/z-push)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=z-push)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarZ-Push rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Z-Push is an Exchange ActiveSync fronted written in PHP which lets you synchronize emails (IMAP/SMTP backend) and calendar/contacts (cardDAV and caldDAV backend)
|
||||
|
||||
|
||||
**Versión actual:** 2.7.3~ynh1
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <http://z-push.org>
|
||||
- Documentación administrador oficial: <https://wiki.z-hub.io/display/ZP/Documentation>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/Z-Hub/Z-Push>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/z-push>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/z-push_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/z-push_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/z-push_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade z-push -u https://github.com/YunoHost-Apps/z-push_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
|
@ -48,9 +48,20 @@ ram.runtime = "50M"
|
|||
[resources.permissions]
|
||||
main.url = "/"
|
||||
main.allowed = "visitors" # should it always be public ?
|
||||
|
||||
|
||||
# FIXME: watdo with this ...
|
||||
#REMOVEME? ynh_permission_create --permission="autodiscover" --url="re:$domain_regex/[Aa]uto[Dd]iscover/.*" --allowed="visitors" --show_tile="false" --protected="true"
|
||||
|
||||
[resources.apt]
|
||||
packages = "php7.4-soap, php7.4-imap, php7.4-xsl, php7.4-curl, php7.4-xml, php7.4-ldap, php7.4-cli, php7.4-mbstring, php7.4-memcached, libawl-php"
|
||||
packages = [
|
||||
"php7.4-soap",
|
||||
"php7.4-imap",
|
||||
"php7.4-xsl",
|
||||
"php7.4-curl",
|
||||
"php7.4-xml",
|
||||
"php7.4-ldap",
|
||||
"php7.4-cli",
|
||||
"php7.4-mbstring",
|
||||
"php7.4-memcached",
|
||||
"libawl-php",
|
||||
]
|
||||
|
|
|
@ -134,7 +134,7 @@ else
|
|||
backend="BackendIMAP"
|
||||
imap_server="$domain"
|
||||
imap_meeting_use_caldav="false"
|
||||
|
||||
|
||||
ynh_add_config --template="backend/config-imap.php" --destination="$install_dir/backend/imap/config.php"
|
||||
fi
|
||||
|
||||
|
@ -144,7 +144,7 @@ ynh_add_config --template="backend/config-autodiscover.php" --destination="$inst
|
|||
ynh_add_config --template="backend/config-searchldap.php" --destination="$install_dir/backend/searchldap/config.php"
|
||||
|
||||
# Fixstates to avoid full resync of devices after version upgrades
|
||||
$install_dir/z-push-admin.php -a fixstates
|
||||
"php$phpversion" "$install_dir/z-push-admin.php" -a fixstates
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue