/[smeserver]/rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz10908-httpd-auth.patch
ViewVC logotype

Annotation of /rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz10908-httpd-auth.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Mar 27 16:38:09 2020 UTC (4 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-21_el7_sme, smeserver-horde-1_0_0-17_el7_sme, smeserver-horde-1_0_0-26_el7_sme, smeserver-horde-1_0_0-32_el7_sme, smeserver-horde-1_0_0-24_el7_sme, smeserver-horde-1_0_0-19_el7_sme, smeserver-horde-1_0_0-27_el7_sme, smeserver-horde-1_0_0-15_el7_sme, smeserver-horde-1_0_0-35_el7_sme, smeserver-horde-1_0_0-18_el7_sme, smeserver-horde-1_0_0-23_el7_sme, smeserver-horde-1_0_0-34_el7_sme, smeserver-horde-1_0_0-14_el7_sme, smeserver-horde-1_0_0-33_el7_sme, smeserver-horde-1_0_0-22_el7_sme, smeserver-horde-1_0_0-25_el7_sme, smeserver-horde-1_0_0-20_el7_sme, smeserver-horde-1_0_0-29_el7_sme, smeserver-horde-1_0_0-30_el7_sme, smeserver-horde-1_0_0-28_el7_sme, smeserver-horde-1_0_0-16_el7_sme, smeserver-horde-1_0_0-31_el7_sme, HEAD
* Fri Mar 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-14.sme
- allow httpd-auth for calendar, tasks access using rpc.php ... [SME: 10908]
- add smeserver-horde-update event [SME: 10909]

1 jpp 1.1 diff -Nur smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess
2     --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2020-03-27 11:53:44.451000000 -0400
3     +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2020-03-27 12:15:18.099219531 -0400
4     @@ -47,6 +47,7 @@
5     else
6     {
7     $OUT .= qq(
8     + SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=\$1
9     <FilesMatch \.php\$>
10     SetHandler "proxy:unix:/var/run/php-fpm/horde.sock|fcgi://localhost"
11     </FilesMatch>
12     diff -Nur smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/20Horde smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/20Horde
13     --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/20Horde 2020-03-27 11:53:44.451000000 -0400
14     +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/20Horde 2020-03-27 12:14:08.226307938 -0400
15     @@ -15,7 +15,7 @@
16     my $post_max_size = $horde->prop('PHPPostMaxSize') || '10M';
17     my $upload_max_filesize = $horde->prop('PHPUploadMaxFilesize') || '10M';
18     my $file_upload = $horde->prop('PHPFileUpload') || 'enabled';
19     - my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data";
20     + my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data:/usr/share/php";
21     my $open_basedir = $horde->prop('PHPBaseDir') || '/usr/share/horde' .
22     ':/etc/horde/' .
23     ':/var/lib/php/' . $key .
24     @@ -29,7 +29,7 @@
25     $file_upload = ($file_upload =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
26     $allow_url_fopen = "off" ; # ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
27     $disabled_functions = join(', ', split /[,;:]/, $disabled_functions);
28     - $open_basedir = join(':', split(/[,;:]/, $open_basedir));
29     + $open_basedir = join(':', split(/[,;:]/, $open_basedir . ",/usr/share/php"));
30    
31     $OUT .=<<"_EOF" if ($version eq $PHP_VERSION);
32    
33     @@ -68,6 +68,7 @@
34     php_admin_value[session.save_handler] = files
35     php_admin_value[open_basedir] = $open_basedir
36    
37     +php_admin_value[auto_prepend_file] = /usr/share/php/auth_translation.php
38     php_value[include_path] = $include_path
39     php_flag[magic_quotes_gpc] = off
40     php_flag[track_vars] = on

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