mirror of
https://github.com/YunoHost-Apps/phpboost_ynh.git
synced 2024-09-03 19:56:33 +02:00
commit
e07e31e4ac
7 changed files with 14 additions and 20 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
|
||||
|
||||
**Shipped version:** 5.2.14~ynh1
|
||||
**Shipped version:** 6.0.2~ynh1
|
||||
|
||||
**Demo:** https://demo.phpboost.com/
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
PHPBoost allows everyone to create his own website without any particular knowledge required in webmastering.
|
||||
|
||||
**Version incluse :** 5.2.14~ynh1
|
||||
**Version incluse :** 6.0.2~ynh1
|
||||
|
||||
**Démo :** https://demo.phpboost.com/
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ location __PATH__/ {
|
|||
index index.php;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
|
@ -3,9 +3,9 @@ packaging_format = 2
|
|||
id = "phpboost"
|
||||
name = "PHPBoost"
|
||||
description.en = "French and free content management system (CMS)"
|
||||
description.fr = "système de gestion de contenu (CMS) français et libre"
|
||||
description.fr = "Système de gestion de contenu (CMS) français et libre"
|
||||
|
||||
version = "5.2.14~ynh1"
|
||||
version = "6.0.2~ynh1"
|
||||
|
||||
maintainers = [""]
|
||||
|
||||
|
@ -17,11 +17,14 @@ admindoc = "https://www.phpboost.com/wiki/wiki.php"
|
|||
code = "https://github.com/PHPBoost/PHPBoost"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.1.17"
|
||||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = false
|
||||
|
||||
disk = "50M"
|
||||
ram.build = "253M"
|
||||
ram.runtime = "50M"
|
||||
|
@ -43,8 +46,8 @@ ram.runtime = "50M"
|
|||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/PHPBoost/PHPBoost/archive/refs/tags/phpboost-5.2.14.tar.gz"
|
||||
sha256 = "d93acd8f631f0789d6985f06a0d3bb7a5e2063bebffc1282cd55f8ff2abe0581"
|
||||
url = "https://github.com/PHPBoost/PHPBoost/archive/refs/tags/phpboost-6.0.2.tar.gz"
|
||||
sha256 = "83888d8cdbf5fdae54214e43eaf1badfcefabb8f117e0b394bdc5a073742379f"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.ports]
|
||||
|
@ -57,7 +60,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server php7.4-mysql php7.4-gd"
|
||||
packages = "mariadb-server, php8.2-mysql, php8.2-gd, php8.2-mbstring"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
|
@ -28,13 +28,8 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=4
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -17,11 +17,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
|
|||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
|
||||
|
||||
# Remove the dedicated PHP-FPM config
|
||||
ynh_remove_fpm_config
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
|
|||
|
||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||
|
||||
|
|
Loading…
Reference in a new issue