#
# Conditional build:
# mod_rewrite_ldap - enable ldap map supoort for mod_rewrite (alpha)
+# _without_apache_ipv6 - disable IPv6 support
#
%include /usr/lib/rpm/macros.perl
Summary: The most widely used Web server on the Internet
Summary(pl): Serwer WWW (World Wide Web)
Summary(tr): Lider WWW tarayýcý
Name: apache
-Version: 1.3.12
-Release: 28
-License: BSD-like
+Version: 1.3.20
+Release: 2
+License: Apache Group License
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
+URL: http://www.apache.org/
Source0: ftp://ftp.apache.org/dist/%{name}_%{version}.tar.gz
Source1: %{name}.init
Source2: %{name}.logrotate
Patch2: %{name}-htdocs.patch
Patch3: %{name}-errordocs.patch
Patch4: %{name}-apxs.patch
-Patch5: %{name}-EAPI.patch
-Patch6: %{name}-v6-PLD-3.patch.gz
-Patch7: %{name}-mm_conf.patch
-Patch8: %{name}-modules_symbols.patch
-Patch9: %{name}-apxs_force_rm_cp.patch
-Patch10: %{name}-db3.patch
-Patch11: %{name}-lookup_map_ldap.patch
-Patch12: %{name}-rewrite.patch
-Patch13: %{name}-man.patch
+Patch5: %{name}-mod_ssl-addon.patch
+Patch6: %{name}-mod_ssl-eapi.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}-mod_include-segv.patch
+Patch20: %{name}-PLD-nov6.patch
+Patch21: %{name}-configdir_skip_backups.patch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: db3-devel
+BuildRequires: mm-devel >= 1.1.3
+%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
Provides: httpd
Provides: webserver
+Provides: %{name}(EAPI) = %{version}
Prereq: /sbin/chkconfig
Prereq: /usr/sbin/useradd
Prereq: /usr/bin/getgid
Prereq: /bin/id
Prereq: sh-utils
-BuildRequires: db2-devel
-BuildRequires: mm-devel >= 1.1.3
-%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
-Requires: rc-scripts
+Prereq: rc-scripts
+Prereq: mm
+Prereq: perl
Requires: mailcap
Requires: /etc/mime.types
-URL: http://www.apache.org/
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-PreReq: mm
-Provides: %{name}(EAPI) = %{version}
+Requires: psmisc >= 20.1
Obsoletes: apache-extra
Obsoletes: apache6
Obsoletes: apache-doc
+Obsoletes: indexhtml
%define _sysconfdir /etc/httpd
%define _includedir %{_prefix}/include/apache
Provides: %{name}(EAPI)-devel
%description devel
-The apache-devel package contains the source code for the Apache Web
-server and the APXS binary you'll need to build Dynamic Shared Objects
-(DSOs) for Apache.
+The apache-devel package contains header files for Apache.
%description -l fr devel
Le package apache-devel contient le code source pour le serveur Web
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_actions
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_auth
This package contains mod_auth module. It provides for user
authentication using textual files.
+%description -l pl mod_auth
+Ten pakiet zawiera modu³ mod_auth. S³u¿y on do autentykacji 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
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_auth_anon
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_auth_db
available in Apache 1.1 and later.
%description -l pl mod_auth_db
-Ten modu³ zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
+Ten pakiet zawiera modu³ mod_auth_db. Modu³ ten s³u¿y do autentykacji
ale jako plików danych u¿ywa Berkeley DB.
%package mod_define
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_define
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_digest
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_dir
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_headers
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_mmap_static
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_imap
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_info
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_proxy
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_rewrite
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_status
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_usertrack
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_vhost_alias
%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
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_unique_id
for each request. Unique identifiers are useful for various reasons
which are beyond the scope of this document.
+%description -l pl mod_unique_id
+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_expires
-Summary: Apache module which provides ....
+Summary: Apache module which generates Expires HTTP headers
+Summary(pl): Modu³ generuj±cy nag³ówki HTTP Expires
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
Group(pl): Sieciowe/Serwery
Prereq: %{_sbindir}/apxs
+Prereq: perl
Requires: %{name}(EAPI) = %{version}
%description mod_expires
+This module controls the setting of the Expires HTTP header in server
+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 -l pl mod_expires
+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.
%prep
%setup -q -n apache_%{version} -a3
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%patch5 -p0
+%patch6 -p0
%patch7 -p1
%patch8 -p1
-%patch9 -p1
+%{!?_without_apache_ipv6:%patch9 -p1}
%patch10 -p1
-%{?mod_rewrite_ldap:%patch11 -p1}
+%patch11 -p1
%patch12 -p1
-%patch13 -p1
+%{?mod_rewrite_ldap:%patch13 -p1}
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%{?_without_apache_ipv6:%patch20 -p1}
+%patch21 -p1
%build
-OPTIM="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
+OPTIM="%{rpmcflags}" \
./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--with-layout=PLD \
--without-confadjust \
--enable-module=all \
- --disable-module=auth_dbm \
--enable-shared=max \
--proxycachedir=/var/cache/apache \
--with-perl=%{_bindir}/perl \
--suexec-docroot=%{_datadir} \
--disable-rule=WANTHSREGEX \
--enable-rule=EAPI \
- --enable-rule=INET6
+ %{!?_without_apache_ipv6:--enable-rule=INET6}
+
%{__make} LIBS1="-lm -lcrypt -lmm -ldl"
rm -f src/modules/standard/mod_auth_db.so
%{__make} -C src/modules/standard mod_auth_db.so LIBS_SHLIB="-ldb"
+rm -f src/modules/standard/mod_auth_dbm.so
+%{__make} -C src/modules/standard mod_auth_dbm.so LIBS_SHLIB="-lndbm"
+
rm -f src/modules/standard/mod_rewrite.so
%{__make} -C src/modules/standard mod_rewrite.so LIBS_SHLIB="-lndbm %{?mod_rewrite_ldap:-lldap -llber}"
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
$RPM_BUILD_ROOT%{_datadir}/errordocs \
- $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},lib/apache/mm}
+ $RPM_BUILD_ROOT/var/{log/{httpd,archiv/httpd},run/apache}
%{__make} install-quiet root="$RPM_BUILD_ROOT"
%pre
if [ -n "`getgid http`" ]; then
if [ "`getgid http`" != "51" ]; then
- echo "Warning:group http haven't gid=51. Corect this before install apache" 1>&2
+ echo "Warning: group http haven't gid=51. Correct this before installing apache" 1>&2
exit 1
fi
else
/usr/sbin/groupadd -g 51 -r -f http
- if [ -f /var/db/group.db ]; then
- /usr/bin/update-db 1>&2
- fi
fi
if [ -n "`id -u http 2>/dev/null`" ]; then
if [ "`id -u http`" != "51" ]; then
- echo "Warning:user http haven't uid=51. Corect this before install apache" 1>&2
+ echo "Warning: user http haven't uid=51. Correct this before installing apache" 1>&2
exit 1
fi
else
/usr/sbin/useradd -u 51 -r -d /home/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
- if [ -f /var/db/passwd.db ]; then
- /usr/bin/update-db 1>&2
- fi
fi
%post
%postun
if [ "$1" = "0" ]; then
/usr/sbin/userdel http
- if [ -f /var/db/passwd.db ]; then
- /usr/bin/update-db
- fi
/usr/sbin/groupdel http
- if [ -f /var/db/group.db ]; then
- /usr/bin/update-db
- fi
fi
%post mod_actions
%post mod_auth_db
%{_sbindir}/apxs -e -a -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
+%{_sbindir}/apxs -e -a -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
else
%preun mod_auth_db
if [ "$1" = "0" ]; then
%{_sbindir}/apxs -e -A -n auth_db %{_libexecdir}/mod_auth_db.so 1>&2
+ %{_sbindir}/apxs -e -A -n auth_dbm %{_libexecdir}/mod_auth_dbm.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
fi
%doc ABOUT_APACHE.gz src/CHANGES.gz KEYS.gz README.gz
%doc conf/mime.types
+%attr(754,root,root) /etc/rc.d/init.d/httpd
+
+%attr(750,root,root) %dir %{_sysconfdir}
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.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) /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_autoindex.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
+
+%attr(755,root,root) %{_bindir}/htdigest
+
+%attr(755,root,root) %{_sbindir}/ab
+%attr(755,root,root) %{_sbindir}/apachectl
+%attr(755,root,root) %{_sbindir}/apxs
+%attr(755,root,root) %{_sbindir}/httpd
+%attr(755,root,root) %{_sbindir}/logresolve
+%attr(755,root,root) %{_sbindir}/rotatelogs
+
+%dir %attr(770,root,http) /var/run/apache
+
+%{_mandir}/man1/htdigest.1*
+%{_mandir}/man8/*
+
+%attr(750,root,root) %dir /var/log/httpd
+%attr(750,root,root) %dir /var/log/archiv/httpd
+%attr(640,root,root) %ghost /var/log/httpd/*
+
+%dir %{_datadir}
%dir %{_datadir}/manual
%dir %{_datadir}/manual/images/
-%{_datadir}/manual/images/sub.gif
-%{_datadir}/manual/images/index.gif
+%{_datadir}/manual/images/apache_header.gif
+%{_datadir}/manual/images/custom_errordocs.gif
%{_datadir}/manual/images/home.gif
+%{_datadir}/manual/images/index.gif
+%{_datadir}/manual/images/pixel.gif
+%{_datadir}/manual/images/sub.gif
%{_datadir}/manual/misc
%dir %{_datadir}/manual/search
%attr(755,root,root) %{_datadir}/manual/search/manual-index.cgi
-%{_datadir}/manual/vhosts
%{_datadir}/manual/LICENSE
%{_datadir}/manual/bind.html
%{_datadir}/manual/cgi_path.html
+%lang(en) /home/httpd/manual/configuring.html.html
+%lang(en) %{_datadir}/manual/configuring.html.en
+%lang(fr) %{_datadir}/manual/configuring.html.fr
+%lang(ja) %{_datadir}/manual/configuring.html.ja.jis
%{_datadir}/manual/content-negotiation.html
-%{_datadir}/manual/custom-error.html
+%lang(en) %{_datadir}/manual/custom-error.html.en
+%lang(en) %{_datadir}/manual/custom-error.html.html
+%lang(ja) %{_datadir}/manual/custom-error.html.ja.jis
%{_datadir}/manual/dns-caveats.html
%{_datadir}/manual/dso.html
%{_datadir}/manual/env.html
%{_datadir}/manual/footer.html
-%{_datadir}/manual/handler.html
+%lang(en) %{_datadir}/manual/handler.html.en
+%lang(en) %{_datadir}/manual/handler.html.html
+%lang(ja) %{_datadir}/manual/handler.html.ja.jis
%{_datadir}/manual/header.html
-%{_datadir}/manual/index.html
-%{_datadir}/manual/install.html
-%{_datadir}/manual/invoking.html
+%lang(en) %{_datadir}/manual/index.html.en
+%lang(fr) %{_datadir}/manual/index.html.fr
+%lang(en) %{_datadir}/manual/index.html.html
+%lang(ja) %{_datadir}/manual/index.html.ja.jis
+%lang(en) %{_datadir}/manual/install.html.en
+%lang(es) %{_datadir}/manual/install.html.es
+%lang(fr) %{_datadir}/manual/install.html.fr
+%lang(en) %{_datadir}/manual/install.html.html
+%lang(ja) %{_datadir}/manual/install.html.ja.jis
+%lang(en) %{_datadir}/manual/invoking.html
+%lang(fr) %{_datadir}/manual/invoking.html.fr
+%lang(en) %{_datadir}/manual/invoking.html.html
%{_datadir}/manual/keepalive.html
%{_datadir}/manual/location.html
%{_datadir}/manual/multilogs.html
-%{_datadir}/manual/new_features_1_3.html
+%lang(en) %{_datadir}/manual/new_features_1_3.html.en
+%lang(en) %{_datadir}/manual/new_features_1_3.html.html
+%lang(ja) %{_datadir}/manual/new_features_1_3.html.ja.jis
%{_datadir}/manual/process-model.html
%{_datadir}/manual/sections.html
+%lang(en) %{_datadir}/manual/server-wide.html.en
+%lang(fr) %{_datadir}/manual/server-wide.html.fr
+%lang(en) %{_datadir}/manual/server-wide.html.html
+%lang(ja) %{_datadir}/manual/server-wide.html.ja.jis
%{_datadir}/manual/sourcereorg.html
-%{_datadir}/manual/suexec.html
+%lang(en) %{_datadir}/manual/stopping.html
+%lang(fr) %{_datadir}/manual/stopping.html.fr
+%lang(en) %{_datadir}/manual/stopping.html.html
+%lang(en) %{_datadir}/manual/suexec.html.en
+%lang(en) %{_datadir}/manual/suexec.html.html
+%lang(j1) %{_datadir}/manual/suexec.html.ja.jis
%{_datadir}/manual/upgrading_to_1_3.html
+%dir %{_datadir}/manual/howto
+%lang(en) %{_datadir}/manual/howto/cgi.html.en
+%lang(en) %{_datadir}/manual/howto/cgi.html.html
+%lang(ja) %{_datadir}/manual/howto/cgi.html.ja.jis
+%{_datadir}/manual/howto/footer.html
+%{_datadir}/manual/howto/header.html
+%lang(en) %{_datadir}/manual/howto/ssi.html.en
+%lang(en) %{_datadir}/manual/howto/ssi.html.html
+%lang(ja) %{_datadir}/manual/howto/ssi.html.ja.jis
%dir %{_datadir}/manual/mod
%{_datadir}/manual/mod/core.html
-%{_datadir}/manual/mod/directive-dict.html
+%lang(en) %{_datadir}/manual/mod/directive-dict.html.en
+%lang(en) %{_datadir}/manual/mod/directive-dict.html.html
+%lang(ja) %{_datadir}/manual/mod/directive-dict.html.ja.jis
%{_datadir}/manual/mod/directives.html
%{_datadir}/manual/mod/footer.html
%{_datadir}/manual/mod/header.html
-%{_datadir}/manual/mod/index.html
+%lang(en) %{_datadir}/manual/mod/index-bytype.html
+%lang(fr) %{_datadir}/manual/mod/index-bytype.html.fr
+%lang(en) %{_datadir}/manual/mod/index.html
+%lang(en) %{_datadir}/manual/mod/index.html.fr
%{_datadir}/manual/mod/mod_access.html
%{_datadir}/manual/mod/mod_alias.html
%{_datadir}/manual/mod/mod_asis.html
%{_datadir}/manual/mod/mod_autoindex.html
%{_datadir}/manual/mod/mod_cgi.html
-%{_datadir}/manual/mod/mod_cookies.html
-%{_datadir}/manual/mod/mod_env.html
+%lang(en) %{_datadir}/manual/mod/mod_env.html.en
+%lang(en) %{_datadir}/manual/mod/mod_env.html.html
+%lang(en) %{_datadir}/manual/mod/mod_env.html.ja.jis
%{_datadir}/manual/mod/mod_include.html
%{_datadir}/manual/mod/mod_log_agent.html
%{_datadir}/manual/mod/mod_log_config.html
%{_datadir}/manual/mod/mod_log_referer.html
-%{_datadir}/manual/mod/mod_mime.html
+%lang(en) %{_datadir}/manual/mod/mod_mime.html.en
+%lang(en) %{_datadir}/manual/mod/mod_mime.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_mime.html.ja.jis
%{_datadir}/manual/mod/mod_mime_magic.html
-%{_datadir}/manual/mod/mod_negotiation.html
-%{_datadir}/manual/mod/mod_setenvif.html
+%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
+%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
+%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.en
+%lang(en) %{_datadir}/manual/mod/mod_setenvif.html.html
+%lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja.jis
%{_datadir}/manual/mod/mod_speling.html
%{_datadir}/manual/mod/mod_userdir.html
-
-%attr(754,root,root) /etc/rc.d/init.d/httpd
-
-%attr(750,root,root) %dir %{_sysconfdir}
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.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) /etc/logrotate.d/*
+%lang(en) %{_datadir}/manual/mod/module-dict.html.en
+%lang(en) %{_datadir}/manual/mod/module-dict.html.html
+%lang(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
+%dir %{_datadir}/manual/programs
+%{_datadir}/manual/programs/ab.html
+%{_datadir}/manual/programs/apachectl.html
+%{_datadir}/manual/programs/apxs.html
+%{_datadir}/manual/programs/dbmmanage.html
+%{_datadir}/manual/programs/footer.html
+%{_datadir}/manual/programs/header.html
+%{_datadir}/manual/programs/htdigest.html
+%{_datadir}/manual/programs/htpasswd.html
+%{_datadir}/manual/programs/httpd.html
+%lang(en) %{_datadir}/manual/programs/index.html.en
+%lang(en) %{_datadir}/manual/programs/index.html.html
+%lang(ja) %{_datadir}/manual/programs/index.html.ja.jis
+%{_datadir}/manual/programs/logresolve.html
+%{_datadir}/manual/programs/other.html
+%{_datadir}/manual/programs/rotatelogs.html
+%{_datadir}/manual/programs/suexec.html
+%dir %{_datadir}/manual/vhosts
+%{_datadir}/manual/vhosts/details.html
+%{_datadir}/manual/vhosts/examples.html
+%{_datadir}/manual/vhosts/fd-limits.html
+%{_datadir}/manual/vhosts/footer.html
+%{_datadir}/manual/vhosts/header.html
+%{_datadir}/manual/vhosts/host.html
+%lang(en) %{_datadir}/manual/vhosts/index.html.en
+%lang(en) %{_datadir}/manual/vhosts/index.html.html
+%lang(ja) %{_datadir}/manual/vhosts/index.html.ja.jis
+%{_datadir}/manual/vhosts/ip-based.html
+%{_datadir}/manual/vhosts/mass.html
+%{_datadir}/manual/vhosts/name-based.html
+%{_datadir}/manual/vhosts/vhosts-in-depth.html
+%{_datadir}/manual/vhosts/virtual-host.html
%attr(755,root,root) %dir %{_datadir}/html
-%config(noreplace) %{_datadir}/html/index.html
+%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(cz) %{_datadir}/html/index.html.cz
+%lang(cs) %{_datadir}/html/index.html.cz
%lang(de) %{_datadir}/html/index.html.de
-%lang(dk) %{_datadir}/html/index.html.dk
-%lang(ee) %{_datadir}/html/index.html.ee
+%lang(da) %{_datadir}/html/index.html.dk
+%lang(et) %{_datadir}/html/index.html.ee
+%lang(el) %{_datadir}/html/index.html.el
%lang(en) %{_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(it) %{_datadir}/html/index.html.it
-%lang(lu) %{_datadir}/html/index.html.lu
+%lang(ja) %{_datadir}/html/index.html.ja.jis
+%lang(ko) %{_datadir}/html/index.html.kr.iso-kr
+%lang(de_LU) %{_datadir}/html/index.html.lu
%lang(nl) %{_datadir}/html/index.html.nl
-%lang(pt) %{_datadir}/html/index.html.pt
+%lang(no) %{_datadir}/html/index.html.no
+%lang(pl) %{_datadir}/html/index.html.po.iso-pl
+%lang(pt_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(se) %{_datadir}/html/index.html.se
+%lang(zh_TW) %{_datadir}/html/index.html.zh.Big5
%{_datadir}/html/*.gif
%{_datadir}/errordocs
%{_datadir}/icons/small/*.gif
%attr(755,root,root) %{_datadir}/cgi-bin
-%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_autoindex.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
-
-%attr(755,root,root) %{_bindir}/htdigest
-
-%attr(755,root,root) %{_sbindir}/ab
-%attr(755,root,root) %{_sbindir}/apachectl
-%attr(755,root,root) %{_sbindir}/apxs
-%attr(755,root,root) %{_sbindir}/httpd
-%attr(755,root,root) %{_sbindir}/logresolve
-%attr(755,root,root) %{_sbindir}/rotatelogs
-
-%dir %attr(750,http,http) /var/lib/apache
-
-%{_mandir}/man1/htdigest.1*
-%{_mandir}/man8/*
-
-%attr(750,root,root) %dir /var/log/httpd
-%attr(750,root,root) %dir /var/log/archiv/httpd
-%attr(640,root,root) %ghost /var/log/httpd/*
-
%files suexec
%defattr(644,root,root,755)
%attr(4755,root,root) %{_sbindir}/suexec
%files mod_auth
%defattr(644,root,root,755)
%attr(755,root,root) %{_libexecdir}/mod_auth.so
+%attr(755,root,root) %{_bindir}/htpasswd
%{_datadir}/manual/mod/mod_auth.html
%files mod_auth_anon
%defattr(644,root,root,755)
%attr(755,root,root) %{_libexecdir}/mod_auth_db.so
%attr(755,root,root) %{_bindir}/dbmmanage
-%attr(755,root,root) %{_bindir}/htpasswd
%{_datadir}/manual/mod/mod_auth_db.html
%{_mandir}/man1/dbmmanage.1*
%{_mandir}/man1/htpasswd.1*
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_proxy.conf
%attr(755,root,root) %{_libexecdir}/libproxy.so
%{_datadir}/manual/mod/mod_proxy.html
-%dir %attr(750,http,http) /var/cache/apache
+%dir %attr(770,root,http) /var/cache/apache
%files mod_rewrite
%defattr(644,root,root,755)
%attr(755,root,root) %{_libexecdir}/mod_rewrite.so
%{_datadir}/manual/mod/mod_rewrite.html
+%{_datadir}/manual/images/mod_rewrite*
%files mod_status
%defattr(644,root,root,755)
%files mod_usertrack
%defattr(644,root,root,755)
%attr(755,root,root) %{_libexecdir}/mod_usertrack.so
+%{_datadir}/manual/mod/mod_cookies.html
%{_datadir}/manual/mod/mod_usertrack.html
%files mod_unique_id