# TODO:
# - config examples for mod_*
# - --with-suexec-uidmin=500 or =1000 ?
-# - subpackages for MPMs
-# - !!!check if all modules (*.so) are exactly the same for different MPMs
# - check those autn modules inner deps
# - for external packages: don't use any apache module name in dep as they
# differ for apache 1.3/2.0/2.2!? any better ideas? rpm Suggests: tags?
-# - for mod_auth_* modules require each auth module to require virtual authn so at least *_default
+# - for mod_auth_* modules require each auth module to require virtual authn so at least *_core
# is chosen?
# - same for mod_authz
# - mod_auth_digest and mod_auth_basic R: apache(authn) ?
-# - 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
%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
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
Version: 2.4.1
-Release: 0.1
+Release: 0.5
License: Apache v2.0
Group: Networking/Daemons/HTTP
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
Obsoletes: apache-mod_optional_fn_import
Obsoletes: apache-mod_optional_fn_import
Obsoletes: apache-mod_optional_hook_import
+Obsoletes: apache(mod_unixd)
Conflicts: apache < 2.2.0
Conflicts: logrotate < 3.7-4
# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
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
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}
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)
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}
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}
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}
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
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}
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}
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}
+Obsoletes: apache(mod_authn_alias)
Obsoletes: apache-mod_authn_default < 2.4
%description mod_authn_core
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}
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
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}
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}
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)
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}
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}
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}
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}
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}
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}
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}
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}
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
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}
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}
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)
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}
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}
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)
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)
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}
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
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}
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}
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}
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
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}
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}
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}
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)
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}
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}
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}
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}
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}
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}
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)
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)
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}
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}
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"
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}
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}
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}
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}
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}
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}
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}
This module provides the ability to buffer the input and output filter
stacks.
-%package mod_cache_disk
-Summary: Disk based storage module for the HTTP caching filter
-Group: Networking/Daemons/HTTP
-URL: http://httpd.apache.org/docs/2.4/mod/mod_cache_disk.html
-Requires: %{name}-base = %{version}-%{release}
-Requires: %{name}-mod_cache = %{version}-%{release}
-Provides: apache(mod_cache_disk) = %{version}-%{release}
-
-%description mod_cache_disk
-Implements a disk based storage manager for mod_cache.
-
%package mod_data
Summary: Convert response body into an RFC2397 data URL
Group: Networking/Daemons/HTTP
%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
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 cache_disk_module modules/mod_cache_disk.so" > $CFG/00_mod_cache_disk.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 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_cookie_module modules/mod_session_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
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
+ sed -i -e 's,HTTPD_MPM.*,,g' /etc/sysconfig/httpd
+ fi
+fi
+
exit 0
%post base
EOF
+%triggerpostun base -- %{name} < 2.4.0
+cp -f /etc/httpd/apache.conf{,.rpmsave}
+sed -i -e '
+ /^DefaultType.*/s,.*,,
+ /^Include /s,^Include ,IncludeOptional ,
+ /^NameVirtualHost.*/s,.*,,
+ /^User/s,^,LoadModule unixd_module modules/mod_unixd.so\n,
+' /etc/httpd/apache.conf
+sed -i -e '
+ s,^LockFile /var/run/httpd/accept.lock,Mutex file:/var/run/httpd/,g
+' /etc/httpd/conf.d/10_mpm.conf
+
%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 '
s,/var/cache/apache,/var/cache/httpd,g
' /etc/httpd/conf.d/40_mod_ssl.conf
+%triggerpostun mod_ssl -- %{name}-mod_ssl < 1:2.4.0
+cp -f /etc/httpd/conf.d/40_mod_ssl.conf{,.rpmsave}
+sed -i -e '
+ /^SSLMutex/s,^,#,
+ /^NameVirtualHost.*/s,.*,,
+' /etc/httpd/conf.d/40_mod_ssl.conf
+
%posttrans base
# restore lock which we disabled in pretrans
mv -f /var/lock/subsys/httpd{.disabled,} 2>/dev/null
%module_scripts mod_authn_socache
%module_scripts mod_authz_dbd
%module_scripts mod_buffer
-%module_scripts mod_cache_disk
%module_scripts mod_data
%module_scripts mod_dialup
%module_scripts mod_heartbeat
%module_scripts mod_session
%module_scripts mod_slotmem
%module_scripts mod_socache
-%module_scripts mod_unixd
%module_scripts mod_watchdog
%module_scripts mod_xml2enc
%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
+# required 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
+%attr(755,root,root) %{_libexecdir}/mod_unixd.so
%dir %{_libexecdir}
%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_cache_disk.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
%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_cache_disk
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libexecdir}/mod_cache_disk.so
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cache_disk.conf
-
%files mod_data
%defattr(644,root,root,755)
%attr(755,root,root) %{_libexecdir}/mod_data.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