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: 586eb535d31ac299652495b058dd87c4
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 #Patch8: %{name}-errorlog-before-fork.patch
97 URL: http://www.lighttpd.net/
98 %{?with_xattr:BuildRequires: attr-devel}
99 BuildRequires: autoconf >= 2.57
100 BuildRequires: automake
101 BuildRequires: bzip2-devel
102 BuildRequires: fcgi-devel
103 %{?with_gamin:BuildRequires: gamin-devel}
104 %{?with_gdbm:BuildRequires: gdbm-devel}
105 %{?with_memcache:BuildRequires: libmemcache-devel}
106 BuildRequires: libtool
107 BuildRequires: libuuid-devel
108 %{?with_webdav_props:BuildRequires: libxml2-devel}
109 %{?with_lua:BuildRequires: lua51-devel}
110 BuildRequires: mailcap >= 2.1.14-4.4
111 %{?with_mysql:BuildRequires: mysql-devel}
112 %{?with_ldap:BuildRequires: openldap-devel}
113 %{?with_ssl:BuildRequires: openssl-devel}
114 BuildRequires: pcre-devel
115 BuildRequires: pkgconfig
116 BuildRequires: rpmbuild(macros) >= 1.268
117 %{?with_webdav_props:BuildRequires: sqlite3-devel}
118 %{?with_valgrind:BuildRequires: valgrind}
120 BuildRequires: zlib-devel
121 Requires(post,preun): /sbin/chkconfig
122 Requires(postun): /usr/sbin/groupdel
123 Requires(postun): /usr/sbin/userdel
124 Requires(pre): /bin/id
125 Requires(pre): /usr/bin/getgid
126 Requires(pre): /usr/lib/rpm/user_group.sh
127 Requires(pre): /usr/sbin/groupadd
128 Requires(pre): /usr/sbin/useradd
129 Requires(pre): /usr/sbin/usermod
130 Requires: %{name}-mod_dirlisting = %{version}-%{release}
131 Requires: %{name}-mod_indexfile = %{version}-%{release}
132 Requires: %{name}-mod_staticfile = %{version}-%{release}
133 Requires: rc-scripts >= 0.4.1.26-2
134 Requires: rpm-whiteout >= 1.5
135 Provides: group(http)
136 Provides: group(lighttpd)
137 Provides: user(lighttpd)
139 Provides: webserver(mime)
140 Conflicts: logrotate < 3.7-4
141 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
142 Conflicts: rpm < 4.4.2-0.2
143 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
145 %define _libdir %{_prefix}/%{_lib}/%{name}
146 %define _lighttpddir /home/services/%{name}
147 %define _sysconfdir /etc/%{name}
150 lighttpd is a secure, fast, compliant and very flexible web-server
151 which has been optimized for high-performance environments. It has a
152 very low memory footprint compared to other webservers and takes care
153 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
154 Output-Compression, URL-Rewriting and many more) make lighttpd the
155 perfect webserver-software for every server that is suffering load
158 %description -l pl.UTF-8
159 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
160 serwerem WWW, który został zoptymalizowany pod kątem
161 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
162 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
163 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
164 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
165 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
166 powodu problemów z obciążeniem.
169 Summary: lighttpd module for making access restrictions
170 Summary(pl.UTF-8): Moduł lighttpd ograniczający dostęp
171 Group: Networking/Daemons/HTTP
172 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
173 Requires: %{name} = %{version}-%{release}
174 Provides: webserver(access)
176 %description mod_access
177 The access module is used to deny access to files with given trailing
180 %description mod_access -l pl.UTF-8
181 Moduł access służy do ograniczania dostępu do plików o podanych
184 %package mod_accesslog
185 Summary: lighttpd module to record access logs
186 Summary(pl.UTF-8): Moduł lighttpd do zapisu logów dostępu
187 Group: Networking/Daemons/HTTP
188 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
189 Requires: %{name} = %{version}-%{release}
191 %description mod_accesslog
192 CLF like by default, flexible like Apache.
194 %description mod_accesslog -l pl.UTF-8
195 Domyślnie podobny do CLF, elastyczny jak Apache.
198 Summary: lighttpd module for making URL aliasing
199 Summary(pl.UTF-8): Moduł lighttpd odpowiadający za aliasy URL-i
200 Group: Networking/Daemons/HTTP
201 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
202 Requires: %{name} = %{version}-%{release}
203 Provides: webserver(alias)
205 %description mod_alias
206 The alias module is used to specify a special document-root for a
209 %description mod_alias -l pl.UTF-8
210 Modul alias służy do określania specjalnego drzewa (document-roota)
211 dla podanego podzbioru URL-i.
214 Summary: lighttpd module for authentication support
215 Summary(pl.UTF-8): Moduł lighttpd do obsługi uwierzytelniania
216 Group: Networking/Daemons/HTTP
217 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
218 Requires: %{name} = %{version}-%{release}
219 Provides: webserver(auth)
221 %description mod_auth
222 lighttpd supportes both authentication method described by RFC 2617:
225 %description mod_auth -l pl.UTF-8
226 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
230 Summary: lighttpd module for CGI handling
231 Summary(pl.UTF-8): Moduł lighttpd do obsługi CGI
232 Group: Networking/Daemons/HTTP
233 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
234 Requires: %{name} = %{version}-%{release}
235 Requires: %{name}-mod_alias = %{version}-%{release}
236 Provides: webserver(cgi)
239 The cgi module provides a CGI-conforming interface.
241 CGI programs allow you to enhance the functionality of the server in a
242 very straight and simple way.
244 %description mod_cgi -l pl.UTF-8
245 Moduł cgi udostępnia interfejs zgodny z CGI.
247 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
248 prosty i naturalny sposób.
251 Summary: lighttpd module for CGI handling PHP scripts
252 Summary(pl.UTF-8): Moduł lighttpd do obsługi skryptów PHP przez CGI
253 Group: Networking/Daemons/HTTP
254 Requires: %{name}-mod_cgi = %{version}-%{release}
256 Provides: webserver(php)
258 %description mod_cgi_php
259 The cgi module provides a CGI-conforming interface for PHP scripts.
261 CGI programs allow you to enhance the functionality of the server in a
262 very straight and simple way.
264 %description mod_cgi_php -l pl.UTF-8
265 Moduł cgi udostępnia interfejs zgodny z CGI do wywoływania skryptów
268 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
269 prosty i naturalny sposób.
272 Summary: lighttpd module for Cache Meta Language
273 Summary(pl.UTF-8): Moduł Cache Meta Language
274 Group: Networking/Daemons/HTTP
275 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCML
276 Requires: %{name} = %{version}-%{release}
279 CML is a Meta language to describe the dependencies of a page at one
280 side and building a page from its fragments on the other side using
283 %description mod_cml -l pl.UTF-8
284 CML to metajęzyk służący z jednej strony do opisu zależności strony i
285 z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
287 %package mod_compress
288 Summary: lighttpd module for output compression
289 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia
290 Group: Networking/Daemons/HTTP
291 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
292 Requires: %{name} = %{version}-%{release}
294 %description mod_compress
295 Output compression reduces the network load and can improve the
296 overall throughput of the webserver.
298 Only static content is supported up to now.
300 The server negotiates automatically which compression method is used.
301 Supported are gzip, deflate, bzip.
303 %description mod_compress -l pl.UTF-8
304 Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
305 przepustowość serwera WWW.
307 Jak na razie obsługiwana jest tylko statyczna treść.
309 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
310 Obsługiwane są gzip, deflate i bzip.
313 Summary: lighttpd module for output compression using deflate method
314 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia metodą deflate
315 Group: Networking/Daemons/HTTP
316 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_Deflate
317 Requires: %{name} = %{version}-%{release}
319 %description mod_deflate
320 mod_deflate can compress any output from lighttpd static or dynamic.
321 It doesn't support caching compressed output like mod_compress.
323 %description mod_deflate -l pl.UTF-8
324 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
325 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
328 %package mod_dirlisting
329 Summary: lighttpd module for directory listings
330 Summary(pl.UTF-8): Moduł lighttpd do tworzenia listingów katalogów
331 Group: Networking/Daemons/HTTP
332 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
333 Requires: %{name} = %{version}-%{release}
335 %description mod_dirlisting
336 mod_dirlisting generates HTML based directory listings with full CSS
339 %description mod_dirlisting -l pl.UTF-8
340 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
344 Summary: lighttpd evasive module
345 Summary(pl.UTF-8): Moduł evasive dla lighttpd
346 Group: Networking/Daemons/HTTP
347 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
348 Requires: %{name} = %{version}-%{release}
350 %description mod_evasive
351 lighttpd evasive module.
353 %description mod_evasive -l pl.UTF-8
354 Moduł evasive dla lighttpd.
357 Summary: lighttpd module for enhanced virtual-hosting
358 Summary(pl.UTF-8): Moduł lighttpd rozszerzający obsługę hostów wirtualnych
359 Group: Networking/Daemons/HTTP
360 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
361 Requires: %{name} = %{version}-%{release}
363 %description mod_evhost
364 mod_evhost builds the document-root based on a pattern which contains
365 wildcards. Those wildcards can represent parts of the submitted
368 %description mod_evhost -l pl.UTF-8
369 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
370 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
374 Summary: lighttpd module for controlling the expiration of content in caches
375 Summary(pl.UTF-8): Moduł lighttpd sterujący wygasaniem treści w cache'ach
376 Group: Networking/Daemons/HTTP
377 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
378 Requires: %{name} = %{version}-%{release}
379 Provides: webserver(expires)
381 %description mod_expire
382 mod_expire controls the setting of the the Expire response header.
384 %description mod_expire -l pl.UTF-8
385 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
387 %package mod_extforward
388 Summary: lighttpd module to extract the client's "real" IP from X-Forwarded-For header
389 Summary(pl.UTF-8): Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
390 Group: Networking/Daemons/HTTP
391 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
392 Requires: %{name} = %{version}-%{release}
394 %description mod_extforward
395 This module will extract the client's "real" IP from X-Forwarded-For
396 header which is added by Squid or other proxies. It might be useful
397 for servers behind reverse proxy servers.
399 %description mod_extforward -l pl.UTF-8
400 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
401 dodawanego przez Squida czy inne proxy. Może być przydatny dla
402 serwerów stojących za odwrotnymi serwerami proxy.
405 Summary: lighttpd module for FastCGI interface
406 Summary(pl.UTF-8): Moduł lighttpd do interfejsu FastCGI
407 Group: Networking/Daemons/HTTP
408 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
409 Requires: %{name} = %{version}-%{release}
411 %description mod_fastcgi
412 The FastCGI interface is the fastest and most secure way to interface
413 external process-handlers like Perl, PHP and your self-written
416 %description mod_fastcgi -l pl.UTF-8
417 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
418 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
419 jak Perl, PHP czy własne aplikacje.
421 %package mod_flv_streaming
422 Summary: lighttpd module for flv streaming
423 Summary(pl.UTF-8): Moduł lighttpd do streamingu flv
424 Group: Networking/Daemons/HTTP
425 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
426 Requires: %{name} = %{version}-%{release}
428 %description mod_flv_streaming
429 lighttpd module for flv streaming.
431 %description mod_flv_streaming -l pl.UTF-8
432 Moduł lighttpd do streamingu flv.
434 %package mod_h264_streaming
435 Summary: lighttpd module for h264 streaming
436 Summary(pl.UTF-8): Moduł lighttpd do emisji strumieni h264
437 License: CC 3.0 BY-NC-SA
438 Group: Networking/Daemons/HTTP
439 URL: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
440 Requires: %{name} = %{version}-%{release}
442 %description mod_h264_streaming
443 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
445 %description mod_h264_streaming -l pl.UTF-8
446 Moduł lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
448 %package mod_indexfile
449 Summary: lighttpd indexfile module
450 Summary(pl.UTF-8): Moduł indexfile dla lighttpd
451 Group: Networking/Daemons/HTTP
452 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
453 Requires: %{name} = %{version}-%{release}
454 Provides: webserver(indexfile)
456 %description mod_indexfile
459 %description mod_indexfile -l pl.UTF-8
463 Summary: lighttpd powermagnet module
464 Summary(pl.UTF-8): Moduł powermagnet dla lighttpd
465 Group: Networking/Daemons/HTTP
466 URL: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
467 Requires: %{name} = %{version}-%{release}
469 %description mod_magnet
470 mod_magnet is a module to control the request handling in lighty.
472 %description mod_magnet -l pl.UTF-8
473 mod_magnet to moduł sterujący obsługą żądań w lighty.
475 %package mod_mysql_vhost
476 Summary: lighttpd module for MySQL based vhosting
477 Summary(pl.UTF-8): Moduł lighttpd obsługujący vhosty oparte na MySQL-u
478 Group: Networking/Daemons/HTTP
479 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMySQLVhost
480 Requires: %{name} = %{version}-%{release}
481 Conflicts: %{name}-mod_simple_vhost
483 %description mod_mysql_vhost
484 This module provides virtual hosts (vhosts) based on a MySQL table.
486 %description mod_mysql_vhost -l pl.UTF-8
487 Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
490 Summary: lighttpd module for proxying requests
491 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
492 Group: Networking/Daemons/HTTP
493 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
494 Requires: %{name} = %{version}-%{release}
496 %description mod_proxy
497 The proxy module a simplest way to connect lighttpd to Java servers
498 which have a HTTP-interface.
500 %description mod_proxy -l pl.UTF-8
501 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
502 mającymi interfejs HTTP.
504 %package mod_proxy_core
505 Summary: lighttpd module for proxying requests
506 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
507 Group: Networking/Daemons/HTTP
508 URL: http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
509 Requires: %{name} = %{version}-%{release}
511 %description mod_proxy_core
512 The proxy module a simplest way to connect lighttpd to java servers
513 which have a HTTP-interface.
515 This is the new proxy code.
517 %description mod_proxy_core -l pl.UTF-8
518 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
519 mającymi interfejs HTTP.
521 Ten pakiet zawiera nowy moduł proxy.
523 %package mod_redirect
524 Summary: lighttpd module for URL redirects
525 Summary(pl.UTF-8): Moduł lighttpd do przekierowań URL-i
526 Group: Networking/Daemons/HTTP
527 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
528 Requires: %{name} = %{version}-%{release}
530 %description mod_redirect
531 With mod_redirect module you can redirect a set of URLs externally.
533 %description mod_redirect -l pl.UTF-8
534 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
538 Summary: lighttpd module for internal redirects, URL rewrite
539 Summary(pl.UTF-8): Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
540 Group: Networking/Daemons/HTTP
541 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
542 Requires: %{name} = %{version}-%{release}
543 Provides: webserver(rewrite)
545 %description mod_rewrite
546 This module allows you rewrite a set of URLs interally in the
547 webserver BEFORE they are handled.
549 %description mod_rewrite -l pl.UTF-8
550 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
551 WWW _przed_ ich obsługą.
554 Summary: lighttpd module for monitoring traffic and server load
555 Summary(pl.UTF-8): Moduł lighttpd do monitorowania ruchu i obciążenia serwera
556 Group: Networking/Daemons/HTTP
557 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
558 Requires: %{name} = %{version}-%{release}
561 %description mod_rrdtool
562 RRD is a system to store and display time-series data (i.e. network
563 bandwidth, machine-room temperature, server load average).
565 With this module you can monitor the traffic and load on the
568 %description mod_rrdtool -l pl.UTF-8
569 RRD to system przechowywania i wyświetlania danych zależnych od czasu
570 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
573 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
577 Summary: lighttpd module for SCGI interface
578 Summary(pl.UTF-8): Moduł lighttpd do interfejsu SCGI
579 Group: Networking/Daemons/HTTP
580 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
581 Requires: %{name} = %{version}-%{release}
583 %description mod_scgi
584 SCGI is a fast and simplified CGI interface. It is mostly used by
587 %description mod_scgi -l pl.UTF-8
588 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
591 %package mod_secdownload
592 Summary: lighttpd module for secure and fast downloading
593 Summary(pl.UTF-8): Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
594 Group: Networking/Daemons/HTTP
595 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
596 Requires: %{name} = %{version}-%{release}
598 %description mod_secdownload
599 With this module you can easily achieve authenticated file requests
600 and a countermeasure against deep-linking.
602 %description mod_secdownload -l pl.UTF-8
603 Przy użyciu tego modułu można łatwo umożliwić ściąganie plików z
604 uwierzytelnieniem i zapobiec używaniu bezpośrednich odnośników.
607 Summary: lighttpd module for setting conditional request headers
608 Summary(pl.UTF-8): Moduł lighttpd do ustawiania warunkowych nagłówków żądań
609 Group: Networking/Daemons/HTTP
610 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
611 Requires: %{name} = %{version}-%{release}
612 Provides: webserver(setenv)
614 %description mod_setenv
615 mod_setenv is used to add request headers.
617 %description mod_setenv -l pl.UTF-8
618 mod_setenv służy do dodawania nagłówków żądań.
620 %package mod_simple_vhost
621 Summary: lighttpd module for simple virtual-hosting
622 Summary(pl.UTF-8): Moduł lighttpd do prostych hostów wirtualnych
623 Group: Networking/Daemons/HTTP
624 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
625 Requires: %{name} = %{version}-%{release}
626 Conflicts: %{name}-mod_mysql_vhost
628 %description mod_simple_vhost
629 lighttpd module for simple virtual-hosting.
631 %description mod_simple_vhost -l pl.UTF-8
632 Moduł lighttpd do prostych hostów wirtualnych.
635 Summary: lighttpd module for server-side includes
636 Summary(pl.UTF-8): Moduł lighttpd do SSI (server-side includes)
637 Group: Networking/Daemons/HTTP
638 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
639 Requires: %{name} = %{version}-%{release}
642 The module for server-side includes provides a compatability layer for
645 %description mod_ssi -l pl.UTF-8
646 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
647 znanym z NSCA/Apache'a.
649 %package mod_staticfile
650 Summary: lighttpd module for static file serving
651 Summary(pl.UTF-8): Moduł lighttpd do serwowania statycznych plików
652 Group: Networking/Daemons/HTTP
653 Requires: %{name} = %{version}-%{release}
655 %description mod_staticfile
656 lighttpd module for static file serving.
658 %description mod_staticfile -l pl.UTF-8
659 Moduł lighttpd do serwowania statycznych plików.
662 Summary: lighttpd module for displaying server status
663 Summary(pl.UTF-8): Moduł lighttpd do wyświetlania stanu serwera
664 Group: Networking/Daemons/HTTP
665 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
666 Requires: %{name} = %{version}-%{release}
668 %description mod_status
669 mod_status displays the server's status and configuration.
671 %description mod_status -l pl.UTF-8
672 mod_status wyświetla stan i konfigurację serwera.
674 %package mod_trigger_b4_dl
675 Summary: Trigger before Download
676 Summary(pl.UTF-8): Wyzwalacz przed ściąganiem
677 Group: Networking/Daemons/HTTP
678 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModTriggerBeforeDownload
679 Requires: %{name} = %{version}-%{release}
681 %description mod_trigger_b4_dl
682 Another anti hot-linking module.
684 %description mod_trigger_b4_dl -l pl.UTF-8
685 Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
688 Summary: lighttpd module for user homedirs
689 Summary(pl.UTF-8): Moduł lighttpd obsługujący katalogi domowe użytkowników
690 Group: Networking/Daemons/HTTP
691 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
692 Requires: %{name} = %{version}-%{release}
694 %description mod_userdir
695 The userdir module provides a simple way to link user-based
696 directories into the global namespace of the webserver.
698 %description mod_userdir -l pl.UTF-8
699 Moduł userdir udostępnia prosty sposób włączenia katalogów
700 użytkowników do globalnej przestrzeni nazw serwera WWW.
702 %package mod_usertrack
703 Summary: lighttpd usertrack module
704 Summary(pl.UTF-8): Moduł usertrack dla lighttpd
705 Group: Networking/Daemons/HTTP
706 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
707 Requires: %{name} = %{version}-%{release}
709 %description mod_usertrack
710 lighttpd usertrack module.
712 %description mod_usertrack -l pl.UTF-8
713 Moduł usertrack dla lighttpd.
716 Summary: WebDAV module for lighttpd
717 Summary(pl.UTF-8): Moduł WebDAV dla libghttpd
718 Group: Networking/Daemons/HTTP
719 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
720 Requires: %{name} = %{version}-%{release}
722 %description mod_webdav
723 The WebDAV module is a very minimalistic implementation of RFC 2518.
724 Minimalistic means that not all operations are implementated yet.
732 - LOCK (experimental)
734 and the usual GET, POST, HEAD from HTTP/1.1.
736 So far mounting a webdav resource into Windows XP works and the basic
737 litmus tests are passed.
739 %description mod_webdav -l pl.UTF-8
740 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
741 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
742 zaimplementowane. Jak na razie są:
748 - LOCK (experimental)
750 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
752 Jak na razie montowanie zasobu webdav pod Windows XP działa i
753 podstawowe testy lakmusowe przechodzą.
756 Summary: PHP support via FastCGI, spawned by lighttpd
757 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
758 Group: Networking/Daemons/HTTP
759 Requires: %{name} = %{version}-%{release}
760 Requires: %{name}-mod_fastcgi = %{version}-%{release}
762 Provides: webserver(php)
763 Obsoletes: lighttpd-php-external
765 %description php-spawned
766 PHP support via FastCGI, spawned by lighttpd.
768 %description php-spawned -l pl.UTF-8
769 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
771 %package php-external
772 Summary: PHP support via FastCGI, spawning controlled externally
773 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
774 Group: Networking/Daemons/HTTP
775 Requires: %{name} = %{version}-%{release}
776 Requires: %{name}-mod_fastcgi = %{version}-%{release}
777 Suggests: php-fcgi-init
779 Obsoletes: lighttpd-php-spawned
781 %description php-external
782 PHP support via FastCGI, spawning controlled externally.
784 %description php-external -l pl.UTF-8
785 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
788 Summary: lighttpd support for SSLv2 and SSLv3
789 Summary(pl.UTF-8): Obsługa SSLv2 i SSLv3 dla lighttpd
790 Group: Networking/Daemons/HTTP
791 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
792 Requires: %{name} = %{version}-%{release}
793 Suggests: ca-certificates
796 lighttpd support for SSLv2 and SSLv3.
798 %description ssl -l pl.UTF-8
799 Obsługa SSLv2 i SSLv3 dla lighttpd.
801 %package -n monit-rc-lighttpd
802 Summary: lighttpd support for monit
803 Summary(pl.UTF-8): Wsparcie lighttpd dla monit
804 Group: Applications/System
805 Requires: %{name} = %{version}-%{release}
808 %description -n monit-rc-lighttpd
809 monitrc file for monitoring lighttpd web server.
811 %description -n monit-rc-lighttpd -l pl.UTF-8
812 Plik monitrc do monitorowania serwera www lighttpd.
822 %{?with_deflate:%patch5 -p1}
824 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
826 # build mime.types.conf
827 sh %{SOURCE6} /etc/mime.types
828 cp -a %{SOURCE14} PLD-TODO
831 ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
832 if [ "$ver" != "%{version}" ]; then
833 : configure.ac specifies wrong version
843 --enable-maintainer-mode \
844 --with-distribution="PLD Linux" \
845 %{!?with_ipv6:--disable-ipv6} \
846 %{!?with_largefile:--disable-lfs} \
847 %{?with_valgrind:--with-valgrind} \
848 %{?with_xattr:--with-attr} \
849 %{?with_mysql:--with-mysql} \
850 %{?with_ldap:--with-ldap} \
851 %{?with_ssl:--with-openssl} \
852 %{?with_lua:--with-lua=lua51} \
853 %{?with_memcache:--with-memcache} \
854 %{?with_webdav_props:--with-webdav-props} \
855 %{?with_webdav_locks:--with-webdav-locks} \
856 %{?with_gamin:--with-gamin} \
857 %{?with_gdbm:--with-gdbm}
859 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
867 rm -rf $RPM_BUILD_ROOT
868 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
869 $RPM_BUILD_ROOT%{_sysconfdir}/{conf,vhosts,webapps}.d \
870 $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
871 $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
872 $RPM_BUILD_ROOT/var/lib/lighttpd \
873 $RPM_BUILD_ROOT/var/cache/lighttpd/mod_compress
876 DESTDIR=$RPM_BUILD_ROOT
878 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
879 cp -a %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
880 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
881 cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
882 cp -a %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
884 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
886 # Install lighttpd images
887 cp -a %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
888 cp -a %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
889 cp -a %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
891 # NOTE: the order of the modules is somewhat important as the modules are
892 # handled in the way they are specified. mod_rewrite should always be the first
893 # module, mod_accesslog always the last.
895 cp -a %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
896 cp -a %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
898 cp -a %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
899 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
900 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
901 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
902 cp -a %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
903 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
904 cp -a %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
905 cp -a %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
906 cp -a %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
907 cp -a %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
908 cp -a %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
909 cp -a %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
910 cp -a %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
911 cp -a %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
912 cp -a %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
913 cp -a %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
914 cp -a %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
915 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
916 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
917 cp -a %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
918 cp -a %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
919 cp -a %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
920 cp -a %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
921 cp -a %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
922 cp -a %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
923 cp -a %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
924 cp -a %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
925 cp -a %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
927 cp -a %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
928 cp -a %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
930 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/60_mod_compress.conf
932 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
933 cp -a %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
935 cp -a %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
936 cp -a %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
937 cp -a %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
939 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
942 # avoid packaging dummy module
943 rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
944 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
946 %if %{without deflate}
947 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
950 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
953 rm -rf $RPM_BUILD_ROOT
956 %groupadd -g 109 lighttpd
958 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
959 %addusertogroup lighttpd http
962 for a in access.log error.log breakage.log; do
963 if [ ! -f /var/log/%{name}/$a ]; then
964 touch /var/log/%{name}/$a
965 chown lighttpd:lighttpd /var/log/%{name}/$a
966 chmod 644 /var/log/%{name}/$a
969 /sbin/chkconfig --add %{name}
972 if [ "$1" = "0" ]; then
973 %service %{name} stop
974 /sbin/chkconfig --del %{name}
978 if [ "$1" = "0" ]; then
980 %groupremove lighttpd
985 # minimizing lighttpd restarts logics. we restart webserver:
987 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
988 # 2. first install of module (post: $1 = 1)
989 # 2. uninstall of module (postun: $1 == 0)
991 # the strict internal deps between lighttpd modules and
992 # main package are very important for all this to work.
993 %service %{name} restart "Lighttpd webserver"
996 # macro called at module post scriptlet
997 %define module_post \
998 if [ "$1" = "1" ]; then \
999 %service -q lighttpd restart \
1002 # macro called at module postun scriptlet
1003 %define module_postun \
1004 if [ "$1" = "0" ]; then \
1005 %service -q lighttpd restart \
1008 # it's sooo annoying to write them
1009 %define module_scripts() \
1016 %module_scripts mod_access
1017 %module_scripts mod_accesslog
1018 %module_scripts mod_alias
1019 %module_scripts mod_auth
1020 %module_scripts mod_cgi
1021 %module_scripts mod_cml
1022 %module_scripts mod_compress
1023 %module_scripts mod_deflate
1024 %module_scripts mod_dirlisting
1025 %module_scripts mod_evasive
1026 %module_scripts mod_evhost
1027 %module_scripts mod_expire
1028 %module_scripts mod_extforward
1029 %module_scripts mod_fastcgi
1030 %module_scripts mod_flv_streaming
1031 %module_scripts mod_h264_streaming
1032 %module_scripts mod_indexfile
1033 %module_scripts mod_magnet
1034 %module_scripts mod_mysql_vhost
1035 %module_scripts mod_proxy
1036 %module_scripts mod_redirect
1037 %module_scripts mod_rewrite
1040 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1041 touch /var/lib/lighttpd/lighttpd.rrd
1042 chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1043 chmod 640 /var/lib/lighttpd/lighttpd.rrd
1050 %module_scripts mod_scgi
1051 %module_scripts mod_secdownload
1052 %module_scripts mod_setenv
1053 %module_scripts mod_simple_vhost
1054 %module_scripts mod_ssi
1055 %module_scripts mod_staticfile
1056 %module_scripts mod_status
1057 %module_scripts mod_trigger_b4_dl
1058 %module_scripts mod_userdir
1059 %module_scripts mod_usertrack
1060 %module_scripts mod_webdav
1062 %module_scripts php-spawned
1063 %module_scripts php-external
1065 %triggerpostun -- %{name} < 1.4.18-10.1
1066 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1067 cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1068 mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1072 %defattr(644,root,root,755)
1073 %doc NEWS README doc/*.txt PLD-TODO
1074 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1075 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1076 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1077 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1078 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1079 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1080 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1082 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1083 %attr(750,root,root) %dir /var/log/archive/%{name}
1084 %dir %attr(751,root,root) /var/log/%{name}
1085 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1086 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1087 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1088 %dir %attr(770,root,lighttpd) /var/run/%{name}
1089 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1090 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1091 %attr(755,root,root) %{_sbindir}/lighttpd
1092 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1094 %{_mandir}/man8/lighttpd.8*
1095 %dir %{_lighttpddir}
1096 %dir %{_lighttpddir}/cgi-bin
1097 %dir %{_lighttpddir}/html
1098 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1099 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1100 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1102 %dir %{_datadir}/lighttpd
1103 %dir %{_datadir}/lighttpd/errordocs
1105 # rrdtool database is stored there
1106 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1108 # mod_compress can put cached files there
1109 %dir /var/cache/lighttpd
1112 %defattr(644,root,root,755)
1113 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1114 %attr(755,root,root) %{_libdir}/mod_access.so
1116 %files mod_accesslog
1117 %defattr(644,root,root,755)
1118 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1119 %attr(755,root,root) %{_libdir}/mod_accesslog.so
1122 %defattr(644,root,root,755)
1123 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1124 %attr(755,root,root) %{_libdir}/mod_alias.so
1127 %defattr(644,root,root,755)
1128 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1129 %attr(755,root,root) %{_libdir}/mod_auth.so
1132 %defattr(644,root,root,755)
1133 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1134 %attr(755,root,root) %{_libdir}/mod_cgi.so
1137 %defattr(644,root,root,755)
1138 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1141 %defattr(644,root,root,755)
1142 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
1143 %attr(755,root,root) %{_libdir}/mod_cml.so
1146 %defattr(644,root,root,755)
1147 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_compress.conf
1148 %attr(755,root,root) %{_libdir}/mod_compress.so
1149 %dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_compress
1153 %defattr(644,root,root,755)
1154 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1155 %attr(755,root,root) %{_libdir}/mod_deflate.so
1158 %files mod_dirlisting
1159 %defattr(644,root,root,755)
1160 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1161 %attr(755,root,root) %{_libdir}/mod_dirlisting.so
1164 %defattr(644,root,root,755)
1165 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1166 %attr(755,root,root) %{_libdir}/mod_evasive.so
1169 %defattr(644,root,root,755)
1170 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1171 %attr(755,root,root) %{_libdir}/mod_evhost.so
1174 %defattr(644,root,root,755)
1175 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1176 %attr(755,root,root) %{_libdir}/mod_expire.so
1178 %files mod_extforward
1179 %defattr(644,root,root,755)
1180 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1181 %attr(755,root,root) %{_libdir}/mod_extforward.so
1184 %defattr(644,root,root,755)
1185 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1186 %attr(755,root,root) %{_libdir}/mod_fastcgi.so
1188 %files mod_flv_streaming
1189 %defattr(644,root,root,755)
1190 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
1191 %attr(755,root,root) %{_libdir}/mod_flv_streaming.so
1193 %files mod_h264_streaming
1194 %defattr(644,root,root,755)
1195 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1196 %attr(755,root,root) %{_libdir}/mod_h264_streaming.so
1198 %files mod_indexfile
1199 %defattr(644,root,root,755)
1200 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1201 %attr(755,root,root) %{_libdir}/mod_indexfile.so
1204 %defattr(644,root,root,755)
1205 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1206 %attr(755,root,root) %{_libdir}/mod_magnet.so
1209 %files mod_mysql_vhost
1210 %defattr(644,root,root,755)
1211 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
1212 %attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
1216 %defattr(644,root,root,755)
1217 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1218 %attr(755,root,root) %{_libdir}/mod_proxy.so
1221 %defattr(644,root,root,755)
1222 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1223 %attr(755,root,root) %{_libdir}/mod_redirect.so
1226 %defattr(644,root,root,755)
1227 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1228 %attr(755,root,root) %{_libdir}/mod_rewrite.so
1231 %defattr(644,root,root,755)
1232 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1233 %attr(755,root,root) %{_libdir}/mod_rrdtool.so
1234 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1237 %defattr(644,root,root,755)
1238 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1239 %attr(755,root,root) %{_libdir}/mod_scgi.so
1241 %files mod_secdownload
1242 %defattr(644,root,root,755)
1243 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1244 %attr(755,root,root) %{_libdir}/mod_secdownload.so
1247 %defattr(644,root,root,755)
1248 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1249 %attr(755,root,root) %{_libdir}/mod_setenv.so
1251 %files mod_simple_vhost
1252 %defattr(644,root,root,755)
1253 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1254 %attr(755,root,root) %{_libdir}/mod_simple_vhost.so
1257 %defattr(644,root,root,755)
1258 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1259 %attr(755,root,root) %{_libdir}/mod_ssi.so
1261 %files mod_staticfile
1262 %defattr(644,root,root,755)
1263 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1264 %attr(755,root,root) %{_libdir}/mod_staticfile.so
1267 %defattr(644,root,root,755)
1268 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1269 %attr(755,root,root) %{_libdir}/mod_status.so
1271 %files mod_trigger_b4_dl
1272 %defattr(644,root,root,755)
1273 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
1274 %attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
1277 %defattr(644,root,root,755)
1278 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1279 %attr(755,root,root) %{_libdir}/mod_userdir.so
1281 %files mod_usertrack
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1284 %attr(755,root,root) %{_libdir}/mod_usertrack.so
1287 %defattr(644,root,root,755)
1288 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1289 %attr(755,root,root) %{_libdir}/mod_webdav.so
1292 %defattr(644,root,root,755)
1293 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1300 %defattr(644,root,root,755)
1301 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1303 %files -n monit-rc-lighttpd
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc