]> git.pld-linux.org Git - packages/bacula-web.git/commitdiff
Revert "- migrate to apache 2.4"
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Sep 2013 20:55:14 +0000 (23:55 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 26 Sep 2013 20:55:14 +0000 (23:55 +0300)
This reverts commit cf69a54adaff5b24c8e3be32a5df0aa96949e000.

bacula-web.spec
httpd.conf [deleted file]

index 59a77c4a98e57a25070bb228031edd0947a7ba50..48302bb6dcf7c2acbb3b29aea38db317a32fe0fe 100644 (file)
@@ -11,7 +11,6 @@ Group:                Applications/WWW
 Source0:       http://www.bacula-web.org/tl_files/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: 6d3d212a9d145f8d112ce15f5a40538d
 Source1:       apache.conf
-Source2:       httpd.conf
 Patch0:                sys-libs.patch
 URL:           http://www.bacula-web.org/
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -30,7 +29,6 @@ Requires:     webserver(php)
 Suggests:      php-pdo-mysql
 Suggests:      php-pdo-pgsql
 Suggests:      php-pdo-sqlite
-Conflicts:     apache-base < 2.4.0-1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -73,7 +71,7 @@ cp -a *.php application core $RPM_BUILD_ROOT%{_appdir}
 cp -a config/* $RPM_BUILD_ROOT%{_sysconfdir}
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -93,10 +91,10 @@ fi
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache-base
+%triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache-base
+%triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
 %files
diff --git a/httpd.conf b/httpd.conf
deleted file mode 100644 (file)
index 688e903..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Alias /bacula-web/cache/ /var/cache/bacula-web/
-Alias /bacula-web /usr/share/bacula-web
-
-<Directory /usr/share/bacula-web>
-       Require all granted
-</Directory>
-
-<Directory /var/cache/bacula-web>
-       Require all denied
-       <Files *.png>
-               Require all granted
-       </Files>
-</Directory>
This page took 0.096968 seconds and 4 git commands to generate.