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