]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- add fix for mod_status (average requests miscalculated)
[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
4eada25d 25Release: 0.12
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
70373b58 41URL: http://www.lighttpd.net/
1a75d3e1
JB
42BuildRequires: autoconf
43BuildRequires: automake
44BuildRequires: bzip2-devel
45BuildRequires: libtool
1a75d3e1
JB
46BuildRequires: openssl-devel
47BuildRequires: pcre-devel
e68efba2 48BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 49BuildRequires: zlib-devel
d20e182e 50%if %{with xattr}
51BuildRequires: attr-devel
52%endif
05f8c491
ER
53%{?with_ldap:BuildRequires: openldap-devel}
54%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
55%{?with_valgrind:BuildRequires: valgrind}
56%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
57PreReq: rc-scripts
58Requires(pre): sh-utils
59Requires(pre): /bin/id
60Requires(pre): /usr/bin/getgid
61Requires(pre): /usr/sbin/groupadd
62Requires(pre): /usr/sbin/useradd
63Requires(post,preun): /sbin/chkconfig
bee4f74e 64Requires(postun): /usr/sbin/groupdel
e68efba2 65Requires(postun): /usr/sbin/userdel
66Provides: group(lighttpd)
1a75d3e1 67Provides: httpd
e68efba2 68Provides: user(lighttpd)
1a75d3e1 69Provides: webserver
bee4f74e
AM
70BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71
72%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 73%define _lighttpddir /home/services/%{name}
bee4f74e
AM
74%define _sysconfdir /etc/%{name}
75
76%description
f655b1fd
MC
77lighttpd is a secure, fast, compliant and very flexible web-server
78which has been optimized for high-performance environments. It has
79a very low memory footprint compared to other webservers and takes
80care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
81Output-Compression, URL-Rewriting and many more) make lighttpd the
82perfect webserver-software for every server that is suffering load
83problems.
84
f655b1fd
MC
85%description -l pl
86lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 87