/[smecontribs]/rpms/smeserver-dl/contribs10/smeserver-dl-0.2.3-Fix-clamd-path.patch
ViewVC logotype

Contents of /rpms/smeserver-dl/contribs10/smeserver-dl-0.2.3-Fix-clamd-path.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 3 16:14:18 2021 UTC (2 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-7_el7_sme, smeserver-dl-0_2_3-6_el7_sme, smeserver-dl-0_2_3-8_el7_sme, HEAD
Error occurred while calculating annotation data.
* Fri Dec 03 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2.3-6.sme
- Fix clamd path
- Fix typo

1 diff -ruN smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/dl.php/60ClamScan smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/dl.php/60ClamScan
2 --- smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/dl.php/60ClamScan 2021-12-03 15:18:21.697468959 +0000
3 +++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/dl.php/60ClamScan 2021-12-03 15:18:41.159406248 +0000
4 @@ -16,7 +16,7 @@
5 # 1MB of margin to be sure we don't go over clamd limit
6 $limit -= 1024 * 1024;
7 $OUT .=<<"EOF";
8 -\$clamdSocket = 'unix:///var/clamav/clamd.socket';
9 +\$clamdSocket = 'unix:///var/run/clam/clamd.socket';
10 \$scanMax = $limit;
11 EOF
12 }
13 diff -ruN smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl
14 --- smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-12-03 15:18:21.698469007 +0000
15 +++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-12-03 15:18:51.527905598 +0000
16 @@ -45,7 +45,7 @@
17 if ($fastcgi_mod eq 'mod_fastcgi'){
18 $php = " AddHandler phpdl-fastcgi .php\n";
19 }
20 - elsif ($fascgi_mod eq 'mod_proxy_fcgi'){
21 + elsif ($fastcgi_mod eq 'mod_proxy_fcgi'){
22 $php =<<'_EOF';
23 <FilesMatch \.php$>
24 SetHandler "proxy:unix:/var/run/php-fpm/php__PHP_VERSION__-dl.sock|fcgi://localhost"

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed