]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd.spec
- use tar.bz2
[packages/lighttpd.git] / lighttpd.spec
1 # TODO:
2 # - test ldap and mysql (failed at this time)
3 # - mysql issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=76866
4 # - fam over gamin is possible, just configure doesn't check other than gamin
5 # - feature stat-cache-fam (doesn't work)
6 # - lighttpd writes early startup messages to stderr, and if started from
7 #   rc-scripts the stderr is closed which causes lighttpd to abort():
8 #   2006-07-20 21:05:52: (server.c.1233) WARNING: unknown config-key: url.rewrite-final (ignored)
9 #
10 # NOTES:
11 # - disable largefile, if you have 2.4 kernel to get sendfile() support, and don't need > 2GB file requests,
12 #   see http://article.gmane.org/gmane.comp.web.lighttpd:722
13 #
14 # Conditional build for lighttpd:
15 %bcond_without  xattr           # support of extended attributes
16 %bcond_without  ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
17 %bcond_without  largefile       # largefile support (see notes above)
18 %bcond_without  ssl             # ssl support
19 %bcond_without  mysql           # mysql support in mod_mysql_vhost
20 %bcond_with     ldap            # ldap support in mod_auth
21 %bcond_without  lua             # LUA support in mod_cml (needs LUA >= 5.1)
22 %bcond_with     memcache        # memcached support in mod_cml / mod_trigger_b4_dl
23 %bcond_with     gamin           # gamin for reducing number of stat() calls.
24                                 # NOTE: must be enabled in config: server.stat-cache-engine = "fam"
25 %bcond_with     gdbm            # gdbm in 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     deflate         # build deflate module (needs patch update with current svn)
30
31 # SVN snapshot
32 #define         _svn    1277
33 # Prerelease
34 #define _snap r1332
35
36 %if %{with webdav_locks}
37 %define         webdav_progs    1
38 %endif
39
40 %define         _rel 1
41 Summary:        Fast and light HTTP server
42 Summary(pl.UTF-8):      Szybki i lekki serwer HTTP
43 Name:           lighttpd
44 Version:        1.4.15
45 Release:        %{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}%{?_svn:.%{_svn}}
46 License:        BSD
47 Group:          Networking/Daemons
48 Source0:        http://www.lighttpd.net/download/%{name}-%{version}.tar.bz2
49 # Source0-md5:  b994b8c359da578dec073cae52c4924f
50 Source1:        %{name}.init
51 Source2:        %{name}.conf
52 Source3:        %{name}.user
53 Source4:        %{name}.logrotate
54 Source5:        %{name}.sysconfig
55 Source6:        %{name}-mime.types.sh
56 Source7:        http://www.lighttpd.net/favicon.ico
57 # Source7-md5:  a358994becabd4060393a5454bde505d
58 Source8:        http://www.lighttpd.net/light_button.png
59 # Source8-md5:  02330e2313fadc29144edfd6000879f8
60 Source9:        http://www.lighttpd.net/light_logo.png
61 # Source9-md5:  ac20784510e420d5cbe5fc1cdb53d7a7
62 Source10:       http://gdl.hopto.org/~spider/pldstats/gfx/pld1.png
63 # Source10-md5: 486ecec3f6f4fe7f9bf7cee757b864f4
64 Source11:       %{name}-pld.html
65 Source12:       %{name}.monitrc
66 Source100:      %{name}-mod_access.conf
67 Source101:      %{name}-mod_accesslog.conf
68 Source102:      %{name}-mod_alias.conf
69 Source103:      %{name}-mod_auth.conf
70 Source104:      %{name}-mod_cgi.conf
71 Source105:      %{name}-mod_cml.conf
72 Source106:      %{name}-mod_compress.conf
73 Source107:      %{name}-mod_deflate.conf
74 Source108:      %{name}-mod_dirlisting.conf
75 Source109:      %{name}-mod_evasive.conf
76 Source110:      %{name}-mod_evhost.conf
77 Source111:      %{name}-mod_expire.conf
78 Source112:      %{name}-mod_fastcgi.conf
79 Source113:      %{name}-mod_flv_streaming.conf
80 Source114:      %{name}-mod_indexfile.conf
81 Source115:      %{name}-mod_proxy.conf
82 Source116:      %{name}-mod_redirect.conf
83 Source117:      %{name}-mod_rewrite.conf
84 Source118:      %{name}-mod_rrdtool.conf
85 Source119:      %{name}-mod_scgi.conf
86 Source120:      %{name}-mod_secdownload.conf
87 Source121:      %{name}-mod_setenv.conf
88 Source122:      %{name}-mod_simple_vhost.conf
89 Source123:      %{name}-mod_ssi.conf
90 Source124:      %{name}-mod_staticfile.conf
91 Source125:      %{name}-mod_status.conf
92 Source126:      %{name}-mod_trigger_b4_dl.conf
93 Source127:      %{name}-mod_userdir.conf
94 Source128:      %{name}-mod_usertrack.conf
95 Source129:      %{name}-mod_webdav.conf
96 Source130:      %{name}-php-spawned.conf
97 Source131:      %{name}-php-external.conf
98 Source132:      %{name}-ssl.conf
99 Source133:      %{name}-mod_mysql_vhost.conf
100 Source134:      %{name}-mod_magnet.conf
101 Source135:      %{name}-mod_extforward.conf
102 Patch0:         %{name}-use_bin_sh.patch
103 Patch1:         %{name}-mod_evasive-status_code.patch
104 Patch2:         %{name}-mod_deflate.patch
105 URL:            http://www.lighttpd.net/
106 %{?with_xattr:BuildRequires:    attr-devel}
107 BuildRequires:  autoconf
108 BuildRequires:  automake
109 BuildRequires:  bzip2-devel
110 BuildRequires:  fcgi-devel
111 %{?with_gamin:BuildRequires:    gamin-devel}
112 %{?with_gdbm:BuildRequires:     gdbm-devel}
113 %{?with_memcache:BuildRequires: libmemcache-devel}
114 BuildRequires:  libtool
115 BuildRequires:  libuuid-devel
116 %{?with_webdav_props:BuildRequires:     libxml2-devel}
117 %{?with_lua:BuildRequires:      lua51-devel}
118 BuildRequires:  mailcap >= 2.1.14-4.4
119 %{?with_mysql:BuildRequires:    mysql-devel}
120 %{?with_ldap:BuildRequires:     openldap-devel}
121 %{?with_ssl:BuildRequires:      openssl-devel}
122 BuildRequires:  pcre-devel
123 BuildRequires:  pkgconfig
124 BuildRequires:  rpmbuild(macros) >= 1.268
125 %{?with_webdav_props:BuildRequires:     sqlite3-devel}
126 %{?with_valgrind:BuildRequires: valgrind}
127 BuildRequires:  zlib-devel
128 Requires(post,preun):   /sbin/chkconfig
129 Requires(postun):       /usr/sbin/groupdel
130 Requires(postun):       /usr/sbin/userdel
131 Requires(pre):  /bin/id
132 Requires(pre):  /usr/bin/getgid
133 Requires(pre):  /usr/lib/rpm/user_group.sh
134 Requires(pre):  /usr/sbin/groupadd
135 Requires(pre):  /usr/sbin/useradd
136 Requires(pre):  /usr/sbin/usermod
137 Requires:       %{name}-mod_dirlisting
138 Requires:       %{name}-mod_indexfile
139 Requires:       %{name}-mod_staticfile
140 Requires:       rc-scripts
141 Requires:       webapps
142 Provides:       group(http)
143 Provides:       group(lighttpd)
144 Provides:       user(lighttpd)
145 Provides:       webserver
146 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
147 Conflicts:      rpm < 4.4.2-0.2
148 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
149
150 %define         _libdir         %{_prefix}/%{_lib}/%{name}
151 %define         _lighttpddir    /home/services/%{name}
152 %define         _sysconfdir     /etc/%{name}
153
154 %description
155 lighttpd is a secure, fast, compliant and very flexible web-server
156 which has been optimized for high-performance environments. It has a
157 very low memory footprint compared to other webservers and takes care
158 of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth,
159 Output-Compression, URL-Rewriting and many more) make lighttpd the
160 perfect webserver-software for every server that is suffering load
161 problems.
162
163 %description -l pl.UTF-8
164 lighttpd jest bezpiecznym, szybkim, przyjaznym i bardzo elastycznym
165 serwerem WWW, który został zoptymalizowany pod kątem
166 wysokowydajnościowych środowisk. Zajmuje bardzo małą ilość pamięci w
167 porównaniu do innych serwerów WWW oraz dba o zajętość procesora.
168 Szeroki zestaw opcji (FastCGI, CGI, uwierzytelnianie, kompresja
169 wyjścia, przepisywanie URL-i i wiele innych) czynią z lighttpd
170 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
171 powodu problemów z obciążeniem.
172
173 %package mod_access
174 Summary:        lighttpd module for making access restrictions
175 Summary(pl.UTF-8):      Moduł lighttpd ograniczający dostęp
176 Group:          Networking/Daemons
177 Requires:       %{name} = %{version}-%{release}
178 Provides:       webserver(access)
179
180 %description mod_access
181 The access module is used to deny access to files with given trailing
182 path names.
183
184 %description mod_access -l pl.UTF-8
185 Moduł access służy do ograniczania dostępu do plików o podanych
186 ścieżkach.
187
188 %package mod_accesslog
189 Summary:        lighttpd module to record access logs
190 Summary(pl.UTF-8):      Moduł lighttpd do zapisu logów dostępu
191 Group:          Networking/Daemons
192 Requires:       %{name} = %{version}-%{release}
193
194 %description mod_accesslog
195 CLF like by default, flexible like Apache.
196
197 %description mod_accesslog -l pl.UTF-8
198 Domyślnie podobny do CLF, elastyczny jak Apache.
199
200 %package mod_alias
201 Summary:        lighttpd module for making URL aliasing
202 Summary(pl.UTF-8):      Moduł lighttpd odpowiadający za aliasy URL-i
203 Group:          Networking/Daemons
204 Requires:       %{name} = %{version}-%{release}
205 Provides:       webserver(alias)
206
207 %description mod_alias
208 The alias module is used to specify a special document-root for a
209 given URL-subset.
210
211 %description mod_alias -l pl.UTF-8
212 Modul alias służy do określania specjalnego drzewa (document-roota)
213 dla podanego podzbioru URL-i.
214
215 %package mod_auth
216 Summary:        lighttpd module for authentication support
217 Summary(pl.UTF-8):      Moduł lighttpd do obsługi uwierzytelniania
218 Group:          Networking/Daemons
219 Requires:       %{name} = %{version}-%{release}
220 Provides:       webserver(auth)
221
222 %description mod_auth
223 lighttpd supportes both authentication method described by RFC 2617:
224 basic and digest.
225
226 %description mod_auth -l pl.UTF-8
227 lighttpd obsługuje obie metody uwierzytelniania opisane w RFC 2617:
228 basic i digest.
229
230 %package mod_cgi
231 Summary:        lighttpd module for CGI handling
232 Summary(pl.UTF-8):      Moduł lighttpd do obsługi CGI
233 Group:          Networking/Daemons
234 Requires:       %{name} = %{version}-%{release}
235 Requires:       %{name}-mod_alias = %{version}-%{release}
236 Provides:       webserver(cgi)
237
238 %description mod_cgi
239 The cgi module provides a CGI-conforming interface.
240
241 CGI programs allow you to enhance the functionality of the server in a
242 very straight and simple way.
243
244 %description mod_cgi -l pl.UTF-8
245 Moduł cgi udostępnia interfejs zgodny z CGI.
246
247 Programy CGI pozwalają rozszerzać funkcjonalność serwera w bardzo
248 prosty i naturalny sposób.
249
250 %package mod_cml
251 Summary:        lighttpd module for Cache Meta Language
252 Summary(pl.UTF-8):      Moduł Cache Meta Language
253 Group:          Networking/Daemons
254 Requires:       %{name} = %{version}-%{release}
255
256 %description mod_cml
257 CML is a Meta language to describe the dependencies of a page at one
258 side and building a page from its fragments on the other side using
259 LUA.
260
261 %description mod_cml -l pl.UTF-8
262 CML to metajęzyk służący z jednej strony do opisu zależności strony i
263 z drugiej strony do budowania strony z fragmentów przy użyciu LUA.
264
265 %package mod_compress
266 Summary:        lighttpd module for output compression
267 Summary(pl.UTF-8):      Moduł lighttpd do kompresji wyjścia
268 Group:          Networking/Daemons
269 Requires:       %{name} = %{version}-%{release}
270
271 %description mod_compress
272 Output compression reduces the network load and can improve the
273 overall throughput of the webserver.
274
275 Only static content is supported up to now.
276
277 The server negotiates automatically which compression method is used.
278 Supported are gzip, deflate, bzip.
279
280 %description mod_compress -l pl.UTF-8
281 Kompresja wyjścia zmniejsza obciążenie sieci i może poprawić całkowitą
282 przepustowość serwera WWW.
283
284 Jak na razie obsługiwana jest tylko statyczna treść.
285
286 Serwer automatycznie negocjuje, która metoda kompresji jest używana.
287 Obsługiwane są gzip, deflate i bzip.
288
289 %package mod_deflate
290 Summary:        lighttpd module for output compression using deflate method
291 Summary(pl.UTF-8):      Moduł lighttpd do kompresji wyjścia metodą deflate
292 Group:          Networking/Daemons
293 URL:            http://trac.lighttpd.net/trac/wiki/Mod_Deflate
294 Requires:       %{name} = %{version}-%{release}
295
296 %description mod_deflate
297 mod_deflate can compress any output from lighttpd static or dynamic.
298 It doesn't support caching compressed output like mod_compress.
299
300 %description mod_deflate -l pl.UTF-8
301 mod_deflate potrafi kompresować statyczne i dynamiczne wyjście z
302 lighttpd. Nie obsługuje cache'owania wyniku kompresji, jak robi to
303 mod_compress.
304
305 %package mod_dirlisting
306 Summary:        lighttpd module for directory listings
307 Summary(pl.UTF-8):      Moduł lighttpd do tworzenia listingów katalogów
308 Group:          Networking/Daemons
309 Requires:       %{name} = %{version}-%{release}
310
311 %description mod_dirlisting
312 mod_dirlisting generates HTML based directory listings with full CSS
313 control.
314
315 %description mod_dirlisting -l pl.UTF-8
316 mod_dirlisting tworzy listingi katalogów w formacie HTML z pełną
317 kontrolą CSS.
318
319 %package mod_evasive
320 Summary:        lighttpd evasive module
321 Summary(pl.UTF-8):      Moduł evasive dla lighttpd
322 Group:          Networking/Daemons
323 Requires:       %{name} = %{version}-%{release}
324
325 %description mod_evasive
326 lighttpd evasive module.
327
328 %description mod_evasive -l pl.UTF-8
329 Moduł evasive dla lighttpd.
330
331 %package mod_evhost
332 Summary:        lighttpd module for enhanced virtual-hosting
333 Summary(pl.UTF-8):      Moduł lighttpd rozszerzający obsługę hostów wirtualnych
334 Group:          Networking/Daemons
335 Requires:       %{name} = %{version}-%{release}
336
337 %description mod_evhost
338 mod_evhost builds the document-root based on a pattern which contains
339 wildcards. Those wildcards can represent parts of the submitted
340 hostname.
341
342 %description mod_evhost -l pl.UTF-8
343 mod_evhost tworzy document-root w oparciu o wzorzec zawierający znaki
344 wieloznaczne (wildcards). Znaki te reprezentują części przekazanej
345 nazwy hosta.
346
347 %package mod_expire
348 Summary:        lighttpd module for controlling the expiration of content in caches
349 Summary(pl.UTF-8):      Moduł lighttpd sterujący wygasaniem treści w cache'ach
350 Group:          Networking/Daemons
351 Requires:       %{name} = %{version}-%{release}
352
353 %description mod_expire
354 mod_expire controls the setting of the the Expire response header.
355
356 %description mod_expire -l pl.UTF-8
357 mod_expire steruje ustawianiem nagłówka odpowiedzi Expire.
358
359 %package mod_extforward
360 Summary:        lighttpd module to extract the client's "real" IP from X-Forwarded-For header
361 Summary(pl.UTF-8):      Moduł lighttpd wyciągający "prawdziwy" IP klienta z nagłówka X-Forwarded-For
362 Group:          Networking/Daemons
363 Requires:       %{name} = %{version}-%{release}
364
365 %description mod_extforward
366 This module will extract the client's "real" IP from X-Forwarded-For
367 header which is added by Squid or other proxies. It might be useful
368 for servers behind reverse proxy servers.
369
370 %description mod_extforward -l pl.UTF-8
371 Ten moduł wyciąga "prawdziwy" IP klienta z nagłówka X-Forwarded-For
372 dodawanego przez Squida czy inne proxy. Może być przydatny dla
373 serwerów stojących za odwrotnymi serwerami proxy.
374
375 %package mod_fastcgi
376 Summary:        lighttpd module for FastCGI interface
377 Summary(pl.UTF-8):      Moduł lighttpd do interfejsu FastCGI
378 Group:          Networking/Daemons
379 Requires:       %{name} = %{version}-%{release}
380
381 %description mod_fastcgi
382 The FastCGI interface is the fastest and most secure way to interface
383 external process-handlers like Perl, PHP and your self-written
384 applications.
385
386 %description mod_fastcgi -l pl.UTF-8
387 Interfejs FastCGI to najszybszy i najbezpieczniejszy sposób
388 komunikacji z zewnętrznymi programami obsługującymi procesy, takimi
389 jak Perl, PHP czy własne aplikacje.
390
391 %package mod_flv_streaming
392 Summary:        lighttpd module for flv streaming
393 Summary(pl.UTF-8):      Moduł lighttpd do streamingu flv
394 Group:          Networking/Daemons
395 Requires:       %{name} = %{version}-%{release}
396
397 %description mod_flv_streaming
398 lighttpd module for flv streaming.
399
400 %description mod_flv_streaming -l pl.UTF-8
401 Moduł lighttpd do streamingu flv.
402
403 %package mod_indexfile
404 Summary:        lighttpd indexfile module
405 Summary(pl.UTF-8):      Moduł indexfile dla lighttpd
406 Group:          Networking/Daemons
407 Requires:       %{name} = %{version}-%{release}
408 Provides:       webserver(indexfile)
409
410 %description mod_indexfile
411 indexfile module.
412
413 %description mod_indexfile -l pl.UTF-8
414 Moduł indexfile.
415
416 %package mod_magnet
417 Summary:        lighttpd powermagnet module
418 Summary(pl.UTF-8):      Moduł powermagnet dla lighttpd
419 Group:          Networking/Daemons
420 Requires:       %{name} = %{version}-%{release}
421
422 %description mod_magnet
423 mod_magnet is a module to control the request handling in lighty.
424
425 %description mod_magnet -l pl.UTF-8
426 mod_magnet to moduł sterujący obsługą żądań w lighty.
427
428 %package mod_mysql_vhost
429 Summary:        lighttpd module for MySQL based vhosting
430 Summary(pl.UTF-8):      Moduł lighttpd obsługujący vhosty oparte na MySQL-u
431 Group:          Networking/Daemons
432 Requires:       %{name} = %{version}-%{release}
433 Conflicts:      %{name}-mod_simple_vhost
434
435 %description mod_mysql_vhost
436 This module provides virtual hosts (vhosts) based on a MySQL table.
437
438 %description mod_mysql_vhost -l pl.UTF-8
439 Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
440
441 %package mod_proxy
442 Summary:        lighttpd module for proxying requests
443 Summary(pl.UTF-8):      Moduł lighttpd do przekazywania żądań
444 Group:          Networking/Daemons
445 Requires:       %{name} = %{version}-%{release}
446
447 %description mod_proxy
448 The proxy module a simplest way to connect lighttpd to Java servers
449 which have a HTTP-interface.
450
451 %description mod_proxy -l pl.UTF-8
452 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
453 mającymi interfejs HTTP.
454
455 %package mod_proxy_core
456 Summary:        lighttpd module for proxying requests
457 Summary(pl.UTF-8):      Moduł lighttpd do przekazywania żądań
458 Group:          Networking/Daemons
459 URL:            http://blog.lighttpd.net/articles/2006/07/18/mod_proxy_core-commited-to-svn
460 Requires:       %{name} = %{version}-%{release}
461
462 %description mod_proxy_core
463 The proxy module a simplest way to connect lighttpd to java servers
464 which have a HTTP-interface.
465
466 This is the new proxy code.
467
468 %description mod_proxy_core -l pl.UTF-8
469 Moduł proxy to najprostszy sposób łączenia lighttpd z serwerami Javy
470 mającymi interfejs HTTP.
471
472 Ten pakiet zawiera nowy moduł proxy.
473
474 %package mod_redirect
475 Summary:        lighttpd module for URL redirects
476 Summary(pl.UTF-8):      Moduł lighttpd do przekierowań URL-i
477 Group:          Networking/Daemons
478 Requires:       %{name} = %{version}-%{release}
479
480 %description mod_redirect
481 With mod_redirect module you can redirect a set of URLs externally.
482
483 %description mod_redirect -l pl.UTF-8
484 Przy użyciu modułu mod_redirect można przekierować zbiór URL-i na
485 zewnątrz.
486
487 %package mod_rewrite
488 Summary:        lighttpd module for internal redirects, URL rewrite
489 Summary(pl.UTF-8):      Moduł lighttpd do wewnętrznych przekierowań i przepisywania URL-i
490 Group:          Networking/Daemons
491 Requires:       %{name} = %{version}-%{release}
492
493 %description mod_rewrite
494 This module allows you rewrite a set of URLs interally in the
495 webserver BEFORE they are handled.
496
497 %description mod_rewrite -l pl.UTF-8
498 Ten moduł pozwala na przepisywanie zbioru URL-i wewnętrznie w serwerze
499 WWW _przed_ ich obsługą.
500
501 %package mod_rrdtool
502 Summary:        lighttpd module for monitoring traffic and server load
503 Summary(pl.UTF-8):      Moduł lighttpd do monitorowania ruchu i obciążenia serwera
504 Group:          Networking/Daemons
505 Requires:       %{name} = %{version}-%{release}
506 Requires:       rrdtool
507
508 %description mod_rrdtool
509 RRD is a system to store and display time-series data (i.e. network
510 bandwidth, machine-room temperature, server load average).
511
512 With this module you can monitor the traffic and load on the
513 webserver.
514
515 %description mod_rrdtool -l pl.UTF-8
516 RRD to system przechowywania i wyświetlania danych zależnych od czasu
517 (np. obciążenia sieci, temperatury w serwerowni, średniego obciążenia
518 serwera).
519
520 Przy użyciu tego modułu można monitorować ruch i obciążenie serwera
521 WWW.
522
523 %package mod_scgi
524 Summary:        lighttpd module for SCGI interface
525 Summary(pl.UTF-8):      Moduł lighttpd do interfejsu SCGI
526 Group:          Networking/Daemons
527 Requires:       %{name} = %{version}-%{release}
528
529 %description mod_scgi
530 SCGI is a fast and simplified CGI interface. It is mostly used by
531 Python + WSGI.
532
533 %description mod_scgi -l pl.UTF-8
534 SCGI to szybki i uproszczony interfejs CGI. Jest używany głównie przez
535 Pythona z WSGI.
536
537 %package mod_secdownload
538 Summary:        lighttpd module for secure and fast downloading
539 Summary(pl.UTF-8):      Moduł lighttpd do bezpiecznego i szybkiego ściągania danych
540 Group:          Networking/Daemons
541 Requires:       %{name} = %{version}-%{release}
542
543 %description mod_secdownload
544 With this module you can easily achieve authenticated file requests
545 and a countermeasure against deep-linking.
546
547 %description mod_secdownload -l pl.UTF-8
548 Przy użyciu tego modułu można łatwo umożliwić ściąganie plików z
549 uwierzytelnieniem i zapobiec używaniu bezpośrednich odnośników.
550
551 %package mod_setenv
552 Summary:        lighttpd module for setting conditional request headers
553 Summary(pl.UTF-8):      Moduł lighttpd do ustawiania warunkowych nagłówków żądań
554 Group:          Networking/Daemons
555 Requires:       %{name} = %{version}-%{release}
556
557 %description mod_setenv
558 mod_setenv is used to add request headers.
559
560 %description mod_setenv -l pl.UTF-8
561 mod_setenv służy do dodawania nagłówków żądań.
562
563 %package mod_simple_vhost
564 Summary:        lighttpd module for simple virtual-hosting
565 Summary(pl.UTF-8):      Moduł lighttpd do prostych hostów wirtualnych
566 Group:          Networking/Daemons
567 Requires:       %{name} = %{version}-%{release}
568 Conflicts:      %{name}-mod_mysql_vhost
569
570 %description mod_simple_vhost
571 lighttpd module for simple virtual-hosting.
572
573 %description mod_simple_vhost -l pl.UTF-8
574 Moduł lighttpd do prostych hostów wirtualnych.
575
576 %package mod_ssi
577 Summary:        lighttpd module for server-side includes
578 Summary(pl.UTF-8):      Moduł lighttpd do SSI (server-side includes)
579 Group:          Networking/Daemons
580 Requires:       %{name} = %{version}-%{release}
581
582 %description mod_ssi
583 The module for server-side includes provides a compatability layer for
584 NSCA/Apache SSI.
585
586 %description mod_ssi -l pl.UTF-8
587 Moduł server-side includes udostępnia warstwę kompatybilności z SSI
588 znanym z NSCA/Apache'a.
589
590 %package mod_staticfile
591 Summary:        lighttpd module for static file serving
592 Summary(pl.UTF-8):      Moduł lighttpd do serwowania statycznych plików
593 Group:          Networking/Daemons
594 Requires:       %{name} = %{version}-%{release}
595
596 %description mod_staticfile
597 lighttpd module for static file serving.
598
599 %description mod_staticfile -l pl.UTF-8
600 Moduł lighttpd do serwowania statycznych plików.
601
602 %package mod_status
603 Summary:        lighttpd module for displaying server status
604 Summary(pl.UTF-8):      Moduł lighttpd do wyświetlania stanu serwera
605 Group:          Networking/Daemons
606 Requires:       %{name} = %{version}-%{release}
607
608 %description mod_status
609 mod_status displays the server's status and configuration.
610
611 %description mod_status -l pl.UTF-8
612 mod_status wyświetla stan i konfigurację serwera.
613
614 %package mod_trigger_b4_dl
615 Summary:        Trigger before Download
616 Summary(pl.UTF-8):      Wyzwalacz przed ściąganiem
617 Group:          Networking/Daemons
618 Requires:       %{name} = %{version}-%{release}
619
620 %description mod_trigger_b4_dl
621 Another anti hot-linking module.
622
623 %description mod_trigger_b4_dl -l pl.UTF-8
624 Jeszcze jeden moduł blokujący bezpośrednie linkowanie.
625
626 %package mod_userdir
627 Summary:        lighttpd module for user homedirs
628 Summary(pl.UTF-8):      Moduł lighttpd obsługujący katalogi domowe użytkowników
629 Group:          Networking/Daemons
630 Requires:       %{name} = %{version}-%{release}
631
632 %description mod_userdir
633 The userdir module provides a simple way to link user-based
634 directories into the global namespace of the webserver.
635
636 %description mod_userdir -l pl.UTF-8
637 Moduł userdir udostępnia prosty sposób włączenia katalogów
638 użytkowników do globalnej przestrzeni nazw serwera WWW.
639
640 %package mod_usertrack
641 Summary:        lighttpd usertrack module
642 Summary(pl.UTF-8):      Moduł usertrack dla lighttpd
643 Group:          Networking/Daemons
644 Requires:       %{name} = %{version}-%{release}
645
646 %description mod_usertrack
647 lighttpd usertrack module.
648
649 %description mod_usertrack -l pl.UTF-8
650 Moduł usertrack dla lighttpd.
651
652 %package mod_webdav
653 Summary:        WebDAV module for lighttpd
654 Summary(pl.UTF-8):      Moduł WebDAV dla libghttpd
655 Group:          Networking/Daemons
656 Requires:       %{name} = %{version}-%{release}
657
658 %description mod_webdav
659 The WebDAV module is a very minimalistic implementation of RFC 2518.
660 Minimalistic means that not all operations are implementated yet.
661
662 So far we have
663 - PROPFIND
664 - OPTIONS
665 - MKCOL
666 - DELETE
667 - PUT
668 - LOCK (experimental)
669
670 and the usual GET, POST, HEAD from HTTP/1.1.
671
672 So far mounting a webdav resource into Windows XP works and the basic
673 litmus tests are passed.
674
675 %description mod_webdav -l pl.UTF-8
676 Moduł WebDAV to bardzo minimalistyczna implementacja RFC 2518.
677 Minimalistyczna oznacza, że jeszcze nie wszystkie operacje są
678 zaimplementowane. Jak na razie są:
679 - PROPFIND
680 - OPTIONS
681 - MKCOL
682 - DELETE
683 - PUT
684 - LOCK (experimental)
685 oraz zwykłe GET, POST, HEAD z HTTP/1.1.
686
687 Jak na razie montowanie zasobu webdav pod Windows XP działa i
688 podstawowe testy lakmusowe przechodzą.
689
690 %package -n spawn-fcgi
691 Summary:        Spawn fcgi-process directly
692 Summary(pl.UTF-8):      Bezpośrednie uruchamianie procesów fcgi
693 Group:          Applications
694
695 %description -n spawn-fcgi
696 spawn-fcgi is used to spawn fcgi-process directly without the help of
697 a webserver or the programm itself.
698
699 %description -n spawn-fcgi -l pl.UTF-8
700 spawn-fcgi służy do uruchamiania procesów fcgi bezpośrednio, bez
701 pomocy serwera WWW ani samego programu.
702
703 %package php-spawned
704 Summary:        PHP support via FastCGI, spawned by lighttpd
705 Summary(pl.UTF-8):      Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
706 Group:          Networking/Daemons
707 Requires:       %{name} = %{version}-%{release}
708 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
709 Requires:       php-fcgi
710 Obsoletes:      lighttpd-php-external
711
712 %description php-spawned
713 PHP support via FastCGI, spawned by lighttpd.
714
715 %description php-spawned -l pl.UTF-8
716 Obsługa PHP przez FastCGI, uruchamiane przez lighttpd.
717
718 %package php-external
719 Summary:        PHP support via FastCGI, spawning controlled externally
720 Summary(pl.UTF-8):      Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie
721 Group:          Networking/Daemons
722 Requires:       %{name} = %{version}-%{release}
723 Requires:       %{name}-mod_fastcgi = %{version}-%{release}
724 Requires:       php-fcgi-init
725 Obsoletes:      lighttpd-php-spawned
726
727 %description php-external
728 PHP support via FastCGI, spawning controlled externally.
729
730 %description php-external -l pl.UTF-8
731 Obsługa PHP przez FastCGI, uruchamianie sterowane zewnętrznie.
732
733 %package ssl
734 Summary:        lighttpd support for SSLv2 and SSLv3
735 Summary(pl.UTF-8):      Obsługa SSLv2 i SSLv3 dla lighttpd
736 Group:          Networking/Daemons
737 Requires:       %{name} = %{version}-%{release}
738
739 %description ssl
740 lighttpd support for SSLv2 and SSLv3.
741
742 %description ssl -l pl.UTF-8
743 Obsługa SSLv2 i SSLv3 dla lighttpd.
744
745 %package -n monit-rc-lighttpd
746 Summary:        lighttpd support for monit
747 Summary(pl.UTF-8):      Wsparcie lighttpd dla monit
748 Group:          Applications/System
749 Requires:       %{name} = %{version}-%{release}
750 Requires:       monit
751
752 %description -n monit-rc-lighttpd
753 monitrc file for monitoring MySQL database server.
754
755 %description -n monit-rc-lighttpd -l pl.UTF-8
756 Plik monitrc do monitorowania serwera baz danych MySQL.
757
758 %prep
759 %setup -q
760 %patch0 -p1
761 %patch1 -p1
762
763 # build mime.types.conf
764 sh %{SOURCE6} /etc/mime.types
765
766 %build
767 %{__libtoolize}
768 %{__aclocal}
769 %{__autoconf}
770 %{__automake}
771
772 %configure \
773         --enable-maintainer-mode \
774         %{!?with_ipv6:--disable-ipv6} \
775         %{!?with_largefile:--disable-lfs} \
776         %{?with_valgrind:--with-valgrind} \
777         %{?with_xattr:--with-attr} \
778         %{?with_mysql:--with-mysql} \
779         %{?with_ldap:--with-ldap} \
780         %{?with_ssl:--with-openssl} \
781         %{?with_lua:--with-lua=lua51} \
782         %{?with_memcache:--with-memcache} \
783         %{?with_webdav_props:--with-webdav-props} \
784         %{?with_webdav_locks:--with-webdav-locks} \
785         %{?with_gamin:--with-gamin} \
786         %{?with_gdbm:--with-gdbm}
787
788 %{__make}
789
790 %install
791 rm -rf $RPM_BUILD_ROOT
792 install -d $RPM_BUILD_ROOT{%{_lighttpddir}/{cgi-bin,html},/etc/{logrotate.d,rc.d/init.d,sysconfig,monit}} \
793         $RPM_BUILD_ROOT%{_sysconfdir}/{conf,webapps}.d \
794         $RPM_BUILD_ROOT{/var/log/{%{name},archive/%{name}},/var/run/%{name}} \
795         $RPM_BUILD_ROOT%{_datadir}/lighttpd/errordocs \
796         $RPM_BUILD_ROOT/var/lib/lighttpd
797
798 %{__make} install \
799         DESTDIR=$RPM_BUILD_ROOT
800
801 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
802 install %{SOURCE2} %{SOURCE3} mime.types.conf $RPM_BUILD_ROOT%{_sysconfdir}
803 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
804 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
805 install %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
806
807 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
808
809 # could use automake patch, but automake generation fails...
810 mv $RPM_BUILD_ROOT%{_bindir}/spawn-fcgi $RPM_BUILD_ROOT%{_sbindir}/spawn-fcgi
811
812 # Install lighttpd images
813 install %{SOURCE7} %{SOURCE8} %{SOURCE9} $RPM_BUILD_ROOT%{_lighttpddir}/html
814 install %{SOURCE10} $RPM_BUILD_ROOT%{_lighttpddir}/html/pld_button.png
815 install %{SOURCE11} $RPM_BUILD_ROOT%{_lighttpddir}/html/index.html
816
817 # NOTE: the order of the modules is somewhat important as the modules are
818 # handled in the way they are specified. mod_rewrite should always be the first
819 # module, mod_accesslog always the last.
820
821 install %{SOURCE117} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_rewrite.conf
822 install %{SOURCE116} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/11_mod_redirect.conf
823
824 install %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_access.conf
825 install %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_alias.conf
826 install %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_auth.conf
827 install %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cgi.conf
828 install %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_cml.conf
829 install %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_compress.conf
830 install %{SOURCE107} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_deflate.conf
831 install %{SOURCE108} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_dirlisting.conf
832 install %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf
833 install %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf
834 install %{SOURCE111} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_expire.conf
835 install %{SOURCE135} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_extforward.conf
836 install %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf
837 install %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf
838 install %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf
839 install %{SOURCE134} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_magnet.conf
840 install %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf
841 install %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf
842 install %{SOURCE119} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_scgi.conf
843 install %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_secdownload.conf
844 install %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_setenv.conf
845 install %{SOURCE122} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_simple_vhost.conf
846 install %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
847 install %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
848 install %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
849 install %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
850 install %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
851 install %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
852 install %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
853 install %{SOURCE133} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_mysql_vhost.conf
854
855 install %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/90_mod_accesslog.conf
856
857 install %{SOURCE130} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-spawned.conf
858 install %{SOURCE131} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/php-external.conf
859 install %{SOURCE132} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/ssl.conf
860
861 touch $RPM_BUILD_ROOT/var/lib/lighttpd/lighttpd.rrd
862
863 %if !%{with mysql}
864 # avoid packaging dummy module
865 rm -f $RPM_BUILD_ROOT%{_libdir}/mod_mysql_vhost.so
866 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_mysql_vhost.conf
867 %endif
868 %if !%{with deflate}
869 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/*_mod_deflate.conf
870 %endif
871
872 touch $RPM_BUILD_ROOT/var/log/%{name}/{access,error}.log
873
874 %clean
875 rm -rf $RPM_BUILD_ROOT
876
877 %pre
878 %groupadd -g 109 lighttpd
879 %groupadd -g 51 http
880 %useradd -u 116 -d %{_lighttpddir} -c "LigHTTPd User" -g lighttpd lighttpd
881 %addusertogroup lighttpd http
882
883 %post
884 for a in access.log error.log; do
885         if [ ! -f /var/log/%{name}/$a ]; then
886                 touch /var/log/%{name}/$a
887                 chown lighttpd:lighttpd /var/log/%{name}/$a
888                 chmod 644 /var/log/%{name}/$a
889         fi
890 done
891 /sbin/chkconfig --add %{name}
892
893 %preun
894 if [ "$1" = "0" ]; then
895         %service %{name} stop
896         /sbin/chkconfig --del %{name}
897 fi
898
899 %postun
900 if [ "$1" = "0" ]; then
901         %userremove lighttpd
902         %groupremove lighttpd
903         %groupremove http
904 fi
905
906 %posttrans
907 # minimizing lighttpd restarts logics. we restart webserver:
908 #
909 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
910 # 2. first install of module (post: $1 = 1)
911 # 2. uninstall of module (postun: $1 == 0)
912 #
913 # the strict internal deps between lighttpd modules and
914 # main package are very important for all this to work.
915 %service %{name} restart "LigHTTPd webserver"
916 exit 0
917
918 # macro called at module post scriptlet
919 %define module_post \
920 if [ "$1" = "1" ]; then \
921         %service -q lighttpd restart \
922 fi
923
924 # macro called at module postun scriptlet
925 %define module_postun \
926 if [ "$1" = "0" ]; then \
927         %service -q lighttpd restart \
928 fi
929
930 # it's sooo annoying to write them
931 %define module_scripts() \
932 %post %1 \
933 %module_post \
934 \
935 %postun %1 \
936 %module_postun
937
938 %module_scripts mod_access
939 %module_scripts mod_accesslog
940 %module_scripts mod_alias
941 %module_scripts mod_auth
942 %module_scripts mod_cgi
943 %module_scripts mod_cml
944 %module_scripts mod_compress
945 %module_scripts mod_deflate
946 %module_scripts mod_dirlisting
947 %module_scripts mod_evasive
948 %module_scripts mod_evhost
949 %module_scripts mod_expire
950 %module_scripts mod_extforward
951 %module_scripts mod_fastcgi
952 %module_scripts mod_flv_streaming
953 %module_scripts mod_indexfile
954 %module_scripts mod_magnet
955 %module_scripts mod_mysql_vhost
956 %module_scripts mod_proxy
957 %module_scripts mod_redirect
958 %module_scripts mod_rewrite
959
960 %post mod_rrdtool
961 if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
962         touch /var/lib/lighttpd/lighttpd.rrd
963         chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
964         chmod 640 /var/lib/lighttpd/lighttpd.rrd
965 fi
966 %module_post
967
968 %postun mod_rrdtool
969 %module_postun
970
971 %module_scripts mod_scgi
972 %module_scripts mod_secdownload
973 %module_scripts mod_setenv
974 %module_scripts mod_simple_vhost
975 %module_scripts mod_ssi
976 %module_scripts mod_staticfile
977 %module_scripts mod_status
978 %module_scripts mod_trigger_b4_dl
979 %module_scripts mod_userdir
980 %module_scripts mod_usertrack
981 %module_scripts mod_webdav
982
983 %module_scripts php-spawned
984 %module_scripts php-external
985
986 %triggerpostun -- %{name} <= 1.3.6-2
987 %banner %{name} -e <<EOF
988 spawn-fcgi program is now available separately from spawn-fcgi package.
989
990 EOF
991
992 %files
993 %defattr(644,root,root,755)
994 %doc NEWS README ChangeLog doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
995 %dir %attr(750,root,lighttpd) %{_sysconfdir}
996 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
997 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
998 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
999 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mime.types.conf
1000 %attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.user
1001
1002 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
1003 %attr(750,root,root) %dir /var/log/archive/%{name}
1004 %dir %attr(751,root,root) /var/log/%{name}
1005 %ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/access.log
1006 %ghost %attr(644,lighttpd,lighttpd) /var/log/%{name}/error.log
1007 %dir %attr(770,root,lighttpd) /var/run/%{name}
1008 %attr(754,root,root) /etc/rc.d/init.d/%{name}
1009 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
1010 %attr(755,root,root) %{_sbindir}/*
1011 %dir %{_libdir}
1012 %{_mandir}/man?/*
1013 %dir %{_lighttpddir}
1014 %dir %{_lighttpddir}/cgi-bin
1015 %dir %{_lighttpddir}/html
1016 %config(noreplace,missingok) %verify(not md5 mtime size) %{_lighttpddir}/html/*
1017
1018 %dir %{_datadir}/lighttpd
1019 %dir %{_datadir}/lighttpd/errordocs
1020
1021 # rrdtool database is stored there
1022 %dir %attr(771,root,lighttpd) /var/lib/lighttpd
1023
1024 %files mod_access
1025 %defattr(644,root,root,755)
1026 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_access.conf
1027 %attr(755,root,root) %{_libdir}/mod_access.so
1028
1029 %files mod_accesslog
1030 %defattr(644,root,root,755)
1031 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_accesslog.conf
1032 %attr(755,root,root) %{_libdir}/mod_accesslog.so
1033
1034 %files mod_alias
1035 %defattr(644,root,root,755)
1036 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_alias.conf
1037 %attr(755,root,root) %{_libdir}/mod_alias.so
1038
1039 %files mod_auth
1040 %defattr(644,root,root,755)
1041 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_auth.conf
1042 %attr(755,root,root) %{_libdir}/mod_auth.so
1043
1044 %files mod_cgi
1045 %defattr(644,root,root,755)
1046 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cgi.conf
1047 %attr(755,root,root) %{_libdir}/mod_cgi.so
1048
1049 %files mod_cml
1050 %defattr(644,root,root,755)
1051 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_cml.conf
1052 %attr(755,root,root) %{_libdir}/mod_cml.so
1053
1054 %files mod_compress
1055 %defattr(644,root,root,755)
1056 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_compress.conf
1057 %attr(755,root,root) %{_libdir}/mod_compress.so
1058
1059 %if %{with deflate}
1060 %files mod_deflate
1061 %defattr(644,root,root,755)
1062 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_deflate.conf
1063 %attr(755,root,root) %{_libdir}/mod_deflate.so
1064 %endif
1065
1066 %files mod_dirlisting
1067 %defattr(644,root,root,755)
1068 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_dirlisting.conf
1069 %attr(755,root,root) %{_libdir}/mod_dirlisting.so
1070
1071 %files mod_evasive
1072 %defattr(644,root,root,755)
1073 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evasive.conf
1074 %attr(755,root,root) %{_libdir}/mod_evasive.so
1075
1076 %files mod_evhost
1077 %defattr(644,root,root,755)
1078 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_evhost.conf
1079 %attr(755,root,root) %{_libdir}/mod_evhost.so
1080
1081 %files mod_expire
1082 %defattr(644,root,root,755)
1083 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_expire.conf
1084 %attr(755,root,root) %{_libdir}/mod_expire.so
1085
1086 %files mod_extforward
1087 %defattr(644,root,root,755)
1088 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_extforward.conf
1089 %attr(755,root,root) %{_libdir}/mod_extforward.so
1090
1091 %files mod_fastcgi
1092 %defattr(644,root,root,755)
1093 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_fastcgi.conf
1094 %attr(755,root,root) %{_libdir}/mod_fastcgi.so
1095
1096 %files mod_flv_streaming
1097 %defattr(644,root,root,755)
1098 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf
1099 %attr(755,root,root) %{_libdir}/mod_flv_streaming.so
1100
1101 %files mod_indexfile
1102 %defattr(644,root,root,755)
1103 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_indexfile.conf
1104 %attr(755,root,root) %{_libdir}/mod_indexfile.so
1105
1106 %files mod_magnet
1107 %defattr(644,root,root,755)
1108 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_magnet.conf
1109 %attr(755,root,root) %{_libdir}/mod_magnet.so
1110
1111 %if %{with mysql}
1112 %files mod_mysql_vhost
1113 %defattr(644,root,root,755)
1114 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_mysql_vhost.conf
1115 %attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
1116 %endif
1117
1118 %files mod_proxy
1119 %defattr(644,root,root,755)
1120 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
1121 %attr(755,root,root) %{_libdir}/mod_proxy.so
1122
1123 %files mod_redirect
1124 %defattr(644,root,root,755)
1125 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
1126 %attr(755,root,root) %{_libdir}/mod_redirect.so
1127
1128 %files mod_rewrite
1129 %defattr(644,root,root,755)
1130 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rewrite.conf
1131 %attr(755,root,root) %{_libdir}/mod_rewrite.so
1132
1133 %files mod_rrdtool
1134 %defattr(644,root,root,755)
1135 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_rrdtool.conf
1136 %attr(755,root,root) %{_libdir}/mod_rrdtool.so
1137 %ghost %attr(640,lighttpd,stats) /var/lib/lighttpd/lighttpd.rrd
1138
1139 %files mod_scgi
1140 %defattr(644,root,root,755)
1141 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_scgi.conf
1142 %attr(755,root,root) %{_libdir}/mod_scgi.so
1143
1144 %files mod_secdownload
1145 %defattr(644,root,root,755)
1146 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_secdownload.conf
1147 %attr(755,root,root) %{_libdir}/mod_secdownload.so
1148
1149 %files mod_setenv
1150 %defattr(644,root,root,755)
1151 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_setenv.conf
1152 %attr(755,root,root) %{_libdir}/mod_setenv.so
1153
1154 %files mod_simple_vhost
1155 %defattr(644,root,root,755)
1156 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_simple_vhost.conf
1157 %attr(755,root,root) %{_libdir}/mod_simple_vhost.so
1158
1159 %files mod_ssi
1160 %defattr(644,root,root,755)
1161 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_ssi.conf
1162 %attr(755,root,root) %{_libdir}/mod_ssi.so
1163
1164 %files mod_staticfile
1165 %defattr(644,root,root,755)
1166 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_staticfile.conf
1167 %attr(755,root,root) %{_libdir}/mod_staticfile.so
1168
1169 %files mod_status
1170 %defattr(644,root,root,755)
1171 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_status.conf
1172 %attr(755,root,root) %{_libdir}/mod_status.so
1173
1174 %files mod_trigger_b4_dl
1175 %defattr(644,root,root,755)
1176 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_trigger_b4_dl.conf
1177 %attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
1178
1179 %files mod_userdir
1180 %defattr(644,root,root,755)
1181 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_userdir.conf
1182 %attr(755,root,root) %{_libdir}/mod_userdir.so
1183
1184 %files mod_usertrack
1185 %defattr(644,root,root,755)
1186 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
1187 %attr(755,root,root) %{_libdir}/mod_usertrack.so
1188
1189 %files mod_webdav
1190 %defattr(644,root,root,755)
1191 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
1192 %attr(755,root,root) %{_libdir}/mod_webdav.so
1193
1194 %files -n spawn-fcgi
1195 %defattr(644,root,root,755)
1196 %doc doc/spawn-php.sh
1197 %attr(755,root,root) %{_sbindir}/spawn-fcgi
1198
1199 %files php-spawned
1200 %defattr(644,root,root,755)
1201 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf
1202
1203 %files php-external
1204 %defattr(644,root,root,755)
1205 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-external.conf
1206
1207 %files ssl
1208 %defattr(644,root,root,755)
1209 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ssl.conf
1210
1211 %files -n monit-rc-lighttpd
1212 %defattr(644,root,root,755)
1213 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
This page took 0.201017 seconds and 4 git commands to generate.