]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.spec
- up to 1.3.41
[packages/apache1.git] / apache1.spec
index 52413392e0530f014bb435f50f3a061cbb28e665..ae0847560f6f132ebfb92ae3c5861ac152066fb5 100644 (file)
@@ -1,38 +1,38 @@
-# TODO
-# - split *all* modules to subpackages?
+#
 # Conditional build:
 %bcond_with    rewrite_ldap    # enable ldap map support for mod_rewrite (alpha)
 %bcond_without ipv6            # disable IPv6 support
+%bcond_without lingerd         # don't build lingerd support
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       The most widely used Web server on the Internet
-Summary(cs):   Nejroz¹íøenìj¹í WWW server v Internetu
-Summary(da):   Den mest brugte web-tjener på Internet
-Summary(de):   Der am häufigsten verwendete Web-Server im Internet
-Summary(es):   El servidor web más conocido y usado en Internet
-Summary(fr):   Le serveur Web le plus utilisé sur Internet
-Summary(id):   Web server yang paling banyak digunakan di Internet
-Summary(is):   Vinsælasti vefþjónninn á Netinu
-Summary(it):   Il web server più diffuso su Internet
-Summary(ja):   ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍѤµ¤ì¤Æ¤¤¤ë Web ¥µ¡¼¥Ð¡¼
-Summary(nb):   Den mest utbredte web-tjeneren på Internett
-Summary(pl):   Serwer WWW (World Wide Web)
-Summary(pt):   O servidor Web mais largamente utilizado em toda a Internet
-Summary(pt_BR):        Servidor HTTPD para prover serviços WWW
-Summary(ru):   óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ Web-Server
-Summary(sk):   Najviac pou¾ívaný Web server na Internete
-Summary(sl):   Najbolj uporabljani spletni stre¾nik interneta
-Summary(sv):   Den mest använda webbservern på Internet
-Summary(tr):   Lider WWW tarayýcý
-Summary(uk):   îÁÊÐÏÐÕÌÑÒΦÛÉÊ Web-Server
-Summary(zh_CN):        Internet ÉÏÓ¦ÓÃ×î¹ã·ºµÄ Web ·þÎñ³ÌÐò¡£
+Summary(cs.UTF-8):     Nejrozšířenější WWW server v Internetu
+Summary(da.UTF-8):     Den mest brugte web-tjener på Internet
+Summary(de.UTF-8):     Der am häufigsten verwendete Web-Server im Internet
+Summary(es.UTF-8):     El servidor web más conocido y usado en Internet
+Summary(fr.UTF-8):     Le serveur Web le plus utilisé sur Internet
+Summary(id.UTF-8):     Web server yang paling banyak digunakan di Internet
+Summary(is.UTF-8):     Vinsælasti vefþjónninn á Netinu
+Summary(it.UTF-8):     Il web server più diffuso su Internet
+Summary(ja.UTF-8):     ã\82¤ã\83³ã\82¿ã\83¼ã\83\8dã\83\83ã\83\88ä¸\8aã\81§æ\9c\80ã\82\82ä¸\80è\88¬ç\9a\84ã\81«ä½¿ç\94¨ã\81\95ã\82\8cã\81¦ã\81\84ã\82\8b Web ã\82µã\83¼ã\83\90ã\83¼
+Summary(nb.UTF-8):     Den mest utbredte web-tjeneren på Internett
+Summary(pl.UTF-8):     Serwer WWW (World Wide Web)
+Summary(pt.UTF-8):     O servidor Web mais largamente utilizado em toda a Internet
+Summary(pt_BR.UTF-8):  Servidor HTTPD para prover serviços WWW
+Summary(ru.UTF-8):     Самый популярный Web-Server
+Summary(sk.UTF-8):     Najviac používaný Web server na Internete
+Summary(sl.UTF-8):     Najbolj uporabljani spletni strežnik interneta
+Summary(sv.UTF-8):     Den mest använda webbservern på Internet
+Summary(tr.UTF-8):     Lider WWW tarayıcı
+Summary(uk.UTF-8):     Найпопулярніший Web-Server
+Summary(zh_CN.UTF-8):  Internet 上应用最广泛的 Web 服务程序。
 Name:          apache1
-Version:       1.3.33
-Release:       3.4
+Version:       1.3.41
+Release:       1
 License:       Apache Group
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
-# Source0-md5: 3dfd2c3778f37a2dfc22b97417a61407
+# Source0-md5: f7f00b635243f03a787ca9f4d4c85651
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
 Source3:       apache-icons.tar.gz
@@ -40,7 +40,7 @@ Source3:      apache-icons.tar.gz
 Source4:       %{name}.sysconfig
 Source5:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/apache-non-english-man-pages.tar.bz2
 # Source5-md5: 74ff6e8d8a7b365b48ed10a52fbeb84e
-Source6:       %{name}.monitrc
+Source6:       %{name}-defaultindex.conf
 Source7:       %{name}-httpd.conf
 Source8:       %{name}-common.conf
 Source9:       %{name}-mod_status.conf
@@ -59,169 +59,225 @@ Source21: %{name}-mod_cern_meta.conf
 Source22:      %{name}-mod_setenvif.conf
 Source23:      %{name}-mod_vhost_alias.conf
 Source24:      %{name}-errordocs.conf
+# http://www.iagora.com/about/software/lingerd/
+Source25:      http://images.iagora.com/media/software/lingerd/lingerd-0.94.tar.gz
+# Source25-md5:        6401015bafad4f44fdf8a9a1795d9258
+Source26:      %{name}-manual.conf
 Patch0:                %{name}-PLD.patch
 Patch1:                %{name}-suexec.patch
 Patch2:                %{name}-errordocs.patch
 Patch3:                %{name}-apxs.patch
 Patch4:                %{name}-mod_ssl-addon.patch
 Patch5:                %{name}-mod_ssl-eapi.patch
-Patch6:                %{name}-EAPI_MM_CORE_PATH-correction.patch
-Patch7:                %{name}-EAPI_MM=SYSTEM.patch
-Patch8:                %{name}-ipv6-PLD.patch
-Patch9:                %{name}-modules_symbols.patch
-Patch10:       %{name}-apxs_force_rm_cp.patch
-Patch11:       %{name}-db3.patch
-Patch12:       %{name}-lookup_map_ldap.patch
-Patch13:       %{name}-man.patch
-Patch14:       %{name}-fpic.patch
-Patch15:       %{name}-buff.patch
-Patch16:       %{name}-mkstemp.patch
-Patch17:       %{name}-EAPI-missing_files.patch
-Patch18:       %{name}-PLD-nov6.patch
-Patch19:       %{name}-configdir_skip_backups.patch
-Patch20:       %{name}-apxs-quiet.patch
-Patch21:       %{name}-db4.patch
-URL:           http://www.apache.org/
+# http://allafrica.com/tools/apache/mod_proxy/mod_proxy-khk_1.3.26-patch.diff with eapi duplicates removed
+Patch6:                %{name}-mod_proxy-khk.patch
+Patch7:                %{name}-EAPI_MM_CORE_PATH-correction.patch
+Patch8:                %{name}-EAPI_MM=SYSTEM.patch
+Patch9:                %{name}-ipv6-PLD.patch
+Patch10:       %{name}-modules_symbols.patch
+Patch11:       %{name}-apxs_force_rm_cp.patch
+Patch12:       %{name}-db3.patch
+Patch13:       %{name}-lookup_map_ldap.patch
+Patch14:       %{name}-man.patch
+Patch15:       %{name}-fpic.patch
+Patch16:       %{name}-buff.patch
+Patch17:       %{name}-mkstemp.patch
+Patch18:       %{name}-EAPI-missing_files.patch
+Patch19:       %{name}-PLD-nov6.patch
+Patch20:       %{name}-configdir_skip_backups.patch
+Patch21:       %{name}-apxs-quiet.patch
+Patch22:       %{name}-db4.patch
+Patch23:       %{name}-less-libs.patch
+Patch24:       %{name}-rwrite-debug.patch
+Patch25:       %{name}-apxs-DESTDIR.patch
+# from debian apache_1.3.34-2.diff.gz
+Patch26:       %{name}-regex_must_conform_to_posix_for_LFS_to_work.patch
+Patch27:       %{name}-suexec_of_death.patch
+Patch28:       %{name}-suexec_reopenlog.patch
+Patch29:       %{name}-autoindex_studly.patch
+Patch30:       %{name}-autoindex_indexes.patch
+Patch31:       %{name}-autoindex_generator.patch
+Patch32:       %{name}-ab.8_formatting_error.patch
+Patch33:       %{name}-proxy_content_base.patch
+Patch34:       %{name}-inetdfix.patch
+Patch35:       %{name}-configure_hashbang.patch
+Patch36:       %{name}-log_files_permission.patch
+Patch37:       %{name}-htpasswd_do_not_trash_extra_fields.patch
+Patch38:       %{name}-GNU_xargs.patch
+Patch39:       %{name}-security_htdigest_local_buffer_overflow.patch
+Patch40:       %{name}-security_htpasswd_user_buffer_overflow.patch
+Patch41:       %{name}-security_check_forensic_tempfiles.patch
+Patch42:       %{name}-lingerd.patch
+URL:           http://httpd.apache.org/
+BuildRequires: bash
 BuildRequires: db-devel >= 4.1
 BuildRequires: mm-devel >= 1.3.0
-%{?with_rewrite_ldap:BuildRequires:    openldap-devel}
-BuildRequires: rpmbuild(macros) >= 1.159
+%{?with_rewrite_ldap:BuildRequires:    openldap-devel >= 2.4.6}
+BuildRequires: perl-base
+BuildRequires: rpm-build >= 4.4.0
 BuildRequires: rpm-perlprov
-PreReq:                mm
-PreReq:                perl-base
-PreReq:                rc-scripts
-Requires(pre): /bin/id
-Requires(pre): /usr/bin/getent
-Requires(pre): /usr/bin/getgid
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
-Requires(pre): /usr/sbin/usermod
-Requires(pre): textutils
-Requires(post,preun):  /sbin/chkconfig
-Requires(postun):      /usr/sbin/groupdel
-Requires(postun):      /usr/sbin/userdel
-Requires(triggerpostun):       sed >= 4.0
-Requires:      /etc/mime.types
-Requires:      %{name}-apxs = %{version}-%{release}
-Requires:      mailcap
-Requires:      psmisc >= 20.1
-Provides:      %{name}(EAPI) = %{version}-%{release}
-Provides:      group(http)
-Provides:      httpd
-Provides:      user(http)
-Provides:      webserver = apache
-Provides:      apache = %{version}-%{release}
-%{?with_ipv6:Provides: apache1(ipv6)}
-Obsoletes:     apache < 2.0.0
-Obsoletes:     apache-extra
-Obsoletes:     apache6
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      %{name}-mod_access = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_dir = %{version}-%{release}
+Requires:      %{name}-mod_log_config = %{version}-%{release}
+Requires:      %{name}-mod_mime = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/apache
-%define                _includedir     %{_prefix}/include/apache1
-%define                _libexecdir     %{_prefix}/%{_lib}/apache1
-%define                _datadir        %{httpdir}
+%define                _includedir     %{_prefix}/include/%{name}
+%define                _libexecdir     %{_prefix}/%{_lib}/%{name}
 %define                apxs            /usr/sbin/apxs1
 %define                httpdir         /home/services/apache
-%define                manualdir       %{_prefix}/share/apache1-manual
+%define                docroot         %{_datadir}/%{name}/html
+%define                manualdir       %{_datadir}/%{name}/manual
+%define                cgibindir       %{_prefix}/lib/cgi-bin/%{name}
 
 %description
 Apache is a powerful, full-featured, efficient and freely-available
 Web server. Apache is also the most popular Web server on the
 Internet.
 
-%description -l cs
-Apache je výkonný plnì funkèní efektivní a volnì dostupný WWW server.
-Je to nejpopulárnìj¹í WWW server v Internetu.
+%{?with_lingerd:This version of Apache includes lingerd support:}
+%{?with_lingerd:<http://www.iagora.com/about/software/lingerd/>.}
+
+%description -l cs.UTF-8
+Apache je výkonný plně funkční efektivní a volně dostupný WWW server.
+Je to nejpopulárnější WWW server v Internetu.
 
-%description -l da
-Apache er en stærk, funktionsrig, effektiv og frit tilgængelig
-web-tjener. Apache er også den mest populære web-tjener på Internet.
+%description -l da.UTF-8
+Apache er en stærk, funktionsrig, effektiv og frit tilgængelig
+web-tjener. Apache er også den mest populære web-tjener på Internet.
 
-%description -l de
-Apache ist ein leistungsfähiger, frei verfügbarer und effizienter
-Web-Server mit umfassenden Funktionen. Apache ist zudem der populärste
+%description -l de.UTF-8
+Apache ist ein leistungsfähiger, frei verfügbarer und effizienter
+Web-Server mit umfassenden Funktionen. Apache ist zudem der populärste
 Web-Server im Internet.
 
-%description -l es
+%description -l es.UTF-8
 El servidor web Apache es el mejor servidor gratuito disponible en el
 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
 que browsers web vean documentos y sometan datos remotamente. Puede
 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
-caché, y nos ofrece características como monitor de estado, conversión
-dinámica de tipo, y otras más.
+caché, y nos ofrece características como monitor de estado, conversión
+dinámica de tipo, y otras más.
 
-%description -l fr
+%description -l fr.UTF-8
 Apache est un serveur Web puissant, efficace, gratuit et complet.
 Apache est aussi le serveur Web le plus populaire sur Internet.
 
-%description -l id
+%description -l id.UTF-8
 Apache adalah Web server yang powerful, efisien, kaya akan feature,
 dan tersedia dengan free. Apache juga merupakan Web server yang paling
 populer di Internet.
 
-%description -l is
-Apache er mjög öflugur og háþróaður vefþjónn sem er ókeypis. Apache er
-einnig mest notaði vefþjónninn á Internetinu.
+%description -l is.UTF-8
+Apache er mjög öflugur og háþróaður vefþjónn sem er ókeypis. Apache er
+einnig mest notaði vefþjónninn á Internetinu.
 
-%description -l it
-Apache è un Web server potente, dotato di tutte le caratteristiche,
-efficiente e gratuito. Ed è anche il web server più diffuso su
+%description -l it.UTF-8
+Apache è un Web server potente, dotato di tutte le caratteristiche,
+efficiente e gratuito. Ed è anche il web server più diffuso su
 Internet.
 
-%description -l ja
-Apache ¤Ï¶¯ÎϤǽ¼¼Â¤·¤¿µ¡Ç½¤ò»ý¤Ä̵½þ¤Î Web ¥µ¡¼¥Ð¡¼
-¤Ç¤¹¡£¤Þ¤¿¡¢apache ¤Ï¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤ÇºÇ¤â°ìÈÌŪ¤Ë»ÈÍÑ ¤µ¤ì¤Æ¤¤¤ë Web
-¥µ¡¼¥Ð¡¼¤Ç¤¹¡£
+%description -l ja.UTF-8
+Apache ã\81¯å¼·å\8a\9bã\81§å\85\85å®\9fã\81\97ã\81\9fæ©\9fè\83½ã\82\92æ\8c\81ã\81¤ç\84¡å\84\9fã\81® Web ã\82µã\83¼ã\83\90ã\83¼
+です。また、apache はインターネット上で最も一般的に使用 されている Web
+サーバーです。
 
-%description -l nb
+%description -l nb.UTF-8
 Apache er en kraftig, funksjonsrik, effektiv og fritt tilgjengelig
-web-tjener. Apache er også den mest populære web-tjeneren på Internet.
+web-tjener. Apache er også den mest populære web-tjeneren på Internet.
 
-%description -l pl
-Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
-bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
+%description -l pl.UTF-8
+Apache jest serwerem WWW (World Wide Web). Instalując ten pakiet
+będziesz mógł prezentować własne strony WWW w sieci internet.
 
-%description -l pt
-O Apache é um servidor de Web poderoso, cheio de potencialidades,
-eficiente e gratuito. O Apache é também o servidor Web mais conhecido
+%description -l pt.UTF-8
+O Apache é um servidor de Web poderoso, cheio de potencialidades,
+eficiente e gratuito. O Apache é também o servidor Web mais conhecido
 na Internet.
 
-%description -l pt_BR
-O servidor web Apache é o melhor servidor gratuito disponível no mundo
+%description -l pt_BR.UTF-8
+O servidor web Apache é o melhor servidor gratuito disponível no mundo
 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
 que browsers web vejam documentos e submetam dados remotamente. Ele
-pode executar várias funções diferentes, incluindo funções de proxy e
-cache, e oferece características como monitor de status, conversão
-dinâmica de tipo, e mais.
+pode executar várias funções diferentes, incluindo funções de proxy e
+cache, e oferece características como monitor de status, conversão
+dinâmica de tipo, e mais.
 
-%description -l ru
-Apache - ÜÔÏ ÍÏÝÎÙÊ, ÐÏÌÎÏÆÕÎËÃÉÏÎÁÌØÎÙÊ, ÜÆÆÅËÔÉ×ÎÙÊ, Ó×ÏÂÏÄÎÏ
-ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ É ÓÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ × Internet WWW-ÓÅÒ×ÅÒ.
+%description -l ru.UTF-8
+Apache - это мощный, полнофункциональный, эффективный, свободно
+распространяемый и самый популярный в Internet WWW-сервер.
 
-%description -l sk
-Apache je výkonný, efektívny a voµne dostupný Web server, bohatý na
-funkcie. Apache je tie¾ najpopulárnej¹ím Web serverom na Internete.
+%description -l sk.UTF-8
+Apache je výkonný, efektívny a voľne dostupný Web server, bohatý na
+funkcie. Apache je tiež najpopulárnejším Web serverom na Internete.
 
-%description -l sv
-Apache är en kraftfull, finessrik, effektiv och fritt tillgänglig
-webbserver. Apache är också den populäraste webbservern på Internet.
+%description -l sv.UTF-8
+Apache är en kraftfull, finessrik, effektiv och fritt tillgänglig
+webbserver. Apache är också den populäraste webbservern på Internet.
 
-%description -l tr
-Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
+%description -l tr.UTF-8
+Apache serbest dağıtılan ve çok kullanılan yetenekli bir web
 sunucusudur.
 
-%description -l zh_CN
-Apache Êǹ¦ÄÜÇ¿¾¢ÆëÈ«¡¢¸ßЧÇÒÃâ·ÑÌṩµÄ Web ·þÎñ³ÌÐò£¬ Í¬Ê±Ò²ÊÇ
-Internet ÉÏ×îÁ÷ÐеĠWeb ·þÎñ³ÌÐò¡£
+%description -l zh_CN.UTF-8
+Apache 是功能强劲齐全、高效且免费提供的 Web 服务程序, 同时也是
+Internet 上最流行的 Web 服务程序。
+
+如果您需要 Web 服务程序,请安装 apache 软件包。
 
-Èç¹ûÄúÐèÒª Web ·þÎñ³ÌÐò£¬Çë°²×° apache Èí¼þ°ü¡£
+%package base
+Summary:       The most widely used Web server on the Internet
+Summary(pl.UTF-8):     Serwer WWW (World Wide Web)
+Group:         Networking/Daemons
+Requires(post,preun):  /sbin/chkconfig
+Requires(postun):      /usr/sbin/groupdel
+Requires(postun):      /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getent
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(pre): /usr/sbin/usermod
+Requires(pre): textutils
+Requires(triggerpostun):       sed >= 4.0
+Requires:      /etc/mime.types
+Requires:      mailcap
+Requires:      psmisc >= 20.1
+Requires:      rc-scripts
+Requires:      webapps
+Provides:      %{name}(EAPI) = %{version}-%{release}
+%{?with_ipv6:Provides: apache1(ipv6)}
+%{?with_lingerd:Provides:      apache1(lingerd)}
+Provides:      group(http)
+Provides:      user(http)
+Provides:      webserver = apache
+Obsoletes:     apache < 2.0.0
+Obsoletes:     apache-extra
+Obsoletes:     apache6
+Conflicts:     apache1 < 1.3.37-4
+Conflicts:     apache1-mod_ssl < 2.8.30_1.3.39-3
+Conflicts:     logrotate < 3.7-4
+# for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
+Conflicts:     rpm < 4.4.2-0.2
+
+%description base
+Apache is a powerful, full-featured, efficient and freely-available
+Web server. Apache is also the most popular Web server on the
+Internet.
+
+%description base -l pl.UTF-8
+Apache jest potężnym, w pełni funkcjonalnym, wydajnym i wolnodostępnym
+serwerem WWW (World Wide Web). Jest także najbardziej popularnym
+serwerem WWW w Internecie.
 
 %package suexec
 Summary:       Apache suexec wrapper
-Summary(pl):   Suexec wrapper do serwera WWW Apache
-Summary(ru):   Apache suEXEC CGI wrapper
-Summary(uk):   Apache suEXEC CGI wrapper
+Summary(pl.UTF-8):     Suexec wrapper do serwera WWW Apache
+Summary(ru.UTF-8):     Apache suEXEC CGI wrapper
+Summary(uk.UTF-8):     Apache suEXEC CGI wrapper
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Obsoletes:     apache-suexec < 2.0.0
@@ -232,164 +288,205 @@ SSI programs under user IDs different from the user ID of the calling
 web-server. Normally, when a CGI or SSI program executes, it runs as
 the same user who is running the web server.
 
-%description suexec -l pl
-SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
-innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
-wykonywane jako taki sam u¿ytkownik jak serwer WWW.
-
-%description suexec -l ru
-ðÁËÅÔ suEXEC ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ CGI-ÐÒÏÇÒÁÍÍÙ ÐÏÄ user-id, ÏÔÌÉÞÎÙÍÉ
-ÏÔ ÔÏÇÏ, ÐÏÄ ËÏÔÏÒÙÍ ÒÁÂÏÔÁÅÔ ×ÙÚÙ×ÁÀÝÉÊ ÉÈ web-ÓÅÒ×ÅÒ. âÕÄÕÞÉ
-ÐÒÁ×ÉÌØÎÏ ÉÓÐÏÌØÚÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÐÏÚ×ÏÌÑÅÔ ÚÁÍÅÔÎÏ ÓÎÉÚÉÔØ ÒÉÓË
-ÎÁÒÕÛÅÎÉÑ ÓÉÓÔÅÍÎÏÊ ÂÅÚÏÐÁÓÎÏÓÔÉ, ×ÙÚ×ÁÎÎÙÊ ÒÁÚÒÅÛÅÎÉÅÍ ÚÁÐÕÓËÁ
-ÐÏÌØÚÏ×ÁÔÅÌÑÍ CGI-ÐÒÏÇÒÁÍÍ. ÷ÍÅÓÔÅ Ó ÔÅÍ, ÂÕÄÕÞÉ ÎÅÐÒÁ×ÉÌØÎÏ
-ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÍ, ÜÔÏÔ ÐÁËÅÔ ÍÏÖÅÔ ÒÁÚÒÕÛÉÔØ ×ÁÛÕ ÓÉÓÔÅÍÕ, ÓÖÅÞØ ×ÁÛ
-ÄÏÍ É ÕËÒÁÓÔØ ÄÅÎØÇÉ ÉÚ ×ÁÛÅÇÏ ÐÅÎÓÉÏÎÎÏÇÏ ÆÏÎÄÁ :)). åÓÌÉ ×Ù ÎÅ
-ÉÍÅÅÔÅ ÏÐÙÔÁ ÒÁÂÏÔÙ Ó setuid root ÐÒÏÇÒÁÍÍÁÍÉ É ÐÒÏÂÌÅÍÁÍÉ ÓÉÓÔÅÍÎÏÊ
-ÂÅÚÏÐÁÓÎÏÓÔÉ, ÐÏÒÏÖÄÅÎÎÙÍÉ ÉÈ ÐÒÉÍÅÎÅÎÉÅÍ, ÎÁÓÔÏÑÔÅÌØÎÏ ÒÅËÏÍÅÎÄÕÅÍ ÎÅ
-ÉÓÐÏÌØÚÏ×ÁÔØ ÜÔÏÇÏ ÐÁËÅÔÁ...
-
-%description suexec -l uk
-ðÁËÅÔ suEXEC ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ CGI-ÐÒÏÇÒÁÍɠЦĠuser-id, ×¦ÄͦÎÎÉÍ
-צĠÔÏÇÏ, Ð¦Ä ÑËÉÍ ÐÒÁÃÀ¤ ÓÅÒ×ÅÒ. ðÒÉ ÐÒÁ×ÉÌØÎÏÍÕ ×ÉËÏÒÉÓÔÁÎΦ, ÃÅÊ
-ÐÁËÅÔ ÄÏÚ×ÏÌѤ ÐÏͦÔÎÏ ÚÎÉÚÉÔÉ ÒÉÚÉË ÐÏÒÕÛÅÎÎÑ ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ,
-×ÉËÌÉËÁÎÉÊ ÄÏÚ×ÏÌÏÍ ÚÁÐÕÓËÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ CGI-ÐÒÏÇÒÁÍ. òÁÚÏÍ Ú ÔÉÍ,
-ÐÒÉ ÎÅצÒÎÏÍÕ ËÏÎƦÇÕÒÕ×ÁÎΦ, ÃÅÊ ÐÁËÅÔ ÍÏÖÅ ÚÒÕÊÎÕ×ÁÔÉ ×ÁÛÉ ÓÉÓÔÅÍÕ,
-ÓÐÁÌÉÔÉ ×Á۠Ħ͠¦ ×ËÒÁÓÔÉ ÇÒÏÛ¦ Ú ×ÁÛÏÇÏ ÐÅÎÓ¦ÊÎÏÇÏ ÆÏÎÄÕ :)). ñËÝÏ ×É
-ÎÅ ÍÁ¤ÔÅ ÄÏÓצÄÕ ÒÏÂÏÔÉ Ú setuid root ÐÒÏÇÒÁÍÁÍÉ ÔÁ ÐÒÏÂÌÅÍÁÍÉ
-ÓÉÓÔÅÍÎϧ ÂÅÚÐÅËÉ, ËÏÔÒ¦ ÐÏÒÏÄÖÅΦ ×ÉËÏÒÉÓÔÁÎÎÑÍ ÔÁËÉÈ ÐÒÏÇÒÁÍ,
-ÎÁÓÔ¦ÊÌÉ×Ï ÒÁÄÉÍÏ ÎÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÃØÏÇÏ ÐÁËÅÔÕ...
-
-%package apxs
-Summary:       APache eXtenSion tool
-Summary(pl):   Narzêdzie do rozszerzania Apache'a
-Group:         Development/Tools
-
-%description apxs
-APache eXtenSion tool.
-
-%description apxs -l pl
-Narzêdzie do rozszerzania Apache'a.
+%description suexec -l pl.UTF-8
+SuEXEC umożliwia serwerowi Apache uruchamianie programów CGI i SSI z
+innym UID niż wywołujący je serwer. Normalnie programy CGI i SSI są
+wykonywane jako taki sam użytkownik jak serwer WWW.
+
+%description suexec -l ru.UTF-8
+Пакет suEXEC позволяет запускать CGI-программы под user-id, отличными
+от того, под которым работает вызывающий их web-сервер. Будучи
+правильно использованным, этот пакет позволяет заметно снизить риск
+нарушения системной безопасности, вызванный разрешением запуска
+пользователям CGI-программ. Вместе с тем, будучи неправильно
+сконфигурированным, этот пакет может разрушить вашу систему, сжечь ваш
+дом и украсть деньги из вашего пенсионного фонда :)). Если вы не
+имеете опыта работы с setuid root программами и проблемами системной
+безопасности, порожденными их применением, настоятельно рекомендуем не
+использовать этого пакета...
+
+%description suexec -l uk.UTF-8
+Пакет suEXEC дозволяє запускати CGI-програми під user-id, відмінним
+від того, під яким працює сервер. При правильному використанні, цей
+пакет дозволяє помітно знизити ризик порушення системної безпеки,
+викликаний дозволом запуску користувачами CGI-програм. Разом з тим,
+при невірному конфігуруванні, цей пакет може зруйнувати ваши систему,
+спалити ваш дім і вкрасти гроші з вашого пенсійного фонду :)). Якщо ви
+не маєте досвіду роботи з setuid root програмами та проблемами
+системної безпеки, котрі породжені використанням таких програм,
+настійливо радимо не використовувати цього пакету...
 
 %package tools
 Summary:       Apache tools
-Summary(pl):   Narzêdzia Apache'a
+Summary(pl.UTF-8):     Narzędzia Apache'a
 Group:         Development/Tools
 
 %description tools
 Apache tools.
 
-%description tools -l pl
-Narzêdzia Apache'a.
+%description tools -l pl.UTF-8
+Narzędzia Apache'a.
 
-%package index
+%package defaultindex
 Summary:       Apache index.html* files
-Summary(pl):   Pliki Apache index.html*
+Summary(pl.UTF-8):     Pliki Apache index.html*
 Group:         Documentation
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_dir = %{version}-%{release}
+Provides:      apache1-index
+Obsoletes:     apache1-index < 1.3.39-7.9
 Obsoletes:     indexhtml
 
-%description index
+%description defaultindex
 Apache index.html* files.
 
-%description index -l pl
+%description defaultindex -l pl.UTF-8
 Pliki Apache index.html*.
 
-%package doc
+%package manual
 Summary:       Apache 1.3.x manual
-Summary(pl):   Podrêcznik do Apache'a 1.3.x
+Summary(pl.UTF-8):     Podręcznik do Apache'a 1.3.x
 Group:         Documentation
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      %{name}-mod_negotiation = %{version}-%{release}
+Provides:      apache1-doc
+Obsoletes:     apache1-doc < 1.3.39-7.9
 
-%description doc
+%description manual
 Apache 1.3.x manual.
 
-%description doc -l pl
-Podrêcznik do Apache'a 1.3.x.
+%description manual -l pl.UTF-8
+Podręcznik do Apache'a 1.3.x.
+
+%package errordocs
+Summary:       Apache 1.3.x HTTP error documents
+Summary(pl.UTF-8):     Dokumenty opisujące błędy HTTP dla Apache'a 1.3.x
+Group:         Applications/WWW
+Requires:      %{name}-mod_include = %{version}-%{release}
+
+%description errordocs
+Apache 1.3.x HTTP error documents. Currently in English and Polish
+only.
+
+%description errordocs -l pl.UTF-8
+Dokumenty opisujące błędy HTTP dla Apache'a 1.3.x. Aktualnie tylko po
+angielsku i polsku.
 
 %package devel
 Summary:       Module development tools for the Apache web server
-Summary(cs):   Hlavièkové soubory pro Apache Web server
-Summary(da):   Header-filer for Apache webserveren
-Summary(de):   Include-Dateien für den Apache Web-Server
-Summary(es):   Archivos de inclusión del Apache para desarrollo de módulos
-Summary(fr):   Fichiers à inclure pour le serveur Web Apache
-Summary(id):   File header untuk Apache Web server
-Summary(is):   Hausaskrár með Apache vefþjóninum
-Summary(it):   File include per il web server Apache
-Summary(ja):   Apache Web ¥µ¡¼¥Ð¡¼ÍѤγ«È¯¥Ä¡¼¥ë
-Summary(nb):   Headerfiler for webtjeneren Apache
-Summary(pl):   Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
-Summary(pt):   Ficheiros de inclusão para o servidor Web Apache
-Summary(pt_BR):        Arquivos de inclusão do Apache para desenvolvimento de módulos
-Summary(ru):   æÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× ÄÌÑ web server'Á Apache
-Summary(sk):   Hlavièkové súbory pre Apache Web server
-Summary(sl):   Glave za spletni stre¾nik Apache
-Summary(sv):   Huvudfiler för webbservern Apache
-Summary(uk):   úÁÓÏÂÉ ÓÔ×ÏÒÅÎÎÑ ÍÏÄÕ̦נÄÌÑ web server'Õ Apache
-Summary(zh_CN):        ÓÃÓÚ Apache Web ·þÎñ³ÌÐòµÄ¿ª·¢¹¤¾ß¡£
+Summary(cs.UTF-8):     Hlavičkové soubory pro Apache Web server
+Summary(da.UTF-8):     Header-filer for Apache webserveren
+Summary(de.UTF-8):     Include-Dateien für den Apache Web-Server
+Summary(es.UTF-8):     Archivos de inclusión del Apache para desarrollo de módulos
+Summary(fr.UTF-8):     Fichiers à inclure pour le serveur Web Apache
+Summary(id.UTF-8):     File header untuk Apache Web server
+Summary(is.UTF-8):     Hausaskrár með Apache vefþjóninum
+Summary(it.UTF-8):     File include per il web server Apache
+Summary(ja.UTF-8):     Apache Web サーバー用の開発ツール
+Summary(nb.UTF-8):     Headerfiler for webtjeneren Apache
+Summary(pl.UTF-8):     Pliki nagłówkowe do tworzenia modułów rozszerzeń do serwera WWW Apache
+Summary(pt.UTF-8):     Ficheiros de inclusão para o servidor Web Apache
+Summary(pt_BR.UTF-8):  Arquivos de inclusão do Apache para desenvolvimento de módulos
+Summary(ru.UTF-8):     Файлы заголовков для web server'а Apache
+Summary(sk.UTF-8):     Hlavičkové súbory pre Apache Web server
+Summary(sl.UTF-8):     Glave za spletni strežnik Apache
+Summary(sv.UTF-8):     Huvudfiler för webbservern Apache
+Summary(uk.UTF-8):     Засоби створення модулів для web server'у Apache
+Summary(zh_CN.UTF-8):  用于 Apache Web 服务程序的开发工具。
 Group:         Networking/Utilities
-Requires:      %{name}-apxs = %{version}-%{release}
 Provides:      %{name}(EAPI)-devel = %{version}-%{release}
 Provides:      apache(EAPI)-devel = %{version}-%{release}
 %{?with_ipv6:Provides: apache1(ipv6)-devel}
 Obsoletes:     apache-devel < 2.0.0
+Obsoletes:     apache1-apxs
 
 %description devel
 The apache-devel package contains header files for Apache.
 
-%description devel -l cs
-Balíèek apache-devel obsahuje hlavièkové soubory pro Apache.
+%description devel -l cs.UTF-8
+Balíček apache-devel obsahuje hlavičkové soubory pro Apache.
 
-%description devel -l da
+%description devel -l da.UTF-8
 Apache-devel pakken indeholder headerfiler for Apache.
 
-%description devel -l de
-Das Paket apache-devel enthält Header-Dateien für Apache.
+%description devel -l de.UTF-8
+Das Paket apache-devel enthält Header-Dateien für Apache.
 
-%description devel -l es
-Este paquete contiene los archivos de inclusión para el Apache.
+%description devel -l es.UTF-8
+Este paquete contiene los archivos de inclusión para el Apache.
 
-%description devel -l fr
+%description devel -l fr.UTF-8
 Le package apache-devel contient le code source pour le serveur Web
 Apache.
 
-%description devel -l id
+%description devel -l id.UTF-8
 Package apache-devel berisi source code dari Apache Web server.
 
-%description devel -l is
-Apache-devel pakkinn inniheldur frumkóða Apache vefþjónsins.
+%description devel -l is.UTF-8
+Apache-devel pakkinn inniheldur frumkóða Apache vefþjónsins.
 
-%description devel -l it
+%description devel -l it.UTF-8
 Il pacchetto apache-devel contiene i file header per Apache.
 
-%description devel -l nb
+%description devel -l nb.UTF-8
 Apache-devel pakken inneholder headerfiler for Apache.
 
-%description devel -l pl
-Pliki nag³ówkowe dla serwera WWW Apache.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla serwera WWW Apache.
 
-%description devel -l pt
-O pacote apache-devel contém outros ficheiros para o Apache.
+%description devel -l pt.UTF-8
+O pacote apache-devel contém outros ficheiros para o Apache.
 
-%description devel -l pt_BR
-Este pacote contem os arquivos de inclusão para o Apache.
+%description devel -l pt_BR.UTF-8
+Este pacote contem os arquivos de inclusão para o Apache.
 
-%description devel -l ru
-ðÁËÅÔ apache-devel ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ ÄÌÑ Web Server'Á.
+%description devel -l ru.UTF-8
+Пакет apache-devel содержит хедеры для Web Server'а.
 
-%description devel -l sk
-Balík apache-devel obsahuje zdrojový kód Apache Web servera.
+%description devel -l sk.UTF-8
+Balík apache-devel obsahuje zdrojový kód Apache Web servera.
 
-%description devel -l sv
-Paketet apache-devel innehåller huvudfilerna för Apache.
+%description devel -l sv.UTF-8
+Paketet apache-devel innehåller huvudfilerna för Apache.
 
-%description devel -l uk
-ðÁËÅÔ apache-devel Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÄÌÑ Web Server'Á.
+%description devel -l uk.UTF-8
+Пакет apache-devel містить хедери для Web Server'а.
+
+%package mod_access
+Summary:       Access control based on client hostname or IP address
+Summary(pl.UTF-8):     Kontrola dostępu w oparciu o nazwę hosta lub adres IP klienta
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_access) = %{version}-%{release}
+Provides:      webserver(access)
+
+%description mod_access
+The directives provided by mod_access 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.
+
+%description mod_access -l pl.UTF-8
+Dyrektyw dostarczanych przez mod_access można używać w sekcjach
+<Directory>, <Files> i <Location>, a także plikach .htaccess w celu
+kontrolowania dostępu do poszczególnych części serwera. Dostęp może
+być kontrolowany w oparciu o nazwę hosta lub adres IP klienta albo
+inną charakterystykę żądania klienta wychwyconą przez zmienne
+środowiskowe. Dyrektywy Allow i Deny są używane w celu określenia
+którzy klienci mają dostęp do serwera, a którzy go nie mają, natomiast
+dyrektywa Order ustawia stan domyślny i określa sposób, w jaki
+dyrektywy Allow i Deny wpływają na siebie nawzajem.
 
 %package mod_actions
 Summary:       Apache module for run CGI whenever a file of a certain type is requested
-Summary(pl):   Modu³ dla apache do uruchamiania skryptów cgi
+Summary(pl.UTF-8):     Moduł dla Apache'a do uruchamiania skryptów cgi
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_actions) = %{version}-%{release}
@@ -400,30 +497,105 @@ This package contains mod_actions module. This module lets you run CGI
 scripts whenever a file of a certain type is requested. This makes it
 much easier to execute scripts that process files.
 
-%description mod_actions -l pl
-Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
-¿±danie pobrania pliku okre¶lonego typu.
+%description mod_actions -l pl.UTF-8
+Ten moduł pozwala na uruchamianie skryptów CGI w momencie gdy
+nadchodzi żądanie pobrania pliku określonego typu. Znacznie ułatwia to
+wykonywanie skryptów przetwarzających pliki.
+
+%package mod_alias
+Summary:       Mapping different parts of the host filesystem in the document tree, and URL redirection
+Summary(pl.UTF-8):     Odwzorowywanie części systemu plików w drzewie dokumentów oraz przekierowywanie URL-i
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_alias) = %{version}-%{release}
+Provides:      webserver(alias)
+
+%description mod_alias
+This module provides for mapping different parts of the host
+filesystem in the document tree, and for URL redirection. The
+directives contained in this module allow for manipulation and control
+of URLs as requests arrive at the server. The Alias and ScriptAlias
+directives are used to map between URLs and filesystem paths. This
+allows for content which is not directly under the DocumentRoot to be
+served as part of the web document tree. The ScriptAlias directive has
+the additional effect of marking the target directory as containing
+only CGI scripts.
+
+The Redirect directives are used to instruct clients to make a new
+request with a different URL. They are often used when a resource has
+moved to a new location.
+
+A more powerful and flexible set of directives for manipulating URLs
+is contained in the mod_rewrite module.
+
+%description mod_alias -l pl.UTF-8
+Ten moduł umożliwia odwzorowywanie różnych części systemu plików
+serwera w drzewie dokumentów oraz przekierowywanie URL-i. Dyrektywy
+obsługiwane przez ten moduł umożliwiają manipulowanie i kontrolę URL-i
+podczas przychodzenia żądań do serwera. Dyrektywy Alias i ScriptAlias
+służą do odwzorowywania pomiędzy URL-ami i ścieżkami w systemie
+plików. Pozwala to na udostępnianie treści nie umieszczonej
+bezpośrednio wewnątrz DocumentRoota jako części drzewa dokumentów WWW.
+Dyrektywa ScriptAlias ponadto oznacza katalog docelowy jako
+zawierający wyłącznie skrypty CGI.
+
+Dyrektywy Redirect służą do instruowania klientów o konieczności
+wysłania nowego żądania z innym URL-em. Są one zwykle używane w
+sytuacji, kiedy zasoby zostały przeniesione w nowe miejsce.
+
+Potężniejszy i bardziej elastyczny zbiór dyrektyw do manipulowania
+URL-ami znajduje się w module mod_rewrite.
+
+%package mod_asis
+Summary:       Sending files which contain their own HTTP headers
+Summary(pl.UTF-8):     Wysyłanie plików zawierających własne nagłówki HTTP
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_asis) = %{version}-%{release}
+
+%description mod_asis
+This module provides the handler send-as-is which causes Apache to
+send the document without adding most of the usual HTTP headers.
+
+This can be used to send any kind of data from the server, including
+redirects and other special HTTP responses, without requiring a
+cgi-script or an nph script.
+
+For historical reasons, this module will also process any file with
+the MIME type httpd/send-as-is.
+
+%description mod_asis -l pl.UTF-8
+Ten moduł dostarcza funkcję obsługi send-as-is powodującą, że Apache
+wysyła dokument bez dodawania większości zwykle stosowanych nagłówków
+HTTP.
+
+Może on służyć do wysyłania z serwera dowolnego rodzaju danych,
+włącznie z przekierowaniami i innymi specjalnymi odpowiedziami HTTP
+bez użycia skryptu CGI czy nph.
+
+Ze względów historycznych ten moduł przetwarza także wszelkie pliki o
+typie MIME httpd/send-as-is.
 
 %package mod_auth
 Summary:       Apache module with user authentication using textual files
-Summary(pl):   Modu³ autentykacji u¿ytkownika przy u¿yciu plików tekstowych dla Apache
+Summary(pl.UTF-8):     Moduł uwierzytelniania użytkownika przy użyciu plików tekstowych dla Apache
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
-Requires:      htpasswd
 Provides:      apache(mod_auth) = %{version}-%{release}
+Provides:      webserver(auth)
 Obsoletes:     apache-mod_auth < 2.0.0
 
 %description mod_auth
 This package contains mod_auth module. It provides for user
 authentication using textual files.
 
-%description mod_auth -l pl
-Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji przy
-u¿yciu plików tekstowych.
+%description mod_auth -l pl.UTF-8
+Ten pakiet zawiera moduł mod_auth. Służy on do uwierzytelniania przy
+użyciu plików tekstowych.
 
 %package mod_auth_anon
 Summary:       Apache module with "anonymous" user access authentication
-Summary(pl):   Modu³ apache oferuj±cy anonimow± autoryzacjê u¿ytkownia
+Summary(pl.UTF-8):     Moduł apache oferujący anonimową autoryzację użytkownia
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth_anon) = %{version}-%{release}
@@ -441,65 +613,127 @@ users. One advantage of using Auth-based user tracking is that, unlike
 magic-cookies and funny URL pre/postfixes, it is completely browser
 independent and it allows users to share URLs.
 
-%description mod_auth_anon -l pl
-Ten modu³ oferuje anonimow± autoryzacjê u¿ytkownia podobnie do
-anonimowych serwerów FTP (u¿ytkownik ,,anonymous'' oraz has³o w
-postaci adresu pocztowego u¿ytkownika).
+%description mod_auth_anon -l pl.UTF-8
+Ten moduł oferuje anonimową autoryzację użytkownia podobnie do
+anonimowych serwerów FTP (użytkownik "anonymous" oraz hasło w postaci
+adresu pocztowego użytkownika). Podawane adresy mogą być logowane. W
+połączeniu z innymi (opartymi o bazy danych) metodami kontroli dostępu
+umożliwia efektywne śledzenie użytkowników i dostosowywanie w
+zależności od profilu użytkownika, jednocześnie zachowując stronę
+otwartą dla "niezarejestrowanych" użytkowników. Jedną z zalet używania
+śledzenia użytkowników opartego o uwierzytelnienie nad ciasteczkami i
+śmiesznymi prze-/przyrostkami URL-i jest całkowita niezależność od
+przeglądarki i umożliwienie użytkownikom współdzielenia URL-i.
 
 %package mod_auth_db
 Summary:       Apache module with user authentication which uses Berkeley DB files
-Summary(pl):   Modu³ apache z mechanizmem autentykacji u¿ywaj±cym plików Berkeley DB
+Summary(pl.UTF-8):     Moduł Apache'a z mechanizmem uwierzytelniania używającym plików Berkeley DB
 Group:         Networking/Daemons
-Requires(triggerpostun):       %{apxs}
+Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth_db) = %{version}-%{release}
 Obsoletes:     apache-mod_auth_db < 2.0.0
 
 %description mod_auth_db
 This package contains mod_auth_db module. It provides for user
-authentication using Berkeley DB files. It is an alternative to DBM
-files for those systems which support DB and not DBM. It is only
-available in Apache 1.1 and later.
+authentication using Berkeley DB files.
 
-%description mod_auth_db -l pl
-Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
-ale jako plików danych u¿ywa Berkeley DB.
+%description mod_auth_db -l pl.UTF-8
+Ten pakiet zawiera moduł mod_auth_db. Moduł ten służy do
+uwierzytelniania, ale jako plików danych używa Berkeley DB.
 
 %package mod_auth_digest
 Summary:       Apache user authentication module using MD5 Digest Authentication
-Summary(pl):   Modu³ apache do autoryzacji MD5
+Summary(pl.UTF-8):     Moduł Apache'a do uwierzytelniania metodą MD5 Digest Authentication
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
-Obsoletes:     %{name}-mod_digest
 Provides:      apache(mod_auth_digest) = %{version}-%{release}
 Obsoletes:     apache-mod_auth_digest < 2.0.0
+Obsoletes:     apache1-mod_digest
 
 %description mod_auth_digest
 This package contains mod_digest module. It provides user
 authentication using MD5 Digest Authentication.
 
-%description mod_auth_digest -l pl
-Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
+%description mod_auth_digest -l pl.UTF-8
+Moduł ten dostarcza metodę uwierzytelniania przy użyciu MD5 Digest
 Authentication.
 
 %package mod_autoindex
 Summary:       Apache module - display index of files
-Summary(pl):   Modu³ apache do wy¶wietlania indeksu plików
+Summary(pl.UTF-8):     Moduł apache do wyświetlania indeksu plików
 Group:         Networking/Daemons
-Requires(triggerpostun):       %{apxs}
-Provides:      apache(mod_autoindex) = %{version}-%{release}
+Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
+Requires:      %{name}-mod_alias = %{version}-%{release}
+Requires:      apache-icons
+Provides:      apache(mod_autoindex) = %{version}-%{release}
 
 %description mod_autoindex
-This package contains mod_autoindex module. It provides
-generation index of files.
+This package contains mod_autoindex module. It provides generation
+index of files.
 
-%description mod_autoindex -l pl
-Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
+%description mod_autoindex -l pl.UTF-8
+Ten pakiet dostarcza moduł autoindex, który generuje indeks plików.
+
+%package mod_cern_meta
+Summary:       Support for HTTP header metafiles
+Summary(pl.UTF-8):     Obsługa metaplików nagłówków HTTP
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_cern_meta) = %{version}-%{release}
+
+%description mod_cern_meta
+Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
+headers that can be output in addition to the normal range of headers
+for each file accessed. They appear rather like the Apache .asis
+files, and are able to provide a crude way of influencing the Expires:
+header, as well as providing other curiosities. There are many ways to
+manage meta information, this one was chosen because there is already
+a large number of CERN users who can exploit this module.
+
+%description mod_cern_meta -l pl.UTF-8
+Moduł emulujący semantykę metaplików CERN HTTPD. Metapliki to nagłówki
+HTTP, które mogą być wysyłane oprócz normalnego zestawu nagłówków dla
+każdego przetwarzanego pliku. Zachowują się bardziej jak pliki .asis
+Apache'a i mogą dawać brutalny sposób wpływania na nagłówek Expires:,
+a także dostarczać inne ciekawostki. Jest wiele sposobów zarządzania
+metainformacjami, ta została wybrana ponieważ istnieje już wielu
+użytkowników CERN wykorzystujących ten moduł.
+
+%package mod_cgi
+Summary:       Invoking CGI scripts
+Summary(pl.UTF-8):     Wywoływanie skryptów CGI
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_cgi) = %{version}-%{release}
+Provides:      webserver(cgi)
+
+%description mod_cgi
+Any file that has the MIME type application/x-httpd-cgi or handler
+cgi-script (Apache 1.1 or later) will be treated as a CGI script, and
+run by the server, with its output being returned to the client. Files
+acquire this type either by having a name containing an extension
+defined by the AddType directive, or by being in a ScriptAlias
+directory. Files that are not in a ScriptAlias directory, but which
+are of type application/x-httpd-cgi by virtue of an AddType directive,
+will still not be executed by the server unless Options ExecCGI is
+enabled. See the Options directive for more details.
+
+%description mod_cgi -l pl.UTF-8
+Ten moduł powoduje, że dowolny plik o typie MIME
+application/x-httpd-cgi albo procedurze obsługi cgi-script (w Apache'u
+1.1 lub nowszym) będzie traktowany jako skrypt CGI i uruchamiany przez
+serwer, a jego wyjście będzie zwracane klientowi. Pliki uzyskują ten
+typ przez posiadanie nazwy zawierającej rozszerzenie określone
+dyrektywą AddType lub będąc w katalogu ScriptAlias. Pliki nie będące w
+katalogu ScriptAlias, ale mające typ application/x-httpd-cgi dzięki
+dyrektywie AddType nie będą jednak wykonywane, chyba że włączona
+zostanie opcja ExecCGI - więcej szczegółów w dyrektywie Options.
 
 %package mod_define
-Summary:       Apache module - authentication variables for arbitrary directives
-Summary(pl):   Modu³ apache do definiowania zmiennych
+Summary:       Apache module - definition variables for arbitrary directives
+Summary(pl.UTF-8):     Moduł Apache'a do definiowania zmiennych
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_define) = %{version}-%{release}
@@ -509,12 +743,13 @@ Obsoletes:        apache-mod_define < 2.0.0
 It provides the definition variables for arbitrary directives, i.e.
 variables which can be expanded on any(!) directive line.
 
-%description mod_define -l pl
-Modu³ ten umo¿liwia definicjê zmiennych i dyrektyw.
+%description mod_define -l pl.UTF-8
+Moduł ten umożliwia definicję zmiennych dla dowolnych dyrektyw, tzn.
+zmiennych, które mogą być rozwijane w dowolnej linii dyrektywy.
 
 %package mod_digest
 Summary:       Older version of apache user authentication module using MD5 Digest Authentication
-Summary(pl):   Starsza wersja modu³u apache do autoryzacji MD5
+Summary(pl.UTF-8):     Starsza wersja modułu apache do autoryzacji MD5
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_digest) = %{version}-%{release}
@@ -528,31 +763,53 @@ probably not work with modern browsers. Please take a look at
 mod_auth_digest which implements the most recent version of the
 standard.
 
-%description mod_digest -l pl
-Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
-Authentication. Implementuje on jedynie starsz± wersjê specyfikacji
-autentykacji MD5, i mo¿e nie dzia³aæ z nowoczesnymi przegl±darkami.
-Sprawd¼ mod_auth_digest je¶li potrzebujesz implementacji najnowszej
-wersji standardu.
+%description mod_digest -l pl.UTF-8
+Moduł ten dostarcza metodę autoryzacji bazującą na MD5 Digest
+Authentication. Implementuje on jedynie starszą wersję specyfikacji
+uwierzytelniania MD5, i może nie działać z nowoczesnymi
+przeglądarkami. Lepiej użyć modułu mod_auth_digest implementującego
+najnowszą wersję standardu.
 
 %package mod_dir
 Summary:       Apache module for "trailing slash" redirects and serving directory index files
-Summary(pl):   Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
+Summary(pl.UTF-8):     Moduł oferujący przekierowania i serwowanie indeksu katalogu
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_dir) = %{version}-%{release}
+Provides:      webserver(indexfile)
 Obsoletes:     apache-mod_dir < 2.0.0
 
 %description mod_dir
 This package contains mod_dir which provides "trailing slash"
 redirects and serving directory index files.
 
-%description mod_dir -l pl
-Modu³ oferuj±cy przekierowania i serwowanie indeksu katalogu.
+%description mod_dir -l pl.UTF-8
+Moduł oferujący przekierowania o "końcowy slash" oraz przekierowania i
+udostępnianie indeksu katalogu.
+
+%package mod_env
+Summary:       Passing of environments to CGI scripts
+Summary(pl.UTF-8):     Przekazywanie środowiska do skryptów CGI
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_env) = %{version}-%{release}
+
+%description mod_env
+This module allows for control of the environment that will be
+provided to CGI scripts and SSI pages. Environment variables may be
+passed from the shell which invoked the httpd process. Alternatively,
+environment variables may be set or unset within the configuration
+process.
+
+%description mod_env -l pl.UTF-8
+Ten moduł pozwala na kontrolę środowiska udostępnianego skryptom CGI i
+stronom SSI. Zmienne środowiskowe mogą być przekazywane z powłoki w
+czasie uruchamiania procesu httpd, albo - alternatywnie - ustawiane i
+usuwane w procesie konfiguracji.
 
 %package mod_expires
 Summary:       Apache module which generates Expires HTTP headers
-Summary(pl):   Modu³ generuj±cy nag³ówki HTTP Expires
+Summary(pl.UTF-8):     Moduł generujący nagłówki HTTP Expires
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_expires) = %{version}-%{release}
@@ -564,14 +821,14 @@ responses. The expiration date can set to be relative to either the
 time the source file was last modified, or to the time of the client
 access.
 
-%description mod_expires -l pl
-Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
-wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
-¼ród³owych lub odwo³ania klienta.
+%description mod_expires -l pl.UTF-8
+Moduł kontroluje ustawianie nagłówka HTTP Expires. Data wygaśnięcia
+ważności może być ustalana w zależności od czasu modyfikacji plików
+źródłowych lub odwołania klienta.
 
 %package mod_headers
 Summary:       Apache module allows for the customization of HTTP response headers
-Summary(pl):   Modu³ pozwalaj±cy na modyfikacjê nag³ówków HTTP
+Summary(pl.UTF-8):     Moduł pozwalający na modyfikację nagłówków HTTP
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_headers) = %{version}-%{release}
@@ -582,13 +839,14 @@ This package contains mod_headers module. The module allows for the
 customization of HTTP response headers. Headers can be merged,
 replaced or removed.
 
-%description mod_headers -l pl
-Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
-wysy³anych do przegl±darki.
+%description mod_headers -l pl.UTF-8
+Moduł pozwalający na łączenie, usuwania, zamianę nagłówków HTTP
+wysyłanych do przeglądarki. Nagłówki mogą być łączone, zastępowane lub
+usuwane.
 
 %package mod_imap
 Summary:       Apache module with imap-file handler
-Summary(pl):   Modu³ z obs³ug± imap-file
+Summary(pl.UTF-8):     Moduł Apache'a z obsługą imap-file
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_imap) = %{version}-%{release}
@@ -599,12 +857,34 @@ This package contains mod_imap module. It provides for .map files,
 replacing the functionality of the imagemap CGI program. Any directory
 or document type configured to use the handler imap-file.
 
-%description mod_imap -l pl
-Modu³ umozliwiaj±cy obs³ugê plików .map (imap-file handler)
+%description mod_imap -l pl.UTF-8
+Moduł umożliwiający obsługę plików .map, zastępujący funkcjonalność
+programu CGI imagemap.
+
+%package mod_include
+Summary:       Server-parsed documents
+Summary(pl.UTF-8):     Dokumenty przetwarzane po stronie serwera
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_include) = %{version}-%{release}
+
+%description mod_include
+This module provides a handler which will process files before they
+are sent to the client. The processing is controlled by specially
+formated SGML comments, referred to as elements. These elements allow
+conditional text, the inclusion other files or programs, as well as
+the setting and printing of environment variables.
+
+%description mod_include -l pl.UTF-8
+Ten moduł dostarcza procedurę obsługi przetwarzającą pliki przed
+wysłaniem ich do klienta. Przetwarzanie jest sterowane specjalnie
+sformatowanymi komentarzami SGML, nazywanymi elementami. Elementy te
+pozwalają na tekst warunkowy, dołączanie innych plików lub programów,
+a także ustawianie i wypisywanie zmiennych środowiskowych.
 
 %package mod_info
 Summary:       Apache module with comprehensive overview of the server configuration
-Summary(pl):   Modu³ dostarczaj±cy informacji na temat serwera.
+Summary(pl.UTF-8):     Moduł dostarczający informacji na temat serwera
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_info) = %{version}-%{release}
@@ -615,13 +895,63 @@ This package contains mod_info module. It provides a comprehensive
 overview of the server configuration including all installed modules
 and directives in the configuration files.
 
-%description mod_info -l pl
-Modu³ dostarczaj±cy informacji o konfiguracji serwera, zainstalowanych
-modu³ach itp.
+%description mod_info -l pl.UTF-8
+Moduł dostarczający wyczerpujących informacji o konfiguracji serwera,
+w tym zainstalowanych modułach oraz dyrektywach w plikach
+konfiguracyjnych.
+
+%package mod_log_agent
+Summary:       Logging of User Agents
+Summary(pl.UTF-8):     Logowanie nazw klientów (User Agent)
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_log_agent) = %{version}-%{release}
+
+%description mod_log_agent
+This module is provided strictly for compatibility with NCSA httpd,
+and is deprecated. We recommend you use mod_log_config instead.
+
+%description mod_log_agent -l pl.UTF-8
+Ten moduł jest dostarczony wyłącznie dla kompatybilności z NCSA httpd
+i jest niezalecany. Zamiast niego lepiej używać mod_log_config.
+
+%package mod_log_config
+Summary:       User-configurable logging replacement for mod_log_common
+Summary(pl.UTF-8):     Konfigurowalny logujący zamiennik dla mod_log_common
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_log_config) = %{version}-%{release}
+
+%description mod_log_config
+This module provides for flexible logging of client requests. Logs are
+written in a customizable format, and may be written directly to a
+file, or to an external program. Conditional logging is provided so
+that individual requests may be included or excluded from the logs
+based on characteristics of the request.
+
+Three directives are provided by this module: TransferLog to create a
+log file, LogFormat to set a custom format, and CustomLog to define a
+log file and format in one step. The TransferLog and CustomLog
+directives can be used multiple times in each server to cause each
+request to be logged to multiple files.
+
+%description mod_log_config -l pl.UTF-8
+Ten moduł umożliwia elastyczne logowanie żądań klientów. Logi są
+zapisywane w konfigurowalnym formacie i mogą być zapisywane
+bezpośrednio do pliku lub przekazywane do zewnętrznego programu.
+Dostępne jest logowanie warunkowe polegające na włączeniu lub
+wyłączeniu poszczególnych żądań z logowania na podstawie
+charakterystyki żądania.
+
+Ten moduł udostępnia trzy dyrektywy: TransferLog tworzący plik logu,
+LogFormat ustawiający własny format logowania i CustomLog określający
+plik logu i format jednocześnie. Dyrektywy TransferLog i CustomLog
+mogą być używane wielokrotnie w każdym serwerze powodując logowanie
+każdego żądania do wielu plików.
 
 %package mod_log_forensic
 Summary:       Apache module for forensic logging of the requests
-Summary:       Modu³ Apache'a do logowania ¿±dañ w celu pó¼niejszej analizy
+Summary(pl.UTF-8):     Moduł Apache'a do logowania żądań w celu późniejszej analizy
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_log_forensic) = %{version}-%{release}
@@ -631,13 +961,83 @@ Obsoletes:        apache-mod_log_forensic < 2.0.0
 This module provides for forensic logging of client requests. Logging
 is done before and after processing a request.
 
-%description mod_log_forensic -l pl
-Ten modu³ pozwala na logowanie ¿±dañ w celu pó¼niejszej analizy.
-Logowanie jest wykonywane przed i po przetworzeniu ¿±dania.
+%description mod_log_forensic -l pl.UTF-8
+Ten moduł pozwala na logowanie żądań w celu późniejszej analizy.
+Logowanie jest wykonywane przed i po przetworzeniu żądania.
+
+%package mod_log_referer
+Summary:       User-configurable logging replacement for mod_log_common
+Summary(pl.UTF-8):     Konfigurowalny logujący zamiennik dla mod_log_common
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_log_referer) = %{version}-%{release}
+
+%description mod_log_referer
+This module is provided strictly for compatibility with NCSA httpd,
+and is deprecated. We recommend you use mod_log_config instead.
+
+%description mod_log_referer -l pl.UTF-8
+Ten moduł jest dostarczony wyłącznie dla kompatybilności z NCSA httpd
+i jest niezalecany. Zamiast niego lepiej używać mod_log_config.
+
+%package mod_mime
+Summary:       Determining document types using file extensions
+Summary(pl.UTF-8):     Określanie typów dokumentów przy użyciu rozszerzeń plików
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_mime) = %{version}-%{release}
+
+%description mod_mime
+This module is used to determine various bits of "meta information"
+about documents. This information relates to the content of the
+document and is returned to the browser or used in content-negotiation
+within the server. In addition, a "handler" can be set for a document,
+which determines how the document will be processed within the server.
+
+%description mod_mime -l pl.UTF-8
+Ten moduł służy do określania różnych fragmentów metainformacji
+dotyczących dokumentów. Informacja ta odnoszi się do zawartości
+dokumentu i jest zwracana przeglądarce albo używana przy negocjacji
+treści wewnątrz serwera. Ponadto dla dokumentu można ustawić procedurę
+obsługi, określającą w jaki sposób dokument będzie przetwarzany
+wewnątrz serwera.
+
+%package mod_mime_magic
+Summary:       Determining document types using "magic numbers"
+Summary(pl.UTF-8):     Określanie typów dokumentów przy użyciu "liczb magicznych"
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_mime_magic) = %{version}-%{release}
+
+%description mod_mime_magic
+This module determines the MIME type of files in the same way the Unix
+file(1) command works: it looks at the first few bytes of the file. It
+is intended as a "second line of defense" for cases that mod_mime
+can't resolve. To assure that mod_mime gets first try at determining a
+file's MIME type, be sure to list mod_mime_magic before mod_mime in
+the configuration.
+
+This module is derived from a free version of the file(1) command for
+Unix, which uses "magic numbers" and other hints from a file's
+contents to figure out what the contents are. This module is active
+only if the magic file is specified by the MimeMagicFile directive.
+
+%description mod_mime_magic -l pl.UTF-8
+Ten moduł określa typ MIME plików w ten sam sposób, co polecenie
+file(1): sprawdza pierwsze kilka bajtów pliku. Ma być "drugą linią
+obrony" dla przypadków, których nie może rozwiązać mod_mime. Aby mieć
+pewność, że mod_mime dostaje pierwszą próbę określenia typu MIME,
+należy upewnić się, że mod_mime_magic jest umieszczony w konfiguracji
+przed mod_mime.
+
+Ten moduł wywodzi się z wolnodostępnej wersji polecenia file(1) dla
+uniksów, używającej "liczb magicznych" i innych podpowiedzi z
+zawartości plików w celu rozpoznania zawartości. Moduł jest aktywny
+tylko jeśli plik magic został określony dyrektywą MimeMagicFile.
 
 %package mod_mmap_static
 Summary:       Apache module for mmap()ing statically configured list files
-Summary(pl):   Modu³ s³u¿±cy do mmap()owania plików.
+Summary(pl.UTF-8):     Moduł służący do mmap()owania plików
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_mmap_static) = %{version}-%{release}
@@ -648,15 +1048,42 @@ This package contains mod_mmap_static module. It provides mmap()ing of
 a statically configured list of frequently requested but not changed
 files.
 
-%description mod_mmap_static -l pl
-Modu³ umo¿liwia mmap()owanie statycznie skonfigurowanych plików
-(czêsto u¿ywanych ale nie ulegaj±cych zmianom).
+%description mod_mmap_static -l pl.UTF-8
+Moduł umożliwia mmap()owanie statycznie skonfigurowanych plików
+(często używanych, ale nie ulegających zmianom).
+
+%package mod_negotiation
+Summary:       Content negotiation
+Summary(pl.UTF-8):     Negocjacja treści
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_negotiation) = %{version}-%{release}
+
+%description mod_negotiation
+Content negotiation, or more accurately content selection, is the
+selection of the document that best matches the clients capabilities,
+from one of several available documents. There are two implementations
+of this.
+- A type map (a file with the handler type-map) which explicitly lists
+  the files containing the variants.
+- A MultiViews search (enabled by the MultiViews Option, where the
+  server does an implicit filename pattern match, and choose from
+  amongst the results.
+
+%description mod_negotiation -l pl.UTF-8
+Negocjacja treści, albo bardziej precyzyjnie wybór treści, to wybór
+dokumentu najbardziej pasującego do możliwości klienta spośród różnych
+dostępnych dokumentów. Są dwie różne implementacje.
+- Odwzorowanie typów (plik z obsługą type-map) wypisujący explicite
+  pliki zawierające warianty.
+- Wyszukiwanie MultiViews (włączane opcją MultiViews, kiedy serwer
+  dopasowuje implicite wzorzec nazwy pliku i wybiera spośród wyników).
 
 %package mod_proxy
 Summary:       Apache module with Web proxy
-Summary(pl):   Modu³ dodaj±cy obs³ugê serwera proxy
+Summary(pl.UTF-8):     Moduł dodający obsługę serwera proxy
 Group:         Networking/Daemons
-Requires(triggerpostun):       %{apxs}
+Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_proxy) = %{version}-%{release}
 Obsoletes:     apache-mod_proxy < 2.0.0
@@ -665,16 +1092,19 @@ Obsoletes:       apache-mod_proxy < 2.0.0
 This package contains module with implementation a proxy/cache for
 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
 HTTP/0.9, and HTTP/1.0. The module can be configured to connect to
-other proxy modules for these and other protocols.
+other proxy modules for these and other protocols. Contains patch
+from: <http://allafrica.com/tools/apache/mod_proxy/>
 
-%description mod_proxy -l pl
-Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
-Iplementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9 i
-HTTP/1.0.
+%description mod_proxy -l pl.UTF-8
+Moduł zawiera implementację serwera proxy/cache dla Apache.
+Iplementacja zawiera obsługę FTP, CONNECT (dla SSL), HTTP/0.9 i
+HTTP/1.0. Ten moduł może być skonfigurowany tak, aby łączył się z
+innymi modułami proxy dla tych i innych protokołów. Zawiera łatę z
+<http://allafrica.com/tools/apache/mod_proxy/>.
 
 %package mod_rewrite
 Summary:       Apache module with rule-based engine for rewrite requested URLs on the fly
-Summary(pl):   Modu³ do ,,przepisywania'' adresów URL w locie
+Summary(pl.UTF-8):     Moduł do ,,przepisywania'' adresów URL w locie
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_rewrite) = %{version}-%{release}
@@ -684,14 +1114,62 @@ Obsoletes:       apache-mod_rewrite < 2.0.0
 This package contains It provides a rule-based rewriting engine to
 rewrite requested URLs on the fly.
 
-%description mod_rewrite -l pl
-Modu³ oferuj±cy mo¿liwo¶æ ,,przepisywania'' adresów URL w locie.
+%description mod_rewrite -l pl.UTF-8
+Moduł oferujący możliwość ,,przepisywania'' adresów URL w locie.
+
+%package mod_setenvif
+Summary:       Set environment variables based on client information
+Summary(pl.UTF-8):     Ustawianie zmiennych środowiskowych w oparciu o informacje o kliencie
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_setenvif) = %{version}-%{release}
+
+%description mod_setenvif
+The mod_setenvif module allows you to set environment variables
+according to whether different aspects of the request match regular
+expressions you specify. These environment variables can be used by
+other parts of the server to make decisions about actions to be taken.
+
+%description mod_setenvif -l pl.UTF-8
+Moduł mod_setenvif pozwala na ustawianie zmiennych środowiskowych w
+zależności od różnych aspektów żądania pasujących do podanych wyrażeń
+regularnych. Te zmienne środowiskowe mogą być używane przez inne
+części serwera do podejmowania decyzji o podejmowanych akcjach.
+
+%package mod_speling
+Summary:       Automatically correct minor typos in URLs
+Summary(pl.UTF-8):     Automatyczne poprawianie pomniejszych literówek w URL-ach
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_speling) = %{version}-%{release}
+
+%description mod_speling
+Requests to documents sometimes cannot be served by the core Apache
+server because the request was misspelled or miscapitalized. This
+module addresses this problem by trying to find a matching document,
+even after all other modules gave up. It does its work by comparing
+each document name in the requested directory against the requested
+document name without regard to case, and allowing up to one
+misspelling (character insertion / omission / transposition or wrong
+character). A list is built with all document names which were matched
+using this strategy.
+
+%description mod_speling -l pl.UTF-8
+Czasami żądania dokumentów nie mogą być wykonane przez sam serwer
+Apache, ponieważ żądanie zostało napisane z błędem w znakach lub
+wielkości liter. Ten moduł próbuje rozwiązać ten problem próbując
+znaleźć pasujący dokument, nawet jeśli inne moduły się poddały. Działa
+on poprzez porównywanie nazwy każdego dokumentu w żądanym katalogu z
+żądaną nazwą dokumentu bez zwracania uwagi na wielkość liter i
+pozwalając na jeden błąd (dodany, pominięty, przestawiony lub zły
+znak). Tworzona jest lista dla wszystkich nazw dokumentów pasujących
+dla tej strategii.
 
 %package mod_status
 Summary:       Server status report module for apache
-Summary(pl):   Modu³ dostarczaj±cy informacje statystyczne o serwerze.
+Summary(pl.UTF-8):     Moduł dostarczający informacje statystyczne o serwerze
 Group:         Networking/Daemons
-Requires(triggerpostun):       %{apxs}
+Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_status) = %{version}-%{release}
 Obsoletes:     apache-mod_status < 2.0.0
@@ -703,13 +1181,15 @@ current server statistics in an easily readable form. If required this
 page can be made to automatically refresh (given a compatible
 browser).
 
-%description mod_status -l pl
-Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
-pracy serwera apache (w postaci strony HTML).
+%description mod_status -l pl.UTF-8
+Moduł pozwala administratorowi na przeglądanie statystyk dotyczących
+pracy serwera apache (w postaci strony HTML). Strona ta może się
+automatycznie odświeżać (o ile jest to obsługiwane przez
+przeglądarkę).
 
 %package mod_unique_id
 Summary:       Apache module which provides a magic token for each request
-Summary(pl):   Modu³ nadaj±cy ka¿demu ¿±daniu unikalny token
+Summary(pl.UTF-8):     Moduł nadający każdemu żądaniu unikalny token
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_unique_id) = %{version}-%{release}
@@ -724,15 +1204,28 @@ machines. The environment variable UNIQUE_ID is set to the identifier
 for each request. Unique identifiers are useful for various reasons
 which are beyond the scope of this document.
 
-%description mod_unique_id -l pl
-Modu³ nadaje przy ka¿dym ¿±daniu token unikalny w ramach wszystkich
-¿±dañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
-maszyn. Modu³ ustawia przy ka¿dym ¿±daniu zmienn± ¶rodowiskow±
+%description mod_unique_id -l pl.UTF-8
+Moduł nadaje przy każdym żądaniu token unikalny w ramach wszystkich
+żądań, nawet w ramach poprawnie skonfigurowanego klastra z wielu
+maszyn. Moduł ustawia przy każdym żądaniu zmienną środowiskową
 UNIQUE_ID.
 
+%package mod_userdir
+Summary:       User home directories
+Summary(pl.UTF-8):     Katalogi domowe użytkowników
+Group:         Networking/Daemons
+Requires:      %{name}(EAPI) = %{version}-%{release}
+Provides:      apache(mod_userdir) = %{version}-%{release}
+
+%description mod_userdir
+This module provides for user-specific directories.
+
+%description mod_userdir -l pl.UTF-8
+Ten moduł dostarcza obsługę katalogów specyficznych dla uzytkownika.
+
 %package mod_usertrack
 Summary:       Apache module for user tracking using cookies
-Summary(pl):   Modu³ s³u¿±cy do ¶ledzenia u¿ytkowników przy u¿yciu ciasteczek
+Summary(pl.UTF-8):     Moduł służący do śledzenia użytkowników przy użyciu ciasteczek
 Group:         Networking/Daemons
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_usertrack) = %{version}-%{release}
@@ -743,16 +1236,16 @@ This package contains the user tracking module which did its own
 logging using CookieLog directory. This module allow multiple log
 files.
 
-%description mod_usertrack -l pl
-Modu³ pozwalaj±cy na ¶ledzenie u¿ytkowników przy pomocy ciasteczek.
-Modu³ ma w³asne logowanie przy u¿yciu katalogu CookieLog; pozwala na
-wiele plików logów.
+%description mod_usertrack -l pl.UTF-8
+Moduł pozwalający na śledzenie użytkowników przy pomocy ciasteczek.
+Moduł ma własne logowanie przy użyciu katalogu CookieLog; pozwala na
+wiele plików logów.
 
 %package mod_vhost_alias
 Summary:       Apache module for dynamically configured mass virtual hosting
-Summary(pl):   Modu³ dodaj±cy obs³ugê hostów wirtualnych.
+Summary(pl.UTF-8):     Moduł dodający obsługę hostów wirtualnych
 Group:         Networking/Daemons
-Requires(triggerpostun):       %{apxs}
+Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_vhost_alias) = %{version}-%{release}
 Obsoletes:     apache-mod_vhost_alias < 2.0.0
@@ -761,13 +1254,13 @@ Obsoletes:       apache-mod_vhost_alias < 2.0.0
 This package contains the mod_vhost_alias. It provides support for
 dynamically configured mass virtual hosting.
 
-%description mod_vhost_alias -l pl
-Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
+%description mod_vhost_alias -l pl.UTF-8
+Moduł umożliwia na dynamiczne konfigurowanie masowej ilości serwerów
 wirtualnych.
 
 %package -n htpasswd-%{name}
 Summary:       Apache 1.x htpasswd utility
-Summary(pl):   Narzêdzie htpasswd z Apache'a 1.x
+Summary(pl.UTF-8):     Narzędzie htpasswd z Apache'a 1.x
 Group:         Networking/Utilities
 Provides:      htpasswd
 Obsoletes:     htpasswd
@@ -778,15 +1271,28 @@ usernames and password for basic authentication of HTTP users. This
 package contains htpasswd from Apache 1.x; this version supports
 plaintext passwords and CRYPT (default), MD5 and SHA1 encryptions.
 
-%description -n htpasswd-%{name} -l pl
-htpasswd s³u¿y do tworzenia i uaktualniania p³askich plików s³u¿±cych
-do przechowywania nazw u¿ytkowników i hase³ do uwierzytelnienia basic
-u¿ytkowników HTTP. Ten pakiet zawiera htpasswd z Apache'a 1.x; ta
-wersja obs³uguje has³a zapisane czystym tekstem oraz zakodowane
-algorytmami CRYPT (domy¶lnym), MD5 i SHA1.
+%description -n htpasswd-%{name} -l pl.UTF-8
+htpasswd służy do tworzenia i uaktualniania płaskich plików służących
+do przechowywania nazw użytkowników i haseł do uwierzytelnienia basic
+użytkowników HTTP. Ten pakiet zawiera htpasswd z Apache'a 1.x; ta
+wersja obsługuje hasła zapisane czystym tekstem oraz zakodowane
+algorytmami CRYPT (domyślnym), MD5 i SHA1.
+
+%package cgi_test
+Summary:       cgi test/demo programs
+Summary(pl.UTF-8):     Programy testowe/przykładowe cgi
+Group:         Networking/Utilities
+Requires:      %{name}-base = %{version}-%{release}
+Requires:      filesystem >= 2.0-1
+
+%description cgi_test
+Two cgi test/demo programs: test-cgi and print-env.
+
+%description cgi_test -l pl.UTF-8
+Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 
 %prep
-%setup -q -n apache_%{version} -a3
+%setup -q -n apache_%{version} %{?with_lingerd:-a25}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -795,121 +1301,154 @@ algorytmami CRYPT (domy
 %patch5 -p0
 %patch6 -p1
 %patch7 -p1
-%{?with_ipv6:%patch8 -p1}
-%patch9 -p1
+%patch8 -p1
+%{?with_ipv6:%patch9 -p1}
 %patch10 -p1
 %patch11 -p1
-%{?with_rewrite_ldap:%patch12 -p1}
-%patch13 -p1
+%patch12 -p1
+%{?with_rewrite_ldap:%patch13 -p1}
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
-%{!?with_ipv6:%patch18 -p1}
-%patch19 -p1
+%patch18 -p1
+%{!?with_ipv6:%patch19 -p1}
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
+%patch25 -p1
+
+%patch26 -p2
+%patch27 -p2
+%patch28 -p2
+%patch29 -p2
+%patch30 -p2
+%patch31 -p2
+%patch32 -p2
+%patch33 -p2
+%patch34 -p2
+%patch35 -p2
+%patch36 -p2
+%patch37 -p2
+%patch38 -p2
+%patch39 -p2
+%patch40 -p2
+%patch41 -p2
+
+%if %{with lingerd}
+mkdir -p lingerd
+cp -a lingerd-*/{README,TUNING,LICENSE,TODO,ChangeLog} lingerd
+cp -a lingerd-*/{apache-1.3/ap_lingerd.c,li_config.h} src/main
+%patch42 -p1
+%endif
+
+# make manual link with full path
+%{__sed} -i -e 's,href="manual/,href="/manual/,i' htdocs/index.html.*
+
+# fix libdir (at least in PLD layout; no need to care about other ones)
+%{__sed} -i -e 's,/lib$,/%{_lib},' config.layout
 
 %build
 OPTIM="%{rpmcflags} -DHARD_SERVER_LIMIT=2048" \
 ./configure \
-       --prefix=%{_sysconfdir} \
-       --exec-prefix=%{_libexecdir} \
-       --bindir=%{_bindir} \
-       --sbindir=%{_sbindir} \
-       --sysconfdir=%{_sysconfdir} \
-       --datadir=%{_datadir} \
-       --includedir=%{_includedir} \
-       --libexecdir=%{_sysconfdir}/modules \
-       --localstatedir=/var \
-       --mandir=%{_mandir} \
-       --manualdir=%{manualdir} \
-       --runtimedir=/var/run \
-       --logfiledir=/var/log/apache \
        --with-layout=PLD \
        --without-confadjust \
        --enable-module=all \
        --enable-module=auth_digest \
        --enable-shared=max \
-       --proxycachedir=/var/cache/apache \
-       --with-perl=%{_bindir}/perl \
+       --with-perl=%{__perl} \
        --enable-suexec \
        --suexec-caller=http \
        --suexec-uidmin=500 \
        --suexec-gidmin=500 \
-       --suexec-docroot=%{_datadir} \
+       --suexec-docroot=%{httpdir} \
        --disable-rule=WANTHSREGEX \
        --enable-rule=EAPI \
        --target=apache \
        %{?with_ipv6:--enable-rule=INET6}
 
 %{__make} \
+       CC="%{__cc}"
        LIBS1="-lm -lcrypt -lmm -ldl"
 
 rm -f src/modules/standard/mod_auth_db.so
 %{__make} -C src/modules/standard mod_auth_db.so \
+       CC="%{__cc}"
        LIBS_SHLIB="-ldb"
 
 rm -f src/modules/standard/mod_rewrite.so
 %{__make} -C src/modules/standard mod_rewrite.so \
+       CC="%{__cc}"
        LIBS_SHLIB="-ldb %{?with_rewrite_ldap:-lldap -llber}"
 
+%if %{with lingerd}
+%{__make} -C lingerd-* lingerd \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
+       LDFLAGS="%{rpmldflags}"
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
-       $RPM_BUILD_ROOT%{_datadir}/errordocs \
-       $RPM_BUILD_ROOT%{_sysconfdir}/conf.d \
+install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d} \
+       $RPM_BUILD_ROOT%{httpdir}/html \
        $RPM_BUILD_ROOT%{_libexecdir} \
-       $RPM_BUILD_ROOT/var/{log/{apache,archiv/apache},run/apache}
+       $RPM_BUILD_ROOT/var/{log/{apache,archive/apache},run/apache}
 
 %{__make} -j1 install-quiet \
        root=$RPM_BUILD_ROOT
 
-#mv -f $RPM_BUILD_ROOT%{_datadir}/html/manual $RPM_BUILD_ROOT%{_datadir}
-
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache1
+sed -e 's,/usr/lib,%{_libdir},g' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+mv $RPM_BUILD_ROOT%{_mandir}/hu/man8/{httpd,apache}.8
+mv $RPM_BUILD_ROOT%{_mandir}/pl/man8/{httpd,apache}.8
 
 touch $RPM_BUILD_ROOT/var/log/apache/{access,error,agent,referer}_log
 
-install errordocs/* $RPM_BUILD_ROOT%{_datadir}/errordocs
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
+cp -a errordocs/* $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
 
 mv $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf conf/apache.conf.dist
-install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
+cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 
 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d"
 
 echo "LoadModule access_module      modules/mod_access.so" > $CFG/01_mod_access.conf
-install %{SOURCE17}    $CFG/02_mod_alias.conf
+echo "LoadModule alias_module       modules/mod_alias.so" > $CFG/02_mod_alias.conf
 echo "LoadModule asis_module        modules/mod_asis.so" > $CFG/03_mod_asis.conf
-install %{SOURCE21} $CFG/04_mod_cern_meta.conf
+cp -a %{SOURCE21} $CFG/04_mod_cern_meta.conf
 echo "LoadModule cgi_module         modules/mod_cgi.so" > $CFG/05_mod_cgi.conf
 echo "LoadModule env_module         modules/mod_env.so" > $CFG/06_mod_env.conf
 echo "LoadModule include_module     modules/mod_include.so" > $CFG/07_mod_include.conf
 echo "LoadModule log_agent_module   modules/mod_log_agent.so" > $CFG/08_mod_log_agent.conf
-install %{SOURCE14} $CFG/09_mod_log_config.conf
+cp -a %{SOURCE14} $CFG/09_mod_log_config.conf
 echo "LoadModule log_referer_module modules/mod_log_referer.so" > $CFG/10_mod_log_referer.conf
-install %{SOURCE16}    $CFG/11_mod_mime_magic.conf
-install %{SOURCE19}    $CFG/12_mod_mime.conf
-install %{SOURCE18} $CFG/13_mod_negotiation.conf
-install %{SOURCE22}    $CFG/14_mod_setenvif.conf
+cp -a %{SOURCE16}      $CFG/11_mod_mime_magic.conf
+cp -a %{SOURCE19}      $CFG/12_mod_mime.conf
+cp -a %{SOURCE18} $CFG/13_mod_negotiation.conf
+cp -a %{SOURCE22}      $CFG/14_mod_setenvif.conf
 echo "LoadModule speling_module     modules/mod_speling.so" > $CFG/15_mod_speling.conf
-install %{SOURCE15}    $CFG/16_mod_userdir.conf
+cp -a %{SOURCE15}      $CFG/16_mod_userdir.conf
 
-install %{SOURCE8}     $CFG/20_common.conf
+cp -a %{SOURCE8}       $CFG/20_common.conf
+cp -a %{SOURCE6}       $CFG/30_defaultindex.conf
+cp -a %{SOURCE26}      $CFG/30_manual.conf
 
-install %{SOURCE23}    $CFG/20_mod_vhost_alias.conf
-install %{SOURCE9}     $CFG/25_mod_status.conf
-install %{SOURCE10}    $CFG/30_mod_proxy.conf
-install %{SOURCE20}    $CFG/50_mod_actions.conf
+cp -a %{SOURCE23}      $CFG/20_mod_vhost_alias.conf
+cp -a %{SOURCE9}       $CFG/25_mod_status.conf
+cp -a %{SOURCE10}      $CFG/30_mod_proxy.conf
+cp -a %{SOURCE20}      $CFG/50_mod_actions.conf
 echo "LoadModule auth_module   modules/mod_auth.so" > $CFG/51_mod_auth.conf
 echo "LoadModule auth_anon_module      modules/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
 echo "LoadModule auth_db_module        modules/mod_auth_db.so" > $CFG/53_mod_auth_db.conf
 echo "LoadModule auth_digest_module    modules/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
-install %{SOURCE11}    $CFG/57_mod_autoindex.conf
-install %{SOURCE12}    $CFG/59_mod_dir.conf
+cp -a %{SOURCE11}      $CFG/57_mod_autoindex.conf
+cp -a %{SOURCE12}      $CFG/59_mod_dir.conf
 echo "LoadModule expires_module        modules/mod_expires.so" > $CFG/67_mod_expires.conf
 echo "LoadModule headers_module        modules/mod_headers.so" > $CFG/68_mod_headers.conf
 echo "LoadModule imap_module   modules/mod_imap.so" > $CFG/69_mod_imap.conf
@@ -920,88 +1459,83 @@ echo "LoadModule define_module   modules/mod_define.so" > $CFG/73_mod_define.conf
 echo "LoadModule digest_module modules/mod_digest.so" > $CFG/74_mod_digest.conf
 echo "LoadModule log_forensic_module   modules/mod_log_forensic.so" > $CFG/75_mod_log_forensic.conf
 echo "LoadModule mmap_static_module    modules/mod_mmap_static.so" > $CFG/76_mod_mmap_static.conf
-install %{SOURCE13} $CFG/77_mod_info.conf
-install %{SOURCE24}    $CFG/80_errordocs.conf
+cp -a %{SOURCE13} $CFG/77_mod_info.conf
+cp -a %{SOURCE24}      $CFG/80_errordocs.conf
+cp -a %{SOURCE17}      $CFG/80_mod_alias.conf
+# cgi_test: create config file with ScriptAlias
+cat << 'EOF' > $CFG/09_cgi_test.conf
+ScriptAlias /cgi-bin/printenv %{cgibindir}/printenv
+ScriptAlias /cgi-bin/test-cgi %{cgibindir}/test-cgi
+EOF
 
-install %{SOURCE6} $RPM_BUILD_ROOT/etc/monit
-
-ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
+ln -sf index.html.en $RPM_BUILD_ROOT%{docroot}/index.html
 
 mv $RPM_BUILD_ROOT%{_sbindir}/apxs $RPM_BUILD_ROOT%{apxs}
 mv $RPM_BUILD_ROOT%{_mandir}/man8/apxs.8 $RPM_BUILD_ROOT%{_mandir}/man8/apxs1.8
 
 perl -p -i -e 's/^if ...O ne "MSWin32"./if (0)/' $RPM_BUILD_ROOT%{apxs}
 
-mv $RPM_BUILD_ROOT%{_sysconfdir}/modules/* $RPM_BUILD_ROOT%{_libexecdir}
-rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/modules
-ln -s %{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
-ln -s /var/log/apache $RPM_BUILD_ROOT%{_sysconfdir}/logs
+ln -s ../..%{_libexecdir} $RPM_BUILD_ROOT%{_sysconfdir}/modules
+ln -s ../../var/log/apache $RPM_BUILD_ROOT%{_sysconfdir}/logs
+
+ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}
+
+# Not packaged.
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.default
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/{access,srm}.conf
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
+rm -f $RPM_BUILD_ROOT%{_libexecdir}/*.exp
+rm -f $RPM_BUILD_ROOT%{_libexecdir}/mod_{auth_dbm,example}.so
+rm -f $RPM_BUILD_ROOT%{_mandir}/README*
 
-#htpasswd
-ln -sf ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}/
+rm -rf $RPM_BUILD_ROOT%{_datadir}/apache-icons
+install -d $RPM_BUILD_ROOT%{_datadir}/apache-icons
+%{__tar} -zxf %{SOURCE3} --strip-components=1 -C $RPM_BUILD_ROOT%{_datadir}/apache-icons
+
+# Not for our os or for older apache
+rm $RPM_BUILD_ROOT%{manualdir}/{cygwin,ebcdic,install-{z,}tpf,man-template}.html
+rm $RPM_BUILD_ROOT%{manualdir}/mod/mod_{auth_dbm,browser,dld,example,isapi,log_common}.html
+rm $RPM_BUILD_ROOT%{manualdir}/{mpeix,netware,new_features_1_[0-2],readme-tpf,suexec_1_2,unixware,vhosts/details_1_2}.html
+rm $RPM_BUILD_ROOT%{manualdir}/{win_{compiling,service}.html*,windows.html*}
+
+%if %{with lingerd}
+install lingerd-*/lingerd $RPM_BUILD_ROOT%{_libexecdir}
+install -d $RPM_BUILD_ROOT%{_localstatedir}/run/lingerd
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-if [ -n "`getgid http`" ]; then
-       if [ "`getgid http`" != "51" ]; then
-               echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
-               exit 1
-       fi
-else
-       echo "Adding group http GID=51."
-       /usr/sbin/groupadd -g 51 -r -f http
-fi
-if [ -n "`id -u http 2>/dev/null`" ]; then
-       if [ "`id -u http`" != "51" ]; then
-               echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
-               exit 1
-       fi
-       if [ "`getent passwd http | cut -d: -f6`" = "/home/httpd" ]; then
-               /usr/sbin/usermod -d %{httpdir} http
-       fi
-else
-       echo "Adding user http UID=51."
-       /usr/sbin/useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http 1>&2
+%pre base
+%groupadd -g 51 -r -f http
+%useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http
+if [ "$(getent passwd http | cut -d: -f6)" = "/home/httpd" ]; then
+       /usr/sbin/usermod -d %{httpdir} http
 fi
 
-%post
+%post base
 /sbin/chkconfig --add apache
 umask 137
 touch /var/log/apache/{access,error,agent,referer}_log
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
 
-%preun
+%preun base
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache stop 1>&2
-       fi
+       %service apache stop
        /sbin/chkconfig --del apache
 fi
 
-%postun
+%postun base
 if [ "$1" = "0" ]; then
        %userremove http
        %groupremove http
 fi
 
-%triggerpostun -- apache < 2.0.0
-if [ -z "`getgid http`" ]; then
-       echo "Adding group http GID=51."
-       /usr/sbin/groupadd -g 51 -r -f http
-fi
-if [ -z "`id -u http 2>/dev/null`" ]; then
-       echo "Adding user http UID=51."
-       /usr/sbin/useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http 1>&2
-fi
+%triggerpostun base -- apache < 2.0.0
+%groupadd -g 51 -r -f http
+%useradd -u 51 -r -d %{httpdir} -s /bin/false -c "HTTP User" -g http http
 /sbin/chkconfig --add apache
 
-%triggerpostun -- apache1 < 1.3.33-1.85
+%triggerpostun base -- apache1 < 1.3.33-1.85
 # upgrading from older version
 if [ "$1" = "2" ]; then
        sed -i -e '
@@ -1013,471 +1547,460 @@ if [ "$1" = "2" ]; then
        ' /etc/apache/apache.conf
 fi
 
-%triggerpostun -- %{name} <= 1.3.31-5
-echo "WARNING!!!"
-echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
-echo "If you want to have the same functionality do:"
-echo "poldek --upgrade %{name}-mod_autoindex"
-echo
+%triggerpostun base -- %{name} <= 1.3.31-5
+%banner %{name} -e -a <<EOF
+WARNING!!!
+ Since 1.3.31-5 version autoindex module has been separated to package %{name}-mod_autoindex
+ If you need previous functionality please run:
+poldek -Uv %{name}-mod_autoindex
+
+EOF
+
+%triggerpostun base -- %{name} < 1.3.33-3.4
+%banner %{name} -e -a <<EOF
+WARNING!!!
+ Since 1.3.33-3.4 version following modules have been separated to subpackages
+ If you need previous functionality please run:
+ poldek -Uv %{name}-MODULENAME
+ where MODULENAME is one (or all) of:
+       mod_asis
+       mod_cern_meta
+       mod_cgi
+       mod_env
+       mod_include
+       mod_log_agent
+       mod_log_config
+       mod_log_referer
+       mod_mime
+       mod_mime_magic
+       mod_negotiation
+       mod_setenvif
+       mod_speling
+       mod_userdir
+EOF
+
+%triggerpostun base -- %{name} < 1.3.33-6.7
+# update /etc/sysconfig/apache1 -> apache rename
+if [ -f /etc/sysconfig/apache1.rpmsave ]; then
+       cp -f /etc/sysconfig/apache{,.rpmnew}
+       mv -f /etc/sysconfig/apache{1.rpmsave,}
+fi
 
-%post mod_actions
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
+%triggerpostun base -- %{name} < 1.3.34-5.9
+if ! grep -q 'Include webapps.d/' /etc/apache/apache.conf; then
+# make sure webapps.d is included
+cp -f /etc/apache/apache.conf{,.rpmsave}
+sed -i -e '
+       /^Include conf.d/{
+               a
+               a# Include webapps config
+               aInclude webapps.d/*.conf
+       }
+' /etc/apache/apache.conf
 fi
 
-%postun mod_actions
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+%triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2
+sed -i -e '/^\(Add\|Load\)Module.*mod_auth_dbm\.\(so\|c\)/d' /etc/apache/apache.conf
+
+%triggerpostun mod_autoindex -- apache1-mod_autoindex < 1.3.33-1.85
+sed -i -e '
+       /^\(Add\|Load\)Module.*mod_autoindex\.\(so\|c\)/d
+       s,^Include.*mod_autoindex.conf,Include %{_sysconfdir}/conf.d/*_mod_autoindex.conf,
+' /etc/apache/apache.conf
+
+%triggerpostun mod_proxy -- apache1-mod_proxy < 1.3.33-1.85
+sed -i -e '
+       /^LoadModule.*libproxy\.so/d
+       /^AddModule.*mod_proxy\.c/d
+       s,^Include.*mod_proxy.conf,Include %{_sysconfdir}/conf.d/*_mod_proxy.conf,
+' /etc/apache/apache.conf
+
+%triggerpostun mod_status -- apache1-mod_status < 1.3.33-1.85
+sed -i -e '
+       /^\(Add\|Load\)Module.*mod_status\.\(so\|c\)/d
+       s,^Include.*mod_status.conf,Include %{_sysconfdir}/conf.d/*_mod_status.conf,
+' /etc/apache/apache.conf
+
+%triggerpostun mod_vhost_alias -- apache1-mod_vhost_alias < 1.3.33-1.85
+sed -i -e '
+       /^\(Add\|Load\)Module.*mod_vhost_alias\.\(so\|c\)/d
+       s,^Include.*mod_vhost_alias.conf,Include %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf,
+' /etc/apache/apache.conf
+
+%posttrans base
+# minimizing apache restarts logics. we restart webserver:
+#
+# 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
+# 2. first install of module (post: $1 = 1)
+# 2. uninstall of module (postun: $1 == 0)
+#
+# the strict internal deps between apache modules and
+# main package are very important for all this to work.
+
+# restart webserver at the end of transaction
+%service apache restart "Apache HTTP daemon"
+
+# macro called at module post scriptlet
+%define        module_post \
+if [ "$1" = "1" ]; then \
+       %service -q apache restart \
 fi
 
-%post mod_auth
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
+# macro called at module postun scriptlet
+%define        module_postun \
+if [ "$1" = "0" ]; then \
+       %service -q apache restart \
 fi
 
-%postun mod_auth
+%post errordocs
+if [ "$1" = "1" ]; then
+       %service -q apache reload
+fi
+
+%postun errordocs
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+       %service -q apache reload
 fi
 
+%post mod_access
+%module_post
+
+%postun mod_access
+%module_postun
+
+%post mod_actions
+%module_post
+
+%postun mod_actions
+%module_postun
+
+%post mod_alias
+%module_post
+
+%postun mod_alias
+%module_postun
+
+%post mod_asis
+%module_post
+
+%postun mod_asis
+%module_postun
+
+%post mod_auth
+%module_post
+
+%postun mod_auth
+%module_postun
+
 %post mod_auth_anon
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_auth_anon
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_auth_db
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_auth_db
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
-
-%triggerpostun mod_auth_db -- apache-mod_auth_db <= 1.3.20-2
-%{apxs} -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
+%module_postun
 
 %post mod_auth_digest
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       else
-               echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-       fi
-fi
+%module_post
 
 %postun mod_auth_digest
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_autoindex
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-fi
+%module_post
 
 %postun mod_autoindex
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
-%triggerpostun mod_autoindex -- apache1-mod_autoindex < 1.3.33-1.85
-%{apxs} -e -A -n autoindex %{_libexecdir}/mod_autoindex.so 1>&2
-sed -i -e '
-       s,^Include.*mod_autoindex.conf,Include %{_sysconfdir}/conf.d/*_mod_autoindex.conf,
-' /etc/apache/apache.conf
+%post mod_cern_meta
+%module_post
+
+%postun mod_cern_meta
+%module_postun
+
+%post mod_cgi
+%module_post
+
+%postun mod_cgi
+%module_postun
 
 %post mod_define
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_define
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_digest
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_digest
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_dir
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_dir
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_env
+%module_post
+
+%postun mod_env
+%module_postun
 
 %post mod_expires
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_expires
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_headers
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_headers
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_imap
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_imap
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_include
+%module_post
+
+%postun mod_include
+%module_postun
 
 %post mod_info
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_info
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_log_agent
+%module_post
+
+%postun mod_log_agent
+%module_postun
+
+%post mod_log_config
+%module_post
+
+%postun mod_log_config
+%module_postun
 
 %post mod_log_forensic
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_log_forensic
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_log_referer
+%module_post
+
+%postun mod_log_referer
+%module_postun
+
+%post mod_mime
+%module_post
+
+%postun mod_mime
+%module_postun
+
+%post mod_mime_magic
+%module_post
+
+%postun mod_mime_magic
+%module_postun
 
 %post mod_mmap_static
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_mmap_static
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_negotiation
+%module_post
+
+%postun mod_negotiation
+%module_postun
 
 %post mod_proxy
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_proxy
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
-
-%triggerpostun mod_proxy -- apache1-mod_proxy < 1.3.33-1.85
-%{apxs} -e -A -n proxy %{_libexecdir}/libproxy.so 1>&2
-sed -i -e '
-       s,^Include.*mod_proxy.conf,Include %{_sysconfdir}/conf.d/*_mod_proxy.conf,
-' /etc/apache/apache.conf
+%module_postun
 
 %post mod_rewrite
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_rewrite
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_setenvif
+%module_post
+
+%postun mod_setenvif
+%module_postun
+
+%post mod_speling
+%module_post
+
+%postun mod_speling
+%module_postun
 
 %post mod_status
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_status
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
-
-%triggerpostun mod_status -- apache1-mod_status < 1.3.33-1.85
-%{apxs} -e -A -n status %{_libexecdir}/mod_status.so 1>&2
-sed -i -e '
-       s,^Include.*mod_status.conf,Include %{_sysconfdir}/conf.d/*_mod_status.conf,
-' /etc/apache/apache.conf
+%module_postun
 
 %post mod_unique_id
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_unique_id
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
+
+%post mod_userdir
+%module_post
+
+%postun mod_userdir
+%module_postun
 
 %post mod_usertrack
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_usertrack
-if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
-fi
+%module_postun
 
 %post mod_vhost_alias
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
-fi
+%module_post
 
 %postun mod_vhost_alias
+%module_postun
+
+%post defaultindex
+if [ "$1" = "1" ]; then
+       %service -q apache reload
+fi
+
+%postun defaultindex
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+       %service -q apache reload
 fi
 
-%triggerpostun mod_vhost_alias -- apache1-mod_vhost_alias < 1.3.33-1.85
-%{apxs} -e -A -n vhost_alias %{_libexecdir}/mod_vhost_alias.so 1>&2
-sed -i -e '
-       s,^Include.*mod_vhost_alias.conf,Include %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf,
-' /etc/apache/apache.conf
+%post cgi_test
+if [ "$1" = "1" ]; then
+       %service -q apache reload
+fi
+
+%postun cgi_test
+if [ "$1" = "0" ]; then
+       %service -q apache reload
+fi
 
 %files
 %defattr(644,root,root,755)
+
+%files base
+%defattr(644,root,root,755)
 %doc ABOUT_APACHE src/CHANGES README
 %doc conf/mime.types conf/apache.conf.dist
-
+%{?with_lingerd:%doc lingerd}
 %attr(754,root,root) /etc/rc.d/init.d/apache
-
 %attr(750,root,root) %dir %{_sysconfdir}
 %{_sysconfdir}/modules
 %{_sysconfdir}/logs
 %attr(750,root,root) %dir %{_sysconfdir}/conf.d
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/apache.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_common.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_errordocs.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_access.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_alias.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_asis.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_cern_meta.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_cgi.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_env.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_include.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_agent.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_config.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_referer.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mime.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mime_magic.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_negotiation.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_setenvif.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_speling.conf
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_userdir.conf
-
-%attr(640,root,root) %{_sysconfdir}/magic
-
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
-%attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
-
+%attr(750,root,root) %dir %{_sysconfdir}/webapps.d
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_common.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/apache
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/*
 %dir %{_libexecdir}
-%attr(755,root,root) %{_libexecdir}/mod_access.so
-%attr(755,root,root) %{_libexecdir}/mod_alias.so
-%attr(755,root,root) %{_libexecdir}/mod_asis.so
-%attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
-%attr(755,root,root) %{_libexecdir}/mod_cgi.so
-%attr(755,root,root) %{_libexecdir}/mod_env.so
-%attr(755,root,root) %{_libexecdir}/mod_include.so
-%attr(755,root,root) %{_libexecdir}/mod_log_agent.so
-%attr(755,root,root) %{_libexecdir}/mod_log_config.so
-%attr(755,root,root) %{_libexecdir}/mod_log_referer.so
-%attr(755,root,root) %{_libexecdir}/mod_mime.so
-%attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
-%attr(755,root,root) %{_libexecdir}/mod_negotiation.so
-%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
-%attr(755,root,root) %{_libexecdir}/mod_speling.so
-%attr(755,root,root) %{_libexecdir}/mod_userdir.so
-
+%if %{with lingerd}
+%attr(755,root,root) %{_libexecdir}/lingerd
+%attr(770,root,http) %dir %{_localstatedir}/run/lingerd
+%endif
 %attr(755,root,root) %{_bindir}/checkgid
-%attr(755,root,root) %{_bindir}/htdigest
-
 %attr(755,root,root) %{_sbindir}/apache
-
 %dir %attr(1773,root,http) /var/run/apache
-
 %{_mandir}/man8/apache.8*
-
-%attr(750,root,logs) %dir /var/log/apache
-%attr(750,root,logs) %dir /var/log/archiv/apache
+%lang(hu) %{_mandir}/hu/man8/apache.8*
+%lang(pl) %{_mandir}/pl/man8/apache.8*
+%attr(2751,root,logs) %dir /var/log/apache
+%attr(2750,root,logs) %dir /var/log/archive/apache
 %attr(640,root,logs) %ghost /var/log/apache/*
+%dir %{_datadir}/%{name}
+%dir %{httpdir}
+%dir %{httpdir}/html
+%dir %{docroot}
 
-%dir %{_datadir}
-%attr(755,root,root) %dir %{_datadir}/html
-
-%{_datadir}/errordocs
-%dir %{_datadir}/icons
-%{_datadir}/icons/*.gif
-%{_datadir}/icons/*.png
-%dir %{_datadir}/icons/small
-%{_datadir}/icons/small/*.gif
-%{_datadir}/icons/small/*.png
-%attr(755,root,root) %{_datadir}/cgi-bin
-
-%files apxs
+%files cgi_test
 %defattr(644,root,root,755)
-%attr(755,root,root) %{apxs}
-%{_mandir}/man8/apxs1.8*
+%dir %{cgibindir}
+%attr(755,root,root) %{cgibindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_cgi_test.conf
 
 %files tools
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/htdigest
 %attr(755,root,root) %{_sbindir}/ab
 %attr(755,root,root) %{_sbindir}/apachectl
 %attr(755,root,root) %{_sbindir}/logresolve
 %attr(755,root,root) %{_sbindir}/rotatelogs
+%lang(ko) %{_mandir}/ko/man8/ab.8*
 %{_mandir}/man1/htdigest.1*
 %{_mandir}/man8/ab*
 %{_mandir}/man8/apachectl*
-%{_mandir}/man8/[l-z]*
-%lang(hu) %{_mandir}/hu/man8/*
-%lang(ko) %{_mandir}/ko/man8/*
-%lang(pl) %{_mandir}/pl/man8/*
+%{_mandir}/man8/logresolve.8*
+%{_mandir}/man8/rotatelogs.8*
 
-%files index
+%files defaultindex
 %defattr(644,root,root,755)
-%config(noreplace,missingok) %{_datadir}/html/index.html
-# note: html extensions are not the same as (g)libc locale names
-%lang(ca) %{_datadir}/html/index.html.ca
-%lang(cs) %{_datadir}/html/index.html.cz
-%lang(de) %{_datadir}/html/index.html.de
-%lang(da) %{_datadir}/html/index.html.dk
-%lang(et) %{_datadir}/html/index.html.ee
-%lang(el) %{_datadir}/html/index.html.el
-%{_datadir}/html/index.html.en
-%lang(es) %{_datadir}/html/index.html.es
-%lang(fr) %{_datadir}/html/index.html.fr
-%lang(he) %{_datadir}/html/index.html.he.iso8859-8
-%lang(hu) %{_datadir}/html/index.html.hu
-%lang(it) %{_datadir}/html/index.html.it
-%lang(ja) %{_datadir}/html/index.html.ja.jis
-%lang(ko) %{_datadir}/html/index.html.kr.iso-kr
-%lang(de_LU) %{_datadir}/html/index.html.lb.utf8
-%lang(nl) %{_datadir}/html/index.html.nl
-%lang(nn) %{_datadir}/html/index.html.nn
-%lang(nb) %{_datadir}/html/index.html.no
-%lang(pl) %{_datadir}/html/index.html.po.iso-pl
-%lang(pt) %{_datadir}/html/index.html.pt
-%lang(pt_BR) %{_datadir}/html/index.html.pt-br
-%lang(ru) %{_datadir}/html/index.html.ru.cp-1251
-%lang(ru) %{_datadir}/html/index.html.ru.cp866
-%lang(ru) %{_datadir}/html/index.html.ru.iso-ru
-%lang(ru) %{_datadir}/html/index.html.ru.koi8-r
-%lang(ru) %{_datadir}/html/index.html.ru.ucs2
-%lang(ru) %{_datadir}/html/index.html.ru.ucs4
-%lang(ru) %{_datadir}/html/index.html.ru.utf8
-%lang(sv) %{_datadir}/html/index.html.se
-%lang(zh_TW) %{_datadir}/html/index.html.zh-tw.big5
-%{_datadir}/html/*.gif
-
-%files doc
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_defaultindex.conf
+%config(noreplace,missingok) %{docroot}/index.html
+# NOTE: html extensions are not the same as (g)libc locale names
+%lang(ca) %{docroot}/index.html.ca
+%lang(cs) %{docroot}/index.html.cz
+%lang(de) %{docroot}/index.html.de
+%lang(da) %{docroot}/index.html.dk
+%lang(et) %{docroot}/index.html.ee
+%lang(el) %{docroot}/index.html.el
+%{docroot}/index.html.en
+%lang(es) %{docroot}/index.html.es
+%lang(fr) %{docroot}/index.html.fr
+%lang(he) %{docroot}/index.html.he.iso8859-8
+%lang(hu) %{docroot}/index.html.hu
+%lang(it) %{docroot}/index.html.it
+%lang(ja) %{docroot}/index.html.ja.jis
+%lang(ko) %{docroot}/index.html.kr.iso-kr
+%lang(de_LU) %{docroot}/index.html.lb.utf8
+%lang(nl) %{docroot}/index.html.nl
+%lang(nn) %{docroot}/index.html.nn
+%lang(nb) %{docroot}/index.html.no
+%lang(pl) %{docroot}/index.html.po.iso-pl
+%lang(pt) %{docroot}/index.html.pt
+%lang(pt_BR) %{docroot}/index.html.pt-br
+%lang(ru) %{docroot}/index.html.ru.cp-1251
+%lang(ru) %{docroot}/index.html.ru.cp866
+%lang(ru) %{docroot}/index.html.ru.iso-ru
+%lang(ru) %{docroot}/index.html.ru.koi8-r
+%lang(ru) %{docroot}/index.html.ru.ucs2
+%lang(ru) %{docroot}/index.html.ru.ucs4
+%lang(ru) %{docroot}/index.html.ru.utf8
+%lang(sv) %{docroot}/index.html.se
+%lang(zh_TW) %{docroot}/index.html.zh-tw.big5
+%{docroot}/*.gif
+
+%files manual
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_manual.conf
 %dir %{manualdir}
 %dir %{manualdir}/images
 %{manualdir}/images/apache_header.gif
@@ -1743,123 +2266,214 @@ sed -i -e '
 # mod_vhost_alias
 %{manualdir}/mod/mod_vhost_alias.html
 
+%files errordocs
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_errordocs.conf
+%{_datadir}/%{name}/errordocs
+
 %files suexec
 %defattr(644,root,root,755)
 %attr(4755,root,root) %{_sbindir}/suexec
+%{_mandir}/man8/suexec.8*
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{apxs}
+%{_mandir}/man8/apxs1.8*
 %{_includedir}
 
+%files -n htpasswd-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/htpasswd
+%attr(755,root,root) %{_sbindir}/htpasswd
+%{_mandir}/man1/htpasswd.1*
+
+%files mod_access
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_access.conf
+%attr(755,root,root) %{_libexecdir}/mod_access.so
+
 %files mod_actions
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_actions.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_actions.conf
 %attr(755,root,root) %{_libexecdir}/mod_actions.so
 
+%files mod_alias
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_alias.conf
+%attr(755,root,root) %{_libexecdir}/mod_alias.so
+
+%files mod_asis
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_asis.conf
+%attr(755,root,root) %{_libexecdir}/mod_asis.so
+
 %files mod_auth
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth.so
 
-%files -n htpasswd-%{name}
-%attr(755,root,root) %{_bindir}/htpasswd
-%{_sbindir}/htpasswd
-%{_mandir}/man1/htpasswd.1*
-
 %files mod_auth_anon
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_anon.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_anon.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
 
 %files mod_auth_db
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_db.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_db.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_db.so
 %attr(755,root,root) %{_bindir}/dbmmanage
 %{_mandir}/man1/dbmmanage.1*
 
 %files mod_auth_digest
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_auth_digest.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_auth_digest.conf
 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
 
 %files mod_autoindex
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
+%{_datadir}/apache-icons/*.gif
+
+%files mod_cern_meta
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cern_meta.conf
+%attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
+
+%files mod_cgi
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_cgi.conf
+%attr(755,root,root) %{_libexecdir}/mod_cgi.so
 
 %files mod_define
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_define.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_define.conf
 %attr(755,root,root) %{_libexecdir}/mod_define.so
 
 %files mod_digest
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_digest.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_digest.conf
 %attr(755,root,root) %{_libexecdir}/mod_digest.so
 
 %files mod_dir
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_dir.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_dir.conf
 %attr(755,root,root) %{_libexecdir}/mod_dir.so
 
+%files mod_env
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_env.conf
+%attr(755,root,root) %{_libexecdir}/mod_env.so
+
 %files mod_expires
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_expires.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_expires.conf
 %attr(755,root,root) %{_libexecdir}/mod_expires.so
 
 %files mod_headers
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_headers.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_headers.conf
 %attr(755,root,root) %{_libexecdir}/mod_headers.so
 
 %files mod_imap
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_imap.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_imap.conf
 %attr(755,root,root) %{_libexecdir}/mod_imap.so
 
+%files mod_include
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_include.conf
+%attr(755,root,root) %{_libexecdir}/mod_include.so
+
 %files mod_info
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_info.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_info.conf
 %attr(755,root,root) %{_libexecdir}/mod_info.so
 
+%files mod_log_agent
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_agent.conf
+%attr(755,root,root) %{_libexecdir}/mod_log_agent.so
+
+%files mod_log_config
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_config.conf
+%attr(755,root,root) %{_libexecdir}/mod_log_config.so
+
 %files mod_log_forensic
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_log_forensic.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_forensic.conf
 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
 
+%files mod_log_referer
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_log_referer.conf
+%attr(755,root,root) %{_libexecdir}/mod_log_referer.so
+
+%files mod_mime
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_mime.conf
+%attr(755,root,root) %{_libexecdir}/mod_mime.so
+
+%files mod_mime_magic
+%defattr(644,root,root,755)
+%attr(640,root,root) %{_sysconfdir}/magic
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_mime_magic.conf
+%attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
+
 %files mod_mmap_static
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_mmap_static.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_mmap_static.conf
 %attr(755,root,root) %{_libexecdir}/mod_mmap_static.so
 
+%files mod_negotiation
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_negotiation.conf
+%attr(755,root,root) %{_libexecdir}/mod_negotiation.so
+
 %files mod_proxy
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_proxy.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_proxy.conf
 %attr(755,root,root) %{_libexecdir}/libproxy.so
 %dir %attr(770,root,http) /var/cache/apache
 
 %files mod_rewrite
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_rewrite.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_rewrite.conf
 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
 
+%files mod_setenvif
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_setenvif.conf
+%attr(755,root,root) %{_libexecdir}/mod_setenvif.so
+
+%files mod_speling
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_speling.conf
+%attr(755,root,root) %{_libexecdir}/mod_speling.so
+
 %files mod_status
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_status.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_status.conf
 %attr(755,root,root) %{_libexecdir}/mod_status.so
 
 %files mod_unique_id
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_unique_id.conf
+%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_userdir
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_userdir.conf
+%attr(755,root,root) %{_libexecdir}/mod_userdir.so
+
 %files mod_usertrack
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_usertrack.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_usertrack.conf
 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
 
 %files mod_vhost_alias
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_vhost_alias.conf
 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
This page took 0.280763 seconds and 4 git commands to generate.