]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache.spec
- rel 0.3
[packages/apache.git] / apache.spec
index 626b70c06e2368d8a11e47468c957208c1e47b80..6a3653c8a3e57dd363ee28c0b10e660db2bffdac 100644 (file)
 # - drop mod_case_filter* or find summary and description for them
 # - build modules only once (not with each mpm)
 # - FYI: http://wiki.apache.org/httpd/InternalDummyConnection
+
+
+# 2.4 TODO
+#
+# mod_authn/z_default changed into mod_authn/z_core - trigger existing configs?
+
+
 # Conditional build:
 %bcond_without ssl             # build without SSL support
 %bcond_without ldap            # build without LDAP support
@@ -25,7 +32,7 @@
 %define                _apache_modules_api 20120211
 
 %define                openssl_ver     0.9.8i
-%define                apr_ver         1:1.4.5
+%define                apr_ver         1:1.4.6
 %include       /usr/lib/rpm/macros.perl
 Summary:       The most widely used Web server on the Internet
 Summary(de.UTF-8):     Leading World Wide Web-Server
@@ -37,7 +44,7 @@ Summary(ru.UTF-8):    Самый популярный веб-сервер
 Summary(tr.UTF-8):     Lider WWW tarayıcı
 Name:          apache
 Version:       2.4.1
-Release:       0.1
+Release:       0.3
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -77,25 +84,19 @@ Patch1:             %{name}-layout.patch
 Patch2:                %{name}-suexec.patch
 Patch3:                %{name}-branding.patch
 Patch4:                %{name}-apr.patch
-# what about this? it isn't applied...
-Patch6:                httpd-2.0.40-xfsz.patch
-Patch7:                %{name}-syslibs.patch
-Patch8:                httpd-2.0.45-encode.patch
-Patch9:                %{name}-paths.patch
-Patch10:       httpd-2.0.46-dav401dest.patch
-Patch12:       httpd-2.0.46-sslmutex.patch
-Patch14:       httpd-2.0.48-corelimit.patch
-Patch15:       httpd-2.0.48-debuglog.patch
-Patch18:       %{name}-v6only-ENOPROTOOPT.patch
-Patch19:       %{name}-conffile-path.patch
-Patch23:       %{name}-suexec_fcgi.patch
-Patch24:       %{name}-bug-48094.patch
-# http://scripts.mit.edu/trac/browser/trunk/server/common/patches/httpd-2.2.x-mod_ssl-sessioncaching.patch?rev=1348
-Patch25:       httpd-2.2.x-mod_ssl-sessioncaching.patch
-Patch26:       apache-mod_vhost_alias_docroot.patch
+Patch5:                %{name}-syslibs.patch
+Patch6:                httpd-2.0.45-encode.patch
+Patch7:                %{name}-paths.patch
+Patch8:                httpd-2.0.46-dav401dest.patch
+Patch9:                httpd-2.0.48-corelimit.patch
+Patch10:       httpd-2.0.48-debuglog.patch
+Patch11:       %{name}-v6only-ENOPROTOOPT.patch
+Patch12:       %{name}-conffile-path.patch
+Patch13:       %{name}-suexec_fcgi.patch
+Patch14:       apache-mod_vhost_alias_docroot.patch
 # http://mpm-itk.sesse.net/
-Patch28:       apache-mpm-itk.patch
-Patch29:       libtool-tag.patch
+Patch15:       apache-mpm-itk.patch
+Patch16:       libtool-tag.patch
 URL:           http://httpd.apache.org/
 BuildRequires: apr-devel >= %{apr_ver}
 BuildRequires: apr-util-devel >= 1:1.3.10-2
@@ -192,6 +193,7 @@ Requires:   /sbin/chkconfig
 Requires:      apr >= %{apr_ver}
 Requires:      psmisc >= 20.1
 Requires:      rc-scripts >= 0.4.1.23
+Requires:      %{name}-mod_unixd = %{version}-%{release}
 Provides:      apache(modules-api) = %{_apache_modules_api}
 Provides:      group(http)
 Provides:      user(http)
@@ -222,7 +224,7 @@ serwerem WWW w Internecie.
 Summary:       Apache suexec wrapper
 Summary(pl.UTF-8):     Wrapper suexec do serwera WWW Apache
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/suexec.html
+URL:           http://httpd.apache.org/docs/2.4/suexec.html
 Requires:      %{name}-base = %{version}-%{release}
 
 %description suexec
@@ -337,7 +339,7 @@ desenvolver módulos adicionais para o Apache.
 Summary:       Apache module for executing CGI scripts based on media type or request method
 Summary(pl.UTF-8):     Moduł Apache'a do uruchamiania skryptów CGI w oparciu o rodzaj danych lub żądania
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_actions.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_actions.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_actions) = %{version}-%{release}
 
@@ -359,7 +361,7 @@ pliki.
 Summary:       Mapping different parts of the host filesystem in the document tree and for URL redirection
 Summary(pl.UTF-8):     Odwzorowywanie różnych części systemu plików w drzewie dokumentów i przekierowywanie URL-i
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_alias.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_alias.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_alias) = %{version}-%{release}
 Provides:      webserver(alias)
@@ -402,7 +404,7 @@ URL-ach. Bardziej skomplikowane zadania, takie jak modyfikowanie
 Summary:       Sends files that contain their own HTTP headers
 Summary(pl.UTF-8):     Wysyłanie plików zawierających własne nagłówki HTTP
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_asis.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_asis.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_asis) = %{version}-%{release}
 
@@ -452,7 +454,7 @@ wstecznej z apache 2.0.
 Summary:       Apache module that allows Basic authentication
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający korzystawnie z uwierzytelnienia Basic
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_auth_basic.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_auth_basic) = %{version}-%{release}
 
@@ -491,7 +493,7 @@ apache-mod_authz_dbm dla kompatybilności wstecznej z apache 2.0.
 Summary:       User authentication using MD5 Digest Authentication
 Summary(pl.UTF-8):     Uwierzytelnianie użytkowników przy użyciu MD5 Digest
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_auth_digest.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_auth_digest) = %{version}-%{release}
 
@@ -504,27 +506,11 @@ Ten moduł implementuje uwierzytelnienie HTTP Digest. Nie został on
 jednak zbyt obszernie przetestowany, więc jest oznaczony jako
 eksperymentalny.
 
-%package mod_authn_alias
-Summary:       Apache module that provides the ability to create extended authentication
-Summary(pl.UTF-8):     Moduł Apache'a umożliwiający tworzenie rozszerzonego uwierzytelniania
-Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_alias.html
-Requires:      %{name}-base = %{version}-%{release}
-Provides:      apache(mod_authn_alias) = %{version}-%{release}
-
-%description mod_authn_alias
-This module allows extended authentication providers to be created
-within the configuration file and assigned an alias name.
-
-%description mod_authn_alias -l pl.UTF-8
-Ten moduł umożliwia tworzenie rozszerzonych sposobów uwierzytelniania
-w pliku konfiguracyjnym i nadawanie im aliasów.
-
 %package mod_authn_anon
 Summary:       Apache module that allows "anonymous" user access to authenticated areas
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający dostęp anonimowych użytkowników do stref uwierzytelnianych
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_anon.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_anon.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_anon) = %{version}-%{release}
 # compat
@@ -549,7 +535,7 @@ być logowane.
 Summary:       Apache module that allows user authentication using an SQL
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników przy użyciu tabel SQL
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_dbd = %{version}-%{release}
 Provides:      apache(mod_authn_dbd) = %{version}-%{release}
@@ -568,7 +554,7 @@ wyszukiwanie w tabelach SQL.
 Summary:       Apache module that allows user authentication using DBM files
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników przy użyciu plików DBM
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_dbm.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_dbm.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_dbm) = %{version}-%{release}
 
@@ -582,20 +568,22 @@ Ten moduł udostępnia frontendom uwierzytelniającym takim jak
 mod_auth_digest i mod_auth_basic uwierzytelnianie użytkowników poprzez
 wyszukiwanie w tabelach haseł DBM.
 
-%package mod_authn_default
+%package mod_authn_core
 Summary:       Apache module that rejects any credentials supplied by the user
 Summary(pl.UTF-8):     Moduł Apache'a odrzucający wszystkie dane podane przez użytkownika
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_default.html
+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_default
+%description mod_authn_core
 This module is designed to be the fallback module, if you don't have
 configured an authentication module like mod_auth_basic. It simply
 rejects any credentials supplied by the user.
 
-%description mod_authn_default -l pl.UTF-8
+%description mod_authn_core -l pl.UTF-8
 Ten moduł został pomyślany jako domyślny moduł uwierzytelniający,
 jeśli nie skonfigurowano modułu uwierzytelniającego takiego jak
 mod_auth_basic. Moduł ten po prostu odrzuca wszelkie dane przekazane
@@ -605,7 +593,7 @@ przez użytkownika.
 Summary:       Apache module that allows user authentication using text files
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie użytkowników poprzez pliki tekstowe
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authn_file.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_file.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authn_file) = %{version}-%{release}
 
@@ -623,7 +611,7 @@ wyszukiwanie w plikach tekstowych z hasłami.
 Summary:       Apache module that allows an LDAP directory to be used to store the database for HTTP Basic authentication
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający przechowywanie danych dla uwierzytelnienia HTTP Basic w bazie LDAP
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_ldap = %{version}-%{release}
 Requires:      apr-util-ldap
@@ -645,7 +633,7 @@ mod_auth_basic uwierzytelnianie użytkowników poprzez katalog LDAP.
 Summary:       Apache module that allows group authorization using DBM files
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający uwierzytelnianie grup z użyciem plików DBM
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_dbm.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_dbm) = %{version}-%{release}
 
@@ -659,20 +647,22 @@ Ten moduł daje możliwość udostępniania bądź blokowania części serwisu
 WWW dla uwierzytelnionych użytkowników na podstawie ich przynależności
 do grupy zapisywanej w pliku DBM.
 
-%package mod_authz_default
+%package mod_authz_core
 Summary:       Apache module that rejects any authorization request
 Summary(pl.UTF-8):     Moduł Apache'a odrzucający wszystkie żądania autoryzacji
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_default.html
+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_default
+%description mod_authz_core
 This module is designed to be the fallback module, if you don't have
 configured an authorization module like mod_authz_user or
 mod_authz_groupfile. It simply rejects any authorization request.
 
-%description mod_authz_default -l pl.UTF-8
+%description mod_authz_core -l pl.UTF-8
 Ten moduł został pomyślany jako domyślny moduł autoryzujący jeśli nie
 skonfigurowano modułu autoryzującego takiego jak mod_authz_user czy
 mod_authz_groupfile. Moduł ten po prostu odrzuca wszelkie żądania
@@ -682,7 +672,7 @@ autoryzacji.
 Summary:       Apache module that allows group authorization using plaintext files
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację grup przy użyciu plików tekstowych
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_groupfile.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authz_groupfile.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_groupfile) = %{version}-%{release}
 
@@ -700,9 +690,11 @@ do grupy zapisywanej w pliku tekstowym.
 Summary:       Apache module that allows group authorizations based on host (name or IP address)
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację grup w oparcu o host (nazwę lub IP)
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authz_host.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_host) = %{version}-%{release}
+# for upgrade from 2.2, maybe this should be a "Suggests", but it's safer to require it by force
+Requires:      apache(mod_access_compat) = %{version}-%{release}
 # for apache < 2.2.0
 Provides:      apache(mod_access) = %{version}-%{release}
 Provides:      webserver(access)
@@ -725,7 +717,7 @@ charakterystyki żądania klienta dostępnej w zmiennych środowiskowych.
 Summary:       Apache module that allows authorization based on file ownership
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzacje w oparciu o własność plików
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_authz_owner.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_authz_owner.html
 Requires:      %{name}-base = %{version}-%{release}
 #Requires:     any-auth-module
 Provides:      apache(mod_authz_owner) = %{version}-%{release}
@@ -749,7 +741,7 @@ mod_auth_digest.
 Summary:       Apache module that allows user authorization
 Summary(pl.UTF-8):     Moduł Apache'a umożliwiający autoryzację użytkowników
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_authz_user.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_authz_user.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_authz_user) = %{version}-%{release}
 
@@ -765,7 +757,7 @@ WWW dla uwierzytelnionych użytkowników.
 Summary:       Apache module - display index of files
 Summary(pl.UTF-8):     Moduł apache do wyświetlania indeksu plików
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_autoindex.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_autoindex.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_alias = %{version}-%{release}
 Provides:      apache(mod_autoindex) = %{version}-%{release}
@@ -794,7 +786,7 @@ Dzielenie kubełków po znalezieniu znaku sterującego.
 Summary:       Content cache keyed to URIs
 Summary(pl.UTF-8):     Pamięć podręczna wg klucza URI
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cache.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_cache.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_cache) = %{version}-%{release}
 
@@ -846,7 +838,7 @@ Filtr wejściowy Apache'a zamieniający wszystkie litery w ciele żądania
 Summary:       CERN httpd metafile semantics
 Summary(pl.UTF-8):     Obsługa semantyki metaplików CERN httpd
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cern_meta.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_cern_meta.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_cern_meta) = %{version}-%{release}
 
@@ -872,7 +864,7 @@ użytkowników CERN wykorzystujących ten moduł.
 Summary:       Execution of CGI scripts
 Summary(pl.UTF-8):     Uruchamianie skryptów CGI
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cgi.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_cgi.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_alias = %{version}-%{release}
 Suggests:      %{name}-suexec = %{version}-%{release}
@@ -907,7 +899,7 @@ zachowują się identycznie.
 Summary:       Execution of CGI scripts using an external CGI daemon
 Summary(pl.UTF-8):     Uruchamianie zewnętrznych skryptów CGI za pomocą daemona CGI
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_cgid.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_cgid.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_alias = %{version}-%{release}
 Provides:      apache(mod_cgid) = %{version}-%{release}
@@ -935,7 +927,7 @@ wielowątkowy MPM.
 Summary:       Specify character set translation or recoding
 Summary(pl.UTF-8):     Translacja lub przekodowywanie znaków
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_charset_lite.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_charset_lite.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_charset_lite) = %{version}-%{release}
 
@@ -959,7 +951,7 @@ Jest to moduł eksperymentalny i należy używać go z uwagą.
 Summary:       Apache module - Distributed Authoring and Versioning
 Summary(pl.UTF-8):     Moduł Apache'a - rozproszone autorstwo i wersjonowanie
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_dav.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_dav.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      apache-mod_authn_file
 Requires:      apache-mod_setenvif
@@ -982,7 +974,7 @@ zdalnym serwerze WWW.
 Summary:       Manages SQL database connections
 Summary(pl.UTF-8):     Zarządzanie połączeniami z bazą danych SQL
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/en/mod/mod_dbd.html
+URL:           http://httpd.apache.org/docs/2.4/en/mod/mod_dbd.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_dbd) = %{version}-%{release}
 
@@ -1003,7 +995,7 @@ niewątkowych MPM.
 Summary:       Apache module: Compress content before it is delivered to the client
 Summary(pl.UTF-8):     Moduł Apache'a kompresujący dane przed przesłaniem ich do klienta
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_deflate.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_headers = %{version}-%{release}
 Provides:      apache(mod_deflate) = %{version}-%{release}
@@ -1018,7 +1010,7 @@ Moduł kompresujący dane przed przesłaniem ich do klienta.
 Summary:       Apache module for "trailing slash" redirects and serving directory index files
 Summary(pl.UTF-8):     Moduł Apache'a oferujący przekierowania i udostępnianie informacji o zawartości katalogu
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_dir.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_dir.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_dir) = %{version}-%{release}
 Provides:      webserver(indexfile)
@@ -1035,7 +1027,7 @@ katalogu.
 Summary:       Dumps all I/O to error log as desired
 Summary(pl.UTF-8):     Zrzucanie całości wejścia/wyjścia do logu błędów
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_dumpio.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_dumpio.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_dumpio) = %{version}-%{release}
 
@@ -1063,7 +1055,7 @@ przy diagnostyce problemów.
 Summary:       A simple echo server to illustrate protocol modules
 Summary(pl.UTF-8):     Prosty serwer ocho ilustrujący moduły protokołów
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_echo.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_echo.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_echo) = %{version}-%{release}
 
@@ -1081,7 +1073,7 @@ napisać cokolwiek, a on odpowie tym samym.
 Summary:       Modifies the environment which is passed to CGI scripts and SSI pages
 Summary(pl.UTF-8):     Modyfikowanie środowiska przekazywanego skryptom CGI i stronom SSI
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_env.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_env.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_env) = %{version}-%{release}
 Provides:      webserver(setenv)
@@ -1103,7 +1095,7 @@ usuwane w procesie konfiguracji.
 Summary:       Apache module which generates Expires HTTP headers
 Summary(pl.UTF-8):     Moduł Apache'a generujący nagłówki HTTP Expires
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_expires.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_expires.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_expires) = %{version}-%{release}
 Provides:      webserver(expires)
@@ -1123,7 +1115,7 @@ ważności może być ustalana w zależności od czasu modyfikacji plików
 Summary:       Pass the response body through an external program before delivery to the client
 Summary(pl.UTF-8):     Przekazywanie ciała odpowiedzi do zewnętrznego programu przed przekazaniem klientowi
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_ext_filter.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_ext_filter.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_ext_filter) = %{version}-%{release}
 
@@ -1170,7 +1162,7 @@ dla filtrów.
 Summary:       Apache module: caches a static list of files in memory
 Summary(pl.UTF-8):     Moduł Apache'a cache'ujący statyczną listę plików w pamięci
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_file_cache.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_file_cache.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_file_cache) = %{version}-%{release}
 Obsoletes:     apache-mmap_static
@@ -1188,7 +1180,7 @@ Moduł cache'ujący statyczną listę plików w pamięci.
 Summary:       Context-sensitive smart filter configuration module
 Summary(pl.UTF-8):     Moduł inteligentnej, zależnej od kontekstu konfiguracji filtrów
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_filter.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_filter.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_filter) = %{version}-%{release}
 
@@ -1208,7 +1200,7 @@ jeśli content-type nie jest znany z góry (np. w wypadku proxy).
 Summary:       Apache module allows for the customization of HTTP response headers
 Summary(pl.UTF-8):     Moduł Apache'a pozwalający na modyfikację nagłówków HTTP
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_headers.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_headers.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_headers) = %{version}-%{release}
 
@@ -1225,7 +1217,7 @@ wysyłanych do przeglądarki.
 Summary:       RFC 1413 ident lookups
 Summary(pl.UTF-8):     Sprawdzanie identyfikacji RFC 1413
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_ident.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_ident.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_ident) = %{version}-%{release}
 
@@ -1241,7 +1233,7 @@ sprawdzenia właściciela połączenia.
 Summary:       Server-side imagemap processing
 Summary(pl.UTF-8):     Przetwarzanie map obrazów po stronie serwera
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_imagemap.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_imagemap.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_imagemap) = %{version}-%{release}
 Provides:      apache-mod_imap
@@ -1263,7 +1255,7 @@ SetHandler) będzie przetwarzany przez ten moduł.
 Summary:       Server-parsed html documents (Server Side Includes)
 Summary(pl.UTF-8):     Dokumenty przetwarzane przez serwer (Server Side Includes)
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_include.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_include.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_include) = %{version}-%{release}
 
@@ -1285,7 +1277,7 @@ a także ustawianie i wypisywanie zmiennych środowiskowych.
 Summary:       Apache module with comprehensive overview of the server configuration
 Summary(pl.UTF-8):     Moduł Apache'a udostępniający informacje o serwerze
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_info.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_info.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_info) = %{version}-%{release}
@@ -1303,7 +1295,7 @@ zainstalowanych modułach itp.
 Summary:       Apache module for LDAP connection pooling and result caching services for other LDAP modules
 Summary(pl.UTF-8):     Moduł Apache'a zarządzający połączeniami z serwerami LDAP
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_ldap.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_ldap) = %{version}-%{release}
 
@@ -1323,7 +1315,7 @@ i współdzieloną pamięć podręczną zapytań.
 Summary:       Logging of the requests made to the server
 Summary(pl.UTF-8):     Logowanie żądań zgłaszanych do serwera
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_log_config.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_log_config.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_log_config) = %{version}-%{release}
 Provides:      webserver(log)
@@ -1347,7 +1339,7 @@ charakterystyki żądania.
 Summary:       Forensic Logging of the requests made to the server
 Summary(pl.UTF-8):     Logowanie żadań zgłaszanych do serwera w celu późniejszej analizy
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_log_forensic.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_log_forensic.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_log_forensic) = %{version}-%{release}
 
@@ -1365,7 +1357,7 @@ zawiera dwie linie dla każdego żądania.
 Summary:       Logging of input and output bytes per request
 Summary(pl.UTF-8):     Logowanie liczby bajtów wejścia i wyjścia dla zapytań
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_logio.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_logio.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_log_config = %{version}-%{release}
 Provides:      apache(mod_logio) = %{version}-%{release}
@@ -1390,7 +1382,7 @@ odzwierciedlały wszystkie zmiany dokonywane przez szyfrowanie.
 Summary:       Associates the requested filename's extensions with the file's behavior and content
 Summary(pl.UTF-8):     Wiązanie określonych rozszerzeń plików z zachowaniem i zawartością
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_mime.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_mime.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      mailcap
 Provides:      apache(mod_mime) = %{version}-%{release}
@@ -1418,7 +1410,7 @@ informacji o negocjacji treści jest w dokumentacji do mod_negotiation.
 Summary:       Determines the MIME type of a file by looking at a few bytes of its contents
 Summary(pl.UTF-8):     Określanie typu MIME pliku poprzez sprawdzanie kilku bajtów jego zawartości
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_mime_magic.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_mime_magic.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      file
 Provides:      apache(mod_mime_magic) = %{version}-%{release}
@@ -1439,7 +1431,7 @@ rozwiązać mod_mime.
 Summary:       Provides for content negotiation
 Summary(pl.UTF-8):     Moduł do negocjacji treści
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_negotiation.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_mime = %{version}-%{release}
 Provides:      apache(mod_negotiation) = %{version}-%{release}
@@ -1458,7 +1450,7 @@ kilku możliwych dokumentów.
 Summary:       Apache module with Web proxy
 Summary(pl.UTF-8):     Moduł Apache'a dodający obsługę serwera proxy
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_proxy.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_proxy) = %{version}-%{release}
@@ -1478,7 +1470,7 @@ HTTP/1.0 i HTTP/1.1.
 Summary:       Apache module to set timeout and minimum data rate for receiving requests
 Summary(pl.UTF-8):     Moduł Apache'a pozwalający na ustawianie limitu czasu oraz minimalnego transferu danych
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_reqtimeout.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_reqtimeout.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_reqtimeout) = %{version}-%{release}
 Provides:      webserver(reqtimeout)
@@ -1495,7 +1487,7 @@ transferu danych.
 Summary:       Apache module with rule-based engine for rewrite requested URLs on the fly
 Summary(pl.UTF-8):     Moduł Apache'a do "przepisywania" adresów URL w locie
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_rewrite) = %{version}-%{release}
 Provides:      webserver(rewrite)
@@ -1511,7 +1503,7 @@ Moduł oferujący możliwość "przepisywania" adresów URL w locie.
 Summary:       Allows the setting of environment variables based on characteristics of the request
 Summary(pl.UTF-8):     Ustawianie zmiennych środowiskowych w oparciu o charakterystykę żądania
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_setenvif.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_setenvif) = %{version}-%{release}
 
@@ -1531,7 +1523,7 @@ części serwera do podejmowania decyzji o podejmowanych akcjach.
 Summary:       Attempts to correct mistaken URLs by ignoring capitalization and by allowing up to one misspelling
 Summary(pl.UTF-8):     Próba poprawiania błędnych URL-i poprzez ignorowanie wielkości liter i zezwalanie na jedną literówkę
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_speling.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_speling.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_speling) = %{version}-%{release}
 
@@ -1563,7 +1555,7 @@ Summary(pl.UTF-8):        Moduł SSL/TSL dla serwera Apache
 Summary(ru.UTF-8):     Модуль SSL/TLS для веб-сервера Apache
 Epoch:         1
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_ssl.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_ssl.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      openssl >= %{openssl_ver}
 %if "%{pld_release}" != "ac"
@@ -1589,7 +1581,7 @@ Security).
 Summary:       Server status report module for Apache
 Summary(pl.UTF-8):     Moduł udostępniający informacje statystyczne z serwera Apache
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_status.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_status.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_status) = %{version}-%{release}
@@ -1609,7 +1601,7 @@ pracy serwera Apache (w postaci strony HTML).
 Summary:       Substitute module for Apache
 Summary(pl.UTF-8):     Moduł pozwalający na znajdywanie i zastępowanie wyjścia dla serwera Apache
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_substitute.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_substitute.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_substitute) = %{version}-%{release}
 
@@ -1625,7 +1617,7 @@ podstawie wyrażenia regularnego.
 Summary:       Apache module which provides a magic token for each request
 Summary(pl.UTF-8):     Moduł Apache'a nadający każdemu zapytaniu unikalny token
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_unique_id.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_unique_id) = %{version}-%{release}
 
@@ -1648,7 +1640,7 @@ UNIQUE_ID.
 Summary:       User-specific directories
 Summary(pl.UTF-8):     Katalogi specyficzne dla użytkowników
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_userdir.html
 Requires:      %{name}-base = %{version}-%{release}
 Requires:      %{name}-mod_authz_host = %{version}-%{release}
 Provides:      apache(mod_userdir) = %{version}-%{release}
@@ -1665,7 +1657,7 @@ użytkowników przy użyciu składni http://example.com/~user/ .
 Summary:       Apache module for user tracking using cookies
 Summary(pl.UTF-8):     Moduł Apache'a służący do śledzenia "ciasteczek"
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_usertrack.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_usertrack.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_usertrack) = %{version}-%{release}
 
@@ -1682,7 +1674,7 @@ przy użyciu katalogu CookieLog. Pozwala na użycie wielu plików logów.
 Summary:       Version dependent configuration
 Summary(pl.UTF-8):     Konfiguracja zależna od wersji
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_version.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_version.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_version) = %{version}-%{release}
 
@@ -1704,7 +1696,7 @@ wyrażeniami regularnymi.
 Summary:       Apache module for dynamically configured mass virtual hosting
 Summary(pl.UTF-8):     Moduł Apache'a dodający obsługę hostów wirtualnych
 Group:         Networking/Daemons/HTTP
-URL:           http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html
 Requires:      %{name}-base = %{version}-%{release}
 Provides:      apache(mod_vhost_alias) = %{version}-%{release}
 
@@ -1716,6 +1708,302 @@ dynamically configured mass virtual hosting.
 Moduł umożliwia na dynamiczne konfigurowanie masowej ilości serwerów
 wirtualnych.
 
+%package mod_access_compat
+Summary:       Group authorizations based on host (name or IP address)
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_access_compat.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_access_compat) = %{version}-%{release}
+
+%description mod_access_compat
+The directives provided by mod_access_compat are used in <Directory>, 
+<Files>, and <Location> sections as well as .htaccess files to control
+access to particular parts of the server. Access can be controlled 
+based on the client hostname, IP address, or other characteristics of 
+the client request, as captured in environment variables. The Allow 
+and Deny directives are used to specify which clients are or are not 
+allowed access to the server, while the Order directive sets the 
+default access state, and configures how the Allow and Deny directives
+interact with each other.
+
+%package mod_allowmethods 
+Summary:       Easily restrict what HTTP methods can be used on the server
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_allowmethods.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_allowmethods) = %{version}-%{release}
+
+%description mod_allowmethods
+This module makes it easy to restrict what HTTP methods can used on an
+server.
+  
+%package mod_auth_form
+Summary:       Form authentication
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_auth_form.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_session = %{version}-%{release}
+Provides:      apache(mod_auth_form) = %{version}-%{release}
+
+%description mod_auth_form
+This module allows the use of an HTML login form to restrict access by
+looking up users in the given providers. HTML forms require
+significantly more configuration than the alternatives, 
+however an HTML login form can provide a much friendlier experience
+for end users.
+
+%package mod_authn_socache
+Summary:       Manages a cache of authentication credentials to relieve the load on backends
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authn_socache.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_authn_socache) = %{version}-%{release}
+
+%description mod_authn_socache
+Maintains a cache of authentication credentials, so that a new backend
+lookup is not required for every authenticated request.
+
+%package mod_authz_dbd
+Summary:       Group Authorization and Login using SQL
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_authz_dbd.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_authz_dbd) = %{version}-%{release}
+
+%description mod_authz_dbd
+This module provides authorization capabilities so that authenticated
+users can be allowed or denied access to portions of the web site by
+group membership.
+
+%package mod_buffer
+Summary:       Support for request buffering
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_buffer.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_buffer) = %{version}-%{release}
+
+%description mod_buffer
+This module provides the ability to buffer the input and output filter
+stacks.
+
+%package mod_data
+Summary:       Convert response body into an RFC2397 data URL
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_data.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_data) = %{version}-%{release}
+
+%description mod_data
+This module provides the ability to convert a response into an RFC2397
+data URL.
+
+%package mod_dialup
+Summary:       Send static content at a bandwidth rate limit, defined by the various old modem standards
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_dialup.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_dialup) = %{version}-%{release}
+
+%description mod_dialup
+It is a module that sends static content at a bandwidth rate limit,
+defined by the various old modem standards.
+
+%package mod_heartbeat
+Summary:       Sends messages with server status to frontend proxy
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_heartbeat.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_status = %{version}-%{release}
+Requires:      %{name}-mod_watchdog = %{version}-%{release}
+Provides:      apache(mod_heartbeat) = %{version}-%{release}
+
+%description mod_heartbeat
+mod_heartbeat sends multicast messages to a mod_heartmonitor listener
+that advertises the servers current connection count. Usually,
+mod_heartmonitor will be running on a proxy server with
+mod_lbmethod_heartbeat loaded, which allows ProxyPass to use the
+"heartbeat" lbmethod inside of ProxyPass.
+
+mod_heartbeat itself is loaded on the origin server(s) that serve
+requests through the proxy server(s).
+
+%package mod_heartmonitor
+Summary:       Centralized monitor for mod_heartbeat origin servers
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_heartmonitor.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_status = %{version}-%{release}
+Requires:      %{name}-mod_watchdog = %{version}-%{release}
+Provides:      apache(mod_heartmonitor) = %{version}-%{release}
+
+%description mod_heartmonitor
+mod_heartmonitor listens for server status messages generated by
+mod_heartbeat enabled origin servers and makes their status available
+to mod_lbmethod_heartbeat. This allows ProxyPass to use the
+"heartbeat" lbmethod inside of ProxyPass.
+
+This module uses the services of mod_slotmem_shm when available
+instead of flat-file storage. No configuration is required to use
+mod_slotmem_shm.
+
+%package mod_lbmethod
+Summary:       Provides bybusiness, byrequests, bytraffic and heartbeat load balancing schedulers
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bybusiness.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_byrequests.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bytraffic.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_heartbeat.html
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_proxy = %{version}-%{release}
+Provides:      apache(mod_lbmethod) = %{version}-%{release}
+Provides:      apache(mod_lbmethod_bybusiness) = %{version}-%{release}
+Provides:      apache(mod_lbmethod_byrequests) = %{version}-%{release}
+Provides:      apache(mod_lbmethod_bytraffic) = %{version}-%{release}
+Provides:      apache(mod_lbmethod_heartbeat) = %{version}-%{release}
+
+%description mod_lbmethod
+Provides bybusiness, byrequests, bytraffic and heartbeat load
+balancing schedulers.
+
+%package mod_log_debug
+Summary:       Additional configurable debug logging
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_log_debug.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_log_debug) = %{version}-%{release}
+
+%description mod_log_debug
+Additional configurable debug logging.
+
+%package mod_ratelimit
+Summary:       Bandwidth Rate Limiting for Clients
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_ratelimit.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_ratelimit) = %{version}-%{release}
+
+%description mod_ratelimit
+Provides a filter named RATE_LIMIT to limit client bandwidth.
+The connection speed to be simulated is specified, in KiB/s,
+using the environment variable rate-limit.
+
+%package mod_reflector
+Summary:       Reflect a request body as a response via the output filter stack
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_reflector.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_reflector) = %{version}-%{release}
+
+%description mod_reflector
+This module allows request bodies to be reflected back to the client,
+in the process passing the request through the output filter stack.
+A suitably configured chain of filters can be used to transform the
+request into a response. This module can be used to turn an output
+filter into an HTTP service.
+
+%package mod_remoteip
+Summary:       Replaces the original client IP address for the connection
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_remoteip.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_remoteip) = %{version}-%{release}
+
+%description mod_remoteip
+Replaces the original client IP address for the connection with the
+useragent IP address list presented by a proxies or a load balancer
+via the request headers.
+
+%package mod_request
+Summary:       Filters to handle and make available HTTP request bodies
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_request.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_request) = %{version}-%{release}
+
+%description mod_request
+Filters to handle and make available HTTP request bodies.
+
+%package mod_sed
+Summary:       Filter Input (request) and Output (response) content using sed syntax
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_sed.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_sed) = %{version}-%{release}
+
+%description mod_sed
+Filter Input (request) and Output (response) content using sed syntax.
+
+%package mod_session
+Summary:       Session support
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_session.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_session) = %{version}-%{release}
+Provides:      apache(mod_session_cookie) = %{version}-%{release}
+Provides:      apache(mod_session_dbd) = %{version}-%{release}
+
+%description mod_session
+Session support.
+
+%package mod_slotmem
+Summary:       Slot-based shared memory provider
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_slotmem_plain.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_slotmem_shm.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_slotmem) = %{version}-%{release}
+Provides:      apache(mod_slotmem_plain) = %{version}-%{release}
+Provides:      apache(mod_slotmem_shm) = %{version}-%{release}
+
+%description mod_slotmem
+Slot-based shared memory provider.
+
+%package mod_socache
+Summary:       Shared object cache provider
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_socache_dbm.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_socache_memcache.html
+#URL:          http://httpd.apache.org/docs/2.4/mod/mod_socache_shmcb.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_socache) = %{version}-%{release}
+Provides:      apache(mod_socache_dbm) = %{version}-%{release}
+Provides:      apache(mod_socache_memcache) = %{version}-%{release}
+Provides:      apache(mod_socache_shmcb) = %{version}-%{release}
+
+%description mod_socache
+Shared object cache provider.
+
+%package mod_unixd
+Summary:       Basic (required) security for Unix-family platforms
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_unixd.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_unixd) = %{version}-%{release}
+
+%description mod_unixd
+Basic (required) security for Unix-family platforms.
+
+%package mod_watchdog
+Summary:       Provides infrastructure for other modules to periodically run tasks
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_watchdog.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_watchdog) = %{version}-%{release}
+
+%description mod_watchdog
+Provides infrastructure for other modules to periodically run tasks.
+
+%package mod_xml2enc
+Summary:       Enhanced charset/internationalisation support for libxml2-based filter modules
+Group:         Networking/Daemons/HTTP
+URL:           http://httpd.apache.org/docs/2.4/mod/mod_xml2enc.html
+Requires:      %{name}-base = %{version}-%{release}
+Provides:      apache(mod_xml2enc) = %{version}-%{release}
+
+%description mod_xml2enc
+Enhanced charset/internationalisation support for libxml2-based filter
+modules.
+
 %package -n htpasswd-%{name}
 Summary:       Apache 2 htpasswd utility: manage user files for basic authentication
 Summary(pl.UTF-8):     Narzędzie htpasswd z Apache'a 2 do zarządzania plikami uwierzytelnienia basic
@@ -1768,25 +2056,18 @@ Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
-#%%patch12 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 %patch14 -p1
-%patch15 -p1
-%patch18 -p1
-%patch19 -p1
-%patch23 -p1
-%patch24 -p1
-# seems already applied
-#%%patch25 -p1
-%patch26 -p1
-%{?with_itk:%patch28 -p1}
-%patch29 -p1
-
-# using system apr, apr-util and pcre
-#%%{__rm} -r srclib/{apr,apr-util,pcre}
+%{?with_itk:%patch15 -p1}
+%patch16 -p1
 
 # sanity check
 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
@@ -1878,6 +2159,7 @@ CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
        --with-program-name=httpd \
        --with-mpm=prefork \
        --enable-mpms-shared=all \
+       --enable-nonportable-atomics=yes \
        --with-suexec-bin=%{_sbindir}/suexec \
        --with-suexec-caller=http \
        --with-suexec-docroot=%{_datadir} \
@@ -1890,7 +2172,6 @@ CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
        --with-pcre
 
 %{__make}
-./httpd -l > modules-inside
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -1901,14 +2182,13 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
        $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 # prefork is default one
-%{__make}  install \
+%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 ln -s %{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
 ln -s %{_localstatedir}/run/httpd $RPM_BUILD_ROOT%{_sysconfdir}/run
 ln -s %{_var}/log/httpd $RPM_BUILD_ROOT%{_sysconfdir}/logs
-mv $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf.orig
-ln -s conf.d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+rm $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/httpd
@@ -1952,19 +2232,18 @@ cp -a %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/vhosts.d/example.net.conf
 
 install %{SOURCE30} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
-echo "LoadModule alias_module modules/mod_alias.so" > $CFG/00_mod_alias.conf
+echo "LoadModule alias_module          modules/mod_alias.so" > $CFG/00_mod_alias.conf
 echo "LoadModule authn_file_module     modules/mod_authn_file.so" > $CFG/00_mod_authn_file.conf
 echo "LoadModule authn_dbm_module      modules/mod_authn_dbm.so" > $CFG/00_mod_authn_dbm.conf
 echo "LoadModule authn_anon_module     modules/mod_authn_anon.so" > $CFG/00_mod_authn_anon.conf
 echo "LoadModule authn_dbd_module      modules/mod_authn_dbd.so" > $CFG/00_mod_authn_dbd.conf
-echo "LoadModule authn_default_module  modules/mod_authn_default.so" > $CFG/00_mod_authn_default.conf
-echo "LoadModule authn_alias_module    modules/mod_authn_alias.so" > $CFG/00_mod_authn_alias.conf
+echo "LoadModule authn_core_module     modules/mod_authn_core.so" > $CFG/00_mod_authn_core.conf
 echo "LoadModule authz_groupfile_module        modules/mod_authz_groupfile.so" > $CFG/00_mod_authz_groupfile.conf
 echo "LoadModule authz_user_module     modules/mod_authz_user.so" > $CFG/00_mod_authz_user.conf
 echo "LoadModule authz_dbm_module      modules/mod_authz_dbm.so" > $CFG/00_mod_authz_dbm.conf
 echo "LoadModule authz_owner_module    modules/mod_authz_owner.so" > $CFG/00_mod_authz_owner.conf
 echo "LoadModule authnz_ldap_module    modules/mod_authnz_ldap.so" > $CFG/00_mod_authnz_ldap.conf
-echo "LoadModule authz_default_module  modules/mod_authz_default.so" > $CFG/00_mod_authz_default.conf
+echo "LoadModule authz_core_module     modules/mod_authz_core.so" > $CFG/00_mod_authz_core.conf
 echo "LoadModule auth_basic_module     modules/mod_auth_basic.so" > $CFG/00_mod_auth_basic.conf
 echo "LoadModule dbd_module    modules/mod_dbd.so" > $CFG/00_mod_dbd.conf
 %if %{with bucketeer}
@@ -2001,6 +2280,37 @@ echo "LoadModule usertrack_module        modules/mod_usertrack.so" > $CFG/00_mod_usertr
 echo "LoadModule unique_id_module      modules/mod_unique_id.so" > $CFG/00_mod_unique_id.conf
 echo "LoadModule substitute_module     modules/mod_substitute.so" > $CFG/00_mod_substitute.conf
 echo "LoadModule reqtimeout_module     modules/mod_reqtimeout.so" >> $CFG/00_mod_reqtimeout.conf
+echo "LoadModule access_compat_module  modules/mod_access_compat.so" > $CFG/00_mod_access_compat.conf
+echo "LoadModule allowmethods_module   modules/mod_allowmethods.so" > $CFG/00_mod_allowmethods.conf
+echo "LoadModule auth_form_module      modules/mod_auth_form.so" > $CFG/00_mod_auth_form.conf
+echo "LoadModule authn_socache_module  modules/mod_authn_socache.so" > $CFG/00_mod_authn_socache.conf
+echo "LoadModule authz_dbd_module      modules/mod_authz_dbd.so" > $CFG/00_mod_authz_dbd.conf
+echo "LoadModule buffer_module modules/mod_buffer.so" > $CFG/00_mod_buffer.conf
+echo "LoadModule data_module   modules/mod_data.so" > $CFG/00_mod_data.conf
+echo "LoadModule dialup_module modules/mod_dialup.so" > $CFG/00_mod_dialup.conf
+echo "LoadModule heartbeat_module      modules/mod_heartbeat.so" > $CFG/00_mod_heartbeat.conf
+echo "LoadModule heartmonitor_module   modules/mod_heartmonitor.so" > $CFG/00_mod_heartmonitor.conf
+echo "#LoadModule lbmethod_bybusyness_module   modules/mod_lbmethod_bybusyness.so" > $CFG/00_mod_lbmethod.conf
+echo "#LoadModule lbmethod_byrequests_module   modules/mod_lbmethod_byrequests.so" >> $CFG/00_mod_lbmethod.conf
+echo "#LoadModule lbmethod_bytraffic_module    modules/mod_lbmethod_bytraffic.so" >> $CFG/00_mod_lbmethod.conf
+echo "#LoadModule lbmethod_heartbeat_module    modules/mod_lbmethod_heartbeat.so" >> $CFG/00_mod_lbmethod.conf
+echo "LoadModule log_debug_module      modules/mod_log_debug.so" > $CFG/00_mod_log_debug.conf
+echo "LoadModule ratelimit_module      modules/mod_ratelimit.so" > $CFG/00_mod_ratelimit.conf
+echo "LoadModule reflector_module      modules/mod_reflector.so" > $CFG/00_mod_reflector.conf
+echo "LoadModule remoteip_module       modules/mod_remoteip.so" > $CFG/00_mod_remoteip.conf
+echo "LoadModule request_module        modules/mod_request.so" > $CFG/00_mod_request.conf
+echo "LoadModule sed_module    modules/mod_sed.so" > $CFG/00_mod_sed.conf
+echo "LoadModule session_module        modules/mod_session.so" > $CFG/00_mod_session.conf
+echo "#LoadModule session_cookie_module        modules/mod_sessioni_cookie.so" >> $CFG/00_mod_session.conf
+echo "#LoadModule session_dbd_module   modules/mod_session_dbd.so" >> $CFG/00_mod_session.conf
+echo "LoadModule slotmem_plain_module  modules/mod_slotmem_plain.so" > $CFG/00_mod_slotmem.conf
+echo "#LoadModule slotmem_shm_module   modules/mod_slotmem_shm.so" >> $CFG/00_mod_slotmem.conf
+echo "#LoadModule socache_dbm_module   modules/mod_socache_dbm.so" > $CFG/00_mod_socache.conf
+echo "#LoadModule socache_memcache_module      modules/mod_socache_memcache.so" >> $CFG/00_mod_socache.conf
+echo "#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so" >> $CFG/00_mod_socache.conf
+echo "LoadModule unixd_module  modules/mod_unixd.so" > $CFG/00_mod_unixd.conf
+echo "LoadModule watchdog_module       modules/mod_watchdog.so" > $CFG/00_mod_watchdog.conf
+echo "LoadModule xml2enc_module        modules/mod_xml2enc.so" > $CFG/00_mod_xml2enc.conf
 
 # anything in style dir not ending with .css is trash
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/manual/style/{lang,latex,xsl}
@@ -2017,10 +2327,6 @@ s/^.*\.\(pt-br\)/%%lang(pt_BR) &/
 ' >> "$cur/manual.files"
 cd $cur
 
-# htpasswd goes to %{_bindir}
-mv $RPM_BUILD_ROOT%{_sbindir}/htpasswd $RPM_BUILD_ROOT%{_bindir}
-ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}
-
 # cgi_test: create config file with ScriptAlias
 cat << 'EOF' > $CFG/09_cgi_test.conf
 ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
@@ -2035,7 +2341,6 @@ ln -sf suexec $RPM_BUILD_ROOT%{_sbindir}/suexec.fcgi
 %{__rm} $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
 %{__rm} $RPM_BUILD_ROOT%{_libexecdir}/*.exp
 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
-%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.prefork.conf
 %{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/{extra,original}
 
 %clean
@@ -2064,6 +2369,15 @@ if [ ! -L /etc/httpd/httpd.conf ]; then
        install -d /etc/httpd
        ln -s conf.d /etc/httpd/httpd.conf
 fi
+if [ -f /etc/sysconfig/httpd ]; then
+       MPM=$(grep HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g')
+       if [ -n $MPM ]; 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
+       fi
+fi
+
 exit 0
 
 %post base
@@ -2169,6 +2483,24 @@ Please report bugs to <http://bugs.pld-linux.org/>.
 
 EOF
 
+%triggerpostun base -- %{name} < 2.4.0
+%banner %{name}-2.4.1 << 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:
+poldek -ivh %{name}-mod_access_compat
+
+In apache-2.4 mod_authn_default and mod_authz_default have been obsoleted by
+mod_authn_core and authz_core. If you used these modules install the new ones by invoking:
+poldek -ivh %{name}-mod_authn_core
+and/or
+poldek -ivh %{name}-mod_authz_core
+
+For more information on how to upgrade from Apache 2.2 visit:
+http://httpd.apache.org/docs/2.4/upgrading.html
+EOF
+
+
 %triggerpostun mod_ssl -- %{name}-mod_ssl < 1:2.2.0-3.1
 cp -f /etc/httpd/conf.d/40_mod_ssl.conf{,.rpmsave}
 sed -i -e '
@@ -2213,20 +2545,18 @@ fi
 %module_postun
 
 %module_scripts mod_actions
-%module_scripts mod_alias
 %module_scripts mod_asis
 %module_scripts mod_auth_basic
 %module_scripts mod_auth_dbm
 %module_scripts mod_auth_digest
-%module_scripts mod_authn_alias
 %module_scripts mod_authn_anon
 %module_scripts mod_authn_dbd
 %module_scripts mod_authn_dbm
-%module_scripts mod_authn_default
+%module_scripts mod_authn_core
 %module_scripts mod_authn_file
 %module_scripts mod_authnz_ldap
 %module_scripts mod_authz_dbm
-%module_scripts mod_authz_default
+%module_scripts mod_authz_core
 %module_scripts mod_authz_groupfile
 %module_scripts mod_authz_host
 %module_scripts mod_authz_owner
@@ -2277,6 +2607,29 @@ fi
 %module_scripts mod_version
 %module_scripts mod_vhost_alias
 %module_scripts suexec
+%module_scripts mod_access_compat
+%module_scripts mod_allowmethods
+%module_scripts mod_auth_form
+%module_scripts mod_authn_socache
+%module_scripts mod_authz_dbd
+%module_scripts mod_buffer
+%module_scripts mod_data
+%module_scripts mod_dialup
+%module_scripts mod_heartbeat
+%module_scripts mod_heartmonitor
+%module_scripts mod_lbmethod
+%module_scripts mod_log_debug
+%module_scripts mod_ratelimit
+%module_scripts mod_reflector
+%module_scripts mod_remoteip
+%module_scripts mod_request
+%module_scripts mod_sed
+%module_scripts mod_session
+%module_scripts mod_slotmem
+%module_scripts mod_socache
+%module_scripts mod_unixd
+%module_scripts mod_watchdog
+%module_scripts mod_xml2enc
 
 %post cgi_test
 if [ "$1" = "1" ]; then
@@ -2310,7 +2663,6 @@ fi
 %{_sysconfdir}/modules
 %{_sysconfdir}/run
 %{_sysconfdir}/logs
-%ghost %{_sysconfdir}/httpd.conf
 %attr(750,root,root) %dir %{_sysconfdir}/conf.d
 %attr(750,root,root) %dir %{_sysconfdir}/vhosts.d
 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
@@ -2321,12 +2673,15 @@ fi
 %attr(640,root,root) %{_sysconfdir}/magic
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/httpd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
+# MPM modules
+%attr(755,root,root) %{_libexecdir}/mod_mpm_event.so
+%attr(755,root,root) %{_libexecdir}/mod_mpm_prefork.so
+%attr(755,root,root) %{_libexecdir}/mod_mpm_worker.so
 
 %dir %{_libexecdir}
 
 %attr(755,root,root) %{_sbindir}/checkgid
 %attr(755,root,root) %{_sbindir}/httpd
-%attr(755,root,root) %{_sbindir}/httpd.*
 
 %dir %attr(770,root,http) /var/run/httpd
 %dir %attr(770,root,http) /var/cache/httpd
@@ -2358,6 +2713,7 @@ fi
 
 %files suexec
 %defattr(644,root,root,755)
+%attr(4755,root,root) %{_sbindir}/fcgistarter
 %attr(4755,root,root) %{_sbindir}/suexec
 %attr(755,root,root) %{_sbindir}/suexec.fcgi
 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
@@ -2370,10 +2726,10 @@ fi
 
 %files tools
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/ab
+%attr(755,root,root) %{_bindir}/ab
 %attr(755,root,root) %{_sbindir}/apachectl
-%attr(755,root,root) %{_sbindir}/htdigest
-%attr(755,root,root) %{_sbindir}/logresolve
+%attr(755,root,root) %{_bindir}/htdigest
+%attr(755,root,root) %{_bindir}/logresolve
 %attr(755,root,root) %{_sbindir}/rotatelogs
 %{_mandir}/man1/ab.1*
 %{_mandir}/man8/apachectl.8*
@@ -2383,7 +2739,7 @@ fi
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/apxs
+%attr(755,root,root) %{_bindir}/apxs
 %attr(755,root,root) %{_sbindir}/envvars*
 %dir %{_libexecdir}
 %dir %{_libexecdir}/build
@@ -2424,11 +2780,6 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_digest.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
 
-%files mod_authn_alias
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_alias.conf
-%attr(755,root,root) %{_libexecdir}/mod_authn_alias.so
-
 %files mod_authn_anon
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_anon.conf
@@ -2444,10 +2795,10 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_dbm.conf
 %attr(755,root,root) %{_libexecdir}/mod_authn_dbm.so
 
-%files mod_authn_default
+%files mod_authn_core
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_default.conf
-%attr(755,root,root) %{_libexecdir}/mod_authn_default.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_core.conf
+%attr(755,root,root) %{_libexecdir}/mod_authn_core.so
 
 %files mod_authn_file
 %defattr(644,root,root,755)
@@ -2466,10 +2817,10 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_dbm.conf
 %attr(755,root,root) %{_libexecdir}/mod_authz_dbm.so
 
-%files mod_authz_default
+%files mod_authz_core
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_default.conf
-%attr(755,root,root) %{_libexecdir}/mod_authz_default.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_core.conf
+%attr(755,root,root) %{_libexecdir}/mod_authz_core.so
 
 %files mod_authz_groupfile
 %defattr(644,root,root,755)
@@ -2508,8 +2859,7 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cache.conf
 %attr(755,root,root) %{_sbindir}/htcacheclean
 %attr(755,root,root) %{_libexecdir}/mod_cache.so
-%attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
-%attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
+%attr(755,root,root) %{_libexecdir}/mod_cache_disk.so
 %{_mandir}/man8/htcacheclean.8*
 
 %files mod_case_filter
@@ -2673,7 +3023,7 @@ fi
 
 %files mod_rewrite
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/httxt2dbm
+%attr(755,root,root) %{_bindir}/httxt2dbm
 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_rewrite.conf
 %{_mandir}/man1/httxt2dbm.1*
 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf
 
+%files mod_access_compat
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_access_compat.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_access_compat.conf
+
+%files mod_allowmethods
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_allowmethods.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_allowmethods.conf
+
+%files mod_auth_form
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_auth_form.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_form.conf
+
+%files mod_authn_socache
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_authn_socache.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_socache.conf
+
+%files mod_authz_dbd
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_authz_dbd.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_dbd.conf
+
+%files mod_buffer
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_buffer.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_buffer.conf
+
+%files mod_data
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_data.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_data.conf
+
+%files mod_dialup
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_dialup.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dialup.conf
+
+%files mod_heartbeat
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_heartbeat.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_heartbeat.conf
+
+%files mod_heartmonitor
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_heartmonitor.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_heartmonitor.conf
+
+%files mod_lbmethod
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_lbmethod_bybusyness.so
+%attr(755,root,root) %{_libexecdir}/mod_lbmethod_byrequests.so
+%attr(755,root,root) %{_libexecdir}/mod_lbmethod_bytraffic.so
+%attr(755,root,root) %{_libexecdir}/mod_lbmethod_heartbeat.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_lbmethod.conf
+
+%files mod_log_debug
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_log_debug.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_debug.conf
+
+%files mod_ratelimit
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_ratelimit.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_ratelimit.conf
+
+%files mod_reflector
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_reflector.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_reflector.conf
+
+%files mod_remoteip
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_remoteip.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_remoteip.conf
+
+%files mod_request
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_request.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_request.conf
+
+%files mod_sed
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_sed.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_sed.conf
+
+%files mod_session
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_session.so
+%attr(755,root,root) %{_libexecdir}/mod_session_cookie.so
+%attr(755,root,root) %{_libexecdir}/mod_session_dbd.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_session.conf
+
+%files mod_slotmem
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_slotmem_plain.so
+%attr(755,root,root) %{_libexecdir}/mod_slotmem_shm.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_slotmem.conf
+
+%files mod_socache
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_socache_dbm.so
+%attr(755,root,root) %{_libexecdir}/mod_socache_shmcb.so
+%attr(755,root,root) %{_libexecdir}/mod_socache_memcache.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_socache.conf
+
+%files mod_unixd
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_unixd.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_unixd.conf
+
+%files mod_watchdog
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_watchdog.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_watchdog.conf
+
+%files mod_xml2enc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libexecdir}/mod_xml2enc.so
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_xml2enc.conf
+
 %files -n htpasswd-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/htpasswd
-%attr(755,root,root) %{_sbindir}/htpasswd
 %{_mandir}/man1/htpasswd.1*
 
 %files dbmtools
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/dbmmanage
-%attr(755,root,root) %{_sbindir}/htdbm
+%attr(755,root,root) %{_bindir}/dbmmanage
+%attr(755,root,root) %{_bindir}/htdbm
 %{_mandir}/man1/dbmmanage.1*
 %{_mandir}/man1/htdbm.1*