/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11412-phptempsdirs.patch
ViewVC logotype

Contents of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11412-phptempsdirs.patch

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


Revision 1.2 - (show annotations) (download)
Mon Mar 8 17:53:47 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-45_el7_sme, smeserver-php-3_0_0-48_el7_sme, smeserver-php-3_0_0-37_el7_sme, smeserver-php-3_0_0-38_el7_sme, smeserver-php-3_0_0-40_el7_sme, smeserver-php-3_0_0-43_el7_sme, smeserver-php-3_0_0-46_el7_sme, smeserver-php-3_0_0-41_el7_sme, smeserver-php-3_0_0-44_el7_sme, smeserver-php-3_0_0-47_el7_sme, smeserver-php-3_0_0-39_el7_sme, smeserver-php-3_0_0-42_el7_sme, smeserver-php-3_0_0-35_el7_sme, smeserver-php-3_0_0-36_el7_sme, smeserver-php-3_0_0-33_el7_sme, smeserver-php-3_0_0-34_el7_sme, smeserver-php-3_0_0-31_el7_sme, smeserver-php-3_0_0-32_el7_sme, HEAD
Changes since 1.1: +16 -0 lines
* Mon Mar 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-31.sme
- move from e-smith-ibays handling of temps dirs [SME: 11412]
- improve httpd fragment [SME: 11401]

1 diff -Nur --no-dereference smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks
2 --- smeserver-php-3.0.0.old/createlinks 2021-03-08 12:22:38.046000000 -0500
3 +++ smeserver-php-3.0.0/createlinks 2021-03-08 12:42:19.128000000 -0500
4 @@ -108,7 +108,7 @@
5
6 safe_symlink('/etc/e-smith/templates-default/template-begin-shell', 'root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/template-begin');
7
8 -foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update )) {
9 +foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update post-install post-upgrade)) {
10 event_link( "php-pool-dirs", $event, "90");
11 }
12
13 diff -Nur --no-dereference smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
14 --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 12:22:38.071000000 -0500
15 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2021-03-08 12:52:41.357000000 -0500
16 @@ -15,11 +15,10 @@
17 # configuration to enable php-fpm for the ibay
18 if ($fastcgi_mod eq 'mod_proxy_fcgi')
19 {
20 + use esmith::php;
21 my $version = PhpFpmVersionToUse($ibay);
22 my $name = lc $key;
23 my $FilesMathes = ( ($ibay->prop('AllowPHTML') || 'disabled') eq 'enabled' ) ? '(xml|phtml|html|htm|php|phar)': '(phar|php)';
24 -
25 -
26
27 $OUT .=<<"_EOF";
28 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1

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