]> git.pld-linux.org Git - packages/nagiosql.git/commitdiff
- migrated to apache 2.4 master auto/th/nagiosql-3.0.4-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 16 May 2013 19:28:54 +0000 (21:28 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 16 May 2013 19:28:54 +0000 (21:28 +0200)
nagiosql-httpd.conf [new file with mode: 0644]
nagiosql.spec

diff --git a/nagiosql-httpd.conf b/nagiosql-httpd.conf
new file mode 100644 (file)
index 0000000..b83b2e9
--- /dev/null
@@ -0,0 +1,9 @@
+<IfModule mod_alias.c>
+       Alias /nagiosql /usr/share/nagiosql
+</IfModule>
+
+<Directory "/usr/share/nagiosql">
+       AllowOverride None
+       Require all granted
+       php_admin_value open_basedir "/etc/nagios:/etc/nagiosql:/etc/webapps/nagiosql/config:/usr/share/nagiosql:/usr/share/pear:/usr/sbin"
+</Directory>
index 3ff85e838b7f1ea2e4c46a3b7cde58fcad3b6ee9..28ed20e96d982d60f7c0265aa977a2fa1e060025 100644 (file)
@@ -5,13 +5,14 @@
 Summary:       Web based administration tool for Nagios
 Name:          nagiosql
 Version:       3.0.4
-Release:       1
+Release:       2
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://dl.sourceforge.net/nagiosql/%{name}%{ver}.tar.bz2
 # Source0-md5: 32644a4ac38e94714d39af63456cb7a0
 Source1:       %{name}-apache.conf
 Source2:       %{name}.cfg
+Source3:       %{name}-httpd.conf
 Patch0:                %{name}-paths.patch
 URL:           http://www.nagiosql.org/
 Requires:      php(ftp)
@@ -21,6 +22,7 @@ Requires:     php(xml)
 Requires:      php-pear-HTML_Template_IT
 Requires:      webapps
 Requires:      webserver(php) >= 4.3
+Conflicts:     apache-base < 2.4.0-1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -50,7 +52,7 @@ cp -a config $RPM_BUILD_ROOT%{_webconfdir}
 ln -sf %{_webconfdir}/config $RPM_BUILD_ROOT%{_appdir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_webconfdir}/apache.conf
-install %{SOURCE1} $RPM_BUILD_ROOT%{_webconfdir}/httpd.conf
+install %{SOURCE3} $RPM_BUILD_ROOT%{_webconfdir}/httpd.conf
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/nagios
 
 %triggerin -- apache1 < 1.3.37-3, apache1-base
@@ -59,10 +61,10 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/nagios
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache < 2.2.0, apache-base
+%triggerin -- apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache < 2.2.0, apache-base
+%triggerun -- apache-base
 %webapp_unregister httpd %{_webapp}
 
 %clean
This page took 0.105442 seconds and 4 git commands to generate.