/[smecontribs]/rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin-1.6.0-Add-in-update-event-and-php-fpm-stuff.patch
ViewVC logotype

Contents of /rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin-1.6.0-Add-in-update-event-and-php-fpm-stuff.patch

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


Revision 1.1 - (show annotations) (download)
Mon Oct 4 11:53:50 2021 UTC (3 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-phpldapadmin-1_6_0-2_el7_sme, smeserver-phpldapadmin-1_6_0-4_el7_sme, smeserver-phpldapadmin-1_6_0-3_el7_sme, smeserver-phpldapadmin-1_6_0-6_el7_sme, smeserver-phpldapadmin-1_6_0-5_el7_sme, smeserver-phpldapadmin-1_6_0-8_el7_sme, smeserver-phpldapadmin-1_6_0-7_el7_sme, smeserver-phpldapadmin-1_6_0-9_el7_sme, HEAD
* Mon Oct 04 2021 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
  by assuming the date is correct and changing the weekday.

1 diff -urN smeserver-phpldapadmin-1.6.0.old/createlinks smeserver-phpldapadmin-1.6.0/createlinks
2 --- smeserver-phpldapadmin-1.6.0.old/createlinks 2014-06-21 17:53:47.000000000 +0100
3 +++ smeserver-phpldapadmin-1.6.0/createlinks 2021-10-04 11:41:33.775047125 +0100
4 @@ -9,8 +9,11 @@
5 bootstrap-console-save
6 post-upgrade
7 console-save
8 + smeserver-phpldapadmin-update
9 ))
10 {
11 - templates2events("/etc/phpldapadmin/config.php", $event)
12 + templates2events("/etc/phpldapadmin/config.php", $event);
13 + templates2events("/etc/httpd/conf/httpd.conf", $event);
14 +
15 }
16 safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin");
17 diff -urN smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin
18 --- smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2014-06-21 17:53:47.000000000 +0100
19 +++ smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2021-10-04 12:47:51.670451035 +0100
20 @@ -22,7 +22,19 @@
21 require user admin
22 Satisfy all
23 AddType application/x-httpd-php .php .php3
24 - php_flag magic_quotes_gpc on
25 - php_flag track_vars on
26 +
27 + {
28 + # we do not want people to mess with this for the moment
29 + my $version = '74';
30 + $OUT .= qq(
31 + <FilesMatch .php\$\>
32 + SetHandler "proxy:unix:/var/run/php-fpm/php$version.sock|fcgi://localhost"
33 + </FilesMatch>
34 + )
35 +
36 + }
37 +
38 + #php_flag magic_quotes_gpc on
39 + #php_flag track_vars on
40 </Directory>
41

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