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