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