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