1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Upgrade to 2.4.5 (#3)

* Switch source to github.tar.gz

* Fix $final_path creation

* upgrade to 2.4.5
This commit is contained in:
yalh76 2019-04-03 22:31:26 +02:00 committed by GitHub
parent 71cbe948ee
commit 5590e28efb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 7 deletions

View file

@ -8,7 +8,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview
Z-Push is an Exchange ActiveSync fronted written in php which lets you synchronize emails (imap/smtp backend) and calendar/contacts (carddav and caldav backend)
**Shipped version:** 2.3.6
**Shipped version:** 2.4.5
* * *
### Known bug :
@ -24,7 +24,7 @@ Z-Push is an Exchange ActiveSync fronted written in php which lets you synchroni
- [x] z-push is now configured to use smtp to send emails instead of php_mail() function. This let us have emails signed by dkim for example.
- [x] The current imap backend configuration seems able to handle email addresses different from login (for example login : john and email john.doe@domain.tld instead of john@domain.tld) - Further testing required !
- [x] The sources are based on http://download.z-push.org/final/
- [x] Use of version 2.3.6 final
- [x] Use of version 2.4.5 final
## Documentation

View file

@ -1,5 +1,5 @@
SOURCE_URL=http://download.z-push.org/final/2.3/z-push-2.3.6.tar.gz
SOURCE_SUM=9f86e4f6d822558bffdf05bebce4f1157ed7d8784b52d488935ef6d02efc27d7
SOURCE_URL=https://github.com/Z-Hub/Z-Push/archive/3b937fb5c79068553198347ffad1f39f2e9d1b51.tar.gz
SOURCE_SUM=d4d341946a6a2d24c4f9ceebeef8d0c3724c09ed5ad8c905fd1b4c44b25fe6fa
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Z-Push is an Exchange ActiveSync fronted written in php which lets you synchronize emails (imap/smtp backend) and calendar/contacts (carddav and caldav backend)",
"fr": "Z-Push est un fronted Exchange ActiveSync écrit en php qui permet de synchroniser vos email (backend imap/smtp) et vos contacts/calendrier (backend carddav et caldav)"
},
"version": "2.3.6~ynh2",
"version": "2.4.5~ynh1",
"url": "https://z-push.org",
"license": "AGPL-3.0-or-later",
"maintainer": {

View file

@ -66,7 +66,11 @@ ynh_print_info "Setting up source files..."
ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
mkdir "$final_path"
mkdir "$final_path/tmp"
ynh_setup_source "$final_path/tmp"
cp -a "$final_path/tmp/src/." "$final_path/."
rm -r "$final_path/tmp"
#=================================================
# NGINX CONFIGURATION

View file

@ -95,7 +95,10 @@ ynh_abort_if_errors
ynh_print_info "Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
mkdir "$final_path/tmp"
ynh_setup_source "$final_path/tmp"
cp -a "$final_path/tmp/src/." "$final_path/."
rm -r "$final_path/tmp"
#=================================================
# NGINX CONFIGURATION