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