# # TODO:
+# - enable new modules: https://httpd.apache.org/docs/2.4/new_features_2_4.html
+# - mod_lua
+# - mod_proxy_fcgi, mod_proxy_scgi
# - config examples for mod_*
# - --with-suexec-uidmin=500 or =1000 ?
# - check those autn modules inner deps
# Conditional build:
%bcond_without ssl # build without SSL support
%bcond_without ldap # build without LDAP support
-%bcond_without peruser # peruser MPM
-%bcond_without event # event MPM
%bcond_with itk # ITK MPM
%bcond_with distcache # distcache support
%bcond_with bucketeer # debug one
Patch23: %{name}-suexec_fcgi.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
+Patch26: %{name}-mod_vhost_alias_docroot.patch
# http://mpm-itk.sesse.net/
-Patch28: apache-mpm-itk.patch
+Patch28: %{name}-mpm-itk.patch
Patch29: libtool-tag.patch
URL: http://httpd.apache.org/
BuildRequires: apr-devel >= %{apr_ver}
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Requires: /sbin/chkconfig
-Requires: %{name}-mod_unixd = %{version}-%{release}
Requires: apr >= %{apr_ver}
Requires: psmisc >= 20.1
Requires: rc-scripts >= 0.4.1.23
desenvolver módulos adicionais para o Apache.
%package mod_access_compat
-Summary: Group authorizations based on host (name or IPaddress)
+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
-Group authorizations based on host (name or IPaddress)
+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_actions
Summary: Apache module for executing CGI scripts based on media type or request method
Provides: apache(mod_allowmethods) = %{version}-%{release}
%description mod_allowmethods
-Easily restrict what HTTP methods can be used on the server
+This module makes it easy to restrict what HTTP methods can used on an
+server.
%package mod_asis
Summary: Sends files that contain their own HTTP headers
Provides: apache(mod_auth_form) = %{version}-%{release}
%description mod_auth_form
-Form authentication
-
-%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.4/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.
+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_anon
Summary: Apache module that allows "anonymous" user access to authenticated areas
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_anon.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authn_core = %{version}-%{release}
Provides: apache(mod_authn_anon) = %{version}-%{release}
# compat
Provides: apache(mod_auth_anon) = %{version}-%{release}
być logowane.
%package mod_authn_core
-Summary: Core Authentication
+Summary: Apache module that provides core authentication directives
+Summary(pl.UTF-8): Moduł Apache'a udostępniający podstawowe dyrektywy dotyczące uwierzytelniania
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_core.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_authn_core) = %{version}-%{release}
+Provides: apache(mod_authn_default) = %{version}-%{release}
+Obsoletes: apache(mod_authn_alias)
+Obsoletes: apache-mod_authn_default < %{version}-%{release}
%description mod_authn_core
-Core Authentication
+This module provides core authentication capabilities to allow or deny
+access to portions of the web site. mod_authn_core provides directives
+that are common to all authentication providers.
+
+%description mod_authn_core -l pl.UTF-8
+Ten moduł dostarcza podstawowych funkcjonalności uwierzytelniania
+umożliwiając na kontrolę dostępu do części serwisu.
%package mod_authn_dbd
Summary: Apache module that allows user authentication using an SQL
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authn_core = %{version}-%{release}
Requires: %{name}-mod_dbd = %{version}-%{release}
Provides: apache(mod_authn_dbd) = %{version}-%{release}
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_dbm.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authn_core = %{version}-%{release}
Provides: apache(mod_authn_dbm) = %{version}-%{release}
%description mod_authn_dbm
mod_auth_digest i mod_auth_basic uwierzytelnianie użytkowników poprzez
wyszukiwanie w tabelach haseł DBM.
-%package mod_authn_default
-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.4/mod/mod_authn_default.html
-Requires: %{name}-base = %{version}-%{release}
-Provides: apache(mod_authn_default) = %{version}-%{release}
-
-%description mod_authn_default
-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
-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
-przez użytkownika.
-
%package mod_authn_file
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.4/mod/mod_authn_file.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authn_core = %{version}-%{release}
Provides: apache(mod_authn_file) = %{version}-%{release}
%description mod_authn_file
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authn_socache.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authn_core = %{version}-%{release}
Provides: apache(mod_authn_socache) = %{version}-%{release}
%description mod_authn_socache
-Manages a cache of authentication credentials to relievethe load on backends
+This module maintains a cache of authentication credentials, so that a
+new backend lookup is not required for every authenticated request.
%package mod_authnz_ldap
Summary: Apache module that allows an LDAP directory to be used to store the database for HTTP Basic authentication
mod_auth_basic uwierzytelnianie użytkowników poprzez katalog LDAP.
%package mod_authz_core
-Summary: Core Authorization
+Summary: Apache module that provides core authentication directives
+Summary(pl.UTF-8): Moduł Apache'a udostępniający podstawowe dyrektywy dotyczące uwierzytelniania
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_authz_core) = %{version}-%{release}
+Provides: apache(mod_authz_default) = %{version}-%{release}
+Obsoletes: apache-mod_authz_default < %{version}-%{release}
%description mod_authz_core
-Core Authorization
+This module provides core authentication capabilities to allow or deny
+access to portions of the web site. mod_authz_core provides directives
+that are common to all authentication providers.
+
+%description mod_authz_core -l pl.UTF-8
+Ten moduł dostarcza podstawowych funkcjonalności uwierzytelniania
+umożliwiając na kontrolę dostępu do części serwisu.
%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}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
+Requires: %{name}-mod_dbd = %{version}-%{release}
Provides: apache(mod_authz_dbd) = %{version}-%{release}
%description mod_authz_dbd
-Group Authorization and Login using SQL
+This module provides authorization capabilities so that authenticated
+users can be allowed or denied access to portions of the web site by
+group membership. Similar functionality is provided by
+mod_authz_groupfile and mod_authz_dbm, with the exception that this
+module queries a SQL database to determine whether a user is a member
+of a group.
+
+This module can also provide database-backed user login/logout
+capabilities. These are likely to be of most value when used in
+conjunction with mod_authn_dbd.
+
+This module relies on mod_dbd to specify the backend database driver
+and connection parameters, and manage the database connections.
%package mod_authz_dbm
Summary: Apache module that allows group authorization using DBM files
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
Provides: apache(mod_authz_dbm) = %{version}-%{release}
%description mod_authz_dbm
WWW dla uwierzytelnionych użytkowników na podstawie ich przynależności
do grupy zapisywanej w pliku DBM.
-%package mod_authz_default
-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.4/mod/mod_authz_default.html
-Requires: %{name}-base = %{version}-%{release}
-Provides: apache(mod_authz_default) = %{version}-%{release}
-
-%description mod_authz_default
-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
-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
-autoryzacji.
-
%package mod_authz_groupfile
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.4/mod/mod_authz_groupfile.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
Provides: apache(mod_authz_groupfile) = %{version}-%{release}
%description mod_authz_groupfile
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_authz_host.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
# provides compatibility directives for 2.2-style access control
Requires: apache(mod_access_compat) = %{version}-%{release}
Provides: apache(mod_authz_host) = %{version}-%{release}
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/en/mod/mod_authz_owner.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
#Requires: any-auth-module
Provides: apache(mod_authz_owner) = %{version}-%{release}
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/en/mod/mod_authz_user.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_authz_core = %{version}-%{release}
Provides: apache(mod_authz_user) = %{version}-%{release}
%description mod_authz_user
Provides: apache(mod_buffer) = %{version}-%{release}
%description mod_buffer
-Support for request buffering
+This module provides the ability to buffer the input and output filter
+stacks.
+
+Under certain circumstances, content generators might create content
+in small chunks. In order to promote memory reuse, in memory chunks
+are always 8k in size, regardless of the size of the chunk itself.
+When many small chunks are generated by a request, this can create a
+large memory footprint while the request is being processed, and an
+unnecessarily large amount of data on the wire. The addition of a
+buffer collapses the response into the fewest chunks possible.
+
+When httpd is used in front of an expensive content generator,
+buffering the response may allow the backend to complete processing
+and release resources sooner, depending on how the backend is
+designed.
%package mod_cache
Summary: Content cache keyed to URIs
Provides: apache(mod_data) = %{version}-%{release}
%description mod_data
-Convert response body into an RFC2397 data URL
+This module provides the ability to convert a response into an RFC2397
+data URL.
+
+Data URLs can be embedded inline within web pages using something like
+the mod_include module, to remove the need for clients to make
+separate connections to fetch what may potentially be many small
+images. Data URLs may also be included into pages generated by
+scripting languages such as PHP.
%package mod_dav
Summary: Apache module - Distributed Authoring and Versioning
Provides: apache(mod_dialup) = %{version}-%{release}
%description mod_dialup
-Send static content at a bandwidth rate limit, defined by the various old modem standards
+t is a module that sends static content at a bandwidth rate limit,
+defined by the various old modem standards. So, you can browse your
+site with a 56k V.92 modem.
%package mod_dir
Summary: Apache module for "trailing slash" redirects and serving directory index files
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
-sends messages with server status to frontend proxy
+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
-centralized monitor for mod_heartbeat origin servers
+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_ident
Summary: RFC 1413 ident lookups
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bybusyness.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_proxy = %{version}-%{release}
Provides: apache(mod_lbmethod_bybusyness) = %{version}-%{release}
%description mod_lbmethod_bybusyness
-Pending Request Counting load balancer scheduler algorithm for mod_proxy_balancer
+Pending Request Counting load balancer scheduler algorithm for
+mod_proxy_balancer.
%package mod_lbmethod_byrequests
Summary: Request Counting load balancer scheduler algorithm for mod_proxy_balancer
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_byrequests.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_proxy = %{version}-%{release}
Provides: apache(mod_lbmethod_byrequests) = %{version}-%{release}
%description mod_lbmethod_byrequests
-Request Counting load balancer scheduler algorithm for mod_proxy_balancer
+Request Counting load balancer scheduler algorithm for
+mod_proxy_balancer.
%package mod_lbmethod_bytraffic
Summary: Weighted Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bytraffic.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_proxy = %{version}-%{release}
Provides: apache(mod_lbmethod_bytraffic) = %{version}-%{release}
%description mod_lbmethod_bytraffic
-Weighted Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer
+Weighted Traffic Counting load balancer scheduler algorithm for
+mod_proxy_balancer.
%package mod_lbmethod_heartbeat
Summary: Heartbeat Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer
Group: Networking/Daemons/HTTP
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_heartbeat) = %{version}-%{release}
%description mod_lbmethod_heartbeat
-Heartbeat Traffic Counting load balancer scheduler algorithm for mod_proxy_balancer
+Heartbeat Traffic Counting load balancer scheduler algorithm for
+mod_proxy_balancer.
%package mod_ldap
Summary: Apache module for LDAP connection pooling and result caching services for other LDAP modules
Provides: apache(mod_log_debug) = %{version}-%{release}
%description mod_log_debug
-Additional configurable debug logging
+Additional configurable debug logging.
%package mod_log_forensic
Summary: Forensic Logging of the requests made to the server
Provides: apache(mod_ratelimit) = %{version}-%{release}
%description mod_ratelimit
-Bandwidth Rate Limiting for Clients
+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.
+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
-Reflect a request body as a response via the output filter stack.
+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 connectionwith the useragent IP address list presented by a proxies or a load balancervia the request headers.
+Summary: Replaces the original client IP address for the connectionwith the useragent IP address list presented by a proxies or a load balancervia the request headers
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 connectionwith the useragent IP address list presented by a proxies or a load balancervia the request headers.
+This module is used to treat the useragent which initiated the request
+as the originating useragent as identified by httpd for the purposes
+of authorization and logging, even where that useragent is behind a
+load balancer, front end server, or proxy server.
+
+The module overrides the client IP address for the connection with the
+useragent IP address reported in the request header configured with
+the RemoteIPHeader directive.
+
+Once replaced as instructed, this overridden useragent IP address is
+then used for the mod_authz_host <Require ip> feature, is reported by
+mod_status, and is recorded by mod_log_config %a and core %a format
+strings. The underlying client IP of the connection is available in
+the %{c}a format string.
%package mod_reqtimeout
Summary: Apache module to set timeout and minimum data rate for receiving requests
Provides: apache(mod_sed) = %{version}-%{release}
%description mod_sed
-Filter Input (request) and Output (response) content using sed syntax
+mod_sed is an in-process content filter. The mod_sed filter implements
+the sed editing commands implemented by the Solaris 10 sed program as
+described in the manual page. However, unlike sed, mod_sed doesn't
+take data from standard input. Instead, the filter acts on the entity
+data sent between client and server. mod_sed can be used as an input
+or output filter. mod_sed is a content filter, which means that it
+cannot be used to modify client or server http headers.
+
+The mod_sed output filter accepts a chunk of data, executes the sed
+scripts on the data, and generates the output which is passed to the
+next filter in the chain.
+
+The mod_sed input filter reads the data from the next filter in the
+chain, executes the sed scripts, and returns the generated data to the
+caller filter in the filter chain.
+
+Both the input and output filters only process the data if newline
+characters are seen in the content. At the end of the data, the rest
+of the data is treated as the last line.
%package mod_session
Summary: Session support
Provides: apache(mod_session) = %{version}-%{release}
%description mod_session
-Session support
+This module provides support for a server wide per user session
+interface. Sessions can be used for keeping track of whether a user
+has been logged in, or for other per user information that should be
+kept available across requests.
+
+Sessions may be stored on the server, or may be stored on the browser.
+Sessions may also be optionally encrypted for added security. These
+features are divided into several modules in addition to mod_session;
+mod_session_crypto, mod_session_cookie and mod_session_dbd. Depending
+on the server requirements, load the appropriate modules into the
+server (either statically at compile time or dynamically via the
+LoadModule directive).
+
+Sessions may be manipulated from other modules that depend on the
+session, or the session may be read from and written to using
+environment variables and HTTP headers, as appropriate.
%package mod_session_cookie
Summary: Cookie based session support
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_session_cookie.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_session = %{version}-%{release}
Provides: apache(mod_session_cookie) = %{version}-%{release}
%description mod_session_cookie
-Cookie based session support
+This submodule of mod_session provides support for the storage of user
+sessions on the remote browser within HTTP cookies.
+
+Using cookies to store a session removes the need for the server or a
+group of servers to store the session locally, or collaborate to share
+a session, and can be useful for high traffic environments where a
+server based session might be too resource intensive.
%package mod_session_crypto
Summary: Session encryption support
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_session_crypto.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_session = %{version}-%{release}
Provides: apache(mod_session_crypto) = %{version}-%{release}
%description mod_session_crypto
-Session encryption support
+This submodule of mod_session provides support for the encryption of
+user sessions before being written to a local database, or written to
+a remote browser via an HTTP cookie.
+
+This can help provide privacy to user sessions where the contents of
+the session should be kept private from the user, or where protection
+is needed against the effects of cross site scripting attacks.
%package mod_session_dbd
Summary: DBD/SQL based session support
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_session_dbd.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_dbd = %{version}-%{release}
+Requires: %{name}-mod_session = %{version}-%{release}
Provides: apache(mod_session_dbd) = %{version}-%{release}
%description mod_session_dbd
-DBD/SQL based session support
+This submodule of mod_session provides support for the storage of user
+sessions within a SQL database using the mod_dbd module.
+
+Sessions can either be anonymous, where the session is keyed by a
+unique UUID string stored on the browser in a cookie, or per user,
+where the session is keyed against the userid of the logged in user.
+
+SQL based sessions are hidden from the browser, and so offer a measure
+of privacy without the need for encryption.
+
+Different webservers within a server farm may choose to share a
+database, and so share sessions with one another.
%package mod_setenvif
Summary: Allows the setting of environment variables based on characteristics of the request
części serwera do podejmowania decyzji o podejmowanych akcjach.
%package mod_slotmem_plain
-Summary: Slot-based shared memory provider.
+Summary: Slot-based shared memory provider
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_slotmem_plain.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_slotmem_plain) = %{version}-%{release}
%description mod_slotmem_plain
-Slot-based shared memory provider.
+mod_slotmem_plain is a memory provider which provides for creation and
+access to a plain memory segment in which the datasets are organized
+in "slots."
+
+If the memory needs to be shared between threads and processes, a
+better provider would be mod_slotmem_shm.
%package mod_slotmem_shm
-Summary: Slot-based shared memory provider.
+Summary: Slot-based shared memory provider
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_slotmem_shm.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_slotmem_shm) = %{version}-%{release}
%description mod_slotmem_shm
-Slot-based shared memory provider.
+mod_slotmem_shm is a memory provider which provides for creation and
+access to a shared memory segment in which the datasets are organized
+in "slots."
+
+All shared memory is cleared and cleaned with each restart, whether
+graceful or not. The data itself is stored and restored within a file
+noted by the name parameter in the create and attach calls.
%package mod_socache_dbm
-Summary: DBM based shared object cache provider.
+Summary: DBM based shared object cache provider
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_socache_dbm.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_socache_dbm) = %{version}-%{release}
%description mod_socache_dbm
-DBM based shared object cache provider.
+mod_socache_dbm is a shared object cache provider which provides for
+creation and access to a cache backed by a DBM database.
%package mod_socache_memcache
-Summary: Memcache based shared object cache provider.
+Summary: Memcache based shared object cache provider
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_socache_memcache.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_socache_memcache) = %{version}-%{release}
%description mod_socache_memcache
-Memcache based shared object cache provider.
+mod_socache_memcache is a shared object cache provider which provides
+for creation and access to a cache backed by the memcached
+high-performance, distributed memory object caching system.
%package mod_socache_shmcb
-Summary: shmcb based shared object cache provider.
+Summary: shmcb based shared object cache provider
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_socache_shmcb.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_socache_shmcb) = %{version}-%{release}
%description mod_socache_shmcb
-shmcb based shared object cache provider.
+mod_socache_shmcb is a shared object cache provider which provides for
+creation and access to a cache backed by a high-performance cyclic
+buffer inside a shared memory segment.
%package mod_speling
Summary: Attempts to correct mistaken URLs by ignoring capitalization and by allowing up to one misspelling
Group: Networking/Daemons/HTTP
URL: http://httpd.apache.org/docs/2.4/mod/mod_ssl.html
Requires: %{name}-base = %{version}-%{release}
+Requires: %{name}-mod_socache_shmcb = %{version}-%{release}
Requires: openssl >= %{openssl_ver}
%if "%{pld_release}" != "ac"
Requires: apr-util-dbm-db
maszyn. Moduł ustawia przy każdym zapytaniu zmienną środowiskową
UNIQUE_ID.
-%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_userdir
Summary: User-specific directories
Summary(pl.UTF-8): Katalogi specyficzne dla użytkowników
Provides: apache(mod_watchdog) = %{version}-%{release}
%description mod_watchdog
-provides infrastructure for other modules to periodically run tasks
+mod_watchdog defines programmatic hooks for other modules to
+periodically run tasks. These modules can register handlers for
+mod_watchdog hooks.
+
+Currently, the following modules in the Apache distribution use this
+functionality:
+- mod_heartbeat
+- mod_heartmonitor
%package mod_xml2enc
Summary: Enhanced charset/internationalisation support for libxml2-basedfilter modules
Provides: apache(mod_xml2enc) = %{version}-%{release}
%description mod_xml2enc
-Enhanced charset/internationalisation support for libxml2-basedfilter modules
+This module provides enhanced internationalisation support for
+markup-aware filter modules such as mod_proxy_html. It can
+automatically detect the encoding of input data and ensure they are
+correctly processed by the libxml2 parser, including converting to
+Unicode (UTF-8) where necessary. It can also convert data to an
+encoding of choice after markup processing, and will ensure the
+correct charset value is set in the HTTP Content-Type header.
%package -n htpasswd-%{name}
Summary: Apache 2 htpasswd utility: manage user files for basic authentication
$RPM_BUILD_ROOT%{_var}/{log/{httpd,archive/httpd},{run,cache}/httpd,lock/mod_dav} \
$RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d,vhosts.d} \
$RPM_BUILD_ROOT%{_datadir}/{cgi-bin,vhosts} \
- $RPM_BUILD_ROOT/usr/lib/tmpfiles.d \
+ $RPM_BUILD_ROOT%{systemdtmpfilesdir} \
$RPM_BUILD_ROOT%{systemdunitdir}
%{__make} -C build install \
cp -a %{SOURCE22} $CFG/20_languages.conf
cp -a %{SOURCE29} $RPM_BUILD_ROOT%{_sysconfdir}/vhosts.d/example.net.conf
-install %{SOURCE30} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+install %{SOURCE30} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
echo "LoadModule access_compat_module modules/mod_access_compat.so" > $CFG/00_mod_access_compat.conf
echo "LoadModule actions_module modules/mod_actions.so" > $CFG/00_mod_actions.conf
echo "LoadModule auth_basic_module modules/mod_auth_basic.so" > $CFG/00_mod_auth_basic.conf
echo "LoadModule auth_digest_module modules/mod_auth_digest.so" > $CFG/00_mod_auth_digest.conf
echo "LoadModule auth_form_module modules/mod_auth_form.so" > $CFG/00_mod_auth_form.conf
-echo "LoadModule authn_alias_module modules/mod_authn_alias.so" > $CFG/00_mod_authn_alias.conf
echo "LoadModule authn_anon_module modules/mod_authn_anon.so" > $CFG/00_mod_authn_anon.conf
echo "LoadModule authn_core_module modules/mod_authn_core.so" > $CFG/00_mod_authn_core.conf
echo "LoadModule authn_dbd_module modules/mod_authn_dbd.so" > $CFG/00_mod_authn_dbd.conf
echo "LoadModule authn_dbm_module modules/mod_authn_dbm.so" > $CFG/00_mod_authn_dbm.conf
-echo "LoadModule authn_default_module modules/mod_authn_default.so" > $CFG/00_mod_authn_default.conf
echo "LoadModule authn_file_module modules/mod_authn_file.so" > $CFG/00_mod_authn_file.conf
echo "LoadModule authn_socache_module modules/mod_authn_socache.so" > $CFG/00_mod_authn_socache.conf
echo "LoadModule authnz_ldap_module modules/mod_authnz_ldap.so" > $CFG/00_mod_authnz_ldap.conf
echo "LoadModule authz_core_module modules/mod_authz_core.so" > $CFG/00_mod_authz_core.conf
echo "LoadModule authz_dbd_module modules/mod_authz_dbd.so" > $CFG/00_mod_authz_dbd.conf
echo "LoadModule authz_dbm_module modules/mod_authz_dbm.so" > $CFG/00_mod_authz_dbm.conf
-echo "LoadModule authz_default_module modules/mod_authz_default.so" > $CFG/00_mod_authz_default.conf
echo "LoadModule authz_groupfile_module modules/mod_authz_groupfile.so" > $CFG/00_mod_authz_groupfile.conf
echo "LoadModule authz_owner_module modules/mod_authz_owner.so" > $CFG/00_mod_authz_owner.conf
echo "LoadModule authz_user_module modules/mod_authz_user.so" > $CFG/00_mod_authz_user.conf
echo "LoadModule file_cache_module modules/mod_file_cache.so" > $CFG/00_mod_file_cache.conf
echo "LoadModule filter_module modules/mod_filter.so" > $CFG/00_mod_filter.conf
echo "LoadModule headers_module modules/mod_headers.so" > $CFG/00_mod_headers.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 heartbeat_module modules/mod_heartbeat.so" > $CFG/01_mod_heartbeat.conf
+echo "LoadModule heartmonitor_module modules/mod_heartmonitor.so" > $CFG/01_mod_heartmonitor.conf
echo "LoadModule ident_module modules/mod_ident.so" > $CFG/00_mod_ident.conf
echo "LoadModule imagemap_module modules/mod_imagemap.so" > $CFG/00_mod_imagemap.conf
echo "LoadModule include_module modules/mod_include.so" > $CFG/00_mod_include.conf
echo "LoadModule speling_module modules/mod_speling.so" > $CFG/00_mod_speling.conf
echo "LoadModule substitute_module modules/mod_substitute.so" > $CFG/00_mod_substitute.conf
echo "LoadModule unique_id_module modules/mod_unique_id.so" > $CFG/00_mod_unique_id.conf
-echo "LoadModule unixd_module modules/mod_unixd.so" > $CFG/00_mod_unixd.conf
echo "LoadModule usertrack_module modules/mod_usertrack.so" > $CFG/00_mod_usertrack.conf
echo "LoadModule version_module modules/mod_version.so" > $CFG/00_mod_version.conf
echo "LoadModule watchdog_module modules/mod_watchdog.so" > $CFG/00_mod_watchdog.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
fi
%systemd_trigger httpd.service
+%triggerpostun base -- %{name} < 2.4.0
+cp -f /etc/httpd/apache.conf{,.rpmsave}
+sed -i -e '
+ /^DefaultType/d
+ /^Include / s,^Include ,IncludeOptional ,
+ /^NameVirtualHost/d
+ /^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/d
+' /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_auth_dbm
%module_scripts mod_auth_digest
%module_scripts mod_auth_form
-%module_scripts mod_authn_alias
%module_scripts mod_authn_anon
%module_scripts mod_authn_core
%module_scripts mod_authn_dbd
%module_scripts mod_authn_dbm
-%module_scripts mod_authn_default
%module_scripts mod_authn_file
%module_scripts mod_authn_socache
%module_scripts mod_authnz_ldap
%module_scripts mod_authz_core
%module_scripts mod_authz_dbd
%module_scripts mod_authz_dbm
-%module_scripts mod_authz_default
%module_scripts mod_authz_groupfile
%module_scripts mod_authz_host
%module_scripts mod_authz_owner
%module_scripts mod_status
%module_scripts mod_substitute
%module_scripts mod_unique_id
-%module_scripts mod_unixd
%module_scripts mod_userdir
%module_scripts mod_usertrack
%module_scripts mod_version
%dir %attr(770,root,http) /var/run/httpd
%dir %attr(770,root,http) /var/cache/httpd
-/usr/lib/tmpfiles.d/%{name}.conf
+%{systemdtmpfilesdir}/%{name}.conf
%{systemdunitdir}/httpd.service
%config(noreplace) %verify(not md5 mtime size) /etc/systemd/system/httpd.service
%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
%files doc -f manual.files
%defattr(644,root,root,755)
%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_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
%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
-%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
-
%files mod_authn_file
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authn_file.conf
%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
-%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
-
%files mod_authz_groupfile
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_authz_groupfile.conf
%files mod_proxy
%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/fcgistarter
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_proxy.conf
%attr(755,root,root) %{_libexecdir}/mod_proxy*.so
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_unique_id.conf
%attr(755,root,root) %{_libexecdir}/mod_unique_id.so
-%files mod_unixd
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_unixd.conf
-%attr(755,root,root) %{_libexecdir}/mod_unixd.so
-
%files mod_userdir
%defattr(644,root,root,755)
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_userdir.conf