3 %bcond_without tests # build with tests
4 %bcond_without xattr # support of extended attributes
5 %bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel)
6 %bcond_without largefile # largefile support (see notes above)
7 %bcond_without ssl # ssl support
8 %bcond_without mysql # mysql support in mod_mysql_vhost
9 %bcond_without ldap # ldap support in mod_auth
10 %bcond_without lua # LUA support in mod_cml (needs LUA >= 5.1)
11 %bcond_with memcache # memcached support in mod_cml / mod_trigger_b4_dl
12 %bcond_with gamin # gamin for reducing number of stat() calls.
13 # NOTE: must be enabled in config: server.stat-cache-engine = "fam"
14 %bcond_with gdbm # gdbm in mod_trigger_b4_dl
15 %bcond_with webdav_props # properties in mod_webdav (includes extra sqlite3/libxml deps)
16 %bcond_with webdav_locks # webdav locks with extra efsprogs deps
17 %bcond_with valgrind # compile code with valgrind support.
18 %bcond_with deflate # build deflate module (needs patch update with current svn)
20 %if %{with webdav_locks}
21 %define webdav_progs 1
24 Summary: Fast and light HTTP server
25 Summary(pl.UTF-8): Szybki i lekki serwer HTTP
30 Group: Networking/Daemons/HTTP
31 Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2
32 # Source0-md5: a682c8efce47a2f4263a247ba0813c9b
36 Source4: %{name}.logrotate
37 Source5: %{name}.sysconfig
38 Source6: %{name}-mime.types.sh
39 Source7: http://glen.alkohol.ee/pld/lighty/favicon.ico
40 # Source7-md5: 00fcac5b861a54f5eb147a589504d480
41 Source8: light_button.png
42 # Source8-md5: 3e1008ee1d3d6d390cf81fe3072b4f50
43 Source9: light_logo.png
44 # Source9-md5: cbb7f0676e51ee2e26cf004df293fc62
45 Source10: pld_button.png
46 # Source10-md5: 185afa921e81bd726b9f0f9f0909dc6e
47 Source11: %{name}-pld.html
48 Source12: %{name}.monitrc
51 Source100: %{name}-mod_access.conf
52 Source101: %{name}-mod_accesslog.conf
53 Source102: %{name}-mod_alias.conf
54 Source103: %{name}-mod_auth.conf
55 Source104: %{name}-mod_cgi.conf
56 Source105: %{name}-mod_cml.conf
57 Source106: %{name}-mod_compress.conf
58 Source107: %{name}-mod_deflate.conf
59 Source108: %{name}-mod_dirlisting.conf
60 Source109: %{name}-mod_evasive.conf
61 Source110: %{name}-mod_evhost.conf
62 Source111: %{name}-mod_expire.conf
63 Source112: %{name}-mod_fastcgi.conf
64 Source113: %{name}-mod_flv_streaming.conf
65 Source114: %{name}-mod_indexfile.conf
66 Source115: %{name}-mod_proxy.conf
67 Source116: %{name}-mod_redirect.conf
68 Source117: %{name}-mod_rewrite.conf
69 Source118: %{name}-mod_rrdtool.conf
70 Source119: %{name}-mod_scgi.conf
71 Source120: %{name}-mod_secdownload.conf
72 Source121: %{name}-mod_setenv.conf
73 Source122: %{name}-mod_simple_vhost.conf
74 Source123: %{name}-mod_ssi.conf
75 Source124: %{name}-mod_staticfile.conf
76 Source125: %{name}-mod_status.conf
77 Source126: %{name}-mod_trigger_b4_dl.conf
78 Source127: %{name}-mod_userdir.conf
79 Source128: %{name}-mod_usertrack.conf
80 Source129: %{name}-mod_webdav.conf
81 Source130: %{name}-php-spawned.conf
82 Source131: %{name}-php-external.conf
83 Source132: %{name}-ssl.conf
84 Source133: %{name}-mod_mysql_vhost.conf
85 Source134: %{name}-mod_magnet.conf
86 Source135: %{name}-mod_extforward.conf
87 Source136: %{name}-mod_h264_streaming.conf
88 Source137: %{name}-mod_cgi_php.conf
89 Patch100: %{name}-branch.diff
90 Patch0: %{name}-use_bin_sh.patch
91 Patch1: %{name}-mod_evasive-status_code.patch
92 Patch2: %{name}-mod_h264_streaming.patch
93 Patch3: %{name}-branding.patch
94 Patch4: %{name}-modinit-before-fork.patch
95 Patch5: %{name}-mod_deflate.patch
96 Patch6: etag-32bit-overflow.patch
97 Patch7: mod_auth-ip-info.patch
98 Patch8: data_string_print_escape.patch
99 #Patch8: %{name}-errorlog-before-fork.patch
100 URL: http://www.lighttpd.net/
101 %{?with_xattr:BuildRequires: attr-devel}
102 BuildRequires: autoconf >= 2.57
103 BuildRequires: automake
104 BuildRequires: bzip2-devel
105 BuildRequires: fcgi-devel
106 %{?with_gamin:BuildRequires: gamin-devel}
107 %{?with_gdbm:BuildRequires: gdbm-devel}
108 %{?with_memcache:BuildRequires: libmemcache-devel}
109 BuildRequires: libtool
110 BuildRequires: libuuid-devel
111 %{?with_webdav_props:BuildRequires: libxml2-devel}
112 %{?with_lua:BuildRequires: lua51-devel}
113 BuildRequires: mailcap >= 2.1.14-4.4
114 %{?with_mysql:BuildRequires: mysql-devel}
115 %{?with_ldap:BuildRequires: openldap-devel}
116 %{?with_ssl:BuildRequires: openssl-devel}
117 BuildRequires: pcre-devel
118 BuildRequires: pkgconfig
119 BuildRequires: rpmbuild(macros) >= 1.268
120 %{?with_webdav_props:BuildRequires: sqlite3-devel}
121 %{?with_valgrind:BuildRequires: valgrind}
123 BuildRequires: zlib-devel
124 Requires(post,preun): /sbin/chkconfig
125 Requires(postun): /usr/sbin/groupdel
126 Requires(postun): /usr/sbin/userdel
127 Requires(pre): /bin/id
128 Requires(pre): /usr/bin/getgid
129 Requires(pre): /usr/lib/rpm/user_group.sh
130 Requires(pre): /usr/sbin/groupadd
131 Requires(pre): /usr/sbin/useradd
132 Requires(pre): /usr/sbin/usermod
133 Requires: %{name}-mod_dirlisting = %{version}-%{release}
134 Requires: %{name}-mod_indexfile = %{version}-%{release}
135 Requires: %{name}-mod_staticfile = %{version}-%{release}
136 Requires: rc-scripts >= 0.4.1.26-2
137 Requires: rpm-whiteout >= 1.5
138 Provides: group(http)
139 Provides: group(lighttpd)
140 Provides: user(lighttpd)
142 Provides: webserver(mime)
143 Conflicts: logrotate < 3.7-4
144 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
145 Conflicts: rpm < 4.4.2-0.2
146 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
148 %define _libdir %{_prefix}/%{_lib}/%{name}
149 %define _lighttpddir /home/services/%{name}
150 %define _sysconfdir /etc/%{name}
153 lighttpd is a secure, fast, compliant and very flexible web-server
154 which has been optimized for high-performance environments. It has a
155 very low memory footprint compared to other webservers and takes care
156 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
157 Output-Compression, URL-Rewriting and many more) make lighttpd the
158 perfect webserver-software for every server that is suffering load
161 %description -l pl.UTF-8
162 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
163 serwerem WWW, który został zoptymalizowany pod kątem
164 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
165 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
166 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
167 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
168 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
169 powodu problemów z obciążeniem.
172 Summary: lighttpd module for making access restrictions
173 Summary(pl.UTF-8): Moduł lighttpd ograniczający dostęp
174 Group: Networking/Daemons/HTTP
175 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
176 Requires: %{name} = %{version}-%{release}
177 Provides: webserver(access)
179 %description mod_access
180 The access module is used to deny access to files with given trailing
183 %description mod_access -l pl.UTF-8
184 Moduł access służy do ograniczania dostępu do plików o podanych
187 %package mod_accesslog
188 Summary: lighttpd module to record access logs
189 Summary(pl.UTF-8): Moduł lighttpd do zapisu logów dostępu
190 Group: Networking/Daemons/HTTP
191 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
192 Requires: %{name} = %{version}-%{release}
194 %description mod_accesslog
195 CLF like by default, flexible like Apache.
197 %description mod_accesslog -l pl.UTF-8
198 Domyślnie podobny do CLF, elastyczny jak Apache.
201 Summary: lighttpd module for making URL aliasing
202 Summary(pl.UTF-8): Moduł lighttpd odpowiadający za aliasy URL-i
203 Group: Networking/Daemons/HTTP
204 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
205 Requires: %{name} = %{version}-%{release}
206 Provides: webserver(alias)
208 %description mod_alias
209 The alias module is used to specify a special document-root for a
212 %description mod_alias -l pl.UTF-8
213 Modul alias służy do określania specjalnego drzewa (document-roota)
214 dla podanego podzbioru URL-i.
217 Summary: lighttpd module for authentication support
218 Summary(pl.UTF-8): Moduł lighttpd do obsługi uwierzytelniania
219 Group: Networking/Daemons/HTTP
220 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
221 Requires: %{name} = %{version}-%{release}
222 Provides: webserver(auth)
224 %description mod_auth
225 lighttpd supportes both authentication method described by RFC 2617:
228 %description mod_auth -l pl.UTF-8
229 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
233 Summary: lighttpd module for CGI handling
234 Summary(pl.UTF-8): Moduł lighttpd do obsługi CGI
235 Group: Networking/Daemons/HTTP
236 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
237 Requires: %{name} = %{version}-%{release}
238 Requires: %{name}-mod_alias = %{version}-%{release}
239 Provides: webserver(cgi)
242 The cgi module provides a CGI-conforming interface.
244 CGI programs allow you to enhance the functionality of the server in a
245 very straight and simple way.
247 %description mod_cgi -l pl.UTF-8
248 Moduł cgi udostępnia interfejs zgodny z CGI.
250 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
251 prosty i naturalny sposób.
254 Summary: lighttpd module for CGI handling PHP scripts
255 Summary(pl.UTF-8): Moduł lighttpd do obsługi skryptów PHP przez CGI
256 Group: Networking/Daemons/HTTP
257 Requires: %{name}-mod_cgi = %{version}-%{release}
259 Provides: webserver(php)
261 %description mod_cgi_php
262 The cgi module provides a CGI-conforming interface for PHP scripts.
264 CGI programs allow you to enhance the functionality of the server in a
265 very straight and simple way.
267 %description mod_cgi_php -l pl.UTF-8
268 Moduł cgi udostępnia interfejs zgodny z CGI do wywoływania skryptów
271 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
272 prosty i naturalny sposób.
275 Summary: lighttpd module for Cache Meta Language
276 Summary(pl.UTF-8): Moduł Cache Meta Language
277 Group: Networking/Daemons/HTTP
278 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCML
279 Requires: %{name} = %{version}-%{release}
282 CML is a Meta language to describe the dependencies of a page at one
283 side and building a page from its fragments on the other side using
286 %description mod_cml -l pl.UTF-8
287 CML to metajęzyk służący z jednej strony do opisu zależności strony i
288 z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
290 %package mod_compress
291 Summary: lighttpd module for output compression
292 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia
293 Group: Networking/Daemons/HTTP
294 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
295 Requires: %{name} = %{version}-%{release}
297 %description mod_compress
298 Output compression reduces the network load and can improve the
299 overall throughput of the webserver.
301 Only static content is supported up to now.
303 The server negotiates automatically which compression method is used.
304 Supported are gzip, deflate, bzip.
306 %description mod_compress -l pl.UTF-8
307 Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
308 przepustowość serwera WWW.
310 Jak na razie obsługiwana jest tylko statyczna treść.
312 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
313 Obsługiwane są gzip, deflate i bzip.
316 Summary: lighttpd module for output compression using deflate method
317 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia metodą deflate
318 Group: Networking/Daemons/HTTP
319 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_Deflate
320 Requires: %{name} = %{version}-%{release}
322 %description mod_deflate
323 mod_deflate can compress any output from lighttpd static or dynamic.
324 It doesn't support caching compressed output like mod_compress.
326 %description mod_deflate -l pl.UTF-8
327 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
328 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
331 %package mod_dirlisting
332 Summary: lighttpd module for directory listings
333 Summary(pl.UTF-8): Moduł lighttpd do tworzenia listingów katalogów
334 Group: Networking/Daemons/HTTP
335 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
336 Requires: %{name} = %{version}-%{release}
338 %description mod_dirlisting
339 mod_dirlisting generates HTML based directory listings with full CSS
342 %description mod_dirlisting -l pl.UTF-8
343 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
347 Summary: lighttpd evasive module
348 Summary(pl.UTF-8): Moduł evasive dla lighttpd
349 Group: Networking/Daemons/HTTP
350 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
351 Requires: %{name} = %{version}-%{release}
353 %description mod_evasive
354 lighttpd evasive module.
356 %description mod_evasive -l pl.UTF-8
357 Moduł evasive dla lighttpd.
360 Summary: lighttpd module for enhanced virtual-hosting
361 Summary(pl.UTF-8): Moduł lighttpd rozszerzający obsługę hostów wirtualnych
362 Group: Networking/Daemons/HTTP
363 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
364 Requires: %{name} = %{version}-%{release}
366 %description mod_evhost
367 mod_evhost builds the document-root based on a pattern which contains
368 wildcards. Those wildcards can represent parts of the submitted
371 %description mod_evhost -l pl.UTF-8
372 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
373 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
377 Summary: lighttpd module for controlling the expiration of content in caches
378 Summary(pl.UTF-8): Moduł lighttpd sterujący wygasaniem treści w cache'ach
379 Group: Networking/Daemons/HTTP
380 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
381 Requires: %{name} = %{version}-%{release}
382 Provides: webserver(expires)
384 %description mod_expire
385 mod_expire controls the setting of the the Expire response header.
387 %description mod_expire -l pl.UTF-8
388 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
390 %package mod_extforward
391 Summary: lighttpd module to extract the client's "real" IP from X-Forwarded-For header
392 Summary(pl.UTF-8): Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
393 Group: Networking/Daemons/HTTP
394 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
395 Requires: %{name} = %{version}-%{release}
397 %description mod_extforward
398 This module will extract the client's "real" IP from X-Forwarded-For
399 header which is added by Squid or other proxies. It might be useful
400 for servers behind reverse proxy servers.
402 %description mod_extforward -l pl.UTF-8
403 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
404 dodawanego przez Squida czy inne proxy. Może być przydatny dla
405 serwerów stojących za odwrotnymi serwerami proxy.
408 Summary: lighttpd module for FastCGI interface
409 Summary(pl.UTF-8): Moduł lighttpd do interfejsu FastCGI
410 Group: Networking/Daemons/HTTP
411 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
412 Requires: %{name} = %{version}-%{release}
414 %description mod_fastcgi
415 The FastCGI interface is the fastest and most secure way to interface
416 external process-handlers like Perl, PHP and your self-written
419 %description mod_fastcgi -l pl.UTF-8
420 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
421 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
422 jak Perl, PHP czy własne aplikacje.
424 %package mod_flv_streaming
425 Summary: lighttpd module for flv streaming
426 Summary(pl.UTF-8): Moduł lighttpd do streamingu flv
427 Group: Networking/Daemons/HTTP
428 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
429 Requires: %{name} = %{version}-%{release}
431 %description mod_flv_streaming
432 lighttpd module for flv streaming.
434 %description mod_flv_streaming -l pl.UTF-8
435 Moduł lighttpd do streamingu flv.
437 %package mod_h264_streaming
438 Summary: lighttpd module for h264 streaming
439 Summary(pl.UTF-8): Moduł lighttpd do emisji strumieni h264
440 License: CC 3.0 BY-NC-SA
441 Group: Networking/Daemons/HTTP
442 URL: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
443 Requires: %{name} = %{version}-%{release}
445 %description mod_h264_streaming
446 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
448 %description mod_h264_streaming -l pl.UTF-8
449 Moduł lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
451 %package mod_indexfile
452 Summary: lighttpd indexfile module
453 Summary(pl.UTF-8): Moduł indexfile dla lighttpd
454 Group: Networking/Daemons/HTTP
455 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
456 Requires: %{name} = %{version}-%{release}
457 Provides: webserver(indexfile)
459 %description mod_indexfile
462 %description mod_indexfile -l pl.UTF-8
466 Summary: lighttpd powermagnet module
467 Summary(pl.UTF-8): Moduł powermagnet dla lighttpd
468 Group: Networking/Daemons/HTTP
469 URL: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
470 Requires: %{name} = %{version}-%{release}
472 %description mod_magnet
473 mod_magnet is a module to control the request handling in lighty.
475 %description mod_magnet -l pl.UTF-8
476 mod_magnet to moduł sterujący obsługą żądań w lighty.
478 %package mod_mysql_vhost
479 Summary: lighttpd module for MySQL based vhosting
480 Summary(pl.UTF-8): Moduł lighttpd obsługujący vhosty oparte na MySQL-u
481 Group: Networking/Daemons/HTTP
482 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMySQLVhost
483 Requires: %{name} = %{version}-%{release}
484 Conflicts: %{name}-mod_simple_vhost
486 %description mod_mysql_vhost
487 This module provides virtual hosts (vhosts) based on a MySQL table.
489 %description mod_mysql_vhost -l pl.UTF-8
490 Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
493 Summary: lighttpd module for proxying requests
494 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
495 Group: Networking/Daemons/HTTP
496 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
497 Requires: %{name} = %{version}-%{release}
499 %description mod_proxy
500 The proxy module a simplest way to connect lighttpd to Java servers
501 which have a HTTP-interface.
503 %description mod_proxy -l pl.UTF-8
504 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
505 mającymi interfejs HTTP.
507 %package mod_proxy_core
508 Summary: lighttpd module for proxying requests
509 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
510 Group: Networking/Daemons/HTTP
511 URL: http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
512 Requires: %{name} = %{version}-%{release}
514 %description mod_proxy_core
515 The proxy module a simplest way to connect lighttpd to java servers
516 which have a HTTP-interface.
518 This is the new proxy code.
520 %description mod_proxy_core -l pl.UTF-8
521 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
522 mającymi interfejs HTTP.
524 Ten pakiet zawiera nowy moduł proxy.
526 %package mod_redirect
527 Summary: lighttpd module for URL redirects
528 Summary(pl.UTF-8): Moduł lighttpd do przekierowań URL-i
529 Group: Networking/Daemons/HTTP
530 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
531 Requires: %{name} = %{version}-%{release}
533 %description mod_redirect
534 With mod_redirect module you can redirect a set of URLs externally.
536 %description mod_redirect -l pl.UTF-8
537 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
541 Summary: lighttpd module for internal redirects, URL rewrite
542 Summary(pl.UTF-8): Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
543 Group: Networking/Daemons/HTTP
544 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
545 Requires: %{name} = %{version}-%{release}
546 Provides: webserver(rewrite)
548 %description mod_rewrite
549 This module allows you rewrite a set of URLs interally in the
550 webserver BEFORE they are handled.
552 %description mod_rewrite -l pl.UTF-8
553 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
554 WWW _przed_ ich obsługą.
557 Summary: lighttpd module for monitoring traffic and server load
558 Summary(pl.UTF-8): Moduł lighttpd do monitorowania ruchu i obciążenia serwera
559 Group: Networking/Daemons/HTTP
560 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
561 Requires: %{name} = %{version}-%{release}
564 %description mod_rrdtool
565 RRD is a system to store and display time-series data (i.e. network
566 bandwidth, machine-room temperature, server load average).
568 With this module you can monitor the traffic and load on the
571 %description mod_rrdtool -l pl.UTF-8
572 RRD to system przechowywania i wyświetlania danych zależnych od czasu
573 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
576 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
580 Summary: lighttpd module for SCGI interface
581 Summary(pl.UTF-8): Moduł lighttpd do interfejsu SCGI
582 Group: Networking/Daemons/HTTP
583 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
584 Requires: %{name} = %{version}-%{release}
586 %description mod_scgi
587 SCGI is a fast and simplified CGI interface. It is mostly used by
590 %description mod_scgi -l pl.UTF-8
591 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
594 %package mod_secdownload
595 Summary: lighttpd module for secure and fast downloading
596 Summary(pl.UTF-8): Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
597 Group: Networking/Daemons/HTTP
598 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
599 Requires: %{name} = %{version}-%{release}
601 %description mod_secdownload
602 With this module you can easily achieve authenticated file requests
603 and a countermeasure against deep-linking.
605 %description mod_secdownload -l pl.UTF-8
606 Przy użyciu tego modułu można łatwo umożliwić ściąganie plików z
607 uwierzytelnieniem i zapobiec używaniu bezpośrednich odnośników.
610 Summary: lighttpd module for setting conditional request headers
611 Summary(pl.UTF-8): Moduł lighttpd do ustawiania warunkowych nagłówków żądań
612 Group: Networking/Daemons/HTTP
613 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
614 Requires: %{name} = %{version}-%{release}
615 Provides: webserver(setenv)
617 %description mod_setenv
618 mod_setenv is used to add request headers.
620 %description mod_setenv -l pl.UTF-8
621 mod_setenv służy do dodawania nagłówków żądań.
623 %package mod_simple_vhost
624 Summary: lighttpd module for simple virtual-hosting
625 Summary(pl.UTF-8): Moduł lighttpd do prostych hostów wirtualnych
626 Group: Networking/Daemons/HTTP
627 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
628 Requires: %{name} = %{version}-%{release}
629 Conflicts: %{name}-mod_mysql_vhost
631 %description mod_simple_vhost
632 lighttpd module for simple virtual-hosting.
634 %description mod_simple_vhost -l pl.UTF-8
635 Moduł lighttpd do prostych hostów wirtualnych.
638 Summary: lighttpd module for server-side includes
639 Summary(pl.UTF-8): Moduł lighttpd do SSI (server-side includes)
640 Group: Networking/Daemons/HTTP
641 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
642 Requires: %{name} = %{version}-%{release}
645 The module for server-side includes provides a compatability layer for
648 %description mod_ssi -l pl.UTF-8
649 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
650 znanym z NSCA/Apache'a.
652 %package mod_staticfile
653 Summary: lighttpd module for static file serving
654 Summary(pl.UTF-8): Moduł lighttpd do serwowania statycznych plików
655 Group: Networking/Daemons/HTTP
656 Requires: %{name} = %{version}-%{release}
658 %description mod_staticfile
659 lighttpd module for static file serving.
661 %description mod_staticfile -l pl.UTF-8
662 Moduł lighttpd do serwowania statycznych plików.
665 Summary: lighttpd module for displaying server status
666 Summary(pl.UTF-8): Moduł lighttpd do wyświetlania stanu serwera
667 Group: Networking/Daemons/HTTP
668 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
669 Requires: %{name} = %{version}-%{release}
671 %description mod_status
672 mod_status displays the server's status and configuration.
674 %description mod_status -l pl.UTF-8
675 mod_status wyświetla stan i konfigurację serwera.
677 %package mod_trigger_b4_dl
678 Summary: Trigger before Download
679 Summary(pl.UTF-8): Wyzwalacz przed ściąganiem
680 Group: Networking/Daemons/HTTP
681 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModTriggerBeforeDownload
682 Requires: %{name} = %{version}-%{release}
684 %description mod_trigger_b4_dl
685 Another anti hot-linking module.
687 %description mod_trigger_b4_dl -l pl.UTF-8
688 Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
691 Summary: lighttpd module for user homedirs
692 Summary(pl.UTF-8): Moduł lighttpd obsługujący katalogi domowe użytkowników
693 Group: Networking/Daemons/HTTP
694 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
695 Requires: %{name} = %{version}-%{release}
697 %description mod_userdir
698 The userdir module provides a simple way to link user-based
699 directories into the global namespace of the webserver.
701 %description mod_userdir -l pl.UTF-8
702 Moduł userdir udostępnia prosty sposób włączenia katalogów
703 użytkowników do globalnej przestrzeni nazw serwera WWW.
705 %package mod_usertrack
706 Summary: lighttpd usertrack module
707 Summary(pl.UTF-8): Moduł usertrack dla lighttpd
708 Group: Networking/Daemons/HTTP
709 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
710 Requires: %{name} = %{version}-%{release}
712 %description mod_usertrack
713 lighttpd usertrack module.
715 %description mod_usertrack -l pl.UTF-8
716 Moduł usertrack dla lighttpd.
719 Summary: WebDAV module for lighttpd
720 Summary(pl.UTF-8): Moduł WebDAV dla libghttpd
721 Group: Networking/Daemons/HTTP
722 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
723 Requires: %{name} = %{version}-%{release}
725 %description mod_webdav
726 The WebDAV module is a very minimalistic implementation of RFC 2518.
727 Minimalistic means that not all operations are implementated yet.
735 - LOCK (experimental)
737 and the usual GET, POST, HEAD from HTTP/1.1.
739 So far mounting a webdav resource into Windows XP works and the basic
740 litmus tests are passed.
742 %description mod_webdav -l pl.UTF-8
743 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
744 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
745 zaimplementowane. Jak na razie są:
751 - LOCK (experimental)
753 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
755 Jak na razie montowanie zasobu webdav pod Windows XP działa i
756 podstawowe testy lakmusowe przechodzą.
759 Summary: PHP support via FastCGI, spawned by lighttpd
760 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
761 Group: Networking/Daemons/HTTP
762 Requires: %{name} = %{version}-%{release}
763 Requires: %{name}-mod_fastcgi = %{version}-%{release}
765 Provides: webserver(php)
766 Obsoletes: lighttpd-php-external
768 %description php-spawned
769 PHP support via FastCGI, spawned by lighttpd.
771 %description php-spawned -l pl.UTF-8
772 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
774 %package php-external
775 Summary: PHP support via FastCGI, spawning controlled externally
776 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
777 Group: Networking/Daemons/HTTP
778 Requires: %{name} = %{version}-%{release}
779 Requires: %{name}-mod_fastcgi = %{version}-%{release}
780 Suggests: php-fcgi-init
782 Obsoletes: lighttpd-php-spawned
784 %description php-external
785 PHP support via FastCGI, spawning controlled externally.
787 %description php-external -l pl.UTF-8
788 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
791 Summary: lighttpd support for SSLv2 and SSLv3
792 Summary(pl.UTF-8): Obsługa SSLv2 i SSLv3 dla lighttpd
793 Group: Networking/Daemons/HTTP
794 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
795 Requires: %{name} = %{version}-%{release}
796 Suggests: ca-certificates
799 lighttpd support for SSLv2 and SSLv3.
801 %description ssl -l pl.UTF-8
802 Obsługa SSLv2 i SSLv3 dla lighttpd.
804 %package -n monit-rc-lighttpd
805 Summary: lighttpd support for monit
806 Summary(pl.UTF-8): Wsparcie lighttpd dla monit
807 Group: Applications/System
808 Requires: %{name} = %{version}-%{release}
811 %description -n monit-rc-lighttpd
812 monitrc file for monitoring lighttpd web server.
814 %description -n monit-rc-lighttpd -l pl.UTF-8
815 Plik monitrc do monitorowania serwera www lighttpd.
825 %{?with_deflate:%patch5 -p1}
830 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
832 # build mime.types.conf
833 sh %{SOURCE6} /etc/mime.types
834 cp -a %{SOURCE14} PLD-TODO
837 ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
838 if [ "$ver" != "%{version}" ]; then
839 : configure.ac specifies wrong version
849 --enable-maintainer-mode \
850 --with-distribution="PLD Linux" \
851 %{!?with_ipv6:--disable-ipv6} \
852 %{!?with_largefile:--disable-lfs} \
853 %{?with_valgrind:--with-valgrind} \
854 %{?with_xattr:--with-attr} \
855 %{?with_mysql:--with-mysql} \
856 %{?with_ldap:--with-ldap} \
857 %{?with_ssl:--with-openssl} \
858 %{?with_lua:--with-lua=lua51} \
859 %{?with_memcache:--with-memcache} \
860 %{?with_webdav_props:--with-webdav-props} \
861 %{?with_webdav_locks:--with-webdav-locks} \
862 %{?with_gamin:--with-gamin} \
863 %{?with_gdbm:--with-gdbm}
865 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
873 rm -rf $RPM_BUILD_ROOT
874 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
875 $RPM_BUILD_ROOT%{_sysconfdir}/{conf,vhosts,webapps}.d \
876 $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
877 $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
878 $RPM_BUILD_ROOT/var/lib/lighttpd \
879 $RPM_BUILD_ROOT/var/cache/lighttpd/mod_compress
882 DESTDIR=$RPM_BUILD_ROOT
884 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
885 cp -a %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
886 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
887 cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
888 cp -a %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
890 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
892 # Install lighttpd images
893 cp -a %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
894 cp -a %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
895 cp -a %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
897 # NOTE: the order of the modules is somewhat important as the modules are
898 # handled in the way they are specified. mod_rewrite should always be the first
899 # module, mod_accesslog always the last.
901 cp -a %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
902 cp -a %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
904 cp -a %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
905 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
906 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
907 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
908 cp -a %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
909 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
910 cp -a %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
911 cp -a %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
912 cp -a %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
913 cp -a %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
914 cp -a %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
915 cp -a %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
916 cp -a %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
917 cp -a %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
918 cp -a %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
919 cp -a %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
920 cp -a %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
921 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
922 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
923 cp -a %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
924 cp -a %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
925 cp -a %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
926 cp -a %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
927 cp -a %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
928 cp -a %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
929 cp -a %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
930 cp -a %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
931 cp -a %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
933 cp -a %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
934 cp -a %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
936 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/60_mod_compress.conf
938 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
939 cp -a %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
941 cp -a %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
942 cp -a %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
943 cp -a %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
945 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
948 # avoid packaging dummy module
949 rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
950 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
952 %if %{without deflate}
953 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
956 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
959 rm -rf $RPM_BUILD_ROOT
962 %groupadd -g 109 lighttpd
964 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
965 %addusertogroup lighttpd http
968 for a in access.log error.log breakage.log; do
969 if [ ! -f /var/log/%{name}/$a ]; then
970 touch /var/log/%{name}/$a
971 chown lighttpd:lighttpd /var/log/%{name}/$a
972 chmod 644 /var/log/%{name}/$a
975 /sbin/chkconfig --add %{name}
978 if [ "$1" = "0" ]; then
979 %service %{name} stop
980 /sbin/chkconfig --del %{name}
984 if [ "$1" = "0" ]; then
986 %groupremove lighttpd
991 # minimizing lighttpd restarts logics. we restart webserver:
993 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
994 # 2. first install of module (post: $1 = 1)
995 # 2. uninstall of module (postun: $1 == 0)
997 # the strict internal deps between lighttpd modules and
998 # main package are very important for all this to work.
999 %service %{name} restart "Lighttpd webserver"
1002 # macro called at module post scriptlet
1003 %define module_post \
1004 if [ "$1" = "1" ]; then \
1005 %service -q lighttpd restart \
1008 # macro called at module postun scriptlet
1009 %define module_postun \
1010 if [ "$1" = "0" ]; then \
1011 %service -q lighttpd restart \
1014 # it's sooo annoying to write them
1015 %define module_scripts() \
1022 %module_scripts mod_access
1023 %module_scripts mod_accesslog
1024 %module_scripts mod_alias
1025 %module_scripts mod_auth
1026 %module_scripts mod_cgi
1027 %module_scripts mod_cml
1028 %module_scripts mod_compress
1029 %module_scripts mod_deflate
1030 %module_scripts mod_dirlisting
1031 %module_scripts mod_evasive
1032 %module_scripts mod_evhost
1033 %module_scripts mod_expire
1034 %module_scripts mod_extforward
1035 %module_scripts mod_fastcgi
1036 %module_scripts mod_flv_streaming
1037 %module_scripts mod_h264_streaming
1038 %module_scripts mod_indexfile
1039 %module_scripts mod_magnet
1040 %module_scripts mod_mysql_vhost
1041 %module_scripts mod_proxy
1042 %module_scripts mod_redirect
1043 %module_scripts mod_rewrite
1046 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1047 touch /var/lib/lighttpd/lighttpd.rrd
1048 chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1049 chmod 640 /var/lib/lighttpd/lighttpd.rrd
1056 %module_scripts mod_scgi
1057 %module_scripts mod_secdownload
1058 %module_scripts mod_setenv
1059 %module_scripts mod_simple_vhost
1060 %module_scripts mod_ssi
1061 %module_scripts mod_staticfile
1062 %module_scripts mod_status
1063 %module_scripts mod_trigger_b4_dl
1064 %module_scripts mod_userdir
1065 %module_scripts mod_usertrack
1066 %module_scripts mod_webdav
1068 %module_scripts php-spawned
1069 %module_scripts php-external
1071 %triggerpostun -- %{name} < 1.4.18-10.1
1072 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1073 cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1074 mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1078 %defattr(644,root,root,755)
1079 %doc NEWS README doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh PLD-TODO
1080 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1081 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1082 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1083 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1084 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1085 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1086 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1088 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1089 %attr(750,root,root) %dir /var/log/archive/%{name}
1090 %dir %attr(751,root,root) /var/log/%{name}
1091 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1092 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1093 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1094 %dir %attr(770,root,lighttpd) /var/run/%{name}
1095 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1096 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1097 %attr(755,root,root) %{_sbindir}/lighttpd
1098 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1100 %{_mandir}/man8/lighttpd.8*
1101 %dir %{_lighttpddir}
1102 %dir %{_lighttpddir}/cgi-bin
1103 %dir %{_lighttpddir}/html
1104 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1105 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1106 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1108 %dir %{_datadir}/lighttpd
1109 %dir %{_datadir}/lighttpd/errordocs
1111 # rrdtool database is stored there
1112 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1114 # mod_compress can put cached files there
1115 %dir /var/cache/lighttpd
1118 %defattr(644,root,root,755)
1119 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1120 %attr(755,root,root) %{_libdir}/mod_access.so
1122 %files mod_accesslog
1123 %defattr(644,root,root,755)
1124 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1125 %attr(755,root,root) %{_libdir}/mod_accesslog.so
1128 %defattr(644,root,root,755)
1129 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1130 %attr(755,root,root) %{_libdir}/mod_alias.so
1133 %defattr(644,root,root,755)
1134 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1135 %attr(755,root,root) %{_libdir}/mod_auth.so
1138 %defattr(644,root,root,755)
1139 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1140 %attr(755,root,root) %{_libdir}/mod_cgi.so
1143 %defattr(644,root,root,755)
1144 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1147 %defattr(644,root,root,755)
1148 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
1149 %attr(755,root,root) %{_libdir}/mod_cml.so
1152 %defattr(644,root,root,755)
1153 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_compress.conf
1154 %attr(755,root,root) %{_libdir}/mod_compress.so
1155 %dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_compress
1159 %defattr(644,root,root,755)
1160 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1161 %attr(755,root,root) %{_libdir}/mod_deflate.so
1164 %files mod_dirlisting
1165 %defattr(644,root,root,755)
1166 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1167 %attr(755,root,root) %{_libdir}/mod_dirlisting.so
1170 %defattr(644,root,root,755)
1171 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1172 %attr(755,root,root) %{_libdir}/mod_evasive.so
1175 %defattr(644,root,root,755)
1176 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1177 %attr(755,root,root) %{_libdir}/mod_evhost.so
1180 %defattr(644,root,root,755)
1181 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1182 %attr(755,root,root) %{_libdir}/mod_expire.so
1184 %files mod_extforward
1185 %defattr(644,root,root,755)
1186 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1187 %attr(755,root,root) %{_libdir}/mod_extforward.so
1190 %defattr(644,root,root,755)
1191 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1192 %attr(755,root,root) %{_libdir}/mod_fastcgi.so
1194 %files mod_flv_streaming
1195 %defattr(644,root,root,755)
1196 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
1197 %attr(755,root,root) %{_libdir}/mod_flv_streaming.so
1199 %files mod_h264_streaming
1200 %defattr(644,root,root,755)
1201 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1202 %attr(755,root,root) %{_libdir}/mod_h264_streaming.so
1204 %files mod_indexfile
1205 %defattr(644,root,root,755)
1206 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1207 %attr(755,root,root) %{_libdir}/mod_indexfile.so
1210 %defattr(644,root,root,755)
1211 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1212 %attr(755,root,root) %{_libdir}/mod_magnet.so
1215 %files mod_mysql_vhost
1216 %defattr(644,root,root,755)
1217 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
1218 %attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
1222 %defattr(644,root,root,755)
1223 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1224 %attr(755,root,root) %{_libdir}/mod_proxy.so
1227 %defattr(644,root,root,755)
1228 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1229 %attr(755,root,root) %{_libdir}/mod_redirect.so
1232 %defattr(644,root,root,755)
1233 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1234 %attr(755,root,root) %{_libdir}/mod_rewrite.so
1237 %defattr(644,root,root,755)
1238 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1239 %attr(755,root,root) %{_libdir}/mod_rrdtool.so
1240 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1243 %defattr(644,root,root,755)
1244 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1245 %attr(755,root,root) %{_libdir}/mod_scgi.so
1247 %files mod_secdownload
1248 %defattr(644,root,root,755)
1249 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1250 %attr(755,root,root) %{_libdir}/mod_secdownload.so
1253 %defattr(644,root,root,755)
1254 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1255 %attr(755,root,root) %{_libdir}/mod_setenv.so
1257 %files mod_simple_vhost
1258 %defattr(644,root,root,755)
1259 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1260 %attr(755,root,root) %{_libdir}/mod_simple_vhost.so
1263 %defattr(644,root,root,755)
1264 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1265 %attr(755,root,root) %{_libdir}/mod_ssi.so
1267 %files mod_staticfile
1268 %defattr(644,root,root,755)
1269 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1270 %attr(755,root,root) %{_libdir}/mod_staticfile.so
1273 %defattr(644,root,root,755)
1274 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1275 %attr(755,root,root) %{_libdir}/mod_status.so
1277 %files mod_trigger_b4_dl
1278 %defattr(644,root,root,755)
1279 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
1280 %attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
1283 %defattr(644,root,root,755)
1284 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1285 %attr(755,root,root) %{_libdir}/mod_userdir.so
1287 %files mod_usertrack
1288 %defattr(644,root,root,755)
1289 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1290 %attr(755,root,root) %{_libdir}/mod_usertrack.so
1293 %defattr(644,root,root,755)
1294 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1295 %attr(755,root,root) %{_libdir}/mod_webdav.so
1298 %defattr(644,root,root,755)
1299 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1302 %defattr(644,root,root,755)
1303 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1306 %defattr(644,root,root,755)
1307 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1309 %files -n monit-rc-lighttpd
1310 %defattr(644,root,root,755)
1311 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc