]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.spec
- release 2
[packages/apache.git] / apache.spec
index 771034f93cc585c6da0447cb07bec86ffba36892..d2f9eb89ff30be19b1f258c8fcd13652825039cc 100644 (file)
@@ -33,12 +33,12 @@ Summary(pt_BR.UTF-8):       Servidor HTTPD para prover serviços WWW
 Summary(ru.UTF-8):     Самый популярный веб-сервер
 Summary(tr.UTF-8):     Lider WWW tarayıcı
 Name:          apache
-Version:       2.2.8
-Release:       1
-License:       Apache Group License
+Version:       2.2.9
+Release:       2
+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
@@ -81,16 +81,18 @@ Patch7:             %{name}-syslibs.patch
 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
@@ -101,7 +103,7 @@ 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
@@ -1286,18 +1288,24 @@ Moduł udostępniający informacje o konfiguracji serwera,
 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
@@ -1729,6 +1737,7 @@ Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 %patch12 -p1
 %patch14 -p1
 %patch15 -p1
@@ -1738,6 +1747,7 @@ Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p1
 
 # using system apr, apr-util and pcre
 rm -rf srclib/{apr,apr-util,pcre}
@@ -1754,7 +1764,8 @@ sed -i -e 's,/lib$,/%{_lib},' config.layout
 
 %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}
@@ -1998,6 +2009,10 @@ ScriptAlias /cgi-bin/printenv %{_cgibindir}/printenv
 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
@@ -2050,7 +2065,7 @@ if [ "$1" = "0" ]; then
        %groupremove http
 fi
 
-%triggerpostun base -- %{name} <= 2.0.50-6
+%triggerpostun base -- %{name} < 2.0.50-6.9
 %banner %{name}-2.0.50-6 << EOF
 WARNING!!!
 Since apache-2.0.50-6 autoindex module has been separated to package
@@ -2319,6 +2334,7 @@ fi
 %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*
@@ -2346,6 +2362,7 @@ fi
 %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
This page took 0.052802 seconds and 4 git commands to generate.