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