Summary(pl): Serwer WWW (World Wide Web)
Summary(tr): Lider WWW tarayýcý
Name: apache
-Version: 1.3.17
-Release: 1
+Version: 1.3.19
+Release: 6
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
Patch5: %{name}-mod_ssl-addon.patch
Patch6: %{name}-mod_ssl-eapi.patch
Patch7: %{name}-EAPI_MM_CORE_PATH-correction.patch
-Patch8: %{name}-v6-PLD-5.patch.gz
-Patch9: %{name}-mm_conf.patch
+Patch8: %{name}-EAPI_MM=SYSTEM.patch
+Patch9: %{name}-v6-PLD-7.patch.gz
Patch10: %{name}-modules_symbols.patch
Patch11: %{name}-apxs_force_rm_cp.patch
Patch12: %{name}-db3.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
+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: db3-devel
-BuildRequires: mm-devel >= 1.1.3
-%{?mod_rewrite_ldap:BuildRequires: openldap-devel}
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
-Prereq: perl
-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
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
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
%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
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
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
%patch5 -p0
%patch6 -p0
%patch7 -p1
-%{!?bcond_off_apache_ipv6:%patch8 -p1}
-%patch9 -p1
+%patch8 -p1
+%{!?bcond_off_apache_ipv6:%patch9 -p1}
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
-
+%patch18 -p1
+%patch19 -p1
+%{?bcond_off_apache_ipv6:%patch20 -p1}
%build
-OPTIM="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
+OPTIM="%{rpmcflags}" \
./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
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
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
%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/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) %{_datadir}/manual/configuring.html.en
+%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(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(ja) %{_datadir}/manual/handler.html.ja.jis
%{_datadir}/manual/header.html
-%{_datadir}/manual/index.html
-%{_datadir}/manual/install.html
+%lang(en) %{_datadir}/manual/index.html.en
+%lang(ja) %{_datadir}/manual/index.html.ja.jis
+%lang(en) %{_datadir}/manual/install.html.en
+%lang(ja) %{_datadir}/manual/install.html.ja.jis
%{_datadir}/manual/invoking.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(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(ja) %{_datadir}/manual/server-wide.html.ja.jis
%{_datadir}/manual/sourcereorg.html
+%{_datadir}/manual/stopping.html
%{_datadir}/manual/suexec.html
%{_datadir}/manual/upgrading_to_1_3.html
+%dir %{_datadir}/manual/howto
+%lang(en) %{_datadir}/manual/howto/cgi.html.en
+%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(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(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-bytype.html
%{_datadir}/manual/mod/index.html
%{_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_cern_meta.html
%{_datadir}/manual/mod/mod_cgi.html
%{_datadir}/manual/mod/mod_cookies.html
%{_datadir}/manual/mod/mod_env.html
%{_datadir}/manual/mod/mod_log_referer.html
%{_datadir}/manual/mod/mod_mime.html
%{_datadir}/manual/mod/mod_mime_magic.html
-%{_datadir}/manual/mod/mod_negotiation.html
+%lang(en) %{_datadir}/manual/mod/mod_negotiation.html.en
+%lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja.jis
%{_datadir}/manual/mod/mod_setenvif.html
%{_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(ja) %{_datadir}/manual/mod/module-dict.html.ja.jis
+%{_datadir}/manual/programs
+%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(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(de) %{_datadir}/html/index.html.de
-%lang(dk) %{_datadir}/html/index.html.dk
-%lang(ee) %{_datadir}/html/index.html.ee
+%lang(cs) %{_datadir}/html/index.html.cz
+%lang(de_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
%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.tw.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(770,root,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