/[smecontribs]/rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin-1.6.0-bz12055-24syntax.patch
ViewVC logotype

Contents of /rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin-1.6.0-bz12055-24syntax.patch

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


Revision 1.2 - (show annotations) (download)
Mon Aug 1 03:16:04 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phpldapadmin-1_6_0-9_el7_sme, HEAD
Changes since 1.1: +10 -0 lines
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-9.sme
- update to template httpd24 syntax [SME: 12055]
  add Requires: e-smith-apache >= 2.6.0-19

1 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
2 --- smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2022-07-26 14:00:55.852461246 +0300
3 +++ smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2022-07-26 14:02:52.211834695 +0300
4 @@ -4,14 +4,7 @@
5 SSLRequireSSL on
6 Options -Indexes
7 AllowOverride None
8 - <IfModule mod_access_compat.c>
9 - order deny,allow
10 - deny from all
11 - allow from { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all" : "$localAccess $externalSSLAccess";}
12 - </IfModule>
13 - <IfModule !mod_access_compat.c>
14 Require { (($phpldapadmin{access} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess $externalSSLAccess";}
15 - </IfModule>
16 {
17 # we use the ldap auth now
18 # AuthName "phpLdapAdmin"
19 diff -Nur --no-dereference smeserver-phpldapadmin-1.6.0.old/createlinks smeserver-phpldapadmin-1.6.0/createlinks
20 --- smeserver-phpldapadmin-1.6.0.old/createlinks 2022-07-31 23:08:33.554000000 -0400
21 +++ smeserver-phpldapadmin-1.6.0/createlinks 2022-07-31 23:14:45.392000000 -0400
22 @@ -16,4 +16,6 @@
23 templates2events("/etc/httpd/conf/httpd.conf", $event);
24
25 }
26 +my $event="smeserver-phpldapadmin-update";
27 +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
28 safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin");

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