/[smecontribs]/rpms/smeserver-zabbix-server/contribs9/smeserver-zabbix-server-0.1-disable_web_access.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-server/contribs9/smeserver-zabbix-server-0.1-disable_web_access.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 23:11:13 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-18_el6_sme, smeserver-zabbix-server-0_1-17_el6_sme, smeserver-zabbix-server-0_1-16_el6_sme, smeserver-zabbix-server-0_1-15_el6_sme, smeserver-zabbix-server-0_1-19_el6_sme, smeserver-zabbix-server-0_1-14_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Feb 7 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1-14.sme
- New roll for sme9

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web
2 --- smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web 2009-02-04 12:14:05.000000000 +0100
3 +++ mezzanine_patched_smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web 2009-02-11 09:36:32.000000000 +0100
4 @@ -1,5 +1,7 @@
5 {
6 -if ((${'zabbix-server'}{'status'} || 'disabled') eq 'enabled'){
7 +if (
8 + ((${'zabbix-server'}{'status'} || 'disabled') eq 'enabled') &&
9 + ((${'zabbix-server'}{'WebAccess'} || 'local') ne 'disabled')){
10
11 my $access = (${'zabbix-server'}{'WebAccess'} || 'local') eq 'public' ?
12 'all':"$localAccess $externalSSLAccess";

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