]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd.spec
- -write-EINTR.patch
[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#
2abd0792
ER
21
22# Prerelease snapshot: DATE-TIME
23#define _snap 20050116-1743
24
25%if 0%{?_snap}
26%define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz
27%else
28%define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
29%endif
30
d04fe758 31%define _rel 0.17
2abd0792 32
027853cc 33Summary: Fast and light HTTP server
34Summary(pl): Szybki i lekki serwer HTTP
bee4f74e 35Name: lighttpd
544141d3 36Version: 1.3.7
2abd0792 37Release: %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}
bee4f74e 38Group: Networking/Daemons
4241e769 39License: BSD
2abd0792 40Source0: %{_source}
9a5636eb 41# Source0-md5: 40ac1d07d9efb0366720d081c3e02224
bee4f74e 42Source1: %{name}.init
2f7162ab
AM
43Source2: %{name}.conf
44Source3: %{name}.user
607835c0 45Source4: %{name}.logrotate
c54ca3d2 46Source5: %{name}.sysconfig
bebbc41e 47Patch0: %{name}-mod_status.patch
00f98cf3 48Patch1: %{name}-doublefree.patch
4eada25d 49Patch2: %{name}-avg-req.patch
866e1491
ER
50Patch3: %{name}-readpost-timeout.patch
51Patch4: %{name}-fcgi-fdevent.patch
d04fe758 52Patch5: %{name}-write-EINTR.patch
70373b58 53URL: http://www.lighttpd.net/
1a75d3e1
JB
54BuildRequires: autoconf
55BuildRequires: automake
56BuildRequires: bzip2-devel
57BuildRequires: libtool
1a75d3e1
JB
58BuildRequires: openssl-devel
59BuildRequires: pcre-devel
e68efba2 60BuildRequires: rpmbuild(macros) >= 1.159
1a75d3e1 61BuildRequires: zlib-devel
d20e182e 62%if %{with xattr}
63BuildRequires: attr-devel
64%endif
05f8c491
ER
65%{?with_ldap:BuildRequires: openldap-devel}
66%{?with_mysql:BuildRequires: mysql-devel}
d80c1ef1
ER
67%{?with_valgrind:BuildRequires: valgrind}
68%{!?with_valgrind:BuildConflicts: valgrind}
bee4f74e
AM
69PreReq: rc-scripts
70Requires(pre): sh-utils
71Requires(pre): /bin/id
72Requires(pre): /usr/bin/getgid
73Requires(pre): /usr/sbin/groupadd
74Requires(pre): /usr/sbin/useradd
75Requires(post,preun): /sbin/chkconfig
bee4f74e 76Requires(postun): /usr/sbin/groupdel
e68efba2 77Requires(postun): /usr/sbin/userdel
78Provides: group(lighttpd)
1a75d3e1 79Provides: httpd
e68efba2 80Provides: user(lighttpd)
1a75d3e1 81Provides: webserver
bee4f74e
AM
82BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83
84%define _libdir %{_prefix}/%{_lib}/%{name}
8d734bed 85%define _lighttpddir /home/services/%{name}
bee4f74e
AM
86%define _sysconfdir /etc/%{name}
87
88%description
f655b1fd
MC
89lighttpd is a secure, fast, compliant and very flexible web-server
90which has been optimized for high-performance environments. It has
91a very low memory footprint compared to other webservers and takes
92care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
bee4f74e
AM
93Output-Compression, URL-Rewriting and many more) make lighttpd the
94perfect webserver-software for every server that is suffering load
95problems.
96
f655b1fd
MC
97%description -l pl
98lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
1a75d3e1 99