From 799dd297169d09e16b58eb4d238262ae378bb90e Mon Sep 17 00:00:00 2001 From: merkys7 Date: Tue, 24 Aug 2021 10:57:55 +0300 Subject: [PATCH] ManagePHP: Add lsphp-sodium extension --- install/installCyberPanel.py | 8 ++++---- managePHP/php72.xml | 6 ++++++ managePHP/php73.xml | 6 ++++++ managePHP/php74.xml | 6 ++++++ managePHP/php80.xml | 6 ++++++ managePHP/ubuntuphp72.xml | 6 ++++++ managePHP/ubuntuphp73.xml | 6 ++++++ managePHP/ubuntuphp74.xml | 6 ++++++ managePHP/ubuntuphp80.xml | 6 ++++++ 9 files changed, 52 insertions(+), 4 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index c3b7cd202..ade7ef339 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -191,7 +191,7 @@ class InstallCyberPanel: command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install ' \ 'lsphp7? lsphp7?-common lsphp7?-curl lsphp7?-dev lsphp7?-imap lsphp7?-intl lsphp7?-json ' \ 'lsphp7?-ldap lsphp7?-mysql lsphp7?-opcache lsphp7?-pspell lsphp7?-recode ' \ - 'lsphp7?-sqlite3 lsphp7?-tidy' + 'lsphp7?-sqlite3 lsphp7?-tidy lsphp7?-sodium' os.system(command) @@ -218,7 +218,7 @@ class InstallCyberPanel: command = 'yum install -y lsphp72 lsphp72-json lsphp72-xmlrpc lsphp72-xml lsphp72-soap lsphp72-snmp ' \ 'lsphp72-recode lsphp72-pspell lsphp72-process lsphp72-pgsql lsphp72-pear lsphp72-pdo lsphp72-opcache ' \ 'lsphp72-odbc lsphp72-mysqlnd lsphp72-mcrypt lsphp72-mbstring lsphp72-ldap lsphp72-intl lsphp72-imap ' \ - 'lsphp72-gmp lsphp72-gd lsphp72-enchant lsphp72-dba lsphp72-common lsphp72-bcmath' + 'lsphp72-gmp lsphp72-gd lsphp72-enchant lsphp72-dba lsphp72-common lsphp72-bcmath lsphp72-sodium' install.preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) @@ -227,7 +227,7 @@ class InstallCyberPanel: command = 'yum install -y lsphp73 lsphp73-json lsphp73-xmlrpc lsphp73-xml lsphp73-tidy lsphp73-soap lsphp73-snmp ' \ 'lsphp73-recode lsphp73-pspell lsphp73-process lsphp73-pgsql lsphp73-pear lsphp73-pdo lsphp73-opcache ' \ 'lsphp73-odbc lsphp73-mysqlnd lsphp73-mcrypt lsphp73-mbstring lsphp73-ldap lsphp73-intl lsphp73-imap ' \ - 'lsphp73-gmp lsphp73-gd lsphp73-enchant lsphp73-dba lsphp73-common lsphp73-bcmath' + 'lsphp73-gmp lsphp73-gd lsphp73-enchant lsphp73-dba lsphp73-common lsphp73-bcmath lsphp73-sodium' install.preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) @@ -235,7 +235,7 @@ class InstallCyberPanel: command = 'yum install -y lsphp74 lsphp74-json lsphp74-xmlrpc lsphp74-xml lsphp74-tidy lsphp74-soap lsphp74-snmp ' \ 'lsphp74-recode lsphp74-pspell lsphp74-process lsphp74-pgsql lsphp74-pear lsphp74-pdo lsphp74-opcache ' \ 'lsphp74-odbc lsphp74-mysqlnd lsphp74-mcrypt lsphp74-mbstring lsphp74-ldap lsphp74-intl lsphp74-imap ' \ - 'lsphp74-gmp lsphp74-gd lsphp74-enchant lsphp74-dba lsphp74-common lsphp74-bcmath' + 'lsphp74-gmp lsphp74-gd lsphp74-enchant lsphp74-dba lsphp74-common lsphp74-bcmath lsphp74-sodium' install.preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) diff --git a/managePHP/php72.xml b/managePHP/php72.xml index fd5bee175..7967b49cc 100755 --- a/managePHP/php72.xml +++ b/managePHP/php72.xml @@ -272,4 +272,10 @@ 0 + + lsphp72-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/php73.xml b/managePHP/php73.xml index a2f4d3fbf..c2383820a 100755 --- a/managePHP/php73.xml +++ b/managePHP/php73.xml @@ -272,4 +272,10 @@ 0 + + lsphp73-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/php74.xml b/managePHP/php74.xml index 63f5727e5..c062a1a33 100755 --- a/managePHP/php74.xml +++ b/managePHP/php74.xml @@ -272,4 +272,10 @@ 0 + + lsphp74-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/php80.xml b/managePHP/php80.xml index c95d94cee..3f35d5e91 100755 --- a/managePHP/php80.xml +++ b/managePHP/php80.xml @@ -272,4 +272,10 @@ 0 + + lsphp80-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/ubuntuphp72.xml b/managePHP/ubuntuphp72.xml index 9914be67a..ed5c33720 100755 --- a/managePHP/ubuntuphp72.xml +++ b/managePHP/ubuntuphp72.xml @@ -122,4 +122,10 @@ 0 + + lsphp72-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/ubuntuphp73.xml b/managePHP/ubuntuphp73.xml index 175b09399..915ac3755 100755 --- a/managePHP/ubuntuphp73.xml +++ b/managePHP/ubuntuphp73.xml @@ -122,4 +122,10 @@ 0 + + lsphp73-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/ubuntuphp74.xml b/managePHP/ubuntuphp74.xml index f60add02a..3652133d7 100755 --- a/managePHP/ubuntuphp74.xml +++ b/managePHP/ubuntuphp74.xml @@ -122,4 +122,10 @@ 0 + + lsphp74-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + + diff --git a/managePHP/ubuntuphp80.xml b/managePHP/ubuntuphp80.xml index 61ef9d667..8a1d7ca0e 100755 --- a/managePHP/ubuntuphp80.xml +++ b/managePHP/ubuntuphp80.xml @@ -122,4 +122,10 @@ 0 + + lsphp80-sodium + The php-sodium extension provides strong encryption capabilities in an easy and consistent way. + 0 + +