From c8b0f25247c950b8bf2fa27bd9026aee8449278f Mon Sep 17 00:00:00 2001
From: Alexey Berezhok
Date: Tue, 3 Jun 2025 23:52:49 +0300
Subject: [PATCH] Added fixes
---
docs/.vitepress/theme/components/InstallOptions.vue | 1 -
docs/_data/options.js | 8 ++++++++
install/hst-install.sh | 5 +----
install/rpm/clamav/freshclam_orig.conf | 3 +--
src/rpm/php/hestia-php.spec | 7 +++++--
5 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/docs/.vitepress/theme/components/InstallOptions.vue b/docs/.vitepress/theme/components/InstallOptions.vue
index 6ecec96..23dbb58 100644
--- a/docs/.vitepress/theme/components/InstallOptions.vue
+++ b/docs/.vitepress/theme/components/InstallOptions.vue
@@ -29,7 +29,6 @@ export default {
if (item.selectField) {
return item.selected ? `${item.param} '${item.text}'` : "";
}
-
return `${item.param}${item.selected ? " yes" : " no"}`;
},
generateString() {
diff --git a/docs/_data/options.js b/docs/_data/options.js
index 57ecd54..d7dbeae 100644
--- a/docs/_data/options.js
+++ b/docs/_data/options.js
@@ -136,6 +136,14 @@ export const options = [
desc: 'Сканировать почту на вирусы.',
selected: true,
depends: 'exim',
+ },
+ {
+ name: ' --usemirrorclamav',
+ id: 'usemirrorclamav',
+ param: '--usemirrorclamav',
+ desc: 'Использовать русское зеркало баз данных ClamaV',
+ selected: false,
+ depends: 'clamav',
},
{
name: ' --spamassassin',
diff --git a/install/hst-install.sh b/install/hst-install.sh
index 8a06d53..997517a 100755
--- a/install/hst-install.sh
+++ b/install/hst-install.sh
@@ -323,10 +323,7 @@ while getopts "u:I:a:w:v:j:k:m:M:g:d:x:z:Z:c:C:t:i:b:r:o:q:l:y:s:e:p:R:f:Dh" Opt
z) dovecot=$OPTARG ;; # Dovecot
Z) sieve=$OPTARG ;; # Sieve
c) clamd=$OPTARG ;; # ClamAV
- C)
- clamd=$OPTARG
- clamdm="yes"
- ;; # ClamAV Mirrored
+ C) clamdm="yes" ;; # ClamAV Mirrored
t) spamd=$OPTARG ;; # SpamAssassin
i) iptables=$OPTARG ;; # Iptables
b) fail2ban=$OPTARG ;; # Fail2ban
diff --git a/install/rpm/clamav/freshclam_orig.conf b/install/rpm/clamav/freshclam_orig.conf
index acb7d69..9f1fe5e 100644
--- a/install/rpm/clamav/freshclam_orig.conf
+++ b/install/rpm/clamav/freshclam_orig.conf
@@ -1,6 +1,5 @@
UpdateLogFile /var/log/freshclam.log
-PrivateMirror http://clamav-mirror.ru
-PrivateMirror http://mirror.truenetwork.ru/clamav
+DatabaseMirror database.clamav.net
ScriptedUpdates no
LogFileMaxSize 80M
LogTime yes
diff --git a/src/rpm/php/hestia-php.spec b/src/rpm/php/hestia-php.spec
index 1fab0e4..5f98a37 100644
--- a/src/rpm/php/hestia-php.spec
+++ b/src/rpm/php/hestia-php.spec
@@ -2,8 +2,8 @@
%global _prefix /usr/local/hestia/php
Name: hestia-php
-Version: 8.2.23
-Release: 2%{dist}
+Version: 8.2.28
+Release: 1%{dist}
Summary: Hestia internal PHP
Group: System Environment/Base
URL: https://www.hestiacp.com
@@ -103,6 +103,9 @@ cp %{SOURCE3} %{buildroot}/usr/local/hestia/php/lib/
%{_unitdir}/hestia-php.service
%changelog
+* Tue Jun 3 2025 Alexey Berezhok - 8.2.28-1
+- Update PHP version up to 8.2.28
+
* Sat Jul 22 2023 Raven - 8.2.8-1
- update PHP version to 8.2.8