Summary: Fast and light HTTP server
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
-Version: 1.4.24
-Release: 4
+Version: 1.4.25
+Release: 2
License: BSD
Group: Networking/Daemons/HTTP
-Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.bz2
-# Source0-md5: e2324a24e4a5bce74663c21c58ddd200
+Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2
+# Source0-md5: 2027c49fb46530e45338c5e2da13c02f
Source1: %{name}.init
Source2: %{name}.conf
Source3: %{name}.user
Source11: %{name}-pld.html
Source12: %{name}.monitrc
Source13: %{name}-branch.sh
+Source14: TODO
Source100: %{name}-mod_access.conf
Source101: %{name}-mod_accesslog.conf
Source102: %{name}-mod_alias.conf
Source135: %{name}-mod_extforward.conf
Source136: %{name}-mod_h264_streaming.conf
Source137: %{name}-mod_cgi_php.conf
-Patch100: %{name}-branch.diff
+#Patch100: %{name}-branch.diff
Patch0: %{name}-use_bin_sh.patch
Patch1: %{name}-mod_evasive-status_code.patch
Patch2: %{name}-mod_h264_streaming.patch
Patch3: %{name}-branding.patch
Patch4: %{name}-modinit-before-fork.patch
Patch5: %{name}-mod_deflate.patch
+Patch6: am-old.patch
#Patch8: %{name}-errorlog-before-fork.patch
URL: http://www.lighttpd.net/
%{?with_xattr:BuildRequires: attr-devel}
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: fcgi-devel
%prep
%setup -q
-%patch100 -p0
+#%patch100 -p0
%patch4 -p0
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%{?with_deflate:%patch5 -p1}
+%patch6 -p1
rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
# build mime.types.conf
sh %{SOURCE6} /etc/mime.types
+cp -a %{SOURCE14} PLD-TODO
%build
ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
%files
%defattr(644,root,root,755)
-%doc NEWS README doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
+%doc NEWS README doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh PLD-TODO
%dir %attr(751,root,lighttpd) %{_sysconfdir}
%dir %attr(750,root,root) %{_sysconfdir}/webapps.d
%dir %attr(750,root,root) %{_sysconfdir}/conf.d