Summary: Fast and light HTTP server
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
-Version: 1.4.22
+Version: 1.4.23
Release: 7
License: BSD
Group: Networking/Daemons/HTTP
Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.bz2
-# Source0-md5: ed4ca3897eadf419c893b03fee53c982
+# Source0-md5: 0ab6bb7b17bf0f515ce7dce68e5e215a
Source1: %{name}.init
Source2: %{name}.conf
Source3: %{name}.user
Patch3: %{name}-branding.patch
Patch4: %{name}-modinit-before-fork.patch
Patch5: %{name}-mod_deflate.patch
-Patch6: %{name}-bug-1836.patch
#Patch8: %{name}-errorlog-before-fork.patch
URL: http://www.lighttpd.net/
%{?with_xattr:BuildRequires: attr-devel}
Summary: lighttpd evasive module
Summary(pl.UTF-8): Moduł evasive dla lighttpd
Group: Networking/Daemons/HTTP
+URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
Requires: %{name} = %{version}-%{release}
%description mod_evasive
Summary: lighttpd module for flv streaming
Summary(pl.UTF-8): Moduł lighttpd do streamingu flv
Group: Networking/Daemons/HTTP
-URL: http://blog.lighttpd.net/articles/2006/03/09/flv-streaming-with-lighttpd
+URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
Requires: %{name} = %{version}-%{release}
%description mod_flv_streaming
Summary: lighttpd indexfile module
Summary(pl.UTF-8): Moduł indexfile dla lighttpd
Group: Networking/Daemons/HTTP
+URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
Requires: %{name} = %{version}-%{release}
Provides: webserver(indexfile)
Summary: lighttpd powermagnet module
Summary(pl.UTF-8): Moduł powermagnet dla lighttpd
Group: Networking/Daemons/HTTP
+URL: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
Requires: %{name} = %{version}-%{release}
%description mod_magnet
Group: Networking/Daemons/HTTP
Requires: %{name} = %{version}-%{release}
Requires: %{name}-mod_fastcgi = %{version}-%{release}
-Requires: php-fcgi-init
+Suggests: php-fcgi-init
+Suggests: php-fpm
Obsoletes: lighttpd-php-spawned
%description php-external
Summary: lighttpd support for SSLv2 and SSLv3
Summary(pl.UTF-8): Obsługa SSLv2 i SSLv3 dla lighttpd
Group: Networking/Daemons/HTTP
+URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
Requires: %{name} = %{version}-%{release}
+Suggests: ca-certificates
%description ssl
lighttpd support for SSLv2 and SSLv3.
%patch2 -p1
%patch3 -p1
%{?with_deflate:%patch5 -p1}
-cd src
-%patch6 -p0 -R
-cd ..
rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
%endif
-touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error}.log
+touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
%clean
rm -rf $RPM_BUILD_ROOT
%addusertogroup lighttpd http
%post
-for a in access.log error.log; do
+for a in access.log error.log breakage.log; do
if [ ! -f /var/log/%{name}/$a ]; then
touch /var/log/%{name}/$a
chown lighttpd:lighttpd /var/log/%{name}/$a
%dir %attr(751,root,root) /var/log/%{name}
%ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/access.log
%ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/error.log
+%ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/breakage.log
%dir %attr(770,root,lighttpd) /var/run/%{name}
%attr(754,root,root) /etc/rc.d/init.d/%{name}
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*