Skip to content

Commit 7a9d272

Browse files
authored
Merge pull request hestiacp#1645 from hestiacp/fixes-bumps
Version bumps and minor fixes
2 parents 2728827 + 914dc5f commit 7a9d272

File tree

7 files changed

+26
-20
lines changed

7 files changed

+26
-20
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ VERBOSE='no'
2424

2525
# Define software versions
2626
HESTIA_INSTALL_VER='1.4.0~alpha'
27-
pma_v='5.0.4'
27+
pma_v='5.1.0'
2828
rc_v="1.4.10"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0")
3030
fpm_v="7.4"
@@ -618,7 +618,7 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev
618618
# Installing PostgreSQL repo
619619
if [ "$postgresql" = 'yes' ]; then
620620
echo "[ * ] PostgreSQL"
621-
echo "deb https://apt.postgresql.org/pub/repos/apt/ $codename-pgdg main" > $apt/postgresql.list
621+
echo "deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/ $codename-pgdg main" > $apt/postgresql.list
622622
apt-key adv --fetch-keys 'https://www.postgresql.org/media/keys/ACCC4CF8.asc' > /dev/null 2>&1
623623
fi
624624

install/hst-install-ubuntu.sh

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ VERBOSE='no'
2424

2525
# Define software versions
2626
HESTIA_INSTALL_VER='1.4.0~alpha'
27-
pma_v='5.0.4'
27+
pma_v='5.1.0'
2828
rc_v="1.4.10"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0")
3030
fpm_v="7.4"
@@ -396,9 +396,9 @@ install_welcome_message() {
396396
echo " www.hestiacp.com "
397397
echo
398398
echo "========================================================================"
399-
echo
399+
echo
400400
echo "Thank you for downloading Hestia Control Panel! In a few moments,"
401-
echo "we will begin installing the following components on your server:"
401+
echo "we will begin installing the following components on your server:"
402402
echo
403403
}
404404

@@ -562,7 +562,7 @@ echo
562562
if [ "$nginx" = 'yes' ]; then
563563
echo "[ * ] NGINX"
564564
echo "deb [arch=amd64] https://nginx.org/packages/mainline/$VERSION/ $codename nginx" > $apt/nginx.list
565-
if [ "$release" = '16.04' ]; then
565+
if [ "$release" = '16.04' ]; then
566566
apt-key adv --fetch-keys 'http://nginx.org/keys/nginx_signing.key' > /dev/null 2>&1
567567
else
568568
apt-key adv --fetch-keys 'https://nginx.org/keys/nginx_signing.key' > /dev/null 2>&1
@@ -583,7 +583,7 @@ fi
583583
if [ "$mysql" = 'yes' ]; then
584584
echo "[ * ] MariaDB"
585585
echo "deb [arch=amd64] https://mirror.mva-n.net/mariadb/repo/$mariadb_v/$VERSION $codename main" > $apt/mariadb.list
586-
if [ "$release" = '16.04' ]; then
586+
if [ "$release" = '16.04' ]; then
587587
apt-key adv --fetch-keys 'http://mariadb.org/mariadb_release_signing_key.asc' > /dev/null 2>&1
588588
else
589589
apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' > /dev/null 2>&1
@@ -599,8 +599,8 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev
599599
# Installing PostgreSQL repo
600600
if [ "$postgresql" = 'yes' ]; then
601601
echo "[ * ] PostgreSQL"
602-
echo "deb https://apt.postgresql.org/pub/repos/apt/ $codename-pgdg main" > $apt/postgresql.list
603-
if [ "$release" = '16.04' ]; then
602+
echo "deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/ $codename-pgdg main" > $apt/postgresql.list
603+
if [ "$release" = '16.04' ]; then
604604
apt-key adv --fetch-keys 'http://www.postgresql.org/media/keys/ACCC4CF8.asc' > /dev/null 2>&1
605605
else
606606
apt-key adv --fetch-keys 'https://www.postgresql.org/media/keys/ACCC4CF8.asc' > /dev/null 2>&1
@@ -797,7 +797,7 @@ fi
797797
if [ -d "$withdebs" ]; then
798798
software=$(echo "$software" | sed -e "s/hestia-nginx//")
799799
software=$(echo "$software" | sed -e "s/hestia-php//")
800-
software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")
800+
software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")
801801
fi
802802
if [ "$release" = '16.04' ]; then
803803
software=$(echo "$software" | sed -e "s/libonig5/libonig2/")
@@ -1255,7 +1255,7 @@ if [ "$apache" = 'yes' ]; then
12551255
cp -f $HESTIA_INSTALL_DIR/apache2/status.conf /etc/apache2/mods-available/hestia-status.conf
12561256
cp -f /etc/apache2/mods-available/status.load /etc/apache2/mods-available/hestia-status.load
12571257
cp -f $HESTIA_INSTALL_DIR/logrotate/apache2 /etc/logrotate.d/
1258-
1258+
12591259
# Enable needed modules
12601260
a2enmod rewrite > /dev/null 2>&1
12611261
a2enmod suexec > /dev/null 2>&1
@@ -1357,7 +1357,6 @@ if [ "$vsftpd" = 'yes' ]; then
13571357
update-rc.d vsftpd defaults
13581358
systemctl start vsftpd >> $LOG
13591359
check_result $? "vsftpd start failed"
1360-
13611360
fi
13621361

13631362

@@ -1392,7 +1391,7 @@ if [ "$mysql" = 'yes' ]; then
13921391

13931392
# Remove symbolic link
13941393
rm -f /etc/mysql/my.cnf
1395-
1394+
13961395
# Configuring MariaDB
13971396
cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
13981397
mysql_install_db >> $LOG
@@ -1456,7 +1455,7 @@ if [ "$mysql" = 'yes' ]; then
14561455
# Create temporary folder and change permission
14571456
mkdir /usr/share/phpmyadmin/tmp
14581457
chmod 777 /usr/share/phpmyadmin/tmp
1459-
1458+
14601459
# Generate blow fish
14611460
blowfish=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)
14621461
sed -i "s|%blowfish_secret%|$blowfish|" /etc/phpmyadmin/config.inc.php
@@ -1627,6 +1626,7 @@ if [ "$spamd" = 'yes' ]; then
16271626
fi
16281627
fi
16291628

1629+
16301630
#----------------------------------------------------------#
16311631
# Configure Fail2Ban #
16321632
#----------------------------------------------------------#
@@ -1662,6 +1662,7 @@ if [ "$fail2ban" = 'yes' ]; then
16621662
check_result $? "fail2ban start failed"
16631663
fi
16641664

1665+
16651666
#----------------------------------------------------------#
16661667
# Install Roundcube #
16671668
#----------------------------------------------------------#

install/upgrade/upgrade.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ UPGRADE_RESTART_SERVICES='true'
4949
#######################################################################################
5050

5151
# Set version of phpMyAdmin to install during upgrade if not already installed
52-
pma_v='5.0.4'
52+
pma_v='5.1.0'
5353

5454
# Set version of RoundCube (Webmail) to update during upgrade if not already installed
5555
# Note: only aplies to "non-apt installs >= 1.4.0 or manualy phased out"
5656
rc_v="1.4.10"
5757

5858
# Set version of Rainloop (Webmail) to update during upgrade if not already installed
59-
rl_v="1.14.0"
59+
rl_v="1.14.0"

install/upgrade/versions/1.4.0.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ if [ "$MAIL_SYSTEM" == "exim4" ]; then
7676
fi
7777

7878
$HESTIA/bin/v-restart-mail
79-
fi
79+
fi
80+
81+
# Fix PostgreSQL repo
82+
if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
83+
sed -i 's|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list
84+
fi

src/deb/nginx/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia-nginx
22
Package: hestia-nginx
33
Priority: optional
4-
Version: 1.19.5
4+
Version: 1.19.7
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/deb/php/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia-php
22
Package: hestia-php
33
Priority: optional
4-
Version: 7.4.13
4+
Version: 7.4.15
55
Section: admin
66
Maintainer: HestaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/hst_autocompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ echo "Build version $BUILD_VER, with Nginx version $NGINX_V and PHP version $PHP
206206

207207
BUILD_ARCH='amd64'
208208
HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
209-
OPENSSL_V='1.1.1i'
209+
OPENSSL_V='1.1.1j'
210210
PCRE_V='8.44'
211211
ZLIB_V='1.2.11'
212212

0 commit comments

Comments
 (0)