2 # - cleanup empty subpackages
3 # - don't use lighttpd-angel in systemd. systemd does the respawn/recovery logic itself
4 # - provide or autogenerated self signed cert in post, so after installing
5 # lighttpd-ssl server will still work
6 # - patch with mod_websocket: https://github.com/Juniper/lighttpd-for-juise
7 # - lighttpd-mod_fd_transfer: https://redmine.lighttpd.net/boards/3/topics/4992
8 # - add db specific mod_vhostdb_* sub-packages
9 # - package mod_sockproxy
10 # https://github.com/lighttpd/lighttpd1.4/commit/c4d743bb4d0cc045d41322169a4e36a151e247f1
11 # - TLS library options
12 # - mod_openssl (existing)
13 # - mod_mbedtls (experimental)
14 # - mod_wolfssl (experimental)
15 # - mod_gnutls (experimental)
16 # - mod_nss (experimental)
19 %bcond_with tests # build with tests
20 %bcond_without xattr # support of extended attributes
21 %bcond_without ipv6 # IPv4-only version (doesn't require IPv6 in kernel)
22 %bcond_without largefile # largefile support (see notes above)
23 %bcond_without dbi # libdbi, enables mod_vhostdb_dbi, mod_authn_dbi
24 %bcond_without ssl # ssl support
25 %bcond_without mysql # mysql support in mod_vhostdb_mysql
26 %bcond_without pgsql # PgSQL, enables mod_vhostdb_pgsql
27 %bcond_without bzip2 # Enable bzip2 support for mod_deflate
28 %bcond_without brotli # Enable brotli support for mod_deflate
29 %bcond_without maxminddb # MaxMind GeoIP2 module
30 %bcond_with krb5 # krb5 support (does not work with heimdal)
31 %bcond_without ldap # ldap support in mod_auth, mod_vhostdb_ldap
32 %bcond_without lua # LUA support (needs LUA >= 5.1)
33 %bcond_with gamin # gamin for reducing number of stat() calls. must be enabled in config: server.stat-cache-engine = "fam"
34 %bcond_with webdav_props # properties in mod_webdav (includes extra sqlite3/libxml deps)
35 %bcond_with webdav_locks # webdav locks with extra efsprogs deps
36 %bcond_with valgrind # compile code with valgrind support.
37 %bcond_with h264_streaming # build h264_streaming module
39 %if %{with webdav_locks}
40 %define webdav_progs 1
43 Summary: Fast and light HTTP server
44 Summary(pl.UTF-8): Szybki i lekki serwer HTTP
49 Group: Networking/Daemons/HTTP
50 Source0: https://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
51 # Source0-md5: c8ac5fb9580b84ba6be7dd14ac7b0c2d
55 Source4: %{name}.logrotate
56 Source5: %{name}.sysconfig
57 Source6: %{name}-mime.types.sh
58 Source7: https://glen.alkohol.ee/pld/lighty/favicon.ico
59 # Source7-md5: 00fcac5b861a54f5eb147a589504d480
60 Source8: light_button.png
61 # Source8-md5: 3e1008ee1d3d6d390cf81fe3072b4f50
62 Source9: light_logo.png
63 # Source9-md5: cbb7f0676e51ee2e26cf004df293fc62
64 Source11: %{name}-tld.html
65 Source12: %{name}.monitrc
67 Source100: mod_access.conf
68 Source101: mod_accesslog.conf
69 Source102: mod_alias.conf
70 Source103: mod_auth.conf
71 Source104: mod_cgi.conf
72 Source105: mod_h2.conf
74 Source107: mod_deflate.conf
75 Source108: mod_dirlisting.conf
76 Source110: mod_evhost.conf
77 Source111: mod_expire.conf
78 Source112: mod_fastcgi.conf
80 Source114: mod_indexfile.conf
81 Source115: mod_proxy.conf
82 Source116: mod_redirect.conf
83 Source117: mod_rewrite.conf
84 Source118: mod_rrdtool.conf
85 Source119: mod_scgi.conf
86 Source121: mod_setenv.conf
87 Source122: mod_simple_vhost.conf
88 Source123: mod_ssi.conf
89 Source124: mod_staticfile.conf
90 Source125: mod_status.conf
92 Source127: mod_userdir.conf
93 Source129: mod_webdav.conf
94 Source130: php-spawned.conf
95 Source131: php-external.conf
98 Source134: mod_magnet.conf
99 Source135: mod_extforward.conf
100 Source136: mod_h264_streaming.conf
101 Source137: mod_cgi_php.conf
103 Source141: mod_authn_ldap.conf
104 Source142: mod_openssl.conf
105 Source143: mod_vhostdb.conf
106 Source144: mod_wstunnel.conf
108 Source146: mod_sockproxy.conf
109 Source147: mod_maxminddb.conf
110 # use branch.sh script to create branch.diff
111 #Patch100: %{name}-branch.diff
112 ## Patch100-md5: 7bd09235304c8bcb16f34d49d480c0fb
113 Patch2: %{name}-mod_h264_streaming.patch
114 Patch3: %{name}-branding.patch
115 URL: https://www.lighttpd.net/
116 %{?with_xattr:BuildRequires: attr-devel}
117 BuildRequires: autoconf >= 2.57
118 %{?with_maxminddb:BuildRequires: libmaxminddb-devel}
119 %if "%{pld_release}" != "ac"
120 BuildRequires: automake >= 1:1.11.2
122 BuildRequires: automake
124 %{?with_bzip2:BuildRequires: bzip2-devel}
125 BuildRequires: fcgi-devel
126 %{?with_gamin:BuildRequires: gamin-devel}
127 %{?with_storage_gdbm:BuildRequires: gdbm-devel}
128 %{?with_krb5:BuildRequires: krb5-devel}
129 %{?with_brotli:BuildRequires: libbrotli-devel}
130 %{?with_dbi:BuildRequires: libdbi-devel}
131 %{?with_storage_memcached:BuildRequires: libmemcached-devel}
132 BuildRequires: libtool
133 BuildRequires: libuuid-devel
134 %{?with_webdav_props:BuildRequires: libxml2-devel}
135 %{?with_lua:BuildRequires: lua51-devel}
136 BuildRequires: mailcap >= 2.1.14-4.4
137 %{?with_mysql:BuildRequires: mysql-devel}
138 %{?with_ldap:BuildRequires: openldap-devel}
139 %{?with_ssl:BuildRequires: openssl-devel}
140 BuildRequires: pcre2-8-devel
141 BuildRequires: pkgconfig
142 %{?with_pgsql:BuildRequires: postgresql-devel}
143 BuildRequires: rpm >= 4.4.9-56
144 BuildRequires: rpmbuild(macros) >= 1.647
145 %{?with_webdav_props:BuildRequires: sqlite3-devel}
146 BuildRequires: tar >= 1:1.22
147 %{?with_valgrind:BuildRequires: valgrind}
150 BuildRequires: zlib-devel
151 Requires(post,preun): /sbin/chkconfig
152 Requires(postun): /usr/sbin/groupdel
153 Requires(postun): /usr/sbin/userdel
154 Requires(pre): /bin/id
155 Requires(pre): /usr/bin/getgid
156 Requires(pre): /usr/lib/rpm/user_group.sh
157 Requires(pre): /usr/sbin/groupadd
158 Requires(pre): /usr/sbin/useradd
159 Requires(pre): /usr/sbin/usermod
160 Requires: %{name}-mod_dirlisting = %{version}-%{release}
161 Requires: %{name}-mod_h2 = %{version}-%{release}
162 Requires: %{name}-mod_indexfile = %{version}-%{release}
163 Requires: %{name}-mod_staticfile = %{version}-%{release}
164 Requires: rc-scripts >= 0.4.3.0
165 Requires: rpm-whiteout >= 1.5
166 Suggests: %{name}-mod_accesslog
167 Provides: group(http)
168 Provides: group(lighttpd)
169 Provides: user(lighttpd)
171 Provides: webserver(headers)
172 Provides: webserver(mime)
173 Conflicts: logrotate < 3.7-4
174 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
175 Conflicts: rpm < 4.4.2-0.2
176 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
178 %define pkglibdir %{_libdir}/%{name}
179 %define _lighttpddir /home/services/%{name}
180 %define _sysconfdir /etc/%{name}
183 lighttpd is a secure, fast, compliant and very flexible web-server
184 which has been optimized for high-performance environments. It has a
185 very low memory footprint compared to other webservers and takes care
186 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
187 Output-Compression, URL-Rewriting and many more) make lighttpd the
188 perfect webserver-software for every server that is suffering load
191 %description -l pl.UTF-8
192 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
193 serwerem WWW, który został zoptymalizowany pod kątem
194 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
195 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
196 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
197 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
198 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
199 powodu problemów z obciążeniem.
202 Summary: lighttpd module for making access restrictions
203 Summary(pl.UTF-8): Moduł lighttpd ograniczający dostęp
204 Group: Networking/Daemons/HTTP
205 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
206 Requires: %{name} = %{version}-%{release}
207 Provides: webserver(access)
209 %description mod_access
210 The access module is used to deny access to files with given trailing
213 %description mod_access -l pl.UTF-8
214 Moduł access służy do ograniczania dostępu do plików o podanych
217 %package mod_accesslog
218 Summary: lighttpd module to record access logs
219 Summary(pl.UTF-8): Moduł lighttpd do zapisu logów dostępu
220 Group: Networking/Daemons/HTTP
221 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
222 Requires: %{name} = %{version}-%{release}
224 %description mod_accesslog
225 CLF like by default, flexible like Apache.
227 %description mod_accesslog -l pl.UTF-8
228 Domyślnie podobny do CLF, elastyczny jak Apache.
231 Summary: lighttpd module for making URL aliasing
232 Summary(pl.UTF-8): Moduł lighttpd odpowiadający za aliasy URL-i
233 Group: Networking/Daemons/HTTP
234 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
235 Requires: %{name} = %{version}-%{release}
236 Provides: webserver(alias)
238 %description mod_alias
239 The alias module is used to specify a special document-root for a
242 %description mod_alias -l pl.UTF-8
243 Modul alias służy do określania specjalnego drzewa (document-roota)
244 dla podanego podzbioru URL-i.
247 Summary: Apache JServ Protocol version 1.3 (AJP13) gateway
248 Group: Networking/Daemons/HTTP
249 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAJP13
250 Requires: %{name} = %{version}-%{release}
252 %description mod_ajp13
253 lighttpd mod_ajp13 is a gateway implementing Apache JServ Protocol
257 Summary: lighttpd module for authentication support
258 Summary(pl.UTF-8): Moduł lighttpd do obsługi uwierzytelniania
259 Group: Networking/Daemons/HTTP
260 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
261 Requires: %{name} = %{version}-%{release}
262 Requires: %{name}-mod_authn_file = %{version}-%{release}
264 Suggests: %{name}-mod_authn_ldap = %{version}-%{release}
266 Provides: webserver(auth)
268 %description mod_auth
269 lighttpd supportes both authentication method described by RFC 2617:
272 %description mod_auth -l pl.UTF-8
273 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
276 %package mod_authn_dbi
277 Summary: lighttpd authn_dbi module
278 Group: Networking/Daemons/HTTP
279 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
280 Requires: %{name} = %{version}-%{release}
281 Requires: %{name}-mod_auth = %{version}-%{release}
283 %description mod_authn_dbi
284 lighttpd authn_dbi module.
286 %package mod_authn_file
287 Summary: lighttpd authn_file module
288 Group: Networking/Daemons/HTTP
289 Requires: %{name} = %{version}-%{release}
290 Requires: %{name}-mod_auth = %{version}-%{release}
292 %description mod_authn_file
293 lighttpd authn_file module.
295 %package mod_authn_gssapi
296 Summary: lighttpd authn_gssapi module
297 Group: Networking/Daemons/HTTP
298 Requires: %{name} = %{version}-%{release}
299 Requires: %{name}-mod_auth = %{version}-%{release}
301 %description mod_authn_gssapi
302 lighttpd authn_gssapi module.
304 %package mod_authn_ldap
305 Summary: lighttpd authn_ldap module
306 Group: Networking/Daemons/HTTP
307 Requires: %{name} = %{version}-%{release}
308 Requires: %{name}-mod_auth = %{version}-%{release}
310 %description mod_authn_ldap
311 lighttpd authn_ldap module.
314 Summary: lighttpd module for CGI handling
315 Summary(pl.UTF-8): Moduł lighttpd do obsługi CGI
316 Group: Networking/Daemons/HTTP
317 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
318 Requires: %{name} = %{version}-%{release}
319 Requires: %{name}-mod_alias = %{version}-%{release}
320 Provides: webserver(cgi)
323 The cgi module provides a CGI-conforming interface.
325 CGI programs allow you to enhance the functionality of the server in a
326 very straight and simple way.
328 %description mod_cgi -l pl.UTF-8
329 Moduł cgi udostępnia interfejs zgodny z CGI.
331 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
332 prosty i naturalny sposób.
335 Summary: lighttpd module for CGI handling PHP scripts
336 Summary(pl.UTF-8): Moduł lighttpd do obsługi skryptów PHP przez CGI
337 Group: Networking/Daemons/HTTP
338 Requires: %{name}-mod_cgi = %{version}-%{release}
340 Provides: webserver(php)
342 %description mod_cgi_php
343 The cgi module provides a CGI-conforming interface for PHP scripts.
345 CGI programs allow you to enhance the functionality of the server in a
346 very straight and simple way.
348 %description mod_cgi_php -l pl.UTF-8
349 Moduł cgi udostępnia interfejs zgodny z CGI do wywoływania skryptów
352 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
353 prosty i naturalny sposób.
356 Summary: lighttpd module for output compression using deflate method
357 Summary(pl.UTF-8): Moduł lighttpd do kompresji wyjścia metodą deflate
358 Group: Networking/Daemons/HTTP
359 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate
360 Requires: %{name} = %{version}-%{release}
361 Obsoletes: lighttpd-mod_compress < 1.4.56
363 %define _deflate_encodings deflate gzip %{?with_bzip2:bzip2} %{?with_brotli:brotli}
364 %define deflate_encodings %(echo %_deflate_encodings | sed -e 's/ /, /g')
366 %description mod_deflate
367 mod_deflate enables output compression of responses
370 Output compression reduces the network load and can improve the
371 overall throughput of the webserver. All major http-clients support
372 compression by announcing it in the Accept-Encoding header. This is
373 used to negotiate the most suitable compression method.
375 This module supports %{deflate_encodings} encodings.
377 deflate (RFC1950, RFC1951) and gzip (RFC1952) depend on zlib while
378 bzip2 depends on libbzip2. bzip2 is only supported by lynx and some
379 other console text-browsers. brotli (RFC7932) is supported in most
382 Since lighttpd 1.4.56, mod_deflate subsumes and replaces mod_compress.
383 mod_deflate can compress static and dynamic responses, while
384 mod_compress could compress only static files.
386 %description mod_deflate -l pl.UTF-8
387 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
388 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
391 %package mod_dirlisting
392 Summary: lighttpd module for directory listings
393 Summary(pl.UTF-8): Moduł lighttpd do tworzenia listingów katalogów
394 Group: Networking/Daemons/HTTP
395 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
396 Requires: %{name} = %{version}-%{release}
398 %description mod_dirlisting
399 mod_dirlisting generates HTML based directory listings with full CSS
402 %description mod_dirlisting -l pl.UTF-8
403 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
407 Summary: lighttpd module for enhanced virtual-hosting
408 Summary(pl.UTF-8): Moduł lighttpd rozszerzający obsługę hostów wirtualnych
409 Group: Networking/Daemons/HTTP
410 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
411 Requires: %{name} = %{version}-%{release}
413 %description mod_evhost
414 mod_evhost builds the document-root based on a pattern which contains
415 wildcards. Those wildcards can represent parts of the submitted
418 %description mod_evhost -l pl.UTF-8
419 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
420 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
424 Summary: lighttpd module for controlling the expiration of content in caches
425 Summary(pl.UTF-8): Moduł lighttpd sterujący wygasaniem treści w cache'ach
426 Group: Networking/Daemons/HTTP
427 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
428 Requires: %{name} = %{version}-%{release}
429 Provides: webserver(expires)
431 %description mod_expire
432 mod_expire controls the setting of the the Expire response header.
434 %description mod_expire -l pl.UTF-8
435 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
437 %package mod_extforward
438 Summary: lighttpd module to extract the client's "real" IP from X-Forwarded-For header
439 Summary(pl.UTF-8): Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
440 Group: Networking/Daemons/HTTP
441 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
442 Requires: %{name} = %{version}-%{release}
444 %description mod_extforward
445 This module will extract the client's "real" IP from X-Forwarded-For
446 header which is added by Squid or other proxies. It might be useful
447 for servers behind reverse proxy servers.
449 %description mod_extforward -l pl.UTF-8
450 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
451 dodawanego przez Squida czy inne proxy. Może być przydatny dla
452 serwerów stojących za odwrotnymi serwerami proxy.
455 Summary: lighttpd module for FastCGI interface
456 Summary(pl.UTF-8): Moduł lighttpd do interfejsu FastCGI
457 Group: Networking/Daemons/HTTP
458 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
459 Requires: %{name} = %{version}-%{release}
461 %description mod_fastcgi
462 The FastCGI interface is the fastest and most secure way to interface
463 external process-handlers like Perl, PHP and your self-written
466 %description mod_fastcgi -l pl.UTF-8
467 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
468 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
469 jak Perl, PHP czy własne aplikacje.
472 Summary: lighttpd h2 module
473 Group: Networking/Daemons/HTTP
474 Requires: %{name} = %{version}-%{release}
477 lighttpd http 2 module
479 %package mod_h264_streaming
480 Summary: lighttpd module for h264 streaming
481 Summary(pl.UTF-8): Moduł lighttpd do emisji strumieni h264
482 License: CC 3.0 BY-NC-SA
483 Group: Networking/Daemons/HTTP
484 URL: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
485 Requires: %{name} = %{version}-%{release}
487 %description mod_h264_streaming
488 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
490 %description mod_h264_streaming -l pl.UTF-8
491 Moduł lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
493 %package mod_indexfile
494 Summary: lighttpd indexfile module
495 Summary(pl.UTF-8): Moduł indexfile dla lighttpd
496 Group: Networking/Daemons/HTTP
497 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
498 Requires: %{name} = %{version}-%{release}
499 Provides: webserver(indexfile)
501 %description mod_indexfile
504 %description mod_indexfile -l pl.UTF-8
508 Summary: lighttpd powermagnet module
509 Summary(pl.UTF-8): Moduł powermagnet dla lighttpd
510 Group: Networking/Daemons/HTTP
511 URL: http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
512 Requires: %{name} = %{version}-%{release}
514 %description mod_magnet
515 mod_magnet is a module to control the request handling in lighty.
517 %description mod_magnet -l pl.UTF-8
518 mod_magnet to moduł sterujący obsługą żądań w lighty.
520 %package mod_maxminddb
521 Summary: lighttpd module
522 Group: Networking/Daemons/HTTP
523 #URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
524 Requires: %{name} = %{version}-%{release}
526 %description mod_maxminddb
529 Summary: TLS/SSL for lighttpd
530 Group: Networking/Daemons/HTTP
531 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
532 Requires: %{name} = %{version}-%{release}
534 %description mod_openssl
535 TLS/SSL for lighttpd.
538 Summary: lighttpd module for proxying requests
539 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
540 Group: Networking/Daemons/HTTP
541 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
542 Requires: %{name} = %{version}-%{release}
544 %description mod_proxy
545 The proxy module a simplest way to connect lighttpd to Java servers
546 which have a HTTP-interface.
548 %description mod_proxy -l pl.UTF-8
549 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
550 mającymi interfejs HTTP.
552 %package mod_proxy_core
553 Summary: lighttpd module for proxying requests
554 Summary(pl.UTF-8): Moduł lighttpd do przekazywania żądań
555 Group: Networking/Daemons/HTTP
556 URL: http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
557 Requires: %{name} = %{version}-%{release}
559 %description mod_proxy_core
560 The proxy module a simplest way to connect lighttpd to java servers
561 which have a HTTP-interface.
563 This is the new proxy code.
565 %description mod_proxy_core -l pl.UTF-8
566 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
567 mającymi interfejs HTTP.
569 Ten pakiet zawiera nowy moduł proxy.
571 %package mod_redirect
572 Summary: lighttpd module for URL redirects
573 Summary(pl.UTF-8): Moduł lighttpd do przekierowań URL-i
574 Group: Networking/Daemons/HTTP
575 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
576 Requires: %{name} = %{version}-%{release}
578 %description mod_redirect
579 With mod_redirect module you can redirect a set of URLs externally.
581 %description mod_redirect -l pl.UTF-8
582 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
586 Summary: lighttpd module for internal redirects, URL rewrite
587 Summary(pl.UTF-8): Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
588 Group: Networking/Daemons/HTTP
589 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
590 Requires: %{name} = %{version}-%{release}
591 Provides: webserver(rewrite)
593 %description mod_rewrite
594 This module allows you rewrite a set of URLs interally in the
595 webserver BEFORE they are handled.
597 %description mod_rewrite -l pl.UTF-8
598 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
599 WWW _przed_ ich obsługą.
602 Summary: lighttpd module for monitoring traffic and server load
603 Summary(pl.UTF-8): Moduł lighttpd do monitorowania ruchu i obciążenia serwera
604 Group: Networking/Daemons/HTTP
605 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
606 Requires: %{name} = %{version}-%{release}
609 %description mod_rrdtool
610 RRD is a system to store and display time-series data (i.e. network
611 bandwidth, machine-room temperature, server load average).
613 With this module you can monitor the traffic and load on the
616 %description mod_rrdtool -l pl.UTF-8
617 RRD to system przechowywania i wyświetlania danych zależnych od czasu
618 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
621 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
625 Summary: lighttpd module for SCGI interface
626 Summary(pl.UTF-8): Moduł lighttpd do interfejsu SCGI
627 Group: Networking/Daemons/HTTP
628 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
629 Requires: %{name} = %{version}-%{release}
631 %description mod_scgi
632 SCGI is a fast and simplified CGI interface. It is mostly used by
635 %description mod_scgi -l pl.UTF-8
636 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
640 Summary: lighttpd module for setting conditional request headers
641 Summary(pl.UTF-8): Moduł lighttpd do ustawiania warunkowych nagłówków żądań
642 Group: Networking/Daemons/HTTP
643 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
644 Requires: %{name} = %{version}-%{release}
645 Provides: webserver(setenv)
647 %description mod_setenv
648 mod_setenv is used to add request headers.
650 %description mod_setenv -l pl.UTF-8
651 mod_setenv służy do dodawania nagłówków żądań.
653 %package mod_simple_vhost
654 Summary: lighttpd module for simple virtual-hosting
655 Summary(pl.UTF-8): Moduł lighttpd do prostych hostów wirtualnych
656 Group: Networking/Daemons/HTTP
657 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
658 Requires: %{name} = %{version}-%{release}
659 Conflicts: %{name}-mod_mysql_vhost
661 %description mod_simple_vhost
662 lighttpd module for simple virtual-hosting.
664 %description mod_simple_vhost -l pl.UTF-8
665 Moduł lighttpd do prostych hostów wirtualnych.
667 %package mod_sockproxy
668 Summary: Transparent socket proxy
669 Group: Networking/Daemons/HTTP
670 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSockProxy
671 Requires: %{name} = %{version}-%{release}
673 %description mod_sockproxy
674 mod_sockproxy is a transparent socket proxy. For a given $SERVER["socket"]
675 config, connections will be forwarded to backend(s) without any
676 interpretation of the protocol.
679 Summary: lighttpd module for server-side includes
680 Summary(pl.UTF-8): Moduł lighttpd do SSI (server-side includes)
681 Group: Networking/Daemons/HTTP
682 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
683 Requires: %{name} = %{version}-%{release}
686 The module for server-side includes provides a compatability layer for
689 %description mod_ssi -l pl.UTF-8
690 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
691 znanym z NSCA/Apache'a.
693 %package mod_staticfile
694 Summary: lighttpd module for static file serving
695 Summary(pl.UTF-8): Moduł lighttpd do serwowania statycznych plików
696 Group: Networking/Daemons/HTTP
697 Requires: %{name} = %{version}-%{release}
699 %description mod_staticfile
700 lighttpd module for static file serving.
702 %description mod_staticfile -l pl.UTF-8
703 Moduł lighttpd do serwowania statycznych plików.
706 Summary: lighttpd module for displaying server status
707 Summary(pl.UTF-8): Moduł lighttpd do wyświetlania stanu serwera
708 Group: Networking/Daemons/HTTP
709 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
710 Requires: %{name} = %{version}-%{release}
712 %description mod_status
713 mod_status displays the server's status and configuration.
715 %description mod_status -l pl.UTF-8
716 mod_status wyświetla stan i konfigurację serwera.
719 Summary: lighttpd module for user homedirs
720 Summary(pl.UTF-8): Moduł lighttpd obsługujący katalogi domowe użytkowników
721 Group: Networking/Daemons/HTTP
722 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
723 Requires: %{name} = %{version}-%{release}
725 %description mod_userdir
726 The userdir module provides a simple way to link user-based
727 directories into the global namespace of the webserver.
729 %description mod_userdir -l pl.UTF-8
730 Moduł userdir udostępnia prosty sposób włączenia katalogów
731 użytkowników do globalnej przestrzeni nazw serwera WWW.
734 Summary: Virtual host database to provide vhost docroot
735 Group: Networking/Daemons/HTTP
736 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModVhostDB
737 Requires: %{name} = %{version}-%{release}
739 %description mod_vhostdb
740 Virtual host database to provide vhost docroot.
743 Summary: WebDAV module for lighttpd
744 Summary(pl.UTF-8): Moduł WebDAV dla libghttpd
745 Group: Networking/Daemons/HTTP
746 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
747 Requires: %{name} = %{version}-%{release}
749 %description mod_webdav
750 The WebDAV module is a very minimalistic implementation of RFC 2518.
751 Minimalistic means that not all operations are implementated yet.
759 - LOCK (experimental)
761 and the usual GET, POST, HEAD from HTTP/1.1.
763 So far mounting a webdav resource into Windows XP works and the basic
764 litmus tests are passed.
766 %description mod_webdav -l pl.UTF-8
767 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
768 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
769 zaimplementowane. Jak na razie są:
775 - LOCK (experimental)
777 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
779 Jak na razie montowanie zasobu webdav pod Windows XP działa i
780 podstawowe testy lakmusowe przechodzą.
782 %package mod_wstunnel
783 Summary: WebSocket tunnel endpoint
784 Group: Networking/Daemons/HTTP
785 URL: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWSTunnel
786 Requires: %{name} = %{version}-%{release}
788 %description mod_wstunnel
789 WebSocket tunnel endpoint. This module terminates the websocket tunnel
790 from a client. This module then passes data (without websocket frames)
791 to a backend and encodes responses from backend in websocket frames
792 before sending responses to client.
795 Summary: PHP support via FastCGI, spawned by lighttpd
796 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
797 Group: Networking/Daemons/HTTP
798 Requires: %{name} = %{version}-%{release}
799 Requires: %{name}-mod_fastcgi = %{version}-%{release}
801 Provides: webserver(php)
802 Obsoletes: lighttpd-php-external
804 %description php-spawned
805 PHP support via FastCGI, spawned by lighttpd.
807 %description php-spawned -l pl.UTF-8
808 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
810 %package php-external
811 Summary: PHP support via FastCGI, spawning controlled externally
812 Summary(pl.UTF-8): Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
813 Group: Networking/Daemons/HTTP
814 Requires: %{name} = %{version}-%{release}
815 Requires: %{name}-mod_fastcgi = %{version}-%{release}
817 Suggests: php-fcgi-init
818 Obsoletes: lighttpd-php-spawned
820 %description php-external
821 PHP support via FastCGI, spawning controlled externally.
823 %description php-external -l pl.UTF-8
824 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
827 Summary: lighttpd support for SSLv2 and SSLv3
828 Summary(pl.UTF-8): Obsługa SSLv2 i SSLv3 dla lighttpd
829 Group: Networking/Daemons/HTTP
830 URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
831 Requires: %{name} = %{version}-%{release}
832 Requires: %{name}-mod_openssl = %{version}-%{release}
833 Suggests: ca-certificates
836 lighttpd support for SSLv2 and SSLv3.
838 %description ssl -l pl.UTF-8
839 Obsługa SSLv2 i SSLv3 dla lighttpd.
841 %package -n monit-rc-lighttpd
842 Summary: lighttpd support for monit
843 Summary(pl.UTF-8): Wsparcie lighttpd dla monit
844 Group: Applications/System
845 Requires: %{name} = %{version}-%{release}
848 %description -n monit-rc-lighttpd
849 monitrc file for monitoring lighttpd web server.
851 %description -n monit-rc-lighttpd -l pl.UTF-8
852 Plik monitrc do monitorowania serwera www lighttpd.
857 %{?with_h264_streaming:%patch2 -p1}
860 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
862 # build mime.types.conf
863 sh %{SOURCE6} /etc/mime.types
865 %if "%{pld_release}" == "ac"
866 %{__sed} -i -e 's/ serial_tests//' configure.ac
867 %{__sed} -i -e 's/dist-xz/dist-bzip2/' configure.ac
871 ver=$(awk -F ',' '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
872 if [ "$ver" != "%{version}" ]; then
873 : configure.ac specifies wrong version
877 %{__aclocal} -I m4 -I scripts/m4
884 %{!?with_ipv6:--disable-ipv6} \
885 %{!?with_largefile:--disable-lfs} \
886 %{?with_brotli:--with-brotli} \
887 %{?with_bzip2:--with-bzip2} \
888 %{?with_dbi:--with-dbi} \
889 %{?with_gamin:--with-gamin} \
890 %{?with_krb5:--with-krb5} \
891 %{?with_ldap:--with-ldap} \
892 %{?with_lua:--with-lua=lua51} \
893 %{?with_maxminddb:--with-maxminddb} \
894 %{?with_mysql:--with-mysql} \
895 %{?with_pgsql:--with-pgsql} \
896 %{?with_ssl:--with-openssl} \
897 %{?with_valgrind:--with-valgrind} \
898 %{?with_webdav_locks:--with-webdav-locks} \
899 %{?with_webdav_props:--with-webdav-props} \
900 %{?with_xattr:--with-attr} \
901 --libdir=%{pkglibdir}
903 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
907 export LIGHTTPD_TEST_PORT=$((2048 + RANDOM % 10))
912 rm -rf $RPM_BUILD_ROOT
913 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
914 $RPM_BUILD_ROOT%{_sysconfdir}/{{conf,vhosts,webapps}.d,ssl} \
915 $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
916 $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
917 $RPM_BUILD_ROOT/var/lib/lighttpd \
918 $RPM_BUILD_ROOT/var/cache/lighttpd/mod_deflate
921 DESTDIR=$RPM_BUILD_ROOT
923 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
924 cp -p %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
925 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
926 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
927 cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
929 rm -f $RPM_BUILD_ROOT%{pkglibdir}/*.la
931 # Install lighttpd images
932 cp -p %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
933 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
935 # NOTE: the order of the modules is somewhat important as the modules are
936 # handled in the way they are specified. mod_rewrite should always be the first
937 # module, mod_accesslog always the last.
939 conf_available=$RPM_BUILD_ROOT%{_sysconfdir}/conf.d
942 cp -p %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
943 cp -p %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
945 cp -p %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
946 cp -p %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
947 cp -p %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
948 cp -p %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
949 cp -p %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h2.conf
950 cp -p %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
952 cp -p %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
953 cp -p %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
954 cp -p %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
955 cp -p %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
956 %if %{with maxminddb}
957 cp -p %{SOURCE147} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_maxminddb.conf
960 cp -p %{SOURCE141} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_ldap.conf
962 %if %{with h264_streaming}
963 cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
965 cp -p %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
966 cp -p %{SOURCE142} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_openssl.conf
967 cp -p %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
968 cp -p %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
969 cp -p %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
970 cp -p %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
971 cp -p %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
972 cp -p %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
973 cp -p %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
974 cp -p %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
975 cp -p %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
976 cp -p %{SOURCE143} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_vhostdb.conf
977 cp -p %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
978 cp -p %{SOURCE144} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_wstunnel.conf
979 cp -p %{SOURCE146} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_sockproxy.conf
981 cp -p %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
982 cp -p %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
984 cp -p %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
985 cp -p %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
987 cp -p %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
988 cp -p %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
989 cp -p %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
991 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
993 install -d $RPM_BUILD_ROOT/etc/tmpwatch
995 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
998 rm -rf $RPM_BUILD_ROOT
1001 %groupadd -g 109 lighttpd
1002 %groupadd -g 51 http
1003 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
1004 %addusertogroup lighttpd http
1007 for a in access.log error.log breakage.log; do
1008 if [ ! -f /var/log/%{name}/$a ]; then
1009 touch /var/log/%{name}/$a
1010 chown lighttpd:lighttpd /var/log/%{name}/$a
1011 chmod 644 /var/log/%{name}/$a
1014 /sbin/chkconfig --add %{name}
1017 if [ "$1" = "0" ]; then
1018 %service %{name} stop
1019 /sbin/chkconfig --del %{name}
1023 if [ "$1" = "0" ]; then
1024 %userremove lighttpd
1025 %groupremove lighttpd
1030 # minimizing lighttpd restarts logics. we restart webserver:
1032 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1033 # 2. first install of module (post: $1 = 1)
1034 # 2. uninstall of module (postun: $1 = 0)
1036 # the strict internal deps between lighttpd modules and
1037 # main package are very important for all this to work.
1038 %service %{name} restart "Lighttpd webserver"
1041 # macro called at module post scriptlet
1042 %define module_post \
1043 if [ "$1" = "1" ]; then \
1044 %service -q lighttpd restart \
1047 # macro called at module postun scriptlet
1048 %define module_postun \
1049 if [ "$1" = "0" ]; then \
1050 %service -q lighttpd restart \
1053 # it's sooo annoying to write them
1054 %define module_scripts() \
1061 %module_scripts mod_access
1062 %module_scripts mod_accesslog
1063 %module_scripts mod_ajp13
1064 %module_scripts mod_alias
1065 %module_scripts mod_auth
1066 %module_scripts mod_authn_dbi
1067 %module_scripts mod_authn_file
1068 %module_scripts mod_authn_gssapi
1069 %module_scripts mod_authn_ldap
1070 %module_scripts mod_cgi
1071 %module_scripts mod_deflate
1072 %module_scripts mod_dirlisting
1073 %module_scripts mod_evhost
1074 %module_scripts mod_expire
1075 %module_scripts mod_extforward
1076 %module_scripts mod_fastcgi
1077 %module_scripts mod_h2
1078 %module_scripts mod_h264_streaming
1079 %module_scripts mod_indexfile
1080 %module_scripts mod_magnet
1081 %module_scripts mod_maxminddb
1082 %module_scripts mod_openssl
1083 %module_scripts mod_proxy
1084 %module_scripts mod_redirect
1085 %module_scripts mod_rewrite
1086 %module_scripts mod_scgi
1087 %module_scripts mod_setenv
1088 %module_scripts mod_simple_vhost
1089 %module_scripts mod_sockproxy
1090 %module_scripts mod_ssi
1091 %module_scripts mod_staticfile
1092 %module_scripts mod_status
1093 %module_scripts mod_userdir
1094 %module_scripts mod_vhostdb
1095 %module_scripts mod_webdav
1096 %module_scripts mod_wstunnel
1098 %module_scripts php-spawned
1099 %module_scripts php-external
1102 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1103 touch /var/lib/lighttpd/lighttpd.rrd
1104 chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1105 chmod 640 /var/lib/lighttpd/lighttpd.rrd
1113 %triggerpostun -- %{name} < 1.4.18-10.1
1114 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1115 cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1116 mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1120 %defattr(644,root,root,755)
1122 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1123 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1124 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1125 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1126 %dir %attr(700,root,root) %{_sysconfdir}/ssl
1127 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1128 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1129 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1131 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1132 %attr(750,root,root) %dir /var/log/archive/%{name}
1133 %dir %attr(751,root,root) /var/log/%{name}
1134 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1135 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1136 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1137 %dir %attr(770,root,lighttpd) /var/run/%{name}
1138 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1139 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1140 %attr(755,root,root) %{_sbindir}/lighttpd
1141 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1143 %{_mandir}/man8/lighttpd.8*
1144 %{_mandir}/man8/lighttpd-angel.8*
1145 %dir %{_lighttpddir}
1146 %dir %{_lighttpddir}/cgi-bin
1147 %dir %{_lighttpddir}/html
1148 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1149 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1150 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1152 %dir %{_datadir}/lighttpd
1153 %dir %{_datadir}/lighttpd/errordocs
1155 # rrdtool database is stored there
1156 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1158 # mod_deflate can put cached files there
1159 %dir /var/cache/lighttpd
1162 %defattr(644,root,root,755)
1163 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1165 %files mod_accesslog
1166 %defattr(644,root,root,755)
1167 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1168 %attr(755,root,root) %{pkglibdir}/mod_accesslog.so
1171 %defattr(644,root,root,755)
1172 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{pkglibdir}/mod_ajp13.so
1179 %defattr(644,root,root,755)
1180 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1181 %attr(755,root,root) %{pkglibdir}/mod_auth.so
1184 %files mod_authn_dbi
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{pkglibdir}/mod_authn_dbi.so
1189 %files mod_authn_file
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{pkglibdir}/mod_authn_file.so
1194 %files mod_authn_gssapi
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{pkglibdir}/mod_authn_gssapi.so
1200 %files mod_authn_ldap
1201 %defattr(644,root,root,755)
1202 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_ldap.conf
1203 %attr(755,root,root) %{pkglibdir}/mod_authn_ldap.so
1207 %defattr(644,root,root,755)
1208 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1209 %attr(755,root,root) %{pkglibdir}/mod_cgi.so
1212 %defattr(644,root,root,755)
1213 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1216 %defattr(644,root,root,755)
1217 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1218 %attr(755,root,root) %{pkglibdir}/mod_deflate.so
1219 %dir %attr(775,root,lighttpd) /var/cache/lighttpd/mod_deflate
1221 %files mod_dirlisting
1222 %defattr(644,root,root,755)
1223 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1224 %attr(755,root,root) %{pkglibdir}/mod_dirlisting.so
1227 %defattr(644,root,root,755)
1228 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1231 %defattr(644,root,root,755)
1232 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1234 %files mod_extforward
1235 %defattr(644,root,root,755)
1236 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1237 %attr(755,root,root) %{pkglibdir}/mod_extforward.so
1240 %defattr(644,root,root,755)
1241 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1244 %defattr(644,root,root,755)
1245 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h2.conf
1246 %attr(755,root,root) %{pkglibdir}/mod_h2.so
1248 %if %{with h264_streaming}
1249 %files mod_h264_streaming
1250 %defattr(644,root,root,755)
1251 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1252 %attr(755,root,root) %{pkglibdir}/mod_h264_streaming.so
1255 %files mod_indexfile
1256 %defattr(644,root,root,755)
1257 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1260 %defattr(644,root,root,755)
1261 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1262 %attr(755,root,root) %{pkglibdir}/mod_magnet.so
1264 %if %{with maxminddb}
1265 %files mod_maxminddb
1266 %defattr(644,root,root,755)
1267 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_maxminddb.conf
1268 %attr(755,root,root) %{pkglibdir}/mod_maxminddb.so
1272 %defattr(644,root,root,755)
1273 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1274 %attr(755,root,root) %{pkglibdir}/mod_proxy.so
1277 %defattr(644,root,root,755)
1278 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_openssl.conf
1279 %attr(755,root,root) %{pkglibdir}/mod_openssl.so
1282 %defattr(644,root,root,755)
1283 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1286 %defattr(644,root,root,755)
1287 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1290 %defattr(644,root,root,755)
1291 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1292 %attr(755,root,root) %{pkglibdir}/mod_rrdtool.so
1293 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1296 %defattr(644,root,root,755)
1297 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1300 %defattr(644,root,root,755)
1301 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1303 %files mod_simple_vhost
1304 %defattr(644,root,root,755)
1305 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1307 %files mod_sockproxy
1308 %defattr(644,root,root,755)
1309 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_sockproxy.conf
1310 %attr(755,root,root) %{pkglibdir}/mod_sockproxy.so
1313 %defattr(644,root,root,755)
1314 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1315 %attr(755,root,root) %{pkglibdir}/mod_ssi.so
1317 %files mod_staticfile
1318 %defattr(644,root,root,755)
1319 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1322 %defattr(644,root,root,755)
1323 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1324 %attr(755,root,root) %{pkglibdir}/mod_status.so
1327 %defattr(644,root,root,755)
1328 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1329 %attr(755,root,root) %{pkglibdir}/mod_userdir.so
1332 %defattr(644,root,root,755)
1333 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_vhostdb.conf
1334 %attr(755,root,root) %{pkglibdir}/mod_vhostdb.so
1337 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_dbi.so
1340 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_ldap.so
1343 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_mysql.so
1346 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_pgsql.so
1350 %defattr(644,root,root,755)
1351 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1352 %attr(755,root,root) %{pkglibdir}/mod_webdav.so
1355 %defattr(644,root,root,755)
1356 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_wstunnel.conf
1357 %attr(755,root,root) %{pkglibdir}/mod_wstunnel.so
1360 %defattr(644,root,root,755)
1361 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1364 %defattr(644,root,root,755)
1365 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1368 %defattr(644,root,root,755)
1369 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1371 %files -n monit-rc-lighttpd
1372 %defattr(644,root,root,755)
1373 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc