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: %{name}-errorlog-before-fork.patch
99 URL: http://www.lighttpd.net/
100 %{?with_xattr:BuildRequires: attr-devel}
101 BuildRequires: autoconf >= 2.57
102 BuildRequires: automake
103 BuildRequires: bzip2-devel
104 BuildRequires: fcgi-devel
105 %{?with_gamin:BuildRequires: gamin-devel}
106 %{?with_gdbm:BuildRequires: gdbm-devel}
107 %{?with_memcache:BuildRequires: libmemcache-devel}
108 BuildRequires: libtool
109 BuildRequires: libuuid-devel
110 %{?with_webdav_props:BuildRequires: libxml2-devel}
111 %{?with_lua:BuildRequires: lua51-devel}
112 BuildRequires: mailcap >= 2.1.14-4.4
113 %{?with_mysql:BuildRequires: mysql-devel}
114 %{?with_ldap:BuildRequires: openldap-devel}
115 %{?with_ssl:BuildRequires: openssl-devel}
116 BuildRequires: pcre-devel
117 BuildRequires: pkgconfig
118 BuildRequires: rpmbuild(macros) >= 1.268
119 %{?with_webdav_props:BuildRequires: sqlite3-devel}
120 %{?with_valgrind:BuildRequires: valgrind}
122 BuildRequires: zlib-devel
123 Requires(post,preun): /sbin/chkconfig
124 Requires(postun): /usr/sbin/groupdel
125 Requires(postun): /usr/sbin/userdel
126 Requires(pre): /bin/id
127 Requires(pre): /usr/bin/getgid
128 Requires(pre): /usr/lib/rpm/user_group.sh
129 Requires(pre): /usr/sbin/groupadd
130 Requires(pre): /usr/sbin/useradd
131 Requires(pre): /usr/sbin/usermod
132 Requires: %{name}-mod_dirlisting = %{version}-%{release}
133 Requires: %{name}-mod_indexfile = %{version}-%{release}
134 Requires: %{name}-mod_staticfile = %{version}-%{release}
135 Requires: rc-scripts >= 0.4.1.26-2
136 Requires: rpm-whiteout >= 1.5
137 Provides: group(http)
138 Provides: group(lighttpd)
139 Provides: user(lighttpd)
141 Provides: webserver(mime)
142 Conflicts: logrotate < 3.7-4
143 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
144 Conflicts: rpm < 4.4.2-0.2
145 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
147 %define _libdir %{_prefix}/%{_lib}/%{name}
148 %define _lighttpddir /home/services/%{name}
149 %define _sysconfdir /etc/%{name}
152 lighttpd is a secure, fast, compliant and very flexible web-server
153 which has been optimized for high-performance environments. It has a
154 very low memory footprint compared to other webservers and takes care
155 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
156 Output-Compression, URL-Rewriting and many more) make lighttpd the
157 perfect webserver-software for every server that is suffering load
160 %description -l pl.UTF-8
161 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
162 serwerem WWW, który został zoptymalizowany pod kątem
163 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
164 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
165 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
166 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
167 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
168 powodu problemów z obciążeniem.
171 Summary: lighttpd module for making access restrictions
172 Summary(pl.UTF-8): Moduł lighttpd ograniczający dostęp
173 Group: Networking/Daemons/HTTP
174 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
175 Requires: %{name} = %{version}-%{release}
176 Provides: webserver(access)
178 %description mod_access
179 The access module is used to deny access to files with given trailing
182 %description mod_access -l pl.UTF-8
183 Moduł access służy do ograniczania dostępu do plików o podanych
186 %package mod_accesslog
187 Summary: lighttpd module to record access logs
188 Summary(pl.UTF-8): Moduł lighttpd do zapisu logów dostępu
189 Group: Networking/Daemons/HTTP
190 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
191 Requires: %{name} = %{version}-%{release}
193 %description mod_accesslog
194 CLF like by default, flexible like Apache.
196 %description mod_accesslog -l pl.UTF-8
197 Domyślnie podobny do CLF, elastyczny jak Apache.
200 Summary: lighttpd module for making URL aliasing
201 Summary(pl.UTF-8): Moduł lighttpd odpowiadający za aliasy URL-i
202 Group: Networking/Daemons/HTTP
203 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
204 Requires: %{name} = %{version}-%{release}
205 Provides: webserver(alias)
207 %description mod_alias
208 The alias module is used to specify a special document-root for a
211 %description mod_alias -l pl.UTF-8
212 Modul alias służy do określania specjalnego drzewa (document-roota)
213 dla podanego podzbioru URL-i.
216 Summary: lighttpd module for authentication support
217 Summary(pl.UTF-8): Moduł lighttpd do obsługi uwierzytelniania
218 Group: Networking/Daemons/HTTP
219 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
220 Requires: %{name} = %{version}-%{release}
221 Provides: webserver(auth)
223 %description mod_auth
224 lighttpd supportes both authentication method described by RFC 2617:
227 %description mod_auth -l pl.UTF-8
228 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
232 Summary: lighttpd module for CGI handling
233 Summary(pl.UTF-8): Moduł lighttpd do obsługi CGI
234 Group: Networking/Daemons/HTTP
235 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
236 Requires: %{name} = %{version}-%{release}
237 Requires: %{name}-mod_alias = %{version}-%{release}
238 Provides: webserver(cgi)
241 The cgi module provides a CGI-conforming interface.
243 CGI programs allow you to enhance the functionality of the server in a
244 very straight and simple way.
246 %description mod_cgi -l pl.UTF-8
247 Moduł cgi udostępnia interfejs zgodny z CGI.
249 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
250 prosty i naturalny sposób.
253 Summary: lighttpd module for CGI handling PHP scripts
254 Summary(pl.UTF-8): Moduł lighttpd do obsługi skryptów PHP przez CGI
255 Group: Networking/Daemons/HTTP
256 Requires: %{name}-mod_cgi = %{version}-%{release}
258 Provides: webserver(php)
260 %description mod_cgi_php
261 The cgi module provides a CGI-conforming interface for PHP scripts.
263 CGI programs allow you to enhance the functionality of the server in a
264 very straight and simple way.
266 %description mod_cgi_php -l pl.UTF-8
267 Moduł cgi udostępnia interfejs zgodny z CGI do wywoływania skryptów
270 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
271 prosty i naturalny sposób.
274 Summary: lighttpd module for Cache Meta Language
275 Summary(pl.UTF-8): Moduł Cache Meta Language
276 Group: Networking/Daemons/HTTP
277 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCML
278 Requires: %{name} = %{version}-%{release}
281 CML is a Meta language to describe the dependencies of a page at one
282 side and building a page from its fragments on the other side using
285 %description mod_cml -l pl.UTF-8
286 CML to metajęzyk służący z jednej strony do opisu zależności strony i
287 z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
289 %package mod_compress
290 Summary: lighttpd module for output compression
291 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia
292 Group: Networking/Daemons/HTTP
293 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
294 Requires: %{name} = %{version}-%{release}
296 %description mod_compress
297 Output compression reduces the network load and can improve the
298 overall throughput of the webserver.
300 Only static content is supported up to now.
302 The server negotiates automatically which compression method is used.
303 Supported are gzip, deflate, bzip.
305 %description mod_compress -l pl.UTF-8
306 Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
307 przepustowość serwera WWW.
309 Jak na razie obsługiwana jest tylko statyczna treść.
311 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
312 Obsługiwane są gzip, deflate i bzip.
315 Summary: lighttpd module for output compression using deflate method
316 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia metodą deflate
317 Group: Networking/Daemons/HTTP
318 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_Deflate
319 Requires: %{name} = %{version}-%{release}
321 %description mod_deflate
322 mod_deflate can compress any output from lighttpd static or dynamic.
323 It doesn't support caching compressed output like mod_compress.
325 %description mod_deflate -l pl.UTF-8
326 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
327 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
330 %package mod_dirlisting
331 Summary: lighttpd module for directory listings
332 Summary(pl.UTF-8): Moduł lighttpd do tworzenia listingów katalogów
333 Group: Networking/Daemons/HTTP
334 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
335 Requires: %{name} = %{version}-%{release}
337 %description mod_dirlisting
338 mod_dirlisting generates HTML based directory listings with full CSS
341 %description mod_dirlisting -l pl.UTF-8
342 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
346 Summary: lighttpd evasive module
347 Summary(pl.UTF-8): Moduł evasive dla lighttpd
348 Group: Networking/Daemons/HTTP
349 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
350 Requires: %{name} = %{version}-%{release}
352 %description mod_evasive
353 lighttpd evasive module.
355 %description mod_evasive -l pl.UTF-8
356 Moduł evasive dla lighttpd.
359 Summary: lighttpd module for enhanced virtual-hosting
360 Summary(pl.UTF-8): Moduł lighttpd rozszerzający obsługę hostów wirtualnych
361 Group: Networking/Daemons/HTTP
362 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
363 Requires: %{name} = %{version}-%{release}
365 %description mod_evhost
366 mod_evhost builds the document-root based on a pattern which contains
367 wildcards. Those wildcards can represent parts of the submitted
370 %description mod_evhost -l pl.UTF-8
371 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
372 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
376 Summary: lighttpd module for controlling the expiration of content in caches
377 Summary(pl.UTF-8): Moduł lighttpd sterujący wygasaniem treści w cache'ach
378 Group: Networking/Daemons/HTTP
379 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
380 Requires: %{name} = %{version}-%{release}
381 Provides: webserver(expires)
383 %description mod_expire
384 mod_expire controls the setting of the the Expire response header.
386 %description mod_expire -l pl.UTF-8
387 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
389 %package mod_extforward
390 Summary: lighttpd module to extract the client's "real" IP from X-Forwarded-For header
391 Summary(pl.UTF-8): Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
392 Group: Networking/Daemons/HTTP
393 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
394 Requires: %{name} = %{version}-%{release}
396 %description mod_extforward
397 This module will extract the client's "real" IP from X-Forwarded-For
398 header which is added by Squid or other proxies. It might be useful
399 for servers behind reverse proxy servers.
401 %description mod_extforward -l pl.UTF-8
402 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
403 dodawanego przez Squida czy inne proxy. Może być przydatny dla
404 serwerów stojących za odwrotnymi serwerami proxy.
407 Summary: lighttpd module for FastCGI interface
408 Summary(pl.UTF-8): Moduł lighttpd do interfejsu FastCGI
409 Group: Networking/Daemons/HTTP
410 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
411 Requires: %{name} = %{version}-%{release}
413 %description mod_fastcgi
414 The FastCGI interface is the fastest and most secure way to interface
415 external process-handlers like Perl, PHP and your self-written
418 %description mod_fastcgi -l pl.UTF-8
419 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
420 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
421 jak Perl, PHP czy własne aplikacje.
423 %package mod_flv_streaming
424 Summary: lighttpd module for flv streaming
425 Summary(pl.UTF-8): Moduł lighttpd do streamingu flv
426 Group: Networking/Daemons/HTTP
427 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
428 Requires: %{name} = %{version}-%{release}
430 %description mod_flv_streaming
431 lighttpd module for flv streaming.
433 %description mod_flv_streaming -l pl.UTF-8
434 Moduł lighttpd do streamingu flv.
436 %package mod_h264_streaming
437 Summary: lighttpd module for h264 streaming
438 Summary(pl.UTF-8): Moduł lighttpd do emisji strumieni h264
439 License: CC 3.0 BY-NC-SA
440 Group: Networking/Daemons/HTTP
441 URL: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
442 Requires: %{name} = %{version}-%{release}
444 %description mod_h264_streaming
445 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
447 %description mod_h264_streaming -l pl.UTF-8
448 Moduł lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
450 %package mod_indexfile
451 Summary: lighttpd indexfile module
452 Summary(pl.UTF-8): Moduł indexfile dla lighttpd
453 Group: Networking/Daemons/HTTP
454 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
455 Requires: %{name} = %{version}-%{release}
456 Provides: webserver(indexfile)
458 %description mod_indexfile
461 %description mod_indexfile -l pl.UTF-8
465 Summary: lighttpd powermagnet module
466 Summary(pl.UTF-8): Moduł powermagnet dla lighttpd
467 Group: Networking/Daemons/HTTP
468 URL: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
469 Requires: %{name} = %{version}-%{release}
471 %description mod_magnet
472 mod_magnet is a module to control the request handling in lighty.
474 %description mod_magnet -l pl.UTF-8
475 mod_magnet to moduł sterujący obsługą żądań w lighty.
477 %package mod_mysql_vhost
478 Summary: lighttpd module for MySQL based vhosting
479 Summary(pl.UTF-8): Moduł lighttpd obsługujący vhosty oparte na MySQL-u
480 Group: Networking/Daemons/HTTP
481 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMySQLVhost
482 Requires: %{name} = %{version}-%{release}
483 Conflicts: %{name}-mod_simple_vhost
485 %description mod_mysql_vhost
486 This module provides virtual hosts (vhosts) based on a MySQL table.
488 %description mod_mysql_vhost -l pl.UTF-8
489 Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
492 Summary: lighttpd module for proxying requests
493 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
494 Group: Networking/Daemons/HTTP
495 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
496 Requires: %{name} = %{version}-%{release}
498 %description mod_proxy
499 The proxy module a simplest way to connect lighttpd to Java servers
500 which have a HTTP-interface.
502 %description mod_proxy -l pl.UTF-8
503 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
504 mającymi interfejs HTTP.
506 %package mod_proxy_core
507 Summary: lighttpd module for proxying requests
508 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
509 Group: Networking/Daemons/HTTP
510 URL: http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
511 Requires: %{name} = %{version}-%{release}
513 %description mod_proxy_core
514 The proxy module a simplest way to connect lighttpd to java servers
515 which have a HTTP-interface.
517 This is the new proxy code.
519 %description mod_proxy_core -l pl.UTF-8
520 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
521 mającymi interfejs HTTP.
523 Ten pakiet zawiera nowy moduł proxy.
525 %package mod_redirect
526 Summary: lighttpd module for URL redirects
527 Summary(pl.UTF-8): Moduł lighttpd do przekierowań URL-i
528 Group: Networking/Daemons/HTTP
529 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
530 Requires: %{name} = %{version}-%{release}
532 %description mod_redirect
533 With mod_redirect module you can redirect a set of URLs externally.
535 %description mod_redirect -l pl.UTF-8
536 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
540 Summary: lighttpd module for internal redirects, URL rewrite
541 Summary(pl.UTF-8): Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
542 Group: Networking/Daemons/HTTP
543 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
544 Requires: %{name} = %{version}-%{release}
545 Provides: webserver(rewrite)
547 %description mod_rewrite
548 This module allows you rewrite a set of URLs interally in the
549 webserver BEFORE they are handled.
551 %description mod_rewrite -l pl.UTF-8
552 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
553 WWW _przed_ ich obsługą.
556 Summary: lighttpd module for monitoring traffic and server load
557 Summary(pl.UTF-8): Moduł lighttpd do monitorowania ruchu i obciążenia serwera
558 Group: Networking/Daemons/HTTP
559 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
560 Requires: %{name} = %{version}-%{release}
563 %description mod_rrdtool
564 RRD is a system to store and display time-series data (i.e. network
565 bandwidth, machine-room temperature, server load average).
567 With this module you can monitor the traffic and load on the
570 %description mod_rrdtool -l pl.UTF-8
571 RRD to system przechowywania i wyświetlania danych zależnych od czasu
572 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
575 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
579 Summary: lighttpd module for SCGI interface
580 Summary(pl.UTF-8): Moduł lighttpd do interfejsu SCGI
581 Group: Networking/Daemons/HTTP
582 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
583 Requires: %{name} = %{version}-%{release}
585 %description mod_scgi
586 SCGI is a fast and simplified CGI interface. It is mostly used by
589 %description mod_scgi -l pl.UTF-8
590 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
593 %package mod_secdownload
594 Summary: lighttpd module for secure and fast downloading
595 Summary(pl.UTF-8): Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
596 Group: Networking/Daemons/HTTP
597 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
598 Requires: %{name} = %{version}-%{release}
600 %description mod_secdownload
601 With this module you can easily achieve authenticated file requests
602 and a countermeasure against deep-linking.
604 %description mod_secdownload -l pl.UTF-8
605 Przy użyciu tego modułu można łatwo umożliwić ściąganie plików z
606 uwierzytelnieniem i zapobiec używaniu bezpośrednich odnośników.
609 Summary: lighttpd module for setting conditional request headers
610 Summary(pl.UTF-8): Moduł lighttpd do ustawiania warunkowych nagłówków żądań
611 Group: Networking/Daemons/HTTP
612 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
613 Requires: %{name} = %{version}-%{release}
614 Provides: webserver(setenv)
616 %description mod_setenv
617 mod_setenv is used to add request headers.
619 %description mod_setenv -l pl.UTF-8
620 mod_setenv służy do dodawania nagłówków żądań.
622 %package mod_simple_vhost
623 Summary: lighttpd module for simple virtual-hosting
624 Summary(pl.UTF-8): Moduł lighttpd do prostych hostów wirtualnych
625 Group: Networking/Daemons/HTTP
626 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
627 Requires: %{name} = %{version}-%{release}
628 Conflicts: %{name}-mod_mysql_vhost
630 %description mod_simple_vhost
631 lighttpd module for simple virtual-hosting.
633 %description mod_simple_vhost -l pl.UTF-8
634 Moduł lighttpd do prostych hostów wirtualnych.
637 Summary: lighttpd module for server-side includes
638 Summary(pl.UTF-8): Moduł lighttpd do SSI (server-side includes)
639 Group: Networking/Daemons/HTTP
640 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
641 Requires: %{name} = %{version}-%{release}
644 The module for server-side includes provides a compatability layer for
647 %description mod_ssi -l pl.UTF-8
648 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
649 znanym z NSCA/Apache'a.
651 %package mod_staticfile
652 Summary: lighttpd module for static file serving
653 Summary(pl.UTF-8): Moduł lighttpd do serwowania statycznych plików
654 Group: Networking/Daemons/HTTP
655 Requires: %{name} = %{version}-%{release}
657 %description mod_staticfile
658 lighttpd module for static file serving.
660 %description mod_staticfile -l pl.UTF-8
661 Moduł lighttpd do serwowania statycznych plików.
664 Summary: lighttpd module for displaying server status
665 Summary(pl.UTF-8): Moduł lighttpd do wyświetlania stanu serwera
666 Group: Networking/Daemons/HTTP
667 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
668 Requires: %{name} = %{version}-%{release}
670 %description mod_status
671 mod_status displays the server's status and configuration.
673 %description mod_status -l pl.UTF-8
674 mod_status wyświetla stan i konfigurację serwera.
676 %package mod_trigger_b4_dl
677 Summary: Trigger before Download
678 Summary(pl.UTF-8): Wyzwalacz przed ściąganiem
679 Group: Networking/Daemons/HTTP
680 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModTriggerBeforeDownload
681 Requires: %{name} = %{version}-%{release}
683 %description mod_trigger_b4_dl
684 Another anti hot-linking module.
686 %description mod_trigger_b4_dl -l pl.UTF-8
687 Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
690 Summary: lighttpd module for user homedirs
691 Summary(pl.UTF-8): Moduł lighttpd obsługujący katalogi domowe użytkowników
692 Group: Networking/Daemons/HTTP
693 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
694 Requires: %{name} = %{version}-%{release}
696 %description mod_userdir
697 The userdir module provides a simple way to link user-based
698 directories into the global namespace of the webserver.
700 %description mod_userdir -l pl.UTF-8
701 Moduł userdir udostępnia prosty sposób włączenia katalogów
702 użytkowników do globalnej przestrzeni nazw serwera WWW.
704 %package mod_usertrack
705 Summary: lighttpd usertrack module
706 Summary(pl.UTF-8): Moduł usertrack dla lighttpd
707 Group: Networking/Daemons/HTTP
708 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
709 Requires: %{name} = %{version}-%{release}
711 %description mod_usertrack
712 lighttpd usertrack module.
714 %description mod_usertrack -l pl.UTF-8
715 Moduł usertrack dla lighttpd.
718 Summary: WebDAV module for lighttpd
719 Summary(pl.UTF-8): Moduł WebDAV dla libghttpd
720 Group: Networking/Daemons/HTTP
721 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
722 Requires: %{name} = %{version}-%{release}
724 %description mod_webdav
725 The WebDAV module is a very minimalistic implementation of RFC 2518.
726 Minimalistic means that not all operations are implementated yet.
734 - LOCK (experimental)
736 and the usual GET, POST, HEAD from HTTP/1.1.
738 So far mounting a webdav resource into Windows XP works and the basic
739 litmus tests are passed.
741 %description mod_webdav -l pl.UTF-8
742 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
743 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
744 zaimplementowane. Jak na razie są:
750 - LOCK (experimental)
752 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
754 Jak na razie montowanie zasobu webdav pod Windows XP działa i
755 podstawowe testy lakmusowe przechodzą.
758 Summary: PHP support via FastCGI, spawned by lighttpd
759 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
760 Group: Networking/Daemons/HTTP
761 Requires: %{name} = %{version}-%{release}
762 Requires: %{name}-mod_fastcgi = %{version}-%{release}
764 Provides: webserver(php)
765 Obsoletes: lighttpd-php-external
767 %description php-spawned
768 PHP support via FastCGI, spawned by lighttpd.
770 %description php-spawned -l pl.UTF-8
771 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
773 %package php-external
774 Summary: PHP support via FastCGI, spawning controlled externally
775 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
776 Group: Networking/Daemons/HTTP
777 Requires: %{name} = %{version}-%{release}
778 Requires: %{name}-mod_fastcgi = %{version}-%{release}
779 Suggests: php-fcgi-init
781 Obsoletes: lighttpd-php-spawned
783 %description php-external
784 PHP support via FastCGI, spawning controlled externally.
786 %description php-external -l pl.UTF-8
787 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
790 Summary: lighttpd support for SSLv2 and SSLv3
791 Summary(pl.UTF-8): Obsługa SSLv2 i SSLv3 dla lighttpd
792 Group: Networking/Daemons/HTTP
793 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
794 Requires: %{name} = %{version}-%{release}
795 Suggests: ca-certificates
798 lighttpd support for SSLv2 and SSLv3.
800 %description ssl -l pl.UTF-8
801 Obsługa SSLv2 i SSLv3 dla lighttpd.
803 %package -n monit-rc-lighttpd
804 Summary: lighttpd support for monit
805 Summary(pl.UTF-8): Wsparcie lighttpd dla monit
806 Group: Applications/System
807 Requires: %{name} = %{version}-%{release}
810 %description -n monit-rc-lighttpd
811 monitrc file for monitoring lighttpd web server.
813 %description -n monit-rc-lighttpd -l pl.UTF-8
814 Plik monitrc do monitorowania serwera www lighttpd.
824 %{?with_deflate:%patch5 -p1}
828 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
830 # build mime.types.conf
831 sh %{SOURCE6} /etc/mime.types
832 cp -a %{SOURCE14} PLD-TODO
835 ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
836 if [ "$ver" != "%{version}" ]; then
837 : configure.ac specifies wrong version
847 --enable-maintainer-mode \
848 --with-distribution="PLD Linux" \
849 %{!?with_ipv6:--disable-ipv6} \
850 %{!?with_largefile:--disable-lfs} \
851 %{?with_valgrind:--with-valgrind} \
852 %{?with_xattr:--with-attr} \
853 %{?with_mysql:--with-mysql} \
854 %{?with_ldap:--with-ldap} \
855 %{?with_ssl:--with-openssl} \
856 %{?with_lua:--with-lua=lua51} \
857 %{?with_memcache:--with-memcache} \
858 %{?with_webdav_props:--with-webdav-props} \
859 %{?with_webdav_locks:--with-webdav-locks} \
860 %{?with_gamin:--with-gamin} \
861 %{?with_gdbm:--with-gdbm}
863 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
871 rm -rf $RPM_BUILD_ROOT
872 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
873 $RPM_BUILD_ROOT%{_sysconfdir}/{conf,vhosts,webapps}.d \
874 $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
875 $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
876 $RPM_BUILD_ROOT/var/lib/lighttpd \
877 $RPM_BUILD_ROOT/var/cache/lighttpd/mod_compress
880 DESTDIR=$RPM_BUILD_ROOT
882 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
883 cp -a %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
884 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
885 cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
886 cp -a %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
888 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
890 # Install lighttpd images
891 cp -a %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
892 cp -a %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
893 cp -a %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
895 # NOTE: the order of the modules is somewhat important as the modules are
896 # handled in the way they are specified. mod_rewrite should always be the first
897 # module, mod_accesslog always the last.
899 cp -a %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
900 cp -a %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
902 cp -a %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
903 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
904 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
905 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
906 cp -a %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
907 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
908 cp -a %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
909 cp -a %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
910 cp -a %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
911 cp -a %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
912 cp -a %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
913 cp -a %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
914 cp -a %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
915 cp -a %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
916 cp -a %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
917 cp -a %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
918 cp -a %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
919 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
920 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
921 cp -a %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
922 cp -a %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
923 cp -a %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
924 cp -a %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
925 cp -a %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
926 cp -a %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
927 cp -a %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
928 cp -a %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
929 cp -a %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
931 cp -a %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
932 cp -a %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
934 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/60_mod_compress.conf
936 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
937 cp -a %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
939 cp -a %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
940 cp -a %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
941 cp -a %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
943 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
946 # avoid packaging dummy module
947 rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
948 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
950 %if %{without deflate}
951 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
954 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
957 rm -rf $RPM_BUILD_ROOT
960 %groupadd -g 109 lighttpd
962 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
963 %addusertogroup lighttpd http
966 for a in access.log error.log breakage.log; do
967 if [ ! -f /var/log/%{name}/$a ]; then
968 touch /var/log/%{name}/$a
969 chown lighttpd:lighttpd /var/log/%{name}/$a
970 chmod 644 /var/log/%{name}/$a
973 /sbin/chkconfig --add %{name}
976 if [ "$1" = "0" ]; then
977 %service %{name} stop
978 /sbin/chkconfig --del %{name}
982 if [ "$1" = "0" ]; then
984 %groupremove lighttpd
989 # minimizing lighttpd restarts logics. we restart webserver:
991 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
992 # 2. first install of module (post: $1 = 1)
993 # 2. uninstall of module (postun: $1 == 0)
995 # the strict internal deps between lighttpd modules and
996 # main package are very important for all this to work.
997 %service %{name} restart "Lighttpd webserver"
1000 # macro called at module post scriptlet
1001 %define module_post \
1002 if [ "$1" = "1" ]; then \
1003 %service -q lighttpd restart \
1006 # macro called at module postun scriptlet
1007 %define module_postun \
1008 if [ "$1" = "0" ]; then \
1009 %service -q lighttpd restart \
1012 # it's sooo annoying to write them
1013 %define module_scripts() \
1020 %module_scripts mod_access
1021 %module_scripts mod_accesslog
1022 %module_scripts mod_alias
1023 %module_scripts mod_auth
1024 %module_scripts mod_cgi
1025 %module_scripts mod_cml
1026 %module_scripts mod_compress
1027 %module_scripts mod_deflate
1028 %module_scripts mod_dirlisting
1029 %module_scripts mod_evasive
1030 %module_scripts mod_evhost
1031 %module_scripts mod_expire
1032 %module_scripts mod_extforward
1033 %module_scripts mod_fastcgi
1034 %module_scripts mod_flv_streaming
1035 %module_scripts mod_h264_streaming
1036 %module_scripts mod_indexfile
1037 %module_scripts mod_magnet
1038 %module_scripts mod_mysql_vhost
1039 %module_scripts mod_proxy
1040 %module_scripts mod_redirect
1041 %module_scripts mod_rewrite
1044 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1045 touch /var/lib/lighttpd/lighttpd.rrd
1046 chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1047 chmod 640 /var/lib/lighttpd/lighttpd.rrd
1054 %module_scripts mod_scgi
1055 %module_scripts mod_secdownload
1056 %module_scripts mod_setenv
1057 %module_scripts mod_simple_vhost
1058 %module_scripts mod_ssi
1059 %module_scripts mod_staticfile
1060 %module_scripts mod_status
1061 %module_scripts mod_trigger_b4_dl
1062 %module_scripts mod_userdir
1063 %module_scripts mod_usertrack
1064 %module_scripts mod_webdav
1066 %module_scripts php-spawned
1067 %module_scripts php-external
1069 %triggerpostun -- %{name} < 1.4.18-10.1
1070 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1071 cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1072 mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1076 %defattr(644,root,root,755)
1077 %doc NEWS README doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh PLD-TODO
1078 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1079 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1080 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1081 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1082 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1083 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1084 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1086 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1087 %attr(750,root,root) %dir /var/log/archive/%{name}
1088 %dir %attr(751,root,root) /var/log/%{name}
1089 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1090 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1091 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1092 %dir %attr(770,root,lighttpd) /var/run/%{name}
1093 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1094 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1095 %attr(755,root,root) %{_sbindir}/lighttpd
1096 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1098 %{_mandir}/man8/lighttpd.8*
1099 %dir %{_lighttpddir}
1100 %dir %{_lighttpddir}/cgi-bin
1101 %dir %{_lighttpddir}/html
1102 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1103 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1104 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1106 %dir %{_datadir}/lighttpd
1107 %dir %{_datadir}/lighttpd/errordocs
1109 # rrdtool database is stored there
1110 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1112 # mod_compress can put cached files there
1113 %dir /var/cache/lighttpd
1116 %defattr(644,root,root,755)
1117 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1118 %attr(755,root,root) %{_libdir}/mod_access.so
1120 %files mod_accesslog
1121 %defattr(644,root,root,755)
1122 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1123 %attr(755,root,root) %{_libdir}/mod_accesslog.so
1126 %defattr(644,root,root,755)
1127 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1128 %attr(755,root,root) %{_libdir}/mod_alias.so
1131 %defattr(644,root,root,755)
1132 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1133 %attr(755,root,root) %{_libdir}/mod_auth.so
1136 %defattr(644,root,root,755)
1137 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1138 %attr(755,root,root) %{_libdir}/mod_cgi.so
1141 %defattr(644,root,root,755)
1142 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1145 %defattr(644,root,root,755)
1146 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
1147 %attr(755,root,root) %{_libdir}/mod_cml.so
1150 %defattr(644,root,root,755)
1151 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_compress.conf
1152 %attr(755,root,root) %{_libdir}/mod_compress.so
1153 %dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_compress
1157 %defattr(644,root,root,755)
1158 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1159 %attr(755,root,root) %{_libdir}/mod_deflate.so
1162 %files mod_dirlisting
1163 %defattr(644,root,root,755)
1164 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1165 %attr(755,root,root) %{_libdir}/mod_dirlisting.so
1168 %defattr(644,root,root,755)
1169 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1170 %attr(755,root,root) %{_libdir}/mod_evasive.so
1173 %defattr(644,root,root,755)
1174 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1175 %attr(755,root,root) %{_libdir}/mod_evhost.so
1178 %defattr(644,root,root,755)
1179 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1180 %attr(755,root,root) %{_libdir}/mod_expire.so
1182 %files mod_extforward
1183 %defattr(644,root,root,755)
1184 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1185 %attr(755,root,root) %{_libdir}/mod_extforward.so
1188 %defattr(644,root,root,755)
1189 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1190 %attr(755,root,root) %{_libdir}/mod_fastcgi.so
1192 %files mod_flv_streaming
1193 %defattr(644,root,root,755)
1194 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
1195 %attr(755,root,root) %{_libdir}/mod_flv_streaming.so
1197 %files mod_h264_streaming
1198 %defattr(644,root,root,755)
1199 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1200 %attr(755,root,root) %{_libdir}/mod_h264_streaming.so
1202 %files mod_indexfile
1203 %defattr(644,root,root,755)
1204 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1205 %attr(755,root,root) %{_libdir}/mod_indexfile.so
1208 %defattr(644,root,root,755)
1209 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1210 %attr(755,root,root) %{_libdir}/mod_magnet.so
1213 %files mod_mysql_vhost
1214 %defattr(644,root,root,755)
1215 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
1216 %attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
1220 %defattr(644,root,root,755)
1221 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1222 %attr(755,root,root) %{_libdir}/mod_proxy.so
1225 %defattr(644,root,root,755)
1226 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1227 %attr(755,root,root) %{_libdir}/mod_redirect.so
1230 %defattr(644,root,root,755)
1231 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1232 %attr(755,root,root) %{_libdir}/mod_rewrite.so
1235 %defattr(644,root,root,755)
1236 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1237 %attr(755,root,root) %{_libdir}/mod_rrdtool.so
1238 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1241 %defattr(644,root,root,755)
1242 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1243 %attr(755,root,root) %{_libdir}/mod_scgi.so
1245 %files mod_secdownload
1246 %defattr(644,root,root,755)
1247 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1248 %attr(755,root,root) %{_libdir}/mod_secdownload.so
1251 %defattr(644,root,root,755)
1252 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1253 %attr(755,root,root) %{_libdir}/mod_setenv.so
1255 %files mod_simple_vhost
1256 %defattr(644,root,root,755)
1257 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1258 %attr(755,root,root) %{_libdir}/mod_simple_vhost.so
1261 %defattr(644,root,root,755)
1262 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1263 %attr(755,root,root) %{_libdir}/mod_ssi.so
1265 %files mod_staticfile
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1268 %attr(755,root,root) %{_libdir}/mod_staticfile.so
1271 %defattr(644,root,root,755)
1272 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1273 %attr(755,root,root) %{_libdir}/mod_status.so
1275 %files mod_trigger_b4_dl
1276 %defattr(644,root,root,755)
1277 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
1278 %attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
1281 %defattr(644,root,root,755)
1282 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1283 %attr(755,root,root) %{_libdir}/mod_userdir.so
1285 %files mod_usertrack
1286 %defattr(644,root,root,755)
1287 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1288 %attr(755,root,root) %{_libdir}/mod_usertrack.so
1291 %defattr(644,root,root,755)
1292 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1293 %attr(755,root,root) %{_libdir}/mod_webdav.so
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1300 %defattr(644,root,root,755)
1301 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1307 %files -n monit-rc-lighttpd
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc