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