]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd.spec
Add mod_ajp13 package
[packages/lighttpd.git] / lighttpd.spec
1 # TODO:
2 # - don't use lighttpd-angel in systemd. systemd does the respawn/recovery logic itself
3 # - provide or autogenerated self signed cert in post, so after installing
4 #   lighttpd-ssl server will still work
5 # - patch with mod_websocket: https://github.com/Juniper/lighttpd-for-juise
6 # - lighttpd-mod_fd_transfer: https://redmine.lighttpd.net/boards/3/topics/4992
7 # - add db specific mod_vhostdb_* sub-packages
8 # - package mod_sockproxy
9 #   https://github.com/lighttpd/lighttpd1.4/commit/c4d743bb4d0cc045d41322169a4e36a151e247f1
10 # - TLS library options
11 #    - mod_openssl (existing)
12 #    - mod_mbedtls (experimental)
13 #    - mod_wolfssl (experimental)
14 #    - mod_gnutls  (experimental)
15 #    - mod_nss     (experimental)
16 #
17 # Conditional build:
18 %bcond_with             tests           # build with tests
19 %bcond_without  xattr           # support of extended attributes
20 %bcond_without  ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
21 %bcond_without  largefile       # largefile support (see notes above)
22 %bcond_without  dbi             # libdbi, enables mod_vhostdb_dbi, mod_authn_dbi
23 %bcond_without  ssl             # ssl support
24 %bcond_without  mysql           # mysql support in mod_mysql_vhost, mod_vhostdb_mysql
25 %bcond_without  pgsql           # PgSQL, enables mod_vhostdb_pgsql
26 %bcond_without  bzip2           # Enable bzip2 support for mod_deflate
27 %bcond_without  brotli          # Enable brotli support for mod_deflate
28 %bcond_without  geoip           # GeoIP support
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 in mod_cml (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_without  mod_trigger_b4_dl               # mod_trigger_b4_dl
35 %bcond_with     webdav_props    # properties in mod_webdav (includes extra sqlite3/libxml deps)
36 %bcond_with     webdav_locks    # webdav locks with extra efsprogs deps
37 %bcond_with     valgrind        # compile code with valgrind support.
38 %bcond_with     h264_streaming          # build h264_streaming module
39 %bcond_without  storage_memcached       # memcached storage for mod_trigger_b4_dl/mod_cml
40 %bcond_without  storage_gdbm            # gdbm storage for mod_trigger_b4_dl
41
42 %if %{with webdav_locks}
43 %define         webdav_progs    1
44 %endif
45
46 # if(WITH_PCRE AND (WITH_MEMCACHED OR WITH_GDBM))
47 %if %{without storage_memcached} && %{without storage_gdbm}
48 %undefine       with_mod_trigger_b4_dl
49 %endif
50
51 Summary:        Fast and light HTTP server
52 Summary(pl.UTF-8):      Szybki i lekki serwer HTTP
53 Name:           lighttpd
54 Version:        1.4.59
55 Release:        1
56 License:        BSD
57 Group:          Networking/Daemons/HTTP
58 Source0:        https://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
59 # Source0-md5:  a8838dac90fcddbcc05c0d1877bd8cdf
60 Source1:        %{name}.init
61 Source2:        %{name}.conf
62 Source3:        %{name}.user
63 Source4:        %{name}.logrotate
64 Source5:        %{name}.sysconfig
65 Source6:        %{name}-mime.types.sh
66 Source7:        https://glen.alkohol.ee/pld/lighty/favicon.ico
67 # Source7-md5:  00fcac5b861a54f5eb147a589504d480
68 Source8:        light_button.png
69 # Source8-md5:  3e1008ee1d3d6d390cf81fe3072b4f50
70 Source9:        light_logo.png
71 # Source9-md5:  cbb7f0676e51ee2e26cf004df293fc62
72 Source10:       pld_button.png
73 # Source10-md5: 185afa921e81bd726b9f0f9f0909dc6e
74 Source11:       %{name}-pld.html
75 Source12:       %{name}.monitrc
76 Source13:       branch.sh
77 Source14:       TODO
78 Source16:       %{name}.tmpfiles
79 Source100:      mod_access.conf
80 Source101:      mod_accesslog.conf
81 Source102:      mod_alias.conf
82 Source103:      mod_auth.conf
83 Source104:      mod_cgi.conf
84 Source105:      mod_cml.conf
85 Source107:      mod_deflate.conf
86 Source108:      mod_dirlisting.conf
87 Source109:      mod_evasive.conf
88 Source110:      mod_evhost.conf
89 Source111:      mod_expire.conf
90 Source112:      mod_fastcgi.conf
91 Source113:      mod_flv_streaming.conf
92 Source114:      mod_indexfile.conf
93 Source115:      mod_proxy.conf
94 Source116:      mod_redirect.conf
95 Source117:      mod_rewrite.conf
96 Source118:      mod_rrdtool.conf
97 Source119:      mod_scgi.conf
98 Source120:      mod_secdownload.conf
99 Source121:      mod_setenv.conf
100 Source122:      mod_simple_vhost.conf
101 Source123:      mod_ssi.conf
102 Source124:      mod_staticfile.conf
103 Source125:      mod_status.conf
104 Source126:      mod_trigger_b4_dl.conf
105 Source127:      mod_userdir.conf
106 Source128:      mod_usertrack.conf
107 Source129:      mod_webdav.conf
108 Source130:      php-spawned.conf
109 Source131:      php-external.conf
110 Source132:      ssl.conf
111 Source133:      mod_mysql_vhost.conf
112 Source134:      mod_magnet.conf
113 Source135:      mod_extforward.conf
114 Source136:      mod_h264_streaming.conf
115 Source137:      mod_cgi_php.conf
116 Source139:      mod_uploadprogress.conf
117 Source140:      mod_geoip.conf
118 Source141:      mod_authn_ldap.conf
119 Source142:      mod_openssl.conf
120 Source143:      mod_vhostdb.conf
121 Source144:      mod_wstunnel.conf
122 Source145:      mod_authn_mysql.conf
123 Source146:      mod_sockproxy.conf
124 Source147:      mod_maxminddb.conf
125 # use branch.sh script to create branch.diff
126 #Patch100:      %{name}-branch.diff
127 ## Patch100-md5:        7bd09235304c8bcb16f34d49d480c0fb
128 Patch1:         %{name}-mod_evasive-status_code.patch
129 Patch2:         %{name}-mod_h264_streaming.patch
130 Patch3:         %{name}-branding.patch
131 Patch4:         systemd.patch
132 URL:            https://www.lighttpd.net/
133 %{?with_geoip:BuildRequires:    GeoIP-devel}
134 %{?with_xattr:BuildRequires:    attr-devel}
135 BuildRequires:  autoconf >= 2.57
136 %{?with_maxminddb:BuildRequires:        libmaxminddb-devel}
137 %if "%{pld_release}" != "ac"
138 BuildRequires:  automake >= 1:1.11.2
139 %else
140 BuildRequires:  automake
141 %endif
142 %{?with_bzip2:BuildRequires:    bzip2-devel}
143 BuildRequires:  fcgi-devel
144 %{?with_gamin:BuildRequires:    gamin-devel}
145 %{?with_storage_gdbm:BuildRequires:     gdbm-devel}
146 %{?with_krb5:BuildRequires:     krb5-devel}
147 %{?with_brotli:BuildRequires:   libbrotli-devel}
148 %{?with_dbi:BuildRequires:      libdbi-devel}
149 %{?with_storage_memcached:BuildRequires:        libmemcached-devel}
150 BuildRequires:  libtool
151 BuildRequires:  libuuid-devel
152 %{?with_webdav_props:BuildRequires:     libxml2-devel}
153 %{?with_lua:BuildRequires:      lua51-devel}
154 BuildRequires:  mailcap >= 2.1.14-4.4
155 %{?with_mysql:BuildRequires:    mysql-devel}
156 %{?with_ldap:BuildRequires:     openldap-devel}
157 %{?with_ssl:BuildRequires:      openssl-devel}
158 BuildRequires:  pcre-devel
159 BuildRequires:  pkgconfig
160 %{?with_pgsql:BuildRequires:    postgresql-devel}
161 BuildRequires:  rpm >= 4.4.9-56
162 BuildRequires:  rpmbuild(macros) >= 1.647
163 %{?with_webdav_props:BuildRequires:     sqlite3-devel}
164 BuildRequires:  tar >= 1:1.22
165 %{?with_valgrind:BuildRequires: valgrind}
166 BuildRequires:  which
167 BuildRequires:  xz
168 BuildRequires:  zlib-devel
169 Requires(post,preun):   /sbin/chkconfig
170 Requires(postun):       /usr/sbin/groupdel
171 Requires(postun):       /usr/sbin/userdel
172 Requires(pre):  /bin/id
173 Requires(pre):  /usr/bin/getgid
174 Requires(pre):  /usr/lib/rpm/user_group.sh
175 Requires(pre):  /usr/sbin/groupadd
176 Requires(pre):  /usr/sbin/useradd
177 Requires(pre):  /usr/sbin/usermod
178 Requires:       %{name}-mod_dirlisting = %{version}-%{release}
179 Requires:       %{name}-mod_indexfile = %{version}-%{release}
180 Requires:       %{name}-mod_staticfile = %{version}-%{release}
181 Requires:       rc-scripts >= 0.4.3.0
182 Requires:       rpm-whiteout >= 1.5
183 Requires:       systemd-units >= 38
184 Suggests:       %{name}-mod_accesslog
185 Provides:       group(http)
186 Provides:       group(lighttpd)
187 Provides:       user(lighttpd)
188 Provides:       webserver
189 Provides:       webserver(headers)
190 Provides:       webserver(mime)
191 Conflicts:      logrotate < 3.7-4
192 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
193 Conflicts:      rpm < 4.4.2-0.2
194 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
195
196 %define         pkglibdir               %{_libdir}/%{name}
197 %define         _lighttpddir    /home/services/%{name}
198 %define         _sysconfdir     /etc/%{name}
199
200 %description
201 lighttpd is a secure, fast, compliant and very flexible web-server
202 which has been optimized for high-performance environments. It has a
203 very low memory footprint compared to other webservers and takes care
204 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
205 Output-Compression, URL-Rewriting and many more) make lighttpd the
206 perfect webserver-software for every server that is suffering load
207 problems.
208
209 %description -l pl.UTF-8
210 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
211 serwerem WWW, który zostaÅ‚ zoptymalizowany pod kÄ…tem
212 wysokowydajnoÅ›ciowych Å›rodowisk. Zajmuje bardzo maÅ‚Ä… ilość pamiÄ™ci w
213 porównaniu do innych serwerów WWW oraz dba o zajÄ™tość procesora.
214 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
215 wyjÅ›cia, przepisywanie URL-i i wiele innych) czyniÄ… z lighttpd
216 doskonaÅ‚e oprogramowanie web-serwerowe na każdy serwer cierpiÄ…cy z
217 powodu problemów z obciążeniem.
218
219 %package mod_access
220 Summary:        lighttpd module for making access restrictions
221 Summary(pl.UTF-8):      ModuÅ‚ lighttpd ograniczajÄ…cy dostÄ™p
222 Group:          Networking/Daemons/HTTP
223 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccess
224 Requires:       %{name} = %{version}-%{release}
225 Provides:       webserver(access)
226
227 %description mod_access
228 The access module is used to deny access to files with given trailing
229 path names.
230
231 %description mod_access -l pl.UTF-8
232 ModuÅ‚ access sÅ‚uży do ograniczania dostÄ™pu do plików o podanych
233 ścieżkach.
234
235 %package mod_accesslog
236 Summary:        lighttpd module to record access logs
237 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do zapisu logów dostÄ™pu
238 Group:          Networking/Daemons/HTTP
239 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAccessLog
240 Requires:       %{name} = %{version}-%{release}
241
242 %description mod_accesslog
243 CLF like by default, flexible like Apache.
244
245 %description mod_accesslog -l pl.UTF-8
246 DomyÅ›lnie podobny do CLF, elastyczny jak Apache.
247
248 %package mod_alias
249 Summary:        lighttpd module for making URL aliasing
250 Summary(pl.UTF-8):      ModuÅ‚ lighttpd odpowiadajÄ…cy za aliasy URL-i
251 Group:          Networking/Daemons/HTTP
252 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAlias
253 Requires:       %{name} = %{version}-%{release}
254 Provides:       webserver(alias)
255
256 %description mod_alias
257 The alias module is used to specify a special document-root for a
258 given URL-subset.
259
260 %description mod_alias -l pl.UTF-8
261 Modul alias sÅ‚uży do okreÅ›lania specjalnego drzewa (document-roota)
262 dla podanego podzbioru URL-i.
263
264 %package mod_ajp13
265 Summary:        Apache JServ Protocol version 1.3 (AJP13) gateway
266 Group:          Networking/Daemons/HTTP
267 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAJP13
268 Requires:       %{name} = %{version}-%{release}
269
270 %description mod_ajp13
271 lighttpd mod_ajp13 is a gateway implementing Apache JServ Protocol
272 version 1.3 (AJP13).
273
274 %package mod_auth
275 Summary:        lighttpd module for authentication support
276 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do obsÅ‚ugi uwierzytelniania
277 Group:          Networking/Daemons/HTTP
278 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth
279 Requires:       %{name} = %{version}-%{release}
280 Requires:       %{name}-mod_authn_file = %{version}-%{release}
281 %if %{with ldap}
282 Suggests:       %{name}-mod_authn_ldap = %{version}-%{release}
283 %endif
284 %if %{with mysql}
285 Suggests:       %{name}-mod_authn_mysql = %{version}-%{release}
286 %endif
287 Provides:       webserver(auth)
288
289 %description mod_auth
290 lighttpd supportes both authentication method described by RFC 2617:
291 basic and digest.
292
293 %description mod_auth -l pl.UTF-8
294 lighttpd obsÅ‚uguje obie metody uwierzytelniania opisane w RFC 2617:
295 basic i digest.
296
297 %package mod_authn_dbi
298 Summary:        lighttpd authn_dbi module
299 Group:          Networking/Daemons/HTTP
300 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
301 Requires:       %{name} = %{version}-%{release}
302
303 %description mod_authn_dbi
304 lighttpd authn_dbi module.
305
306 %package mod_authn_file
307 Summary:        lighttpd authn_file module
308 Group:          Networking/Daemons/HTTP
309 Requires:       %{name} = %{version}-%{release}
310
311 %description mod_authn_file
312 lighttpd authn_file module.
313
314 %package mod_authn_gssapi
315 Summary:        lighttpd authn_gssapi module
316 Group:          Networking/Daemons/HTTP
317 Requires:       %{name} = %{version}-%{release}
318
319 %description mod_authn_gssapi
320 lighttpd authn_gssapi module.
321
322 %package mod_authn_ldap
323 Summary:        lighttpd authn_ldap module
324 Group:          Networking/Daemons/HTTP
325 Requires:       %{name} = %{version}-%{release}
326
327 %description mod_authn_ldap
328 lighttpd authn_ldap module.
329
330 %package mod_authn_mysql
331 Summary:        lighttpd authn_mysql module
332 Group:          Networking/Daemons/HTTP
333 Requires:       %{name} = %{version}-%{release}
334
335 %description mod_authn_mysql
336 lighttpd authn_mysql module.
337
338 mod_authn_mysql is DEPRECATED; use mod_authn_dbi.
339
340 Note: mod_authn_mysql will be removed from a future lighttpd release.
341
342 %package mod_cgi
343 Summary:        lighttpd module for CGI handling
344 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do obsÅ‚ugi CGI
345 Group:          Networking/Daemons/HTTP
346 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCGI
347 Requires:       %{name} = %{version}-%{release}
348 Requires:       %{name}-mod_alias = %{version}-%{release}
349 Provides:       webserver(cgi)
350
351 %description mod_cgi
352 The cgi module provides a CGI-conforming interface.
353
354 CGI programs allow you to enhance the functionality of the server in a
355 very straight and simple way.
356
357 %description mod_cgi -l pl.UTF-8
358 ModuÅ‚ cgi udostÄ™pnia interfejs zgodny z CGI.
359
360 Programy CGI pozwalajÄ… rozszerzać funkcjonalność serwera w bardzo
361 prosty i naturalny sposób.
362
363 %package mod_cgi_php
364 Summary:        lighttpd module for CGI handling PHP scripts
365 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do obsÅ‚ugi skryptów PHP przez CGI
366 Group:          Networking/Daemons/HTTP
367 Requires:       %{name}-mod_cgi = %{version}-%{release}
368 Requires:       php(cgi)
369 Provides:       webserver(php)
370
371 %description mod_cgi_php
372 The cgi module provides a CGI-conforming interface for PHP scripts.
373
374 CGI programs allow you to enhance the functionality of the server in a
375 very straight and simple way.
376
377 %description mod_cgi_php -l pl.UTF-8
378 ModuÅ‚ cgi udostÄ™pnia interfejs zgodny z CGI do wywoÅ‚ywania skryptów
379 PHP.
380
381 Programy CGI pozwalajÄ… rozszerzać funkcjonalność serwera w bardzo
382 prosty i naturalny sposób.
383
384 %package mod_cml
385 Summary:        lighttpd module for Cache Meta Language
386 Summary(pl.UTF-8):      ModuÅ‚ Cache Meta Language
387 Group:          Networking/Daemons/HTTP
388 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCML
389 Requires:       %{name} = %{version}-%{release}
390
391 %description mod_cml
392 CML is a Meta language to describe the dependencies of a page at one
393 side and building a page from its fragments on the other side using
394 LUA.
395
396 mod_cml is DEPRECATED; use mod_magnet.
397
398 Note: mod_cml will be removed from a future lighttpd release.
399
400 %description mod_cml -l pl.UTF-8
401 CML to metajÄ™zyk sÅ‚użący z jednej strony do opisu zależnoÅ›ci strony i
402 z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
403
404 %package mod_compress
405 Summary:        lighttpd module for output compression
406 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do kompresji wyjÅ›cia
407 Group:          Networking/Daemons/HTTP
408 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
409 Requires:       %{name} = %{version}-%{release}
410
411 %description mod_compress
412 Output compression reduces the network load and can improve the
413 overall throughput of the webserver.
414
415 Only static content is supported up to now.
416
417 The server negotiates automatically which compression method is used.
418 Supported are gzip, deflate, bzip.
419
420 mod_compress is DEPRECATED; use mod_deflate. mod_compress has been
421 subsumed by mod_deflate.
422
423 Note: mod_compress config options may be removed in a future release.
424
425 %description mod_compress -l pl.UTF-8
426 Kompresja wyjÅ›cia zmniejsza obciążenie sieci i może poprawić caÅ‚kowitÄ…
427 przepustowość serwera WWW.
428
429 Jak na razie obsÅ‚ugiwana jest tylko statyczna treść.
430
431 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
432 ObsÅ‚ugiwane sÄ… gzip, deflate i bzip.
433
434 %package mod_deflate
435 Summary:        lighttpd module for output compression using deflate method
436 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do kompresji wyjÅ›cia metodÄ… deflate
437 Group:          Networking/Daemons/HTTP
438 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate
439 Requires:       %{name} = %{version}-%{release}
440 Obsoletes:      lighttpd-mod_compress < 1.4.56
441
442 %define _deflate_encodings deflate gzip %{?with_bzip2:bzip2} %{?with_brotli:brotli}
443 %define deflate_encodings %(echo %_deflate_encodings | sed -e 's/ /, /g')
444
445 %description mod_deflate
446 mod_deflate enables output compression of responses
447 (Content-Encoding).
448
449 Output compression reduces the network load and can improve the
450 overall throughput of the webserver. All major http-clients support
451 compression by announcing it in the Accept-Encoding header. This is
452 used to negotiate the most suitable compression method.
453
454 This module supports %{deflate_encodings} encodings.
455
456 deflate (RFC1950, RFC1951) and gzip (RFC1952) depend on zlib while
457 bzip2 depends on libbzip2. bzip2 is only supported by lynx and some
458 other console text-browsers. brotli (RFC7932) is supported in most
459 popular browsers.
460
461 Since lighttpd 1.4.56, mod_deflate subsumes and replaces mod_compress.
462 mod_deflate can compress static and dynamic responses, while
463 mod_compress could compress only static files.
464
465 %description mod_deflate -l pl.UTF-8
466 mod_deflate potrafi kompresować statyczne i dynamiczne wyjÅ›cie z
467 lighttpd. Nie obsÅ‚uguje cache'owania wyniku kompresji, jak robi to
468 mod_compress.
469
470 %package mod_dirlisting
471 Summary:        lighttpd module for directory listings
472 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do tworzenia listingów katalogów
473 Group:          Networking/Daemons/HTTP
474 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModDirlisting
475 Requires:       %{name} = %{version}-%{release}
476
477 %description mod_dirlisting
478 mod_dirlisting generates HTML based directory listings with full CSS
479 control.
480
481 %description mod_dirlisting -l pl.UTF-8
482 mod_dirlisting tworzy listingi katalogów w formacie HTML z peÅ‚nÄ…
483 kontrolÄ… CSS.
484
485 %package mod_evasive
486 Summary:        lighttpd evasive module
487 Summary(pl.UTF-8):      ModuÅ‚ evasive dla lighttpd
488 Group:          Networking/Daemons/HTTP
489 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEvasive
490 Requires:       %{name} = %{version}-%{release}
491
492 %description mod_evasive
493 lighttpd evasive module.
494
495 %description mod_evasive -l pl.UTF-8
496 ModuÅ‚ evasive dla lighttpd.
497
498 %package mod_evhost
499 Summary:        lighttpd module for enhanced virtual-hosting
500 Summary(pl.UTF-8):      ModuÅ‚ lighttpd rozszerzajÄ…cy obsÅ‚ugÄ™ hostów wirtualnych
501 Group:          Networking/Daemons/HTTP
502 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModEVhost
503 Requires:       %{name} = %{version}-%{release}
504
505 %description mod_evhost
506 mod_evhost builds the document-root based on a pattern which contains
507 wildcards. Those wildcards can represent parts of the submitted
508 hostname.
509
510 %description mod_evhost -l pl.UTF-8
511 mod_evhost tworzy document-root w oparciu o wzorzec zawierajÄ…cy znaki
512 wieloznaczne (wildcards). Znaki te reprezentujÄ… części przekazanej
513 nazwy hosta.
514
515 %package mod_expire
516 Summary:        lighttpd module for controlling the expiration of content in caches
517 Summary(pl.UTF-8):      ModuÅ‚ lighttpd sterujÄ…cy wygasaniem treÅ›ci w cache'ach
518 Group:          Networking/Daemons/HTTP
519 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModExpire
520 Requires:       %{name} = %{version}-%{release}
521 Provides:       webserver(expires)
522
523 %description mod_expire
524 mod_expire controls the setting of the the Expire response header.
525
526 %description mod_expire -l pl.UTF-8
527 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
528
529 %package mod_extforward
530 Summary:        lighttpd module to extract the client's "real" IP from X-Forwarded-For header
531 Summary(pl.UTF-8):      ModuÅ‚ lighttpd wyciÄ…gajÄ…cy "prawdziwy" IP klienta z nagłówka X-Forwarded-For
532 Group:          Networking/Daemons/HTTP
533 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/DocsModExtForward
534 Requires:       %{name} = %{version}-%{release}
535
536 %description mod_extforward
537 This module will extract the client's "real" IP from X-Forwarded-For
538 header which is added by Squid or other proxies. It might be useful
539 for servers behind reverse proxy servers.
540
541 %description mod_extforward -l pl.UTF-8
542 Ten moduÅ‚ wyciÄ…ga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
543 dodawanego przez Squida czy inne proxy. Może być przydatny dla
544 serwerów stojÄ…cych za odwrotnymi serwerami proxy.
545
546 %package mod_fastcgi
547 Summary:        lighttpd module for FastCGI interface
548 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do interfejsu FastCGI
549 Group:          Networking/Daemons/HTTP
550 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFastCGI
551 Requires:       %{name} = %{version}-%{release}
552
553 %description mod_fastcgi
554 The FastCGI interface is the fastest and most secure way to interface
555 external process-handlers like Perl, PHP and your self-written
556 applications.
557
558 %description mod_fastcgi -l pl.UTF-8
559 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
560 komunikacji z zewnÄ™trznymi programami obsÅ‚ugujÄ…cymi procesy, takimi
561 jak Perl, PHP czy wÅ‚asne aplikacje.
562
563 %package mod_flv_streaming
564 Summary:        lighttpd module for flv streaming
565 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do streamingu flv
566 Group:          Networking/Daemons/HTTP
567 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModFLVStreaming
568 Requires:       %{name} = %{version}-%{release}
569
570 %description mod_flv_streaming
571 lighttpd module for flv streaming.
572
573 %description mod_flv_streaming -l pl.UTF-8
574 ModuÅ‚ lighttpd do streamingu flv.
575
576 %package mod_geoip
577 Summary:        lighttpd module for IP Based Geographic Lookups
578 Group:          Networking/Daemons/HTTP
579 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
580 Requires:       %{name} = %{version}-%{release}
581
582 %description mod_geoip
583 mod_geoip is a module for fast ip/location lookups. It uses MaxMind
584 GeoIP / GeoCity databases.
585
586 If the ip was found in the database the module sets the appropriate
587 environment variables to the request, thus making other modules/fcgi
588 be informed.
589
590 mod_geoip is DEPRECATED; use mod_maxminddb.
591
592 Note: mod_geoip will be removed from a future lighttpd release.
593
594 %package mod_h264_streaming
595 Summary:        lighttpd module for h264 streaming
596 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do emisji strumieni h264
597 License:        CC 3.0 BY-NC-SA
598 Group:          Networking/Daemons/HTTP
599 URL:            http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
600 Requires:       %{name} = %{version}-%{release}
601
602 %description mod_h264_streaming
603 A lighttpd plugin for pseudo-streaming QuickTime/MPEG-4 files.
604
605 %description mod_h264_streaming -l pl.UTF-8
606 ModuÅ‚ lighttpd do pseudostreamingu plików QuickTime/MPEG-4.
607
608 %package mod_indexfile
609 Summary:        lighttpd indexfile module
610 Summary(pl.UTF-8):      ModuÅ‚ indexfile dla lighttpd
611 Group:          Networking/Daemons/HTTP
612 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Index-file-names.Details
613 Requires:       %{name} = %{version}-%{release}
614 Provides:       webserver(indexfile)
615
616 %description mod_indexfile
617 indexfile module.
618
619 %description mod_indexfile -l pl.UTF-8
620 ModuÅ‚ indexfile.
621
622 %package mod_magnet
623 Summary:        lighttpd powermagnet module
624 Summary(pl.UTF-8):      ModuÅ‚ powermagnet dla lighttpd
625 Group:          Networking/Daemons/HTTP
626 URL:            http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet
627 Requires:       %{name} = %{version}-%{release}
628
629 %description mod_magnet
630 mod_magnet is a module to control the request handling in lighty.
631
632 %description mod_magnet -l pl.UTF-8
633 mod_magnet to moduÅ‚ sterujÄ…cy obsÅ‚ugÄ… Å¼Ä…daÅ„ w lighty.
634
635 %package mod_maxminddb
636 Summary:        lighttpd module
637 Group:          Networking/Daemons/HTTP
638 #URL:           https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModGeoip
639 Requires:       %{name} = %{version}-%{release}
640
641 %description mod_maxminddb
642
643 %package mod_mysql_vhost
644 Summary:        lighttpd module for MySQL based vhosting
645 Summary(pl.UTF-8):      ModuÅ‚ lighttpd obsÅ‚ugujÄ…cy vhosty oparte na MySQL-u
646 Group:          Networking/Daemons/HTTP
647 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMySQLVhost
648 Requires:       %{name} = %{version}-%{release}
649 Conflicts:      %{name}-mod_simple_vhost
650
651 %description mod_mysql_vhost
652 This module provides virtual hosts (vhosts) based on a MySQL table.
653
654 mod_mysql_vhost is DEPRECATED; use mod_vhostdb_dbi or
655 mod_vhostdb_mysql.
656
657 Note: mod_mysql_vhost will be removed from a future lighttpd release.
658
659 %description mod_mysql_vhost -l pl.UTF-8
660 Ten moduÅ‚ udostÄ™pnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
661
662 %package mod_openssl
663 Summary:        TLS/SSL for lighttpd
664 Group:          Networking/Daemons/HTTP
665 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
666 Requires:       %{name} = %{version}-%{release}
667
668 %description mod_openssl
669 TLS/SSL for lighttpd.
670
671 %package mod_proxy
672 Summary:        lighttpd module for proxying requests
673 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do przekazywania Å¼Ä…daÅ„
674 Group:          Networking/Daemons/HTTP
675 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModProxy
676 Requires:       %{name} = %{version}-%{release}
677
678 %description mod_proxy
679 The proxy module a simplest way to connect lighttpd to Java servers
680 which have a HTTP-interface.
681
682 %description mod_proxy -l pl.UTF-8
683 ModuÅ‚ proxy to najprostszy sposób Å‚Ä…czenia lighttpd z serwerami Javy
684 majÄ…cymi interfejs HTTP.
685
686 %package mod_proxy_core
687 Summary:        lighttpd module for proxying requests
688 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do przekazywania Å¼Ä…daÅ„
689 Group:          Networking/Daemons/HTTP
690 URL:            http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
691 Requires:       %{name} = %{version}-%{release}
692
693 %description mod_proxy_core
694 The proxy module a simplest way to connect lighttpd to java servers
695 which have a HTTP-interface.
696
697 This is the new proxy code.
698
699 %description mod_proxy_core -l pl.UTF-8
700 ModuÅ‚ proxy to najprostszy sposób Å‚Ä…czenia lighttpd z serwerami Javy
701 majÄ…cymi interfejs HTTP.
702
703 Ten pakiet zawiera nowy moduÅ‚ proxy.
704
705 %package mod_redirect
706 Summary:        lighttpd module for URL redirects
707 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do przekierowaÅ„ URL-i
708 Group:          Networking/Daemons/HTTP
709 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect
710 Requires:       %{name} = %{version}-%{release}
711
712 %description mod_redirect
713 With mod_redirect module you can redirect a set of URLs externally.
714
715 %description mod_redirect -l pl.UTF-8
716 Przy użyciu moduÅ‚u mod_redirect można przekierować zbiór URL-i na
717 zewnÄ…trz.
718
719 %package mod_rewrite
720 Summary:        lighttpd module for internal redirects, URL rewrite
721 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do wewnÄ™trznych przekierowaÅ„ i przepisywania URL-i
722 Group:          Networking/Daemons/HTTP
723 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRewrite
724 Requires:       %{name} = %{version}-%{release}
725 Provides:       webserver(rewrite)
726
727 %description mod_rewrite
728 This module allows you rewrite a set of URLs interally in the
729 webserver BEFORE they are handled.
730
731 %description mod_rewrite -l pl.UTF-8
732 Ten moduÅ‚ pozwala na przepisywanie zbioru URL-i wewnÄ™trznie w serwerze
733 WWW _przed_ ich obsÅ‚ugÄ….
734
735 %package mod_rrdtool
736 Summary:        lighttpd module for monitoring traffic and server load
737 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do monitorowania ruchu i obciążenia serwera
738 Group:          Networking/Daemons/HTTP
739 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRRDTool
740 Requires:       %{name} = %{version}-%{release}
741 Requires:       rrdtool
742
743 %description mod_rrdtool
744 RRD is a system to store and display time-series data (i.e. network
745 bandwidth, machine-room temperature, server load average).
746
747 With this module you can monitor the traffic and load on the
748 webserver.
749
750 %description mod_rrdtool -l pl.UTF-8
751 RRD to system przechowywania i wyÅ›wietlania danych zależnych od czasu
752 (np. obciążenia sieci, temperatury w serwerowni, Å›redniego obciążenia
753 serwera).
754
755 Przy użyciu tego moduÅ‚u można monitorować ruch i obciążenie serwera
756 WWW.
757
758 %package mod_scgi
759 Summary:        lighttpd module for SCGI interface
760 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do interfejsu SCGI
761 Group:          Networking/Daemons/HTTP
762 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSCGI
763 Requires:       %{name} = %{version}-%{release}
764
765 %description mod_scgi
766 SCGI is a fast and simplified CGI interface. It is mostly used by
767 Python + WSGI.
768
769 %description mod_scgi -l pl.UTF-8
770 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
771 Pythona z WSGI.
772
773 %package mod_secdownload
774 Summary:        lighttpd module for secure and fast downloading
775 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do bezpiecznego i szybkiego Å›ciÄ…gania danych
776 Group:          Networking/Daemons/HTTP
777 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSecDownload
778 Requires:       %{name} = %{version}-%{release}
779
780 %description mod_secdownload
781 With this module you can easily achieve authenticated file requests
782 and a countermeasure against deep-linking.
783
784 %description mod_secdownload -l pl.UTF-8
785 Przy użyciu tego moduÅ‚u można Å‚atwo umożliwić Å›ciÄ…ganie plików z
786 uwierzytelnieniem i zapobiec używaniu bezpoÅ›rednich odnoÅ›ników.
787
788 %package mod_setenv
789 Summary:        lighttpd module for setting conditional request headers
790 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do ustawiania warunkowych nagłówków Å¼Ä…daÅ„
791 Group:          Networking/Daemons/HTTP
792 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSetEnv
793 Requires:       %{name} = %{version}-%{release}
794 Provides:       webserver(setenv)
795
796 %description mod_setenv
797 mod_setenv is used to add request headers.
798
799 %description mod_setenv -l pl.UTF-8
800 mod_setenv sÅ‚uży do dodawania nagłówków Å¼Ä…daÅ„.
801
802 %package mod_simple_vhost
803 Summary:        lighttpd module for simple virtual-hosting
804 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do prostych hostów wirtualnych
805 Group:          Networking/Daemons/HTTP
806 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSimpleVhost
807 Requires:       %{name} = %{version}-%{release}
808 Conflicts:      %{name}-mod_mysql_vhost
809
810 %description mod_simple_vhost
811 lighttpd module for simple virtual-hosting.
812
813 %description mod_simple_vhost -l pl.UTF-8
814 ModuÅ‚ lighttpd do prostych hostów wirtualnych.
815
816 %package mod_sockproxy
817 Summary:        Transparent socket proxy
818 Group:          Networking/Daemons/HTTP
819 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSockProxy
820 Requires:       %{name} = %{version}-%{release}
821
822 %description mod_sockproxy
823 mod_sockproxy is a transparent socket proxy. For a given $SERVER["socket"]
824 config, connections will be forwarded to backend(s) without any
825 interpretation of the protocol.
826
827 %package mod_ssi
828 Summary:        lighttpd module for server-side includes
829 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do SSI (server-side includes)
830 Group:          Networking/Daemons/HTTP
831 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModSSI
832 Requires:       %{name} = %{version}-%{release}
833
834 %description mod_ssi
835 The module for server-side includes provides a compatability layer for
836 NSCA/Apache SSI.
837
838 %description mod_ssi -l pl.UTF-8
839 ModuÅ‚ server-side includes udostÄ™pnia warstwÄ™ kompatybilnoÅ›ci z SSI
840 znanym z NSCA/Apache'a.
841
842 %package mod_staticfile
843 Summary:        lighttpd module for static file serving
844 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do serwowania statycznych plików
845 Group:          Networking/Daemons/HTTP
846 Requires:       %{name} = %{version}-%{release}
847
848 %description mod_staticfile
849 lighttpd module for static file serving.
850
851 %description mod_staticfile -l pl.UTF-8
852 ModuÅ‚ lighttpd do serwowania statycznych plików.
853
854 %package mod_status
855 Summary:        lighttpd module for displaying server status
856 Summary(pl.UTF-8):      ModuÅ‚ lighttpd do wyÅ›wietlania stanu serwera
857 Group:          Networking/Daemons/HTTP
858 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModStatus
859 Requires:       %{name} = %{version}-%{release}
860
861 %description mod_status
862 mod_status displays the server's status and configuration.
863
864 %description mod_status -l pl.UTF-8
865 mod_status wyÅ›wietla stan i konfiguracjÄ™ serwera.
866
867 %package mod_trigger_b4_dl
868 Summary:        Trigger before Download
869 Summary(pl.UTF-8):      Wyzwalacz przed Å›ciÄ…ganiem
870 Group:          Networking/Daemons/HTTP
871 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModTriggerBeforeDownload
872 Requires:       %{name} = %{version}-%{release}
873
874 %description mod_trigger_b4_dl
875 Another anti hot-linking module.
876
877 %description mod_trigger_b4_dl -l pl.UTF-8
878 Jeszcze jeden moduÅ‚ blokujÄ…cy bezpoÅ›rednie linkowanie.
879
880 %package mod_uploadprogress
881 Summary:        lighttpd module for upload progress
882 Group:          Networking/Daemons/HTTP
883 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUploadProgress
884 Requires:       %{name} = %{version}-%{release}
885
886 %description mod_uploadprogress
887 This module can be used to track the progress of a current upload.
888
889 %package mod_userdir
890 Summary:        lighttpd module for user homedirs
891 Summary(pl.UTF-8):      ModuÅ‚ lighttpd obsÅ‚ugujÄ…cy katalogi domowe użytkowników
892 Group:          Networking/Daemons/HTTP
893 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserDir
894 Requires:       %{name} = %{version}-%{release}
895
896 %description mod_userdir
897 The userdir module provides a simple way to link user-based
898 directories into the global namespace of the webserver.
899
900 %description mod_userdir -l pl.UTF-8
901 ModuÅ‚ userdir udostÄ™pnia prosty sposób wÅ‚Ä…czenia katalogów
902 użytkowników do globalnej przestrzeni nazw serwera WWW.
903
904 %package mod_usertrack
905 Summary:        lighttpd usertrack module
906 Summary(pl.UTF-8):      ModuÅ‚ usertrack dla lighttpd
907 Group:          Networking/Daemons/HTTP
908 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModUserTrack
909 Requires:       %{name} = %{version}-%{release}
910
911 %description mod_usertrack
912 lighttpd usertrack module.
913
914 %description mod_usertrack -l pl.UTF-8
915 ModuÅ‚ usertrack dla lighttpd.
916
917 %package mod_vhostdb
918 Summary:        Virtual host database to provide vhost docroot
919 Group:          Networking/Daemons/HTTP
920 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModVhostDB
921 Requires:       %{name} = %{version}-%{release}
922
923 %description mod_vhostdb
924 Virtual host database to provide vhost docroot.
925
926 %package mod_webdav
927 Summary:        WebDAV module for lighttpd
928 Summary(pl.UTF-8):      ModuÅ‚ WebDAV dla libghttpd
929 Group:          Networking/Daemons/HTTP
930 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModWebDAV
931 Requires:       %{name} = %{version}-%{release}
932
933 %description mod_webdav
934 The WebDAV module is a very minimalistic implementation of RFC 2518.
935 Minimalistic means that not all operations are implementated yet.
936
937 So far we have
938 - PROPFIND
939 - OPTIONS
940 - MKCOL
941 - DELETE
942 - PUT
943 - LOCK (experimental)
944
945 and the usual GET, POST, HEAD from HTTP/1.1.
946
947 So far mounting a webdav resource into Windows XP works and the basic
948 litmus tests are passed.
949
950 %description mod_webdav -l pl.UTF-8
951 ModuÅ‚ WebDAV to bardzo minimalistyczna implementacja RFC 2518.
952 Minimalistyczna oznacza, Å¼e jeszcze nie wszystkie operacje sÄ…
953 zaimplementowane. Jak na razie sÄ…:
954 - PROPFIND
955 - OPTIONS
956 - MKCOL
957 - DELETE
958 - PUT
959 - LOCK (experimental)
960
961 oraz zwykÅ‚e GET, POST, HEAD z HTTP/1.1.
962
963 Jak na razie montowanie zasobu webdav pod Windows XP dziaÅ‚a i
964 podstawowe testy lakmusowe przechodzÄ….
965
966 %package mod_wstunnel
967 Summary:        WebSocket tunnel endpoint
968 Group:          Networking/Daemons/HTTP
969 URL:            https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWSTunnel
970 Requires:       %{name} = %{version}-%{release}
971
972 %description mod_wstunnel
973 WebSocket tunnel endpoint. This module terminates the websocket tunnel
974 from a client. This module then passes data (without websocket frames)
975 to a backend and encodes responses from backend in websocket frames
976 before sending responses to client.
977
978 %package php-spawned
979 Summary:        PHP support via FastCGI, spawned by lighttpd
980 Summary(pl.UTF-8):      ObsÅ‚uga PHP przez FastCGI, uruchamiane przez lighttpd
981 Group:          Networking/Daemons/HTTP
982 Requires:       %{name} = %{version}-%{release}
983 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
984 Requires:       php(fcgi)
985 Provides:       webserver(php)
986 Obsoletes:      lighttpd-php-external
987
988 %description php-spawned
989 PHP support via FastCGI, spawned by lighttpd.
990
991 %description php-spawned -l pl.UTF-8
992 ObsÅ‚uga PHP przez FastCGI, uruchamiane przez lighttpd.
993
994 %package php-external
995 Summary:        PHP support via FastCGI, spawning controlled externally
996 Summary(pl.UTF-8):      ObsÅ‚uga PHP przez FastCGI, uruchamianie sterowane zewnÄ™trznie
997 Group:          Networking/Daemons/HTTP
998 Requires:       %{name} = %{version}-%{release}
999 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
1000 Suggests:       php(fpm)
1001 Suggests:       php-fcgi-init
1002 Obsoletes:      lighttpd-php-spawned
1003
1004 %description php-external
1005 PHP support via FastCGI, spawning controlled externally.
1006
1007 %description php-external -l pl.UTF-8
1008 ObsÅ‚uga PHP przez FastCGI, uruchamianie sterowane zewnÄ™trznie.
1009
1010 %package ssl
1011 Summary:        lighttpd support for SSLv2 and SSLv3
1012 Summary(pl.UTF-8):      ObsÅ‚uga SSLv2 i SSLv3 dla lighttpd
1013 Group:          Networking/Daemons/HTTP
1014 URL:            http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
1015 Requires:       %{name} = %{version}-%{release}
1016 Requires:       %{name}-mod_openssl = %{version}-%{release}
1017 Suggests:       ca-certificates
1018
1019 %description ssl
1020 lighttpd support for SSLv2 and SSLv3.
1021
1022 %description ssl -l pl.UTF-8
1023 ObsÅ‚uga SSLv2 i SSLv3 dla lighttpd.
1024
1025 %package -n monit-rc-lighttpd
1026 Summary:        lighttpd support for monit
1027 Summary(pl.UTF-8):      Wsparcie lighttpd dla monit
1028 Group:          Applications/System
1029 Requires:       %{name} = %{version}-%{release}
1030 Requires:       monit
1031
1032 %description -n monit-rc-lighttpd
1033 monitrc file for monitoring lighttpd web server.
1034
1035 %description -n monit-rc-lighttpd -l pl.UTF-8
1036 Plik monitrc do monitorowania serwera www lighttpd.
1037
1038 %prep
1039 %setup -q
1040 #%patch100 -p1
1041 #%patch1 -p1 UPDATE (and submit upstream!) if you need this
1042 %{?with_h264_streaming:%patch2 -p1}
1043 %patch3 -p1
1044 %patch4 -p1
1045
1046 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
1047
1048 # build mime.types.conf
1049 sh %{SOURCE6} /etc/mime.types
1050 cp -p %{SOURCE14} PLD-TODO
1051
1052 %if "%{pld_release}" == "ac"
1053 %{__sed} -i -e 's/ serial_tests//' configure.ac
1054 %{__sed} -i -e 's/dist-xz/dist-bzip2/' configure.ac
1055 %endif
1056
1057 %build
1058 ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
1059 if [ "$ver" != "%{version}" ]; then
1060         : configure.ac specifies wrong version
1061         exit 1
1062 fi
1063
1064 %{__aclocal} -I m4 -I scripts/m4
1065 %{__libtoolize}
1066 %{__autoconf}
1067 %{__autoheader}
1068 %{__automake}
1069
1070 %configure \
1071         %{!?with_ipv6:--disable-ipv6} \
1072         %{!?with_largefile:--disable-lfs} \
1073         %{?with_brotli:--with-brotli} \
1074         %{?with_bzip2:--with-bzip2} \
1075         %{?with_dbi:--with-dbi} \
1076         %{?with_gamin:--with-gamin} \
1077         %{?with_geoip:--with-geoip} \
1078         %{?with_krb5:--with-krb5} \
1079         %{?with_ldap:--with-ldap} \
1080         %{?with_lua:--with-lua=lua51} \
1081         %{?with_maxminddb:--with-maxminddb} \
1082         %{?with_mysql:--with-mysql} \
1083         %{?with_pgsql:--with-pgsql} \
1084         %{?with_ssl:--with-openssl} \
1085         %{?with_storage_gdbm:--with-gdbm} \
1086         %{?with_storage_memcached:--with-memcached} \
1087         %{?with_valgrind:--with-valgrind} \
1088         %{?with_webdav_locks:--with-webdav-locks} \
1089         %{?with_webdav_props:--with-webdav-props} \
1090         %{?with_xattr:--with-attr} \
1091         --libdir=%{pkglibdir}
1092
1093 # -j1 as src/mod_ssi_exprparser.h regeneration deps are broken
1094 %{__make} -j1
1095
1096 %if %{with tests}
1097 export LIGHTTPD_TEST_PORT=$((2048 + RANDOM % 10))
1098 %{__make} check
1099 %endif
1100
1101 %install
1102 rm -rf $RPM_BUILD_ROOT
1103 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
1104         $RPM_BUILD_ROOT%{_sysconfdir}/{{conf,vhosts,webapps}.d,ssl} \
1105         $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
1106         $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
1107         $RPM_BUILD_ROOT/var/lib/lighttpd \
1108         $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}}
1109
1110 %{__make} install \
1111         DESTDIR=$RPM_BUILD_ROOT
1112
1113 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
1114 cp -p %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
1115 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
1116 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
1117 cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
1118 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
1119 cp -p doc/systemd/lighttpd.service $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
1120
1121 rm -f $RPM_BUILD_ROOT%{pkglibdir}/*.la
1122
1123 # Install lighttpd images
1124 cp -p %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
1125 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
1126 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
1127
1128 # NOTE: the order of the modules is somewhat important as the modules are
1129 # handled in the way they are specified. mod_rewrite should always be the first
1130 # module, mod_accesslog always the last.
1131
1132 conf_available=$RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1133 conf_enabled=../
1134
1135 cp -p %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
1136 cp -p %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
1137
1138 cp -p %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
1139 cp -p %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
1140 cp -p %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
1141 cp -p %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
1142 cp -p %{SOURCE137} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi_php.conf
1143 cp -p %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
1144 cp -p %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
1145 cp -p %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
1146 cp -p %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
1147 cp -p %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
1148 cp -p %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
1149 cp -p %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
1150 %if %{with geoip}
1151 cp -p %{SOURCE140} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_geoip.conf
1152 %endif
1153 %if %{with maxminddb}
1154 cp -p %{SOURCE147} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_maxminddb.conf
1155 %endif
1156 %if %{with ldap}
1157 cp -p %{SOURCE141} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_ldap.conf
1158 %endif
1159 %if %{with ldap}
1160 cp -p %{SOURCE145} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_mysql.conf
1161 %endif
1162 %if %{with h264_streaming}
1163 cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
1164 %endif
1165 cp -p %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
1166 cp -p %{SOURCE142} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_openssl.conf
1167 cp -p %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
1168 cp -p %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
1169 cp -p %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
1170 cp -p %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
1171 cp -p %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
1172 cp -p %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
1173 cp -p %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
1174 cp -p %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
1175 cp -p %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
1176 %if %{with mod_trigger_b4_dl}
1177 cp -p %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
1178 %endif
1179 cp -p %{SOURCE139} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_uploadprogress.conf
1180 cp -p %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
1181 cp -p %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
1182 cp -p %{SOURCE143} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_vhostdb.conf
1183 cp -p %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
1184 cp -p %{SOURCE144} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_wstunnel.conf
1185 %if %{with mysql}
1186 cp -p %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
1187 %endif
1188 cp -p %{SOURCE146} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_sockproxy.conf
1189
1190 cp -p %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_magnet.conf
1191 cp -p %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/55_mod_expire.conf
1192
1193 cp -p %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
1194 cp -p %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/91_mod_extforward.conf
1195
1196 cp -p %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
1197 cp -p %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
1198 cp -p %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
1199
1200 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
1201
1202 install -d $RPM_BUILD_ROOT/etc/tmpwatch
1203
1204 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error,breakage}.log
1205
1206 %clean
1207 rm -rf $RPM_BUILD_ROOT
1208
1209 %pre
1210 %groupadd -g 109 lighttpd
1211 %groupadd -g 51 http
1212 %useradd -u 116 -d %{_lighttpddir} -c "Lighttpd User" -g lighttpd lighttpd
1213 %addusertogroup lighttpd http
1214
1215 %post
1216 for a in access.log error.log breakage.log; do
1217         if [ ! -f /var/log/%{name}/$a ]; then
1218                 touch /var/log/%{name}/$a
1219                 chown lighttpd:lighttpd /var/log/%{name}/$a
1220                 chmod 644 /var/log/%{name}/$a
1221         fi
1222 done
1223 /sbin/chkconfig --add %{name}
1224 %systemd_post %{name}.service
1225
1226 %preun
1227 if [ "$1" = "0" ]; then
1228         %service %{name} stop
1229         /sbin/chkconfig --del %{name}
1230 fi
1231 %systemd_preun %{name}.service
1232
1233 %postun
1234 if [ "$1" = "0" ]; then
1235         %userremove lighttpd
1236         %groupremove lighttpd
1237         %groupremove http
1238 fi
1239 %systemd_reload
1240
1241 %posttrans
1242 # minimizing lighttpd restarts logics. we restart webserver:
1243 #
1244 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1245 # 2. first install of module (post: $1 = 1)
1246 # 2. uninstall of module (postun: $1 = 0)
1247 #
1248 # the strict internal deps between lighttpd modules and
1249 # main package are very important for all this to work.
1250 %service %{name} restart "Lighttpd webserver"
1251 exit 0
1252
1253 # macro called at module post scriptlet
1254 %define module_post \
1255 if [ "$1" = "1" ]; then \
1256         %service -q lighttpd restart \
1257 fi
1258
1259 # macro called at module postun scriptlet
1260 %define module_postun \
1261 if [ "$1" = "0" ]; then \
1262         %service -q lighttpd restart \
1263 fi
1264
1265 # it's sooo annoying to write them
1266 %define module_scripts() \
1267 %post %1 \
1268 %module_post \
1269 \
1270 %postun %1 \
1271 %module_postun
1272
1273 %module_scripts mod_access
1274 %module_scripts mod_accesslog
1275 %module_scripts mod_ajp13
1276 %module_scripts mod_alias
1277 %module_scripts mod_auth
1278 %module_scripts mod_authn_dbi
1279 %module_scripts mod_authn_file
1280 %module_scripts mod_authn_gssapi
1281 %module_scripts mod_authn_ldap
1282 %module_scripts mod_authn_mysql
1283 %module_scripts mod_cgi
1284 %module_scripts mod_cml
1285 %module_scripts mod_deflate
1286 %module_scripts mod_dirlisting
1287 %module_scripts mod_evasive
1288 %module_scripts mod_evhost
1289 %module_scripts mod_expire
1290 %module_scripts mod_extforward
1291 %module_scripts mod_fastcgi
1292 %module_scripts mod_flv_streaming
1293 %module_scripts mod_geoip
1294 %module_scripts mod_h264_streaming
1295 %module_scripts mod_indexfile
1296 %module_scripts mod_magnet
1297 %module_scripts mod_maxminddb
1298 %module_scripts mod_mysql_vhost
1299 %module_scripts mod_openssl
1300 %module_scripts mod_proxy
1301 %module_scripts mod_redirect
1302 %module_scripts mod_rewrite
1303 %module_scripts mod_scgi
1304 %module_scripts mod_secdownload
1305 %module_scripts mod_setenv
1306 %module_scripts mod_simple_vhost
1307 %module_scripts mod_sockproxy
1308 %module_scripts mod_ssi
1309 %module_scripts mod_staticfile
1310 %module_scripts mod_status
1311 %module_scripts mod_trigger_b4_dl
1312 %module_scripts mod_uploadprogress
1313 %module_scripts mod_userdir
1314 %module_scripts mod_usertrack
1315 %module_scripts mod_vhostdb
1316 %module_scripts mod_webdav
1317 %module_scripts mod_wstunnel
1318
1319 %module_scripts php-spawned
1320 %module_scripts php-external
1321
1322 %post mod_rrdtool
1323 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
1324         touch /var/lib/lighttpd/lighttpd.rrd
1325         chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
1326         chmod 640 /var/lib/lighttpd/lighttpd.rrd
1327 fi
1328 %module_post
1329
1330 %postun mod_rrdtool
1331 %module_postun
1332
1333
1334 %triggerpostun -- %{name} < 1.4.18-10.1
1335 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
1336         cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
1337         mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
1338 fi
1339
1340 %files
1341 %defattr(644,root,root,755)
1342 %doc NEWS README PLD-TODO
1343 %dir %attr(751,root,lighttpd) %{_sysconfdir}
1344 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
1345 %dir %attr(750,root,root) %{_sysconfdir}/vhosts.d
1346 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
1347 %dir %attr(700,root,root) %{_sysconfdir}/ssl
1348 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
1349 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1350 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1351
1352 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1353 %attr(750,root,root) %dir /var/log/archive/%{name}
1354 %dir %attr(751,root,root) /var/log/%{name}
1355 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/access.log
1356 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/error.log
1357 %attr(644,lighttpd,lighttpd) %ghost /var/log/%{name}/breakage.log
1358 %dir %attr(770,root,lighttpd) /var/run/%{name}
1359 %{systemdtmpfilesdir}/%{name}.conf
1360 %{systemdunitdir}/%{name}.service
1361 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1362 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1363 %attr(755,root,root) %{_sbindir}/lighttpd
1364 %attr(755,root,root) %{_sbindir}/lighttpd-angel
1365 %dir %{pkglibdir}
1366 %{_mandir}/man8/lighttpd.8*
1367 %{_mandir}/man8/lighttpd-angel.8*
1368 %dir %{_lighttpddir}
1369 %dir %{_lighttpddir}/cgi-bin
1370 %dir %{_lighttpddir}/html
1371 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/index.html
1372 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.png
1373 %config(missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*.ico
1374
1375 %dir %{_datadir}/lighttpd
1376 %dir %{_datadir}/lighttpd/errordocs
1377
1378 # rrdtool database is stored there
1379 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1380
1381 %files mod_access
1382 %defattr(644,root,root,755)
1383 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1384 %attr(755,root,root) %{pkglibdir}/mod_access.so
1385
1386 %files mod_accesslog
1387 %defattr(644,root,root,755)
1388 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1389 %attr(755,root,root) %{pkglibdir}/mod_accesslog.so
1390
1391 %files mod_alias
1392 %defattr(644,root,root,755)
1393 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1394 %attr(755,root,root) %{pkglibdir}/mod_alias.so
1395
1396 %files mod_ajp13
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{pkglibdir}/mod_ajp13.so
1399
1400 %files mod_auth
1401 %defattr(644,root,root,755)
1402 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1403 %attr(755,root,root) %{pkglibdir}/mod_auth.so
1404
1405 %if %{with dbi}
1406 %files mod_authn_dbi
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{pkglibdir}/mod_authn_dbi.so
1409 %endif
1410
1411 %files mod_authn_file
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{pkglibdir}/mod_authn_file.so
1414
1415 %if %{with krb5}
1416 %files mod_authn_gssapi
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{pkglibdir}/mod_authn_gssapi.so
1419 %endif
1420
1421 %if %{with ldap}
1422 %files mod_authn_ldap
1423 %defattr(644,root,root,755)
1424 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_ldap.conf
1425 %attr(755,root,root) %{pkglibdir}/mod_authn_ldap.so
1426 %endif
1427
1428 %if %{with mysql}
1429 %files mod_authn_mysql
1430 %defattr(644,root,root,755)
1431 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_mysql.conf
1432 %attr(755,root,root) %{pkglibdir}/mod_authn_mysql.so
1433 %endif
1434
1435 %files mod_cgi
1436 %defattr(644,root,root,755)
1437 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1438 %attr(755,root,root) %{pkglibdir}/mod_cgi.so
1439
1440 %files mod_cgi_php
1441 %defattr(644,root,root,755)
1442 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi_php.conf
1443
1444 %files mod_cml
1445 %defattr(644,root,root,755)
1446 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
1447 %attr(755,root,root) %{pkglibdir}/mod_cml.so
1448
1449 %files mod_deflate
1450 %defattr(644,root,root,755)
1451 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1452 %attr(755,root,root) %{pkglibdir}/mod_deflate.so
1453
1454 %files mod_dirlisting
1455 %defattr(644,root,root,755)
1456 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1457 %attr(755,root,root) %{pkglibdir}/mod_dirlisting.so
1458
1459 %files mod_evasive
1460 %defattr(644,root,root,755)
1461 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1462 %attr(755,root,root) %{pkglibdir}/mod_evasive.so
1463
1464 %files mod_evhost
1465 %defattr(644,root,root,755)
1466 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1467 %attr(755,root,root) %{pkglibdir}/mod_evhost.so
1468
1469 %files mod_expire
1470 %defattr(644,root,root,755)
1471 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1472 %attr(755,root,root) %{pkglibdir}/mod_expire.so
1473
1474 %files mod_extforward
1475 %defattr(644,root,root,755)
1476 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1477 %attr(755,root,root) %{pkglibdir}/mod_extforward.so
1478
1479 %files mod_fastcgi
1480 %defattr(644,root,root,755)
1481 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1482 %attr(755,root,root) %{pkglibdir}/mod_fastcgi.so
1483
1484 %files mod_flv_streaming
1485 %defattr(644,root,root,755)
1486 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
1487 %attr(755,root,root) %{pkglibdir}/mod_flv_streaming.so
1488
1489 %if %{with geoip}
1490 %files mod_geoip
1491 %defattr(644,root,root,755)
1492 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_geoip.conf
1493 %attr(755,root,root) %{pkglibdir}/mod_geoip.so
1494 %endif
1495
1496 %if %{with h264_streaming}
1497 %files mod_h264_streaming
1498 %defattr(644,root,root,755)
1499 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf
1500 %attr(755,root,root) %{pkglibdir}/mod_h264_streaming.so
1501 %endif
1502
1503 %files mod_indexfile
1504 %defattr(644,root,root,755)
1505 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1506 %attr(755,root,root) %{pkglibdir}/mod_indexfile.so
1507
1508 %files mod_magnet
1509 %defattr(644,root,root,755)
1510 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1511 %attr(755,root,root) %{pkglibdir}/mod_magnet.so
1512
1513 %if %{with maxminddb}
1514 %files mod_maxminddb
1515 %defattr(644,root,root,755)
1516 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_maxminddb.conf
1517 %attr(755,root,root) %{pkglibdir}/mod_maxminddb.so
1518 %endif
1519
1520 %if %{with mysql}
1521 %files mod_mysql_vhost
1522 %defattr(644,root,root,755)
1523 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
1524 %attr(755,root,root) %{pkglibdir}/mod_mysql_vhost.so
1525 %endif
1526
1527 %files mod_proxy
1528 %defattr(644,root,root,755)
1529 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1530 %attr(755,root,root) %{pkglibdir}/mod_proxy.so
1531
1532 %files mod_openssl
1533 %defattr(644,root,root,755)
1534 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_openssl.conf
1535 %attr(755,root,root) %{pkglibdir}/mod_openssl.so
1536
1537 %files mod_redirect
1538 %defattr(644,root,root,755)
1539 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1540 %attr(755,root,root) %{pkglibdir}/mod_redirect.so
1541
1542 %files mod_rewrite
1543 %defattr(644,root,root,755)
1544 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1545 %attr(755,root,root) %{pkglibdir}/mod_rewrite.so
1546
1547 %files mod_rrdtool
1548 %defattr(644,root,root,755)
1549 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1550 %attr(755,root,root) %{pkglibdir}/mod_rrdtool.so
1551 %attr(640,lighttpd,stats) %ghost /var/lib/lighttpd/lighttpd.rrd
1552
1553 %files mod_scgi
1554 %defattr(644,root,root,755)
1555 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1556 %attr(755,root,root) %{pkglibdir}/mod_scgi.so
1557
1558 %files mod_secdownload
1559 %defattr(644,root,root,755)
1560 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1561 %attr(755,root,root) %{pkglibdir}/mod_secdownload.so
1562
1563 %files mod_setenv
1564 %defattr(644,root,root,755)
1565 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1566 %attr(755,root,root) %{pkglibdir}/mod_setenv.so
1567
1568 %files mod_simple_vhost
1569 %defattr(644,root,root,755)
1570 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1571 %attr(755,root,root) %{pkglibdir}/mod_simple_vhost.so
1572
1573 %files mod_sockproxy
1574 %defattr(644,root,root,755)
1575 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_sockproxy.conf
1576 %attr(755,root,root) %{pkglibdir}/mod_sockproxy.so
1577
1578 %files mod_ssi
1579 %defattr(644,root,root,755)
1580 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1581 %attr(755,root,root) %{pkglibdir}/mod_ssi.so
1582
1583 %files mod_staticfile
1584 %defattr(644,root,root,755)
1585 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1586 %attr(755,root,root) %{pkglibdir}/mod_staticfile.so
1587
1588 %files mod_status
1589 %defattr(644,root,root,755)
1590 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1591 %attr(755,root,root) %{pkglibdir}/mod_status.so
1592
1593 %if %{with mod_trigger_b4_dl}
1594 %files mod_trigger_b4_dl
1595 %defattr(644,root,root,755)
1596 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
1597 %attr(755,root,root) %{pkglibdir}/mod_trigger_b4_dl.so
1598 %endif
1599
1600 %files mod_uploadprogress
1601 %defattr(644,root,root,755)
1602 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_uploadprogress.conf
1603 %attr(755,root,root) %{pkglibdir}/mod_uploadprogress.so
1604
1605 %files mod_userdir
1606 %defattr(644,root,root,755)
1607 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1608 %attr(755,root,root) %{pkglibdir}/mod_userdir.so
1609
1610 %files mod_usertrack
1611 %defattr(644,root,root,755)
1612 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1613 %attr(755,root,root) %{pkglibdir}/mod_usertrack.so
1614
1615 %files mod_vhostdb
1616 %defattr(644,root,root,755)
1617 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_vhostdb.conf
1618 %attr(755,root,root) %{pkglibdir}/mod_vhostdb.so
1619 # TODO: subpackages
1620 %if %{with dbi}
1621 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_dbi.so
1622 %endif
1623 %if %{with ldap}
1624 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_ldap.so
1625 %endif
1626 %if %{with mysql}
1627 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_mysql.so
1628 %endif
1629 %if %{with pgsql}
1630 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_pgsql.so
1631 %endif
1632
1633 %files mod_webdav
1634 %defattr(644,root,root,755)
1635 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1636 %attr(755,root,root) %{pkglibdir}/mod_webdav.so
1637
1638 %files mod_wstunnel
1639 %defattr(644,root,root,755)
1640 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_wstunnel.conf
1641 %attr(755,root,root) %{pkglibdir}/mod_wstunnel.so
1642
1643 %files php-spawned
1644 %defattr(644,root,root,755)
1645 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1646
1647 %files php-external
1648 %defattr(644,root,root,755)
1649 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1650
1651 %files ssl
1652 %defattr(644,root,root,755)
1653 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1654
1655 %files -n monit-rc-lighttpd
1656 %defattr(644,root,root,755)
1657 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
This page took 0.18453 seconds and 3 git commands to generate.