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