Summary(ru.UTF-8): Самый популярный веб-сервер
Summary(tr.UTF-8): Lider WWW tarayıcı
Name: apache
-Version: 2.2.8
-Release: 3
+Version: 2.2.9
+Release: 9
License: Apache
Group: Networking/Daemons
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-# Source0-md5: 39a755eb0f584c279336387b321e3dfc
+# Source0-md5: 80d3754fc278338033296f0d41ef2c04
Source1: %{name}.init
Source2: %{name}.logrotate
Source3: %{name}.sysconfig
Patch8: httpd-2.0.45-encode.patch
Patch9: %{name}-paths.patch
Patch10: httpd-2.0.46-dav401dest.patch
+Patch11: %{name}-bug-40970.patch
Patch12: httpd-2.0.46-sslmutex.patch
Patch14: httpd-2.0.48-corelimit.patch
Patch15: httpd-2.0.48-debuglog.patch
Patch18: %{name}-v6only-ENOPROTOOPT.patch
Patch19: %{name}-conffile-path.patch
Patch20: %{name}-apxs.patch
-# http://www.telana.com/peruser.php
-Patch21: httpd-2.0.52-peruser-0.1.6.patch
+# http://www.telana.com/peruser.php (2.2.3-0.3.0)
+Patch21: httpd-peruser.patch
Patch22: %{name}-libtool.patch
-Patch23: %{name}-revert-bug-40463.patch
+Patch23: %{name}-suexec_fcgi.patch
+Patch24: %{name}-revert-bug-40463.patch
URL: http://httpd.apache.org/
BuildRequires: apr-devel >= 1:1.2
-BuildRequires: apr-util-devel >= 1:1.2
+BuildRequires: apr-util-devel >= 1:1.3
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: db-devel
BuildRequires: expat-devel
BuildRequires: gdbm-devel >= 1.8.3
BuildRequires: libtool >= 2:1.5
-%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
+%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
%{?with_ssl:BuildRequires: openssl-tools >= 0.9.7d}
BuildRequires: pcre-devel
URL: http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
Requires: %{name}-base = %{version}-%{release}
Requires: %{name}-mod_ldap = %{version}-%{release}
+Requires: apr-util-ldap
Provides: apache(mod_authnz_ldap) = %{version}-%{release}
# compat
Provides: apache(mod_auth_ldap) = %{version}-%{release}
URL: http://httpd.apache.org/docs/2.2/mod/mod_env.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_env) = %{version}-%{release}
+Provides: webserver(setenv)
%description mod_env
This module allows for control of the environment that will be
URL: http://httpd.apache.org/docs/2.2/mod/mod_expires.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_expires) = %{version}-%{release}
+Provides: webserver(expires)
%description mod_expires
This module controls the setting of the Expires HTTP header in server
zainstalowanych modułach itp.
%package mod_ldap
-Summary: Apache module to use LDAP connections
-Summary(pl.UTF-8): Moduł Apache'a umożliwiający korzystanie z połączeń LDAP
+Summary: Apache module for LDAP connection pooling and result caching services for other LDAP modules
+Summary(pl.UTF-8): Moduł Apache'a zarządzający połączeniami z serwerami LDAP
Group: Networking/Daemons
URL: http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
Requires: %{name}-base = %{version}-%{release}
Provides: apache(mod_ldap) = %{version}-%{release}
%description mod_ldap
-Apache module to use LDAP connections.
+This module was created to improve the performance of websites relying
+on backend connections to LDAP servers. In addition to the functions
+provided by the standard LDAP libraries, this module adds an LDAP
+connection pool and an LDAP shared memory cache.
%description mod_ldap -l pl.UTF-8
-Moduł Apache'a umożliwiający korzystanie z połączeń LDAP.
+Moduł Apache'a poprawiający wydajność serwisów polegających na
+połączeniach z serwerami LDAP. Oprócz funkcjo udostępnianych przez
+standardowe biblioteki LDAP ten moduł dodaje zarządzanie pulą połączeń
+i współdzieloną pamięć podręczną zapytań.
%package mod_log_config
Summary: Logging of the requests made to the server
Summary(pl.UTF-8): Programy testowe/przykładowe cgi
Group: Networking/Utilities
Requires: %{name}-base = %{version}-%{release}
-Requires: filesystem >= 3.0-11
+Requires: filesystem >= 2.0-1
%description cgi_test
Two cgi test/demo programs: test-cgi and print-env.
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
%patch12 -p1
%patch14 -p1
%patch15 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
+%patch24 -p1
# using system apr, apr-util and pcre
rm -rf srclib/{apr,apr-util,pcre}
%build
cp /usr/share/apr/build/apr_common.m4 build
-cp /usr/share/libtool/ltmain.sh build
+%{__libtoolize}
+%{__aclocal} -I build
cp /usr/share/automake/config.* build
%{__autoheader}
%{__autoconf}
echo "LoadModule rewrite_module modules/mod_rewrite.so" > $CFG/00_mod_rewrite.conf
echo "LoadModule usertrack_module modules/mod_usertrack.so" > $CFG/00_mod_usertrack.conf
echo "LoadModule unique_id_module modules/mod_unique_id.so" > $CFG/00_mod_unique_id.conf
-echo "LoadModule substitute_module modules/mod_subsitute.so" > $CFG/00_mod_substitute.conf
+echo "LoadModule substitute_module modules/mod_substitute.so" > $CFG/00_mod_substitute.conf
# anything in style dir not ending with .css is trash
rm -rf $RPM_BUILD_ROOT%{_datadir}/manual/style/{lang,latex,xsl}
ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
EOF
+# our suexec is patched to support php + fcgi + suexec with
+# virtual users when called as suexec.fcgi
+ln -sf suexec $RPM_BUILD_ROOT%{_sbindir}/suexec.fcgi
+
# no value
rm $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
rm $RPM_BUILD_ROOT%{_libexecdir}/*.exp
%files suexec
%defattr(644,root,root,755)
%attr(4755,root,root) %{_sbindir}/suexec
+%attr(755,root,root) %{_sbindir}/suexec.fcgi
%attr(755,root,root) %{_libexecdir}/mod_suexec.so
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_suexec.conf
%{_mandir}/man8/suexec.8*
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/apxs
%attr(755,root,root) %{_sbindir}/envvars*
+%dir %{_libexecdir}
%dir %{_libexecdir}/build
%{_libexecdir}/build/[lprs]*.mk
%{_libexecdir}/build/config_vars.mk