1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

[fix] dependencies

This commit is contained in:
magikcypress 2017-07-12 12:48:38 +02:00
parent d128c33594
commit 7a2dbccf95
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A
5 changed files with 26 additions and 9 deletions

View file

@ -0,0 +1,20 @@
Section: misc
Priority: optional
Homepage: https://roundcube.net/
Standards-Version: 3.9.2
Package: roundcube-deps
Version: 1.2-1
Depends: php5-cli, php5-common, php5-intl, php5-json, php5-mcrypt
, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8
, php-net-smtp, php-net-socket, php-crypt-gpg
, php-net-ldap2, php-net-ldap3
Architecture: all
Description: meta package for roundcube dependencies
RoundCube Webmail is a browser-based multilingual IMAP client with an
application-like user interface. It provides full functionality expected
from an e-mail client, including MIME support, address book, folder
manipulation and message filters.
.
.
This meta-package is only responsible of installing its dependencies.

View file

@ -2,6 +2,9 @@
# Common variables # Common variables
# #
# Package dependencies
PKG_DEPENDENCIES="php5-cli php5-common php5-intl php5-json php5-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-crypt-gpg php-net-ldap2 php-net-ldap3"
# App package root directory should be the parent folder # App package root directory should be the parent folder
PKGDIR=$(cd ../; pwd) PKGDIR=$(cd ../; pwd)

View file

@ -42,10 +42,7 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
} }
# Install dependencies # Install dependencies
ynh_install_app_dependencies php5-cli php5-common php5-intl php5-json php5-mcrypt \ ynh_install_app_dependencies "$PKG_DEPENDENCIES"
php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 \
php-net-smtp php-net-socket php-crypt-gpg \
php-net-ldap2 php-net-ldap3
# Create system user dedicace for this app # Create system user dedicace for this app
ynh_system_user_create $app ynh_system_user_create $app

View file

@ -36,4 +36,4 @@ sudo systemctl reload nginx
ynh_remove_app_dependencies ynh_remove_app_dependencies
# The following command is kept as a matter of transition with the previous way # The following command is kept as a matter of transition with the previous way
# of managing dependencies # of managing dependencies
ynh_package_autoremove "php-net-ldap3" || true ynh_package_autoremove "roundcube-deps" || true

View file

@ -41,10 +41,7 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
} }
# Install dependencies # Install dependencies
ynh_install_app_dependencies php5-cli php5-common php5-intl php5-json php5-mcrypt \ ynh_install_app_dependencies "$PKG_DEPENDENCIES"
php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 \
php-net-smtp php-net-socket php-crypt-gpg \
php-net-ldap2 php-net-ldap3
# Create system user dedicace for this app # Create system user dedicace for this app
ynh_system_user_create $app ynh_system_user_create $app