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