]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache.spec
- new TODO for 2.4
[packages/apache.git] / apache.spec
index 692885575154271637943618880806de523cd15c..4cc034b5e1bad7671e67ee973e10232862caf511 100644 (file)
@@ -17,7 +17,7 @@
 
 # 2.4 TODO
 #
-# mod_authn/z_default changed into mod_authn/z_core - trigger existing configs?
+# add new access control syntax to configs by default (mod_access_compat provides old syntax)
 
 
 # Conditional build:
@@ -44,7 +44,7 @@ Summary(ru.UTF-8):    Самый популярный веб-сервер
 Summary(tr.UTF-8):     Lider WWW tarayıcı
 Name:          apache
 Version:       2.4.1
-Release:       0.2
+Release:       0.4
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -575,7 +575,6 @@ Group:              Networking/Daemons/HTTP
 URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_core.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_core) = %{version}-%{release}
-Provides:      apache(mod_authn_default) = %{version}-%{release}
 Obsoletes:     apache-mod_authn_default < 2.4
 
 %description mod_authn_core
@@ -654,7 +653,6 @@ Group:              Networking/Daemons/HTTP
 URL:           http://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_core) = %{version}-%{release}
-Provides:      apache(mod_authz_default) = %{version}-%{release}
 Obsoletes:     apache-mod_authz_default < 2.4
 
 %description mod_authz_core
@@ -2375,6 +2373,7 @@ if [ -f /etc/sysconfig/httpd ]; then
                echo "LoadModule mpm_${MPM}_module                modules/mod_mpm_${MPM}.so" > /etc/httpd/conf.d/10_mpm.conf.rpmnew
                cat /etc/httpd/conf.d/10_mpm.conf >> /etc/httpd/conf.d/10_mpm.conf.rpmnew
                mv /etc/httpd/conf.d/10_mpm.conf.rpmnew /etc/httpd/conf.d/10_mpm.conf
+               sed -i -e 's,HTTPD_MPM.*,,g' /etc/sysconfig/httpd
        fi
 fi
 
@@ -2484,7 +2483,7 @@ Please report bugs to <http://bugs.pld-linux.org/>.
 EOF
 
 %triggerpostun base -- %{name} < 2.4.0
-%banner %{name}-2.4.1 << EOF
+%banner -e %{name} << EOF
 WARNING!!!
 Since apache-2.4 mod_authn_alias has been obsoleted.
 If you use access control (Deny,Allow) install mod_access_compat by doing: