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