diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 5adbbeb..0000000 --- a/conf/app.src +++ /dev/null @@ -1,5 +0,0 @@ -SOURCE_URL=https://github.com/roundcube/roundcubemail/releases/download/1.6.6/roundcubemail-1.6.6.tar.gz -SOURCE_SUM=40e4d7505b01f401e757f7439930ed96b1245ffc3863dd326fcf21e0e5847c74 -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true diff --git a/manifest.toml b/manifest.toml index 05770ea..3623baf 100644 --- a/manifest.toml +++ b/manifest.toml @@ -69,15 +69,15 @@ ram.runtime = "50M" packages = [ "mariadb-server", "php-pear", - "php8.1-ldap", - "php8.1-mysql", - "php8.1-cli", - "php8.1-intl", - "php8.1-zip", - "php8.1-gd", - "php8.1-mbstring", - "php8.1-dom", - "php8.1-curl", + "php8.2-ldap", + "php8.2-mysql", + "php8.2-cli", + "php8.2-intl", + "php8.2-zip", + "php8.2-gd", + "php8.2-mbstring", + "php8.2-dom", + "php8.2-curl", ] [resources.database] diff --git a/scripts/_common.sh b/scripts/_common.sh index c191e21..3a4db24 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,12 +5,12 @@ #================================================= # Composer version -YNH_COMPOSER_VERSION=2.5.5 +YNH_COMPOSER_VERSION=2.7.6 # Plugins version contextmenu_version=3.3.1 automatic_addressbook_version=v0.4.3 -carddav_version=5.0.1 +carddav_version=5.1.0 #================================================= # EXPERIMENTAL HELPERS diff --git a/scripts/backup b/scripts/backup index 86dca3b..0f46bc7 100644 --- a/scripts/backup +++ b/scripts/backup @@ -21,15 +21,11 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= diff --git a/scripts/install b/scripts/install index 25ac65e..920f42c 100644 --- a/scripts/install +++ b/scripts/install @@ -74,7 +74,7 @@ ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name ynh_script_progression --message="Configuring Roundcube..." --weight=2 deskey=$(ynh_string_random --length=24) -ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/config/config.inc.php" +ynh_add_config --template="config.inc.php" --destination="$install_dir/config/config.inc.php" #================================================= # INSTALL ADDITIONAL PLUGINS diff --git a/scripts/restore b/scripts/restore index e87c0a6..56e2e17 100644 --- a/scripts/restore +++ b/scripts/restore @@ -27,9 +27,9 @@ ynh_script_progression --message="Restoring the MySQL database..." --weight=5 ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql #================================================= -# RESTORE THE PHP-FPM CONFIGURATION +# RESTORE SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1 +ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"