From 917666e60d80bc253f79f2a2aa369f3577c184ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Fri, 24 Feb 2012 16:40:06 +0100 Subject: [PATCH] - looooots of modules and their configs, no %files yet --- apache.spec | 342 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 340 insertions(+), 2 deletions(-) diff --git a/apache.spec b/apache.spec index e9a711a..a7599c7 100644 --- a/apache.spec +++ b/apache.spec @@ -1719,6 +1719,313 @@ 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 , +, and 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_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 +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 @@ -1948,7 +2255,6 @@ 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 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 @@ -1997,6 +2303,38 @@ 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 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 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} @@ -2503,7 +2841,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_cache_disk.so #%attr(755,root,root) %{_libexecdir}/mod_mem_cache.so %{_mandir}/man8/htcacheclean.8* -- 2.46.0