/[smecontribs]/rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch
ViewVC logotype

Annotation of /rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Aug 2 03:48:31 2022 UTC (22 months ago) by jpp
Branch: MAIN
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-13.sme
- update to httpd 2.4 access syntax [SME: 12066]
  thanks to Vasarhelyi Zsolt
- add to core backup [SME: 12030]
- add update event, use php-fpm [SME: 11078]
  might need its dedicated pool

1 jpp 1.1 diff -Nur --no-dereference smeserver-webshare-1.0.0.old/createlinks smeserver-webshare-1.0.0/createlinks
2     --- smeserver-webshare-1.0.0.old/createlinks 2002-05-05 22:44:40.000000000 -0400
3     +++ smeserver-webshare-1.0.0/createlinks 2022-08-01 23:45:19.441000000 -0400
4     @@ -19,3 +19,18 @@
5     #--------------------------------------------------
6     my $panel = "manager";
7     panel_link("webshare", $panel);
8     +
9     +my $event = "smeserver-webshare-update";
10     +event_templates($event, qw(
11     +/etc/httpd/conf/httpd.conf
12     +));
13     +
14     +event_services($event, qw(
15     + php-fpm restart
16     + httpd-e-smith restart
17     +));
18     +
19     +use esmith::Build::Backup qw(:all);
20     +backup_includes("smeserver-webshare", qw(
21     +/opt/webshare
22     +));
23     diff -Nur --no-dereference smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias
24     --- smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-08-01 23:41:07.957000000 -0400
25     +++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-08-01 23:43:13.776000000 -0400
26     @@ -27,8 +27,9 @@
27     $OUT .= " AuthUserFile \/home\/e-smith\/db\/webshare\/htpasswd.$key\n";
28     $OUT .= " Require valid-user\n";
29     $OUT .= " AddType application\/x-httpd-php \.php \.php3\n";
30     - $OUT .= " php_flag magic_quotes_gpc on\n";
31     - $OUT .= " php_flag track_vars on\n";
32     + $OUT .= " <FilesMatch .php>\n";
33     + $OUT .= ' SetHandler "proxy:unix:/var/run/php-fpm/php.sock|fcgi://localhost"'."\n";
34     + $OUT .= " </FilesMatch>\n";
35     $OUT .= "<\/Directory>\n";
36     $OUT .= "\n";
37     }

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