]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- readpost timeout patch, fcgi fdevent err patch (wow. works for me now)
[packages/lighttpd.git] / lighttpd.spec
CommitLineData
8d734bed 1#
05f8c491 2# TODO
0ab57655 3# - fix modules:
05f8c491
ER
4# mod_localizer : disabled (liblocalizer missing)
5# mod_maps : disabled (liblocalizer missing)
6# mod_chat : disabled, buy your license :)
7# mod_cache : disabled, buy your license :)
0ab57655 8# - test ldap and mysql (failed at this time)
ddfaf124 9# - documentroot specified in config doesn't exist
05f8c491 10#
4f968063 11# Conditional build for lighttpd:
d20e182e 12%bcond_without xattr # without support of extended attributes
05f8c491
ER
13%bcond_with mysql # with mysql
14%bcond_with ldap # with ldap
d80c1ef1 15%bcond_with valgrind # enable valgrind fixes in code.
70373b58
ER
16%bcond_without largefile # without largefile support,
17# use it if you have 2.4 kernel to get sendfile() support,
18# and don't need > 2GB file requests,
19# see http://article.gmane.org/gmane.comp.web.lighttpd:722
d20e182e 20#
027853cc 21Summary: Fast and light HTTP server
22Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 23Name: lighttpd
544141d3 24Version: 1.3.7
866e1491 25Release: 0.14
bee4f74e 26Group: Networking/Daemons
4241e769 27License: BSD
00bd45aa 28## do not remove next two lines because atomic revisions are common in lighttpd
bebbc41e 29#%define _rel 20050106-1954
acef8c19 30#Source0: http://www.lighttpd.net/download/%{name}-%{version}-%{_rel}.tar.gz
bebbc41e 31Source0: http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
9a5636eb 32# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 33Source1: %{name}.init
2f7162ab
AM
34Source2: %{name}.conf
35Source3: %{name}.user
607835c0 36Source4: %{name}.logrotate
c54ca3d2 37Source5: %{name}.sysconfig
bebbc41e 38Patch0: %{name}-mod_status.patch
00f98cf3 39Patch1: %{name}-doublefree.patch
4eada25d 40Patch2: %{name}-avg-req.patch
866e1491
ER
41Patch3: %{name}-readpost-timeout.patch
42Patch4: %{name}-fcgi-fdevent.patch
70373b58 43URL: http://www.lighttpd.net/
1a75d3e1
JB
44BuildRequires: autoconf
45BuildRequires: automake
46BuildRequires: bzip2-devel
47BuildRequires: libtool
1a75d3e1
JB
48BuildRequires: openssl-devel
49BuildRequires: pcre-devel
e68efba2 50BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 51BuildRequires: zlib-devel
d20e182e 52%if %{with xattr}
53BuildRequires: attr-devel
54%endif
05f8c491
ER
55%{?with_ldap:BuildRequires: openldap-devel}
56%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
57%{?with_valgrind:BuildRequires: valgrind}
58%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
59PreReq: rc-scripts
60Requires(pre): sh-utils
61Requires(pre): /bin/id
62Requires(pre): /usr/bin/getgid
63Requires(pre): /usr/sbin/groupadd
64Requires(pre): /usr/sbin/useradd
65Requires(post,preun): /sbin/chkconfig
bee4f74e 66Requires(postun): /usr/sbin/groupdel
e68efba2 67Requires(postun): /usr/sbin/userdel
68Provides: group(lighttpd)
1a75d3e1 69Provides: httpd
e68efba2 70Provides: user(lighttpd)
1a75d3e1 71Provides: webserver
bee4f74e
AM
72BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73
74%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 75%define _lighttpddir /home/services/%{name}
bee4f74e
AM
76%define _sysconfdir /etc/%{name}
77
78%description
f655b1fd
MC
79lighttpd is a secure, fast, compliant and very flexible web-server
80which has been optimized for high-performance environments. It has
81a very low memory footprint compared to other webservers and takes
82care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
83Output-Compression, URL-Rewriting and many more) make lighttpd the
84perfect webserver-software for every server that is suffering load
85problems.
86
f655b1fd
MC
87%description -l pl
88lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 89