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