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