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