]> git.pld-linux.org Git - packages/apache.git/blob - apache.spec
- "FTP" unification
[packages/apache.git] / apache.spec
1 # TODO:
2 # - mod_case_filter
3 # - mod_case_filter_in
4 # - mod_optional_fn_{export,import}
5 # - mod_optional_hook_{export,import}
6 # - mod_ext_filter
7 # - mod_echo
8 # - config examples for mod_*
9 # - check if all modules are (de)registered in %%post/%%postun
10 # - find smart way to deregister module if its moved from main package
11 #   to subpackage (maybe test -f ?)
12 # - add %%post/%%postun to suexec
13 # - --with-suexec-gidmin=500 or =100 ?
14 # - --with-suexec-uidmin=500 or =1000 ?
15 # - subpackages for MPMs
16 # - check if all modules (*.so) are exactly the same for different MPMs
17 #
18 # Conditional build:
19 %bcond_without  ssl             # build without SSL support
20 %bcond_without  ldap            # build without LDAP support
21 #
22 %include        /usr/lib/rpm/macros.perl
23 # this is internal macro, don't change to %%apache_modules_api
24 %define         _apache_modules_api 20020903
25 Summary:        The most widely used Web server on the Internet
26 Summary(de):    Leading World Wide Web-Server
27 Summary(es):    Servidor HTTPD para proveer servicios WWW
28 Summary(fr):    Le serveur web le plus utilise sur Internet
29 Summary(pl):    Serwer WWW (World Wide Web)
30 Summary(pt_BR): Servidor HTTPD para prover serviços WWW
31 Summary(ru):    óÁÍÙÊ ÐÏÐÕÌÑÒÎÙÊ ×ÅÂ-ÓÅÒ×ÅÒ
32 Summary(tr):    Lider WWW tarayýcý
33 Name:           apache
34 Version:        2.0.52
35 Release:        9
36 License:        Apache Group License
37 Group:          Networking/Daemons
38 Source0:        http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
39 # Source0-md5:  eba528fa8613dc5bfb0615a69c11f053
40 # Source0-size: 6918995
41 Source1:        %{name}.init
42 Source2:        %{name}.logrotate
43 Source3:        %{name}-icons.tar.gz
44 # Source3-md5:  2b085cbc19fd28536dc883f0b864cd83
45 # Source3-size: 46320
46 Source4:        %{name}.sysconfig
47 Source5:        %{name}.monitrc
48 Source6:        %{name}-httpd.conf
49 Source8:        %{name}-mod_vhost_alias.conf
50 Source9:        %{name}-mod_status.conf
51 Source10:       %{name}-mod_proxy.conf
52 Source11:       %{name}-mod_info.conf
53 Source12:       %{name}-mod_ssl.conf
54 Source13:       %{name}-mod_dav.conf
55 Source14:       %{name}-mod_dir.conf
56 Source15:       %{name}-mod_suexec.conf
57 Source16:       %{name}-mod_deflate.conf
58 Source17:       %{name}-mod_autoindex.conf
59 Source20:       %{name}-server.crt
60 Source21:       %{name}-server.key
61 Patch0:         %{name}-configdir_skip_backups.patch
62 Patch1:         %{name}-layout.patch
63 Patch2:         %{name}-suexec.patch
64 Patch3:         %{name}-nolibs.patch
65 Patch4:         %{name}-apr.patch
66 # project homepage http://www.metux.de/mpm/en/?patpage=index
67 # http://www.sannes.org/metuxmpm/
68 Patch5:         httpd-2.0.48-metuxmpm-r8.patch
69 Patch6:         httpd-2.0.40-xfsz.patch
70 Patch7:         httpd-2.0.45-davetag.patch
71 Patch8:         httpd-2.0.45-encode.patch
72 Patch9:         httpd-2.0.45-export.patch
73 Patch10:        httpd-2.0.46-dav401dest.patch
74 Patch11:        httpd-2.0.46-md5dig.patch
75 Patch13:        httpd-2.0.46-sslmutex.patch
76 Patch14:        httpd-2.0.47-sslcleanup.patch
77 Patch15:        httpd-2.0.48-corelimit.patch
78 Patch16:        httpd-2.0.48-debuglog.patch
79 Patch17:        httpd-2.0.48-dynlimit.patch
80 Patch18:        httpd-2.0.48-sslpphrase.patch
81 Patch19:        %{name}-v6only-ENOPROTOOPT.patch
82 Patch20:        %{name}-conffile-path.patch
83 Patch21:        %{name}-apxs.patch
84 # http://www.telana.com/peruser.php
85 Patch22:        httpd-2.0.50-peruser-r3.patch
86 Patch23:        %{name}-apr1.patch
87 Patch24:        %{name}-normalize-path.patch
88 URL:            http://httpd.apache.org/
89 BuildRequires:  automake
90 BuildRequires:  apr-devel >= 1:1.0.0
91 BuildRequires:  apr-util-devel >= 1:1.0.0
92 BuildRequires:  db-devel
93 BuildRequires:  expat-devel
94 BuildRequires:  gdbm-devel >= 1.8.3
95 BuildRequires:  libtool >= 2:1.5
96 %{?with_ldap:BuildRequires:     openldap-devel}
97 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
98 %{?with_ssl:BuildRequires:      openssl-tools >= 0.9.7d}
99 BuildRequires:  perl-devel >= 1:5.6
100 BuildRequires:  rpm-perlprov >= 4.1-13
101 BuildRequires:  rpmbuild(macros) >= 1.159
102 BuildRequires:  zlib-devel
103 PreReq:         perl-base
104 PreReq:         rc-scripts
105 Requires(pre):  /bin/id
106 Requires(pre):  /usr/bin/getgid
107 Requires(pre):  /usr/sbin/groupadd
108 Requires(pre):  /usr/sbin/useradd
109 Requires(postun):       /usr/sbin/userdel
110 Requires(postun):       /usr/sbin/groupdel
111 Requires(post,preun):   /sbin/chkconfig
112 Requires(post,postun):  /sbin/ldconfig
113 Requires(post): fileutils
114 Requires:       /etc/mime.types
115 Requires:       apr >= 1:1.0.0-2
116 Requires:       %{name}-apxs = %{version}-%{release}
117 Requires:       mailcap
118 Requires:       psmisc >= 20.1
119 Provides:       apache(modules-api) = %{_apache_modules_api}
120 Provides:       group(http)
121 Provides:       httpd = %{version}
122 Provides:       user(http)
123 Provides:       webserver = apache
124 Obsoletes:      apache-extra
125 Obsoletes:      apache6
126 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
127
128 %define         _sysconfdir     /etc/httpd
129 %define         _includedir     %{_prefix}/include/apache
130 %define         _datadir        /home/services/httpd
131 %define         _libexecdir     %{_libdir}/apache
132
133 %description
134 Apache is a powerful, full-featured, efficient and freely-available
135 Web server. Apache is also the most popular Web server on the
136 Internet.
137
138 %description -l de
139 Apache ist ein voll funktionsfähiger Web-Server, der kostenlos
140 erhältlich und weit verbreitet ist.
141
142 %description -l es
143 El servidor web Apache es el mejor servidor gratuito disponible en el
144 mundo UNIX hoy. Usa HTTP (HyperText Transfer Protocol) para permitir
145 que browsers web vean documentos y sometan datos remotamente. Puede
146 ejecutar varias funciones diferentes, incluyendo funciones de proxy y
147 caché, y nos ofrece características como monitor de estado, conversión
148 dinámica de tipo, y otras más.
149
150 %description -l fr
151 Apache est un serveur Web puissant, efficace, gratuit et complet.
152 Apache est aussi le serveur Web le plus populaire sur Internet.
153
154 %description -l pl
155 Apache jest serwerem WWW (World Wide Web). Instaluj±c ten pakiet
156 bêdziesz móg³ prezentowaæ w³asne strony WWW w sieci internet.
157
158 %description -l pt_BR
159 O servidor web Apache é o melhor servidor gratuito disponível no mundo
160 UNIX hoje. Ele usa HTTP (HyperText Transfer Protocol) para permitir
161 que browsers web vejam documentos e submetam dados remotamente. Ele
162 pode executar várias funções diferentes, incluindo funções de proxy e
163 cache, e oferece características como monitor de status, conversão
164 dinâmica de tipo, e mais.
165
166 %description -l ru
167 Apache - ÍÏÝÎÙÊ, ÆÕÎËÃÉÏÎÁÌØÎÙÊ, ×ÙÓÏËÏÐÒÏÉÚ×ÏÄÉÔÅÌØÎÙÊ É Ó×ÏÂÏÄÎÏ
168 ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ×ÅÂ-ÓÅÒ×ÅÒ.
169
170 %description -l tr
171 Apache serbest daðýtýlan ve çok kullanýlan yetenekli bir web
172 sunucusudur.
173
174 %package suexec
175 Summary:        Apache suexec wrapper
176 Summary(pl):    Wrapper suexec do serwera WWW Apache
177 Group:          Development/Tools
178 Requires:       %{name} = %{version}-%{release}
179
180 %description suexec
181 The suEXEC feature provides Apache users the ability to run CGI and
182 SSI programs under user IDs different from the user ID of the calling
183 web-server. Normally, when a CGI or SSI program executes, it runs as
184 the same user who is running the web server.
185
186 %description suexec -l pl
187 SuEXEC umo¿liwia serwerowi Apache uruchamianie programów CGI i SSI z
188 innym UID ni¿ wywo³uj±cy je serwer. Normalnie programy CGI i SSI s±
189 wykonywane jako taki sam u¿ytkownik jak serwer WWW.
190
191 %package index
192 Summary:        Apache index.html* files
193 Summary(pl):    Pliki Apache index.html*
194 Group:          Documentation
195 Requires:       %{name} = %{version}-%{release}
196 Obsoletes:      indexhtml
197
198 %description index
199 Apache index.html* files.
200
201 %description index -l pl
202 Pliki Apache index.html*.
203
204 %package doc
205 Summary:        Apache manual
206 Summary(pl):    Podrêcznik Apache'a
207 Group:          Documentation
208 Requires:       %{name} = %{version}-%{release}
209
210 %description doc
211 Apache manual.
212
213 %description doc -l pl
214 Podrêcznik Apache'a.
215
216 %package apxs
217 Summary:        APache eXtenSion tool
218 Summary(pl):    Narzêdzie do rozszerzania Apache'a
219 Group:          Development/Tools
220
221 %description apxs
222 APache eXtenSion tool.
223
224 %description apxs -l pl
225 Narzêdzie do rozszerzania Apache'a.
226  
227 %package devel
228 Summary:        Module development tools for the Apache web server
229 Summary(es):    Archivos de inclusión del Apache para desarrollo de módulos
230 Summary(fr):    Les outils de developpement de modules pour le serveur web Apache
231 Summary(pl):    Pliki nag³ówkowe do tworzenia modu³ów rozszerzeñ do serwera WWW Apache
232 Summary(pt_BR): Arquivos de inclusão do Apache para desenvolvimento de módulos
233 Summary(ru):    óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
234 Group:          Networking/Utilities
235 Requires:       %{name}-apxs = %{version}-%{release}
236 Requires:       apr-util-devel >= 1:1.0.0
237 Requires:       libtool
238 Obsoletes:      apache-static
239
240 %description devel
241 The apache-devel package contains header files for Apache.
242
243 %description devel -l es
244 Este paquete contiene los archivos de inclusión para el Apache, bien
245 como el utilitario apxs para la construcción de objetos compartidos
246 dinámicos (DSOs). Ha ce falta instalar este paquete si deseas compilar
247 o desarrollar módulos adicionales para Apache.
248
249 %description devel -l fr
250 Le package apache-devel contient le code source pour le serveur Web
251 Apache et le binaire APXS dont vous aurez besoin pour construire des
252 Objets Dynamiques Partages (DSOs) pour Apache.
253
254 %description devel -l pl
255 Pliki nag³ówkowe i inne zasoby niezbêdne przy budowaniu modu³ów DSO
256 (Dynamic Shared Objects) dla Apache.
257
258 %description devel -l ru
259 óÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ ÍÏÄÕÌÅÊ ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache.
260
261 %description devel -l pt_BR
262 Este pacote contem os arquivos de inclusão para o Apache, bem como o
263 utilitário apxs para a construção de objetos compartilhados dinâmicos
264 (DSOs). Este pacote precisa ser instalado se você deseja compilar ou
265 desenvolver módulos adicionais para o Apache.
266
267 %package mod_actions
268 Summary:        Apache module for run CGI whenever a file of a certain type is requested
269 Summary(pl):    Modu³ Apache'a do uruchamiania skryptów CGI
270 Group:          Networking/Daemons
271 Requires:       %{name} = %{version}-%{release}
272
273 %description mod_actions
274 This package contains mod_actions module. This module lets you run CGI
275 scripts whenever a file of a certain type is requested. This makes it
276 much easier to execute scripts that process files.
277
278 %description mod_actions -l pl
279 Ten modu³ pozwala na uruchamianie skryptów w momencie gdy nadchodzi
280 ¿±danie pobrania pliku okre¶lonego typu.
281
282 %package mod_auth
283 Summary:        Apache module with user authentication using textual files
284 Summary(pl):    Modu³ Apache'a identyfikuj±cy u¿ytkowników na podstawie plików tekstowych
285 Group:          Networking/Daemons
286 Requires:       %{name} = %{version}-%{release}
287
288 %description mod_auth
289 This package contains mod_auth module. It provides for user
290 authentication using textual files.
291
292 %description mod_auth -l pl
293 Ten pakiet zawiera modu³ mod_auth. S³u¿y on do sprawdzania to¿samo¶ci
294 u¿ytkowników na podstawie plików tekstowych.
295
296 %package mod_auth_anon
297 Summary:        Apache module with "anonymous" user access authentication
298 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkownika "anonimowego"
299 Group:          Networking/Daemons
300 Requires:       %{name} = %{version}-%{release}
301
302 %description mod_auth_anon
303 This package contains mod_auth_anon module. It allows "anonymous" user
304 access to authenticated areas. It does access control in a manner
305 similar to anonymous FTP sites; i.e. have a 'magic' user id
306 'anonymous' and the email address as a password. These email addresses
307 can be logged. Combined with other (database) access control methods,
308 this allows for effective user tracking and customization according to
309 a user profile while still keeping the site open for 'unregistered'
310 users. One advantage of using Auth-based user tracking is that, unlike
311 magic-cookies and funny URL pre/postfixes, it is completely browser
312 independent and it allows users to share URLs.
313
314 %description mod_auth_anon -l pl
315 Ten modu³ oferuje autoryzacjê u¿ytkownika "anonimowego" podobnie do
316 anonimowych serwerów FTP (u¿ytkownik "anonymous" oraz has³o w postaci
317 adresu pocztowego u¿ytkownika).
318
319 %package mod_auth_ldap
320 Summary:        Apache module with LDAP user access authentication
321 Summary(pl):    Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
322 Group:          Networking/Daemons
323 Requires:       %{name} = %{version}-%{release}
324 Requires:       %{name}-mod_ldap = %{version}-%{release}
325
326 %description mod_auth_ldap
327 Apache module with LDAP user access authentication.
328
329 %description mod_auth_ldap -l pl
330 Modu³ Apache'a oferuj±cy autoryzacjê u¿ytkowników poprzez LDAP
331
332 %package mod_auth_dbm
333 Summary:        Apache module with user authentication which uses DBM files
334 Summary(pl):    Modu³ Apache'a z mechanizmem identyfikacji korzystaj±cym z plików DBM
335 Group:          Networking/Daemons
336 Obsoletes:      apache-mod_auth_db
337 Requires:       %{name} = %{version}-%{release}
338
339 %description mod_auth_dbm
340 This module provides for HTTP Basic Authentication, where the
341 usernames and passwords are stored in DBM type database files. It is
342 an alternative to the plain text password files provided by mod_auth.
343
344 %description mod_auth_dbm -l pl
345 Ten modu³ udostêpnia Prost± Autoryzacjê HTTP, gdzie u¿ytkownicy oraz
346 ich has³a s± trzymane w plikach bazy typu DBM.
347
348 %package mod_auth_digest
349 Summary:        Apache user authentication module using MD5 Digest Authentication
350 Summary(pl):    Modu³ Apache'a do autoryzacji MD5
351 Group:          Networking/Daemons
352 Obsoletes:      apache-mod_digest
353 Requires:       %{name} = %{version}-%{release}
354
355 %description mod_auth_digest
356 This package contains mod_digest module. It provides user
357 authentication using MD5 Digest Authentication.
358
359 %description mod_auth_digest -l pl
360 Modu³ ten dostarcza metodê autoryzacji bazuj±c± na MD5 Digest
361 Authentication.
362
363 %package mod_autoindex
364 Summary:        Apache module - display index of files
365 Summary(pl):    Modu³ apache do wy¶wietlania indeksu plików
366 Group:          Networking/Daemons
367 Requires:       %{name} = %{version}-%{release}
368
369 %description mod_autoindex
370 This package contains mod_autoindex module. It provides
371 generation index of files.
372
373 %description mod_autoindex -l pl
374 Ten pakiet dostarcza modu³ autoindex, który generuje indeks plików.
375
376 %package mod_cache
377 Summary:        Content cache keyed to URIs
378 Summary(pl):    Pamiêæ podrêczna wg klucza URI
379 Group:          Networking/Daemons
380 Requires:       %{name} = %{version}-%{release}
381
382 %description mod_cache
383 mod_cache implements an RFC 2616 compliant HTTP content cache that can
384 be used to cache either local or proxied content. Two storage
385 management modules are included in the base Apache distribution:
386 mod_disk_cache implements a disk based storage manager (generally used
387 for proxy caching) and mod_mem_cache implements an in-memory based
388 storage manager (primarily useful for caching local content).
389
390 %description mod_cache -l pl
391 Implementacja zgodnej z RFC 2616 pamiêci podrêcznej, która mo¿e byæ
392 u¿ywana do zapamiêtywania zawarto¶ci lokalnej lub dostêpnej przez
393 proxy. Do³±czono dwa modu³y pozwalaj±ce magazynowaæ dane w pamiêci
394 (g³ównie u¿yteczne przy cacheowaniu lokalnej zawarto¶ci) oraz na dysku
395 (u¿ywane do cacheowania proxy).
396
397 %package mod_cgid
398 Summary:        Execution of CGI scripts using an external CGI daemon
399 Summary(pl):    Uruchamianie zewnêtrznych skryptów CGI za pomoc± daemona CGI
400 Group:          Networking/Daemons
401 Requires:       %{name} = %{version}-%{release}
402
403 %description mod_cgid
404 Execution of CGI scripts using an external CGI daemon.
405
406 %description mod_cgid -l pl
407 Uruchamianie zewnêtrznych skryptów CGI za pomoc± demona CGI.
408
409 %package mod_charset_lite
410 Summary:        Specify character set translation or recoding
411 Summary(pl):    Translacja lub przekodowywanie znaków
412 Group:          Networking/Daemons
413 Requires:       %{name} = %{version}-%{release}
414
415 %description mod_charset_lite
416 Specify character set translation or recoding.
417
418 %description mod_charset_lite -l pl
419 Translacja lub przekodowywanie znaków.
420
421 %package mod_dav
422 Summary:        Apache module - Distributed Authoring and Versioning
423 Summary(pl):    Modu³ Apache'a - rozproszone autorstwo i wersjonowanie
424 Group:          Networking/Daemons
425 Requires:       %{name} = %{version}-%{release}
426
427 %description mod_dav
428 This module provides class 1 and class 2 WebDAV ('Web-based
429 Distributed Authoring and Versioning') functionality for Apache. This
430 extension to the HTTP protocol allows creating, moving, copying, and
431 deleting resources and collections on a remote web server.
432
433 %description mod_dav -l pl
434 Modu³ udostêpnia klasê 1 oraz klasê 2 WebDAV (Bazuj±cego na WWW
435 rozproszonego autorstwa i wersjonowania). To rozszerzenie HTTP pozwala
436 na tworzenie, przesuwanie, kopiowanie oraz kasowanie zasobów na
437 zdalnym serwerze WWW.
438
439 %package mod_deflate
440 Summary:        Apache module: Compress content before it is delivered to the client
441 Summary(pl):    Modu³ Apache'a kompresuj±cy dane przed przes³aniem ich do klienta
442 Group:          Networking/Daemons
443 Requires:       %{name} = %{version}-%{release}
444 Requires:       %{name}-mod_headers = %{version}-%{release}
445
446 %description mod_deflate
447 Compress content before it is delivered to the client.
448
449 %description mod_deflate -l pl
450 Modu³ kompresuj±cy dane przed przes³aniem ich do klienta.
451
452 %package mod_dir
453 Summary:        Apache module for "trailing slash" redirects and serving directory index files
454 Summary(pl):    Modu³ Apache'a oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci katalogu
455 Group:          Networking/Daemons
456 Requires:       %{name} = %{version}-%{release}
457
458 %description mod_dir
459 This package contains mod_dir which provides "trailing slash"
460 redirects and serving directory index files.
461
462 %description mod_dir -l pl
463 Modu³ oferuj±cy przekierowania i udostêpnianie informacji o zawarto¶ci
464 katalogu.
465
466 %package mod_headers
467 Summary:        Apache module allows for the customization of HTTP response headers
468 Summary(pl):    Modu³ Apache'a pozwalaj±cy na modyfikacjê nag³ówków HTTP
469 Group:          Networking/Daemons
470 Requires:       %{name} = %{version}-%{release}
471
472 %description mod_headers
473 This package contains mod_headers module. The module allows for the
474 customization of HTTP response headers. Headers can be merged,
475 replaced or removed.
476
477 %description mod_headers -l pl
478 Modu³ pozwalaj±cy na ³±czenie, usuwania, zamianê nag³ówków HTTP
479 wysy³anych do przegl±darki.
480
481 %package mod_imap
482 Summary:        Apache module with imap-file handler
483 Summary(pl):    Modu³ Apache'a z obs³ug± imap-file
484 Group:          Networking/Daemons
485 Requires:       %{name} = %{version}-%{release}
486
487 %description mod_imap
488 This package contains mod_imap module. It provides for .map files,
489 replacing the functionality of the imagemap CGI program. Any directory
490 or document type configured to use the handler imap-file.
491
492 %description mod_imap -l pl
493 Modu³ umo¿liwiaj±cy obs³ugê plików .map (imap-file handler).
494
495 %package mod_info
496 Summary:        Apache module with comprehensive overview of the server configuration
497 Summary(pl):    Modu³ Apache'a udostêpniaj±cy informacje o serwerze
498 Group:          Networking/Daemons
499 Requires:       %{name} = %{version}-%{release}
500
501 %description mod_info
502 This package contains mod_info module. It provides a comprehensive
503 overview of the server configuration including all installed modules
504 and directives in the configuration files.
505
506 %description mod_info -l pl
507 Modu³ udostêpniaj±cy informacje o konfiguracji serwera,
508 zainstalowanych modu³ach itp.
509
510 %package mod_ldap
511 Summary:        Apache module to use LDAP connections
512 Summary(pl):    Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP
513 Group:          Networking/Daemons
514 Requires:       %{name} = %{version}-%{release}
515
516 %description mod_ldap
517 Apache module to use LDAP connections.
518
519 %description mod_ldap -l pl
520 Modu³ Apache'a umo¿liwiaj±cy korzystanie z po³±czeñ LDAP.
521
522 %package mod_proxy
523 Summary:        Apache module with Web proxy
524 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê serwera proxy
525 Group:          Networking/Daemons
526 Requires:       %{name} = %{version}-%{release}
527
528 %description mod_proxy
529 This package contains module with implementation a proxy/cache for
530 Apache. It implements proxying capability for FTP, CONNECT (for SSL),
531 HTTP/0.9, HTTP/1.0 and HTTP/1.1. The module can be configured to
532 connect to other proxy modules for these and other protocols.
533
534 %description mod_proxy -l pl
535 Modu³ zawiera implementacjê serwera proxy/cache dla Apache.
536 Implementacja zawiera obs³ugê FTP, CONNECT (dla SSL), HTTP/0.9,
537 HTTP/1.0 i HTTP/1.1.
538
539 %package mod_rewrite
540 Summary:        Apache module with rule-based engine for rewrite requested URLs on the fly
541 Summary(pl):    Modu³ Apache'a do "przepisywania" adresów URL w locie
542 Group:          Networking/Daemons
543 Requires:       %{name} = %{version}-%{release}
544
545 %description mod_rewrite
546 This package contains It provides a rule-based rewriting engine to
547 rewrite requested URLs on the fly.
548
549 %description mod_rewrite -l pl
550 Modu³ oferuj±cy mo¿liwo¶æ "przepisywania" adresów URL w locie.
551
552 %package mod_ssl
553 Summary:        SSL/TLS module for the Apache HTTP server
554 Summary(pl):    Modu³ SSL/TSL dla serwera Apache
555 Summary(ru):    íÏÄÕÌØ SSL/TLS ÄÌÑ ×ÅÂ-ÓÅÒ×ÅÒÁ Apache
556 Group:          Networking/Daemons
557 Epoch:          1
558 Requires:       %{name} = %{version}-%{release}
559
560 %description mod_ssl
561 The mod_ssl module provides strong cryptography for the Apache Web
562 server via the Secure Sockets Layer (SSL) and Transport Layer Security
563 (TLS) protocols.
564
565 %description mod_ssl -l pl
566 Modu³ mod_ssl udostêpnia wsparcie do silnej kryptografii dla serwera
567 Apache poprzez protoko³y SSL/TSL (Secure Sockets Layer/Transport Layer
568 Security).
569
570 %description mod_ssl -l ru
571 íÏÄÕÌØ mod_ssl ÏÂÅÓÐÅÞÉ×ÁÅÔ ÐÏÄÄÅÒÖËÕ × ×ÅÂ-ÓÅÒ×ÅÒÅ Apache ÎÁÄÅÖÎÏÇÏ
572 ÛÉÆÒÏ×ÁÎÉÑ ÓÒÅÄÓÔ×ÁÍÉ Secure Sockets Layer (SSL) É Transport Layer
573
574 %package mod_status
575 Summary:        Server status report module for Apache
576 Summary(pl):    Modu³ udostêpniaj±cy informacje statystyczne z serwera Apache
577 Group:          Networking/Daemons
578 Requires:       %{name} = %{version}-%{release}
579
580 %description mod_status
581 The Status module allows a server administrator to find out how well
582 their server is performing. A HTML page is presented that gives the
583 current server statistics in an easily readable form. If required this
584 page can be made to automatically refresh (given a compatible
585 browser).
586
587 %description mod_status -l pl
588 Modu³ pozwala administratorowi na przegl±danie statystyk dotycz±cych
589 pracy serwera apache (w postaci strony HTML).
590
591 %package mod_usertrack
592 Summary:        Apache module for user tracking using cookies
593 Summary(pl):    Modu³ Apache'a s³u¿±cy do ¶ledzenia "ciasteczek"
594 Group:          Networking/Daemons
595 Requires:       %{name} = %{version}-%{release}
596
597 %description mod_usertrack
598 This package contains the user tracking module which did its own
599 logging using CookieLog directory. This module allow multiple log
600 files.
601
602 %description mod_usertrack -l pl
603 Modu³ pozwalaj±cy na ¶ledzenie "ciasteczek".
604
605 %package mod_vhost_alias
606 Summary:        Apache module for dynamically configured mass virtual hosting
607 Summary(pl):    Modu³ Apache'a dodaj±cy obs³ugê hostów wirtualnych
608 Group:          Networking/Daemons
609 Requires:       %{name} = %{version}-%{release}
610
611 %description mod_vhost_alias
612 This package contains the mod_vhost_alias. It provides support for
613 dynamically configured mass virtual hosting.
614
615 %description mod_vhost_alias -l pl
616 Modu³ umo¿liwia na dynamiczne konfigurowanie masowej ilo¶ci serwerów
617 wirtualnych.
618
619 %package mod_unique_id
620 Summary:        Apache module which provides a magic token for each request
621 Summary(pl):    Modu³ Apache'a nadaj±cy ka¿demu zapytaniu unikalny token
622 Group:          Networking/Daemons
623 Requires:       %{name} = %{version}-%{release}
624
625 %description mod_unique_id
626 This package contains the mod_unique_id. This module provides a magic
627 token for each request which is guaranteed to be unique across "all"
628 requests under very specific conditions. The unique identifier is even
629 unique across multiple machines in a properly configured cluster of
630 machines. The environment variable UNIQUE_ID is set to the identifier
631 for each request. Unique identifiers are useful for various reasons
632 which are beyond the scope of this document.
633
634 %description mod_unique_id -l pl
635 Modu³ nadaje ka¿demu zapytaniu token unikalny w ramach wszystkich
636 zapytañ, nawet w ramach poprawnie skonfigurowanego klastra z wielu
637 maszyn. Modu³ ustawia przy ka¿dym zapytaniu zmienn± ¶rodowiskow±
638 UNIQUE_ID.
639
640 %package mod_expires
641 Summary:        Apache module which generates Expires HTTP headers
642 Summary(pl):    Modu³ Apache'a generuj±cy nag³ówki HTTP Expires
643 Group:          Networking/Daemons
644 Requires:       %{name} = %{version}-%{release}
645
646 %description mod_expires
647 This module controls the setting of the Expires HTTP header in server
648 responses. The expiration date can set to be relative to either the
649 time the source file was last modified, or to the time of the client
650 access.
651
652 %description mod_expires -l pl
653 Modu³ kontroluje ustawianie nag³ówka HTTP Expires. Data wyga¶niêcia
654 wa¿no¶ci mo¿e byæ ustalana w zale¿no¶ci od czasu modyfikacji plików
655 ¼ród³owych lub odwo³ania klienta.
656
657 %package mod_file_cache
658 Summary:        Apache module: caches a static list of files in memory
659 Summary(pl):    Modu³ Apache'a cache'uj±cy statyczn± listê plików w pamiêci
660 Group:          Networking/Daemons
661 Obsoletes:      apache-mmap_static
662 Requires:       %{name} = %{version}-%{release}
663
664 %description mod_file_cache
665 Caches a static list of files in memory.
666
667 %description mod_file_cache -l pl
668 Modu³ cache'uj±cy statyczn± listê plików w pamiêci.
669
670 %prep
671 %setup -q -n httpd-%{version}
672 %patch0 -p1
673 %patch1 -p1
674 %patch2 -p1
675 %patch3 -p1
676 %patch4 -p1
677 %patch5 -p1
678 %patch7 -p1
679 %patch8 -p1
680 %patch9 -p1
681 %patch10 -p1
682 %patch11 -p1
683 %patch13 -p1
684 %patch14 -p1
685 %patch15 -p1
686 %patch16 -p1
687 %patch17 -p1
688 %patch18 -p1
689 %patch19 -p1
690 %patch20 -p1
691 %patch21 -p1
692 %patch22 -p1
693 %patch23 -p1
694 %patch24 -p1
695
696 %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(grep -rl "/usr/local/bin/perl" *)
697 %{__perl} -pi -e "s@BUILD_SUBDIRS.*@BUILD_SUBDIRS =@g" srclib/Makefile.in
698 %{__perl} -pi -e "s@CLEAN_SUBDIRS.*@CLEAN_SUBDIRS =@g" srclib/Makefile.in
699
700 %build
701 # sanity check
702 MODULES_API=`awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' include/ap_mmn.h`
703 if [ "$MODULES_API" != "%_apache_modules_api" ]; then
704         echo "Set %%_apache_modules_api to $MODULES_API and rerun."
705         exit 1
706 fi
707 ./buildconf
708 rm -rf srclib/apr*
709 # Before configure; fix location of build dir in generated apxs
710 %{__perl} -pi -e "s:\@exp_installbuilddir\@:%{_libdir}/apache/build:g" \
711         support/apxs.in
712 %{__perl} -pi -e "s:apr-config:apr-1-config:g" support/apxs.in
713 %{__perl} -pi -e "s:apu-config:apu-1-config:g" support/apxs.in
714 install /usr/share/automake/config.* build/
715 CPPFLAGS="-DMAX_SERVER_LIMIT=200000 -DBIG_SECURITY_HOLE=1"
716 for mpm in metuxmpm peruser perchild prefork worker; do
717 install -d "buildmpm-${mpm}"; cd "buildmpm-${mpm}"
718 ../%configure \
719         --prefix=%{_sysconfdir} \
720         --exec-prefix=%{_libexecdir} \
721         --with-installbuilddir=%{_libdir}/apache/build \
722         --enable-layout=PLD \
723         --enable-modules=all \
724         --enable-mods-shared=all \
725         --enable-auth-anon \
726         --enable-auth-dbm \
727         --enable-auth-digest \
728         --enable-file-cache \
729         --enable-echo \
730         --enable-cache \
731         --enable-charset-lite \
732         --enable-mem-cache \
733         --enable-disk-cache \
734         --enable-ext-filter \
735         --enable-case-filter \
736         --enable-case-filter-in \
737         --enable-deflate \
738         --with-z=%{_prefix} \
739         --enable-mime-magic \
740         --enable-cern-meta \
741         --enable-expires \
742         --enable-headers \
743         --enable-usertrack \
744         --enable-unique-id \
745         --enable-proxy \
746         --enable-proxy-connect \
747         --enable-proxy-ftp \
748         --enable-proxy-http \
749         %{?with_ssl:--enable-ssl} \
750         --enable-optional-hook-export \
751         --enable-optional-hook-import \
752         --enable-optional-fn-import \
753         --enable-optional-fn-export \
754         %{?with_ldap:--enable-ldap} \
755         %{?with_ldap:--enable-auth-ldap} \
756         --enable-dav \
757         --enable-info \
758         --enable-suexec \
759         --enable-cgi \
760         --enable-cgid \
761         --enable-dav-fs \
762         --enable-vhost-alias \
763         --enable-speling \
764         --enable-rewrite \
765         --enable-so \
766         --with-program-name=httpd.${mpm} \
767         --with-mpm=${mpm} \
768 %ifarch %{ix86}
769 %ifnarch i386 i486
770         $( [ "${mpm}" = "leader" ] && echo "--enable-nonportable-atomics=yes" ) \
771 %endif
772 %endif
773         --with-suexec-bin=%{_sbindir}/suexec \
774         --with-suexec-caller=http \
775         --with-suexec-docroot=%{_datadir} \
776         --with-suexec-logfile=/var/log/httpd/suexec_log \
777         --with-suexec-uidmin=500 \
778         --with-suexec-gidmin=500 \
779         --with-suexec-umask=077 \
780         --with-apr=%{_bindir}/apr-1-config \
781         --with-apr-util=%{_bindir}/apu-1-config
782 %{__make}
783 ./httpd.${mpm} -l | grep -v "${mpm}" > modules-inside
784
785 find include -name '*.h' | xargs perl -pi -e "s#/httpd\.(.*?)\.conf#/etc/httpd/httpd.conf#"
786
787 cd ..
788 done
789
790 for mpm in metuxmpm peruser perchild worker; do
791         if ! cmp -s buildmpm-prefork/modules-inside buildmpm-${mpm}/modules-inside; then
792                 echo "List of compiled modules is different between prefork-MPM and ${mpm}-MPM!"
793                 echo "Build failed."
794                 exit 1
795         fi
796 done
797
798 %install
799 rm -rf $RPM_BUILD_ROOT
800 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
801         $RPM_BUILD_ROOT%{_var}/{log/{httpd,archiv/httpd},{run,cache}/apache}
802
803 # prefork is default one
804 %{__make} -C buildmpm-prefork install \
805         DESTDIR=$RPM_BUILD_ROOT \
806         installbuilddir=%{_sysconfdir}/build \
807         prefix=%{_sysconfdir}/httpd \
808         libexecdir=%{_libdir}/%{name} \
809         iconsdir=%{_datadir}/icons \
810         errordir=%{_datadir}/error \
811         htdocsdir=%{_datadir}/html \
812         manualdir=%{_datadir}/manual \
813         cgidir=%{_datadir}/cgi-bin \
814         runtimedir=%{_var}/run \
815         logdir=%{_var}/log/httpd \
816         proxycachedir=%{_var}/cache/httpd
817
818 for mpm in metuxmpm peruser perchild worker; do
819         install buildmpm-${mpm}/httpd.${mpm} $RPM_BUILD_ROOT%{_sbindir}/httpd.${mpm}
820         ln -s httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.${mpm}.conf
821 done
822
823 ln -s httpd.prefork $RPM_BUILD_ROOT%{_sbindir}/httpd
824
825 ln -s %{_libdir}/apache $RPM_BUILD_ROOT%{_sysconfdir}/modules
826 ln -s %{_localstatedir}/run/apache $RPM_BUILD_ROOT%{_sysconfdir}/run
827 ln -s %{_libdir}/apache/build $RPM_BUILD_ROOT%{_sysconfdir}/build
828
829 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
830 install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
831
832 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/build \
833         $RPM_BUILD_ROOT%{_libexecdir}/build
834
835 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
836 %{__perl} -pi -e "s#$RPM_BUILD_DIR#%{_usrsrc}#g" $RPM_BUILD_ROOT%{_libexecdir}/build/*
837 %{__perl} -pi -e "s#-pthread#-lpthread#g" $RPM_BUILD_ROOT%{_libdir}/lib*.la
838 %{__perl} -pi -e 's#/etc/httpd/build#%{_libexecdir}/build#g' $RPM_BUILD_ROOT%{_libexecdir}/build/*
839 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_libexecdir}/build/libtool
840 ln -sf %{_libexecdir}/build $RPM_BUILD_ROOT%{_sysconfdir}/build
841
842 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/httpd
843 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache
844 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
845 install %{SOURCE5} $RPM_BUILD_ROOT/etc/monit
846
847 touch $RPM_BUILD_ROOT/var/log/httpd/{access,error,agent,referer,suexec}_log
848
849 %if %{with ssl}
850 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ssl
851 install %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.crt
852 install %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/ssl/server.key
853 %endif
854
855 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/"
856
857 install %{SOURCE6} $CFG/10_httpd.conf
858 install %{SOURCE8} $CFG/20_mod_vhost_alias.conf
859 install %{SOURCE9} $CFG/25_mod_status.conf
860 install %{SOURCE10} $CFG/30_mod_proxy.conf
861 install %{SOURCE11} $CFG/35_mod_info.conf
862 install %{SOURCE12} $CFG/40_mod_ssl.conf
863 install %{SOURCE13} $CFG/45_mod_dav.conf
864 install %{SOURCE14} $CFG/59_mod_dir.conf
865 install %{SOURCE15} $CFG/13_mod_suexec.conf
866 install %{SOURCE16} $CFG/58_mod_deflate.conf
867 install %{SOURCE17} $CFG/57_mod_autoindex.conf
868
869 echo "LoadModule ldap_module    %{_libexecdir}/mod_ldap.so" > $CFG/49_mod_ldap.conf
870 echo "LoadModule actions_module %{_libexecdir}/mod_actions.so" > $CFG/50_mod_actions.conf
871 echo "LoadModule auth_module    %{_libexecdir}/mod_auth.so" > $CFG/51_mod_auth.conf
872 echo "LoadModule auth_anon_module       %{_libexecdir}/mod_auth_anon.so" > $CFG/52_mod_auth_anon.conf
873 echo "LoadModule auth_dbm_module        %{_libexecdir}/mod_auth_dbm.so" > $CFG/53_mod_auth_dbm.conf
874 echo "LoadModule auth_digest_module     %{_libexecdir}/mod_auth_digest.so" > $CFG/54_mod_auth_digest.conf
875 echo "LoadModule cache_module   %{_libexecdir}/mod_cache.so
876 LoadModule mem_cache_module     %{_libexecdir}/mod_mem_cache.so
877 LoadModule disk_cache_module    %{_libexecdir}/mod_disk_cache.so" > $CFG/55_mod_cache.conf
878 echo "LoadModule cgid_module    %{_libexecdir}/mod_cgid.so" > $CFG/56_mod_cgid.conf
879 echo "LoadModule charset_lite_module    %{_libexecdir}/mod_charset_lite.so" > $CFG/57_mod_charset_lite.conf
880 echo "LoadModule auth_ldap_module       %{_libexecdir}/mod_auth_ldap.so" > $CFG/59_mod_auth_ldap.conf
881 echo "LoadModule expires_module %{_libexecdir}/mod_expires.so" > $CFG/60_mod_expires.conf
882 echo "LoadModule file_cache_module      %{_libexecdir}/mod_file_cache.so" > $CFG/61_mod_file_cache.conf
883 echo "LoadModule headers_module %{_libexecdir}/mod_headers.so" > $CFG/62_mod_headers.conf
884 echo "LoadModule imap_module    %{_libexecdir}/mod_imap.so" > $CFG/63_mod_imap.conf
885 echo "LoadModule rewrite_module %{_libexecdir}/mod_rewrite.so" > $CFG/64_mod_rewrite.conf
886 echo "LoadModule usertrack_module       %{_libexecdir}/mod_usertrack.so" > $CFG/65_mod_usertrack.conf
887 echo "LoadModule unique_id_module       %{_libexecdir}/mod_unique_id.so" > $CFG/66_mod_unique_id.conf
888
889 ln -sf index.html.en $RPM_BUILD_ROOT%{_datadir}/html/index.html
890 # let's remove trash (yes, *.html without lang suffix also contain trash)
891 find $RPM_BUILD_ROOT%{_datadir}/manual -type f \
892         -name '*.xml' -o -name '*.xml.*' -o -name '*.html' \
893         | xargs rm -f
894
895 %clean
896 rm -rf $RPM_BUILD_ROOT
897
898 %pre
899 if [ -n "`getgid http`" ]; then
900         if [ "`getgid http`" != "51" ]; then
901                 echo "Error: group http doesn't have gid=51. Correct this before installing apache." 1>&2
902                 exit 1
903         fi
904 else
905         /usr/sbin/groupadd -g 51 -r -f http
906 fi
907 if [ -n "`id -u http 2>/dev/null`" ]; then
908         if [ "`id -u http`" != "51" ]; then
909                 echo "Error: user http doesn't have uid=51. Correct this before installing apache." 1>&2
910                 exit 1
911         fi
912 else
913         /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
914 fi
915
916 %post
917 /sbin/ldconfig
918 /sbin/chkconfig --add httpd
919 umask 137
920 touch /var/log/httpd/{access,error,agent,referer}_log
921 if [ -f /var/lock/subsys/httpd ]; then
922         /etc/rc.d/init.d/httpd restart 1>&2
923 else
924         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
925 fi
926
927 %preun
928 if [ "$1" = "0" ]; then
929         if [ -f /var/lock/subsys/httpd ]; then
930                 /etc/rc.d/init.d/httpd stop 1>&2
931         fi
932         /sbin/chkconfig --del httpd
933 fi
934
935 %postun
936 /sbin/ldconfig
937 if [ "$1" = "0" ]; then
938         %userremove http
939         %groupremove http
940 fi
941
942 %triggerpostun  -- %{name} <= 2.0.50-6
943 echo "WARNING!!!"
944 echo "Since that version autoindex module has been separated to package %{name}-mod_autoindex"
945 echo "If you want to have the same functionality do:"
946 echo "poldek --upgrade %{name}-mod_autoindex"
947 echo
948
949 %post mod_actions
950 if [ -f /var/lock/subsys/httpd ]; then
951         /etc/rc.d/init.d/httpd restart 1>&2
952 else
953         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
954 fi
955
956 %preun mod_actions
957 if [ "$1" = "0" ]; then
958         if [ -f /var/lock/subsys/httpd ]; then
959                 /etc/rc.d/init.d/httpd restart 1>&2
960         fi
961 fi
962
963 %post mod_auth
964 if [ -f /var/lock/subsys/httpd ]; then
965         /etc/rc.d/init.d/httpd restart 1>&2
966 else
967         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
968 fi
969
970 %preun mod_auth
971 if [ "$1" = "0" ]; then
972         if [ -f /var/lock/subsys/httpd ]; then
973                 /etc/rc.d/init.d/httpd restart 1>&2
974         fi
975 fi
976
977 %post mod_auth_anon
978 if [ -f /var/lock/subsys/httpd ]; then
979         /etc/rc.d/init.d/httpd restart 1>&2
980 else
981         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
982 fi
983
984 %preun mod_auth_anon
985 if [ "$1" = "0" ]; then
986         if [ -f /var/lock/subsys/httpd ]; then
987                 /etc/rc.d/init.d/httpd restart 1>&2
988         fi
989 fi
990
991 %post mod_auth_dbm
992 if [ -f /var/lock/subsys/httpd ]; then
993         /etc/rc.d/init.d/httpd restart 1>&2
994 else
995         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
996 fi
997
998 %preun mod_auth_dbm
999 if [ "$1" = "0" ]; then
1000         if [ -f /var/lock/subsys/httpd ]; then
1001                 /etc/rc.d/init.d/httpd restart 1>&2
1002         fi
1003 fi
1004
1005 %post mod_autoindex
1006 if [ -f /var/lock/subsys/httpd ]; then
1007         /etc/rc.d/init.d/httpd restart 1>&2
1008 else
1009         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1010 fi
1011
1012 %preun mod_autoindex
1013 if [ "$1" = "0" ]; then
1014         if [ -f /var/lock/subsys/httpd ]; then
1015                 /etc/rc.d/init.d/httpd restart 1>&2
1016         fi
1017 fi
1018
1019 %post mod_cache
1020 if [ -f /var/lock/subsys/httpd ]; then
1021         /etc/rc.d/init.d/httpd restart 1>&2
1022 else
1023         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1024 fi
1025
1026 %preun mod_cache
1027 if [ "$1" = "0" ]; then
1028         if [ -f /var/lock/subsys/httpd ]; then
1029                 /etc/rc.d/init.d/httpd restart 1>&2
1030         fi
1031 fi
1032
1033 %post mod_cgid
1034 if [ -f /var/lock/subsys/httpd ]; then
1035         /etc/rc.d/init.d/httpd restart 1>&2
1036 else
1037         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1038 fi
1039
1040 %preun mod_cgid
1041 if [ "$1" = "0" ]; then
1042         if [ -f /var/lock/subsys/httpd ]; then
1043                 /etc/rc.d/init.d/httpd restart 1>&2
1044         fi
1045 fi
1046
1047 %post mod_charset_lite
1048 if [ -f /var/lock/subsys/httpd ]; then
1049         /etc/rc.d/init.d/httpd restart 1>&2
1050 else
1051         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1052 fi
1053
1054 %preun mod_charset_lite
1055 if [ "$1" = "0" ]; then
1056         if [ -f /var/lock/subsys/httpd ]; then
1057                 /etc/rc.d/init.d/httpd restart 1>&2
1058         fi
1059 fi
1060
1061 %post mod_dav
1062 if [ -f /var/lock/subsys/httpd ]; then
1063         /etc/rc.d/init.d/httpd restart 1>&2
1064 else
1065         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1066 fi
1067
1068 %preun mod_dav
1069 if [ "$1" = "0" ]; then
1070         if [ -f /var/lock/subsys/httpd ]; then
1071                 /etc/rc.d/init.d/httpd restart 1>&2
1072         fi
1073 fi
1074
1075 %post mod_auth_digest
1076 if [ -f /var/lock/subsys/httpd ]; then
1077         /etc/rc.d/init.d/httpd restart 1>&2
1078 else
1079         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1080 fi
1081
1082 %preun mod_auth_digest
1083 if [ "$1" = "0" ]; then
1084         if [ -f /var/lock/subsys/httpd ]; then
1085                 /etc/rc.d/init.d/httpd restart 1>&2
1086         fi
1087 fi
1088
1089 %post mod_deflate
1090 if [ -f /var/lock/subsys/httpd ]; then
1091         /etc/rc.d/init.d/httpd restart 1>&2
1092 else
1093         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1094 fi
1095
1096 %preun mod_deflate
1097 if [ "$1" = "0" ]; then
1098         if [ -f /var/lock/subsys/httpd ]; then
1099                 /etc/rc.d/init.d/httpd restart 1>&2
1100         fi
1101 fi
1102
1103 %post mod_dir
1104 if [ -f /var/lock/subsys/httpd ]; then
1105         /etc/rc.d/init.d/httpd restart 1>&2
1106 else
1107         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1108 fi
1109
1110 %preun mod_dir
1111 if [ "$1" = "0" ]; then
1112         if [ -f /var/lock/subsys/httpd ]; then
1113                 /etc/rc.d/init.d/httpd restart 1>&2
1114         fi
1115 fi
1116
1117 %post mod_expires
1118 if [ -f /var/lock/subsys/httpd ]; then
1119         /etc/rc.d/init.d/httpd restart 1>&2
1120 else
1121         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1122 fi
1123
1124 %preun mod_expires
1125 if [ "$1" = "0" ]; then
1126         if [ -f /var/lock/subsys/httpd ]; then
1127                 /etc/rc.d/init.d/httpd restart 1>&2
1128         fi
1129 fi
1130
1131 %post mod_file_cache
1132 if [ -f /var/lock/subsys/httpd ]; then
1133         /etc/rc.d/init.d/httpd restart 1>&2
1134 else
1135         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1136 fi
1137
1138 %preun mod_file_cache
1139 if [ "$1" = "0" ]; then
1140         if [ -f /var/lock/subsys/httpd ]; then
1141                 /etc/rc.d/init.d/httpd restart 1>&2
1142         fi
1143 fi
1144
1145 %post mod_headers
1146 if [ -f /var/lock/subsys/httpd ]; then
1147         /etc/rc.d/init.d/httpd restart 1>&2
1148 else
1149         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1150 fi
1151
1152 %preun mod_headers
1153 if [ "$1" = "0" ]; then
1154         if [ -f /var/lock/subsys/httpd ]; then
1155                 /etc/rc.d/init.d/httpd restart 1>&2
1156         fi
1157 fi
1158
1159 %post mod_imap
1160 if [ -f /var/lock/subsys/httpd ]; then
1161         /etc/rc.d/init.d/httpd restart 1>&2
1162 else
1163         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1164 fi
1165
1166 %preun mod_imap
1167 if [ "$1" = "0" ]; then
1168         if [ -f /var/lock/subsys/httpd ]; then
1169                 /etc/rc.d/init.d/httpd restart 1>&2
1170         fi
1171 fi
1172
1173 %post mod_info
1174 if [ -f /var/lock/subsys/httpd ]; then
1175         /etc/rc.d/init.d/httpd restart 1>&2
1176 else
1177         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1178 fi
1179
1180 %preun mod_info
1181 if [ "$1" = "0" ]; then
1182         if [ -f /var/lock/subsys/httpd ]; then
1183                 /etc/rc.d/init.d/httpd restart 1>&2
1184         fi
1185 fi
1186
1187 %post mod_proxy
1188 if [ -f /var/lock/subsys/httpd ]; then
1189         /etc/rc.d/init.d/httpd restart 1>&2
1190 else
1191         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1192 fi
1193
1194 %preun mod_proxy
1195 if [ "$1" = "0" ]; then
1196         if [ -f /var/lock/subsys/httpd ]; then
1197                 /etc/rc.d/init.d/httpd restart 1>&2
1198         fi
1199 fi
1200
1201 %post mod_rewrite
1202 if [ -f /var/lock/subsys/httpd ]; then
1203         /etc/rc.d/init.d/httpd restart 1>&2
1204 else
1205         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1206 fi
1207
1208 %preun mod_rewrite
1209 if [ "$1" = "0" ]; then
1210         if [ -f /var/lock/subsys/httpd ]; then
1211                 /etc/rc.d/init.d/httpd restart 1>&2
1212         fi
1213 fi
1214
1215 %post mod_ssl
1216 if [ -f /var/lock/subsys/httpd ]; then
1217         /etc/rc.d/init.d/httpd restart 1>&2
1218 else
1219         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1220 fi
1221
1222 %preun mod_ssl
1223 if [ "$1" = "0" ]; then
1224         if [ -f /var/lock/subsys/httpd ]; then
1225                 /etc/rc.d/init.d/httpd restart 1>&2
1226         fi
1227 fi
1228
1229 %post mod_status
1230 if [ -f /var/lock/subsys/httpd ]; then
1231         /etc/rc.d/init.d/httpd restart 1>&2
1232 else
1233         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1234 fi
1235
1236 %preun mod_status
1237 if [ "$1" = "0" ]; then
1238         if [ -f /var/lock/subsys/httpd ]; then
1239                 /etc/rc.d/init.d/httpd restart 1>&2
1240         fi
1241 fi
1242
1243 %post mod_usertrack
1244 if [ -f /var/lock/subsys/httpd ]; then
1245         /etc/rc.d/init.d/httpd restart 1>&2
1246 else
1247         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1248 fi
1249
1250 %preun mod_usertrack
1251 if [ "$1" = "0" ]; then
1252         if [ -f /var/lock/subsys/httpd ]; then
1253                 /etc/rc.d/init.d/httpd restart 1>&2
1254         fi
1255 fi
1256
1257 %post mod_unique_id
1258 if [ -f /var/lock/subsys/httpd ]; then
1259         /etc/rc.d/init.d/httpd restart 1>&2
1260 else
1261         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1262 fi
1263
1264 %preun mod_unique_id
1265 if [ "$1" = "0" ]; then
1266         if [ -f /var/lock/subsys/httpd ]; then
1267                 /etc/rc.d/init.d/httpd restart 1>&2
1268         fi
1269 fi
1270
1271 %post mod_vhost_alias
1272 if [ -f /var/lock/subsys/httpd ]; then
1273         /etc/rc.d/init.d/httpd restart 1>&2
1274 else
1275         echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
1276 fi
1277
1278 %preun mod_vhost_alias
1279 if [ "$1" = "0" ]; then
1280         if [ -f /var/lock/subsys/httpd ]; then
1281                 /etc/rc.d/init.d/httpd restart 1>&2
1282         fi
1283 fi
1284
1285 %files
1286 %defattr(644,root,root,755)
1287 %doc ABOUT_APACHE CHANGES README
1288 %doc docs/conf/mime.types
1289
1290 %attr(754,root,root) /etc/rc.d/init.d/httpd
1291
1292 %attr(750,root,root) %dir %{_sysconfdir}/httpd.conf
1293 %attr(750,root,root) %dir %{_sysconfdir}/modules
1294 %attr(750,root,root) %dir %{_sysconfdir}/run
1295 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_httpd.conf
1296 %attr(640,root,root) %{_sysconfdir}/magic
1297 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
1298 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
1299 %attr(750,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/monit/*.monitrc
1300
1301 %attr(755,root,root) %{_libexecdir}/mod_access.so
1302 %attr(755,root,root) %{_libexecdir}/mod_alias.so
1303 %attr(755,root,root) %{_libexecdir}/mod_asis.so
1304 %attr(755,root,root) %{_libexecdir}/mod_cern_meta.so
1305 %attr(755,root,root) %{_libexecdir}/mod_cgi.so
1306 %attr(755,root,root) %{_libexecdir}/mod_env.so
1307 %attr(755,root,root) %{_libexecdir}/mod_include.so
1308 %attr(755,root,root) %{_libexecdir}/mod_log_config.so
1309 %attr(755,root,root) %{_libexecdir}/mod_log_forensic.so
1310 %attr(755,root,root) %{_libexecdir}/mod_mime.so
1311 %attr(755,root,root) %{_libexecdir}/mod_mime_magic.so
1312 %attr(755,root,root) %{_libexecdir}/mod_negotiation.so
1313 %attr(755,root,root) %{_libexecdir}/mod_setenvif.so
1314 %attr(755,root,root) %{_libexecdir}/mod_speling.so
1315 %attr(755,root,root) %{_libexecdir}/mod_userdir.so
1316
1317 # look at TODO on top
1318 %attr(755,root,root) %{_libexecdir}/mod_case_filter.so
1319 %attr(755,root,root) %{_libexecdir}/mod_case_filter_in.so
1320 %attr(755,root,root) %{_libexecdir}/mod_echo.so
1321 %attr(755,root,root) %{_libexecdir}/mod_ext_filter.so
1322 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_export.so
1323 %attr(755,root,root) %{_libexecdir}/mod_optional_fn_import.so
1324 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_export.so
1325 %attr(755,root,root) %{_libexecdir}/mod_optional_hook_import.so
1326
1327 %attr(755,root,root) %{_sbindir}/htdigest
1328
1329 %attr(755,root,root) %{_sbindir}/ab
1330 %attr(755,root,root) %{_sbindir}/apachectl
1331 %attr(755,root,root) %{_sbindir}/checkgid
1332 %attr(755,root,root) %{_sbindir}/httpd
1333 %attr(755,root,root) %{_sbindir}/httpd.*
1334 %attr(755,root,root) %{_sbindir}/logresolve
1335 %attr(755,root,root) %{_sbindir}/rotatelogs
1336
1337 %dir %attr(770,root,http) /var/run/apache
1338 %dir %attr(770,root,http) /var/cache/apache
1339
1340 %{_mandir}/man1/htdigest.1*
1341 %{_mandir}/man8/ab.8*
1342 %{_mandir}/man8/apachectl.8*
1343 %{_mandir}/man8/httpd.8*
1344 %{_mandir}/man8/logresolve.8*
1345 %{_mandir}/man8/rotatelogs.8*
1346
1347 %attr(750,root,logs) %dir /var/log/httpd
1348 %attr(750,root,logs) %dir /var/log/archiv/httpd
1349 %attr(640,root,logs) %ghost /var/log/httpd/*
1350
1351 %dir %{_datadir}
1352
1353 %attr(755,root,root) %dir %{_datadir}/html
1354 %{_datadir}/icons
1355 %attr(755,root,root) %{_datadir}/cgi-bin
1356
1357 %{_datadir}/error
1358
1359 %files doc
1360 %defattr(644,root,root,755)
1361 %dir %{_datadir}/manual
1362 %{_datadir}/manual/LICENSE
1363 %{_datadir}/manual/*.html.en
1364 %lang(de) %{_datadir}/manual/*.html.de
1365 %lang(es) %{_datadir}/manual/*.html.es
1366 %lang(fr) %{_datadir}/manual/*.html.fr
1367 %lang(ja) %{_datadir}/manual/*.html.ja*
1368 %lang(ko) %{_datadir}/manual/*.html.ko.euc-kr
1369 %lang(ru) %{_datadir}/manual/*.html.ru.koi8-r
1370 %dir %{_datadir}/manual/developer
1371 %{_datadir}/manual/developer/*.html.en
1372 %lang(ja) %{_datadir}/manual/developer/*.html.ja*
1373 %dir %{_datadir}/manual/faq
1374 %{_datadir}/manual/faq/*.html.en
1375 %lang(ko) %{_datadir}/manual/faq/*.html.ko.euc-kr
1376 %dir %{_datadir}/manual/howto
1377 %{_datadir}/manual/howto/*.html.en
1378 %lang(ja) %{_datadir}/manual/howto/*.html.ja*
1379 %lang(ko) %{_datadir}/manual/howto/*.html.ko.euc-kr
1380 %dir %{_datadir}/manual/images
1381 %{_datadir}/manual/images/[!m]*
1382 %dir %{_datadir}/manual/misc
1383 %{_datadir}/manual/misc/*.html.en
1384 %lang(ko) %{_datadir}/manual/misc/*.html.ko.euc-kr
1385 %dir %{_datadir}/manual/mod
1386 %{_datadir}/manual/mod/[cdfhilpqtw]*.html.en
1387 %lang(de) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.de
1388 %lang(es) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.es
1389 %lang(ja) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ja*
1390 %lang(ko) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ko.euc-kr
1391 %lang(ru) %{_datadir}/manual/mod/[cdfhilpqtw]*.html.ru.koi8-r
1392 %{_datadir}/manual/mod/module-dict.html.en
1393 %lang(ja) %{_datadir}/manual/mod/module-dict.html.ja*
1394 %lang(ko) %{_datadir}/manual/mod/module-dict.html.ko.euc-kr
1395 %{_datadir}/manual/mod/mpm_common.html.en
1396 %lang(de) %{_datadir}/manual/mod/mpm_common.html.de
1397 %lang(ja) %{_datadir}/manual/mod/mpm_common.html.ja*
1398 %{_datadir}/manual/mod/mod_access.html.en
1399 %lang(ja) %{_datadir}/manual/mod/mod_access.html.ja*
1400 %{_datadir}/manual/mod/mod_alias.html.en
1401 %lang(ja) %{_datadir}/manual/mod/mod_alias.html.ja*
1402 %{_datadir}/manual/mod/mod_asis.html.en
1403 %lang(ja) %{_datadir}/manual/mod/mod_asis.html.ja*
1404 %lang(ko) %{_datadir}/manual/mod/mod_asis.html.ko.euc-kr
1405 %{_datadir}/manual/mod/mod_autoindex.html.en
1406 %lang(ja) %{_datadir}/manual/mod/mod_autoindex.html.ja*
1407 %lang(ko) %{_datadir}/manual/mod/mod_autoindex.html.ko.euc-kr
1408 %{_datadir}/manual/mod/mod_cern_meta.html.en
1409 %lang(ko) %{_datadir}/manual/mod/mod_cern_meta.html.ko.euc-kr
1410 %{_datadir}/manual/mod/mod_cgi.html.en
1411 %lang(ja) %{_datadir}/manual/mod/mod_cgi.html.ja*
1412 %lang(ko) %{_datadir}/manual/mod/mod_cgi.html.ko.euc-kr
1413 %{_datadir}/manual/mod/mod_echo.html.en
1414 %lang(ja) %{_datadir}/manual/mod/mod_echo.html.ja*
1415 %lang(ko) %{_datadir}/manual/mod/mod_echo.html.ko.euc-kr
1416 %{_datadir}/manual/mod/mod_env.html.en
1417 %lang(ja) %{_datadir}/manual/mod/mod_env.html.ja*
1418 %lang(ko) %{_datadir}/manual/mod/mod_env.html.ko.euc-kr
1419 %{_datadir}/manual/mod/mod_ext_filter.html.en
1420 %lang(ko) %{_datadir}/manual/mod/mod_ext_filter.html.ko.euc-kr
1421 %{_datadir}/manual/mod/mod_include.html.en
1422 %lang(ja) %{_datadir}/manual/mod/mod_include.html.ja*
1423 %{_datadir}/manual/mod/mod_log_config.html.en
1424 %{_datadir}/manual/mod/mod_log_forensic.html.en
1425 %{_datadir}/manual/mod/mod_mime*.html.en
1426 %lang(ja) %{_datadir}/manual/mod/mod_mime*.html.ja*
1427 %{_datadir}/manual/mod/mod_negotiation.html.en
1428 %lang(ja) %{_datadir}/manual/mod/mod_negotiation.html.ja*
1429 %{_datadir}/manual/mod/mod_setenvif.html.en
1430 %lang(ja) %{_datadir}/manual/mod/mod_setenvif.html.ja*
1431 %lang(ko) %{_datadir}/manual/mod/mod_setenvif.html.ko.euc-kr
1432 %{_datadir}/manual/mod/mod_speling.html.en
1433 %lang(ja) %{_datadir}/manual/mod/mod_speling.html.ja*
1434 %lang(ko) %{_datadir}/manual/mod/mod_speling.html.ko.euc-kr
1435 %{_datadir}/manual/mod/mod_userdir.html.en
1436 %lang(ja) %{_datadir}/manual/mod/mod_userdir.html.ja*
1437 %lang(ko) %{_datadir}/manual/mod/mod_userdir.html.ko.euc-kr
1438 %dir %{_datadir}/manual/programs
1439 %{_datadir}/manual/programs/*.html.en
1440 %lang(es) %{_datadir}/manual/programs/*.html.es
1441 %lang(ko) %{_datadir}/manual/programs/*.html.ko.euc-kr
1442 %lang(ru) %{_datadir}/manual/programs/*.html.ru.koi8-r
1443 %dir %{_datadir}/manual/style
1444 %{_datadir}/manual/style/css
1445
1446 %{_datadir}/manual/mod/mod_suexec.html.en
1447 %lang(ja) %{_datadir}/manual/mod/mod_suexec.html.ja*
1448 %lang(ko) %{_datadir}/manual/mod/mod_suexec.html.ko.euc-kr
1449 %{_datadir}/manual/mod/mod_actions.html.en
1450 %lang(ja) %{_datadir}/manual/mod/mod_actions.html.ja*
1451 %lang(ko) %{_datadir}/manual/mod/mod_actions.html.ko.euc-kr
1452 %{_datadir}/manual/mod/mod_auth.html.en
1453 %lang(ja) %{_datadir}/manual/mod/mod_auth.html.ja*
1454 %{_datadir}/manual/mod/mod_auth_anon.html.en
1455 %{_datadir}/manual/mod/mod_auth_ldap.html.en
1456 %{_datadir}/manual/mod/mod_ldap.html.en
1457 %{_datadir}/manual/mod/mod_auth_dbm.html.en
1458 %{_datadir}/manual/mod/mod_auth_digest.html.en
1459 %{_datadir}/manual/mod/mod_cache.html.en
1460 %lang(ko) %{_datadir}/manual/mod/mod_cache.html.ko.euc-kr
1461 %{_datadir}/manual/mod/mod_disk_cache.html.en
1462 %lang(ko) %{_datadir}/manual/mod/mod_disk_cache.html.ko.euc-kr
1463 %{_datadir}/manual/mod/mod_mem_cache.html.en
1464 %{_datadir}/manual/mod/mod_cgid.html.en
1465 %lang(ko) %{_datadir}/manual/mod/mod_cgid.html.ko.euc-kr
1466 %{_datadir}/manual/mod/mod_charset_lite.html.en
1467 %lang(ko) %{_datadir}/manual/mod/mod_charset_lite.html.ko.euc-kr
1468 %{_datadir}/manual/mod/mod_dav*.html.en
1469 %lang(ja) %{_datadir}/manual/mod/mod_dav*.html.ja*
1470 %lang(ko) %{_datadir}/manual/mod/mod_dav*.html.ko.euc-kr
1471 %{_datadir}/manual/mod/mod_deflate.html.en
1472 %lang(ja) %{_datadir}/manual/mod/mod_deflate.html.ja*
1473 %lang(ko) %{_datadir}/manual/mod/mod_deflate.html.ko.euc-kr
1474 %{_datadir}/manual/mod/mod_dir.html.en
1475 %lang(ja) %{_datadir}/manual/mod/mod_dir.html.ja*
1476 %lang(ko) %{_datadir}/manual/mod/mod_dir.html.ko.euc-kr
1477 %{_datadir}/manual/mod/mod_expires.html.en
1478 %lang(ko) %{_datadir}/manual/mod/mod_expires.html.ko.euc-kr
1479 %{_datadir}/manual/mod/mod_file_cache.html.en
1480 %lang(ko) %{_datadir}/manual/mod/mod_file_cache.html.ko.euc-kr
1481 %{_datadir}/manual/mod/mod_headers.html.en
1482 %{_datadir}/manual/mod/mod_imap.html.en
1483 %{_datadir}/manual/mod/mod_info.html.en
1484 %lang(ja) %{_datadir}/manual/mod/mod_info.html.ja*
1485 %{_datadir}/manual/mod/mod_proxy*.html.en
1486 %{_datadir}/manual/mod/mod_rewrite.html.en
1487 %{_datadir}/manual/images/mod_rewrite*
1488 %dir %{_datadir}/manual/ssl
1489 %{_datadir}/manual/ssl/*.gif
1490 %{_datadir}/manual/ssl/*.png
1491 %{_datadir}/manual/ssl/*.html.en
1492 %lang(ja) %{_datadir}/manual/ssl/*.html.ja*
1493 %{_datadir}/manual/mod/mod_ssl.html.en
1494 %{_datadir}/manual/mod/mod_status.html.en
1495 %lang(ko) %{_datadir}/manual/mod/mod_status.html.ko.euc-kr
1496 %{_datadir}/manual/mod/mod_usertrack.html.en
1497 %{_datadir}/manual/mod/mod_unique_id.html.en
1498 %lang(ja) %{_datadir}/manual/mod/mod_unique_id.html.ja*
1499 %lang(ko) %{_datadir}/manual/mod/mod_unique_id.html.ko.euc-kr
1500 %{_datadir}/manual/mod/mod_vhost_alias.html.en
1501 %dir %{_datadir}/manual/vhosts
1502 %{_datadir}/manual/vhosts/*.html.en
1503 %lang(de) %{_datadir}/manual/vhosts/*.html.de
1504 %lang(es) %{_datadir}/manual/vhosts/*.html.es
1505 %lang(ja) %{_datadir}/manual/vhosts/*.html.ja*
1506 %lang(ko) %{_datadir}/manual/vhosts/*.html.ko.euc-kr
1507 %lang(ru) %{_datadir}/manual/vhosts/*.html.ru.koi8-r
1508
1509 %files suexec
1510 %defattr(644,root,root,755)
1511 %attr(4755,root,root) %{_sbindir}/suexec
1512 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
1513 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_suexec.conf
1514 %{_mandir}/man8/suexec.8*
1515
1516 %files index
1517 %defattr(644,root,root,755)
1518 %config(noreplace,missingok) %{_datadir}/html/index.html*
1519 %{_datadir}/html/*.gif
1520 %{_datadir}/html/*.png
1521
1522 %files apxs
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_sbindir}/apxs
1525 %attr(755,root,root) %{_sbindir}/envvars*
1526 %attr(751,root,root) %dir %{_sysconfdir}
1527 %dir %{_libexecdir}
1528 %dir %{_libexecdir}/build
1529 %{_libexecdir}/build/config_vars.mk
1530 %{_mandir}/man8/apxs.8*
1531
1532 %files devel
1533 %defattr(644,root,root,755)
1534 %{_includedir}
1535 %{_libexecdir}/*.exp
1536 %attr(750,root,root) %dir %{_sysconfdir}/build
1537 %{_libexecdir}/build/[lprs]*.mk
1538 %attr(755,root,root) %{_libexecdir}/build/*.sh
1539 %attr(755,root,root) %{_libexecdir}/build/libtool
1540
1541 %files mod_actions
1542 %defattr(644,root,root,755)
1543 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_actions.conf
1544 %attr(755,root,root) %{_libexecdir}/mod_actions.so
1545
1546 %files mod_auth
1547 %defattr(644,root,root,755)
1548 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth.conf
1549 %attr(755,root,root) %{_libexecdir}/mod_auth.so
1550 %attr(755,root,root) %{_sbindir}/htpasswd
1551 %{_mandir}/man1/htpasswd.1*
1552
1553 %files mod_auth_anon
1554 %defattr(644,root,root,755)
1555 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_anon.conf
1556 %attr(755,root,root) %{_libexecdir}/mod_auth_anon.so
1557
1558 %if %{with ldap}
1559 %files mod_auth_ldap
1560 %defattr(644,root,root,755)
1561 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_ldap.conf
1562 %attr(755,root,root) %{_libexecdir}/mod_auth_ldap.so
1563 %endif
1564
1565 %if %{with ldap}
1566 %files mod_ldap
1567 %defattr(644,root,root,755)
1568 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ldap.conf
1569 %attr(755,root,root) %{_libexecdir}/mod_ldap.so
1570 %endif
1571
1572 %files mod_auth_dbm
1573 %defattr(644,root,root,755)
1574 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_dbm.conf
1575 %attr(755,root,root) %{_libexecdir}/mod_auth_dbm.so
1576 %attr(755,root,root) %{_sbindir}/dbmmanage
1577 %attr(755,root,root) %{_sbindir}/htdbm
1578 %{_mandir}/man1/dbmmanage.1*
1579
1580 %files mod_auth_digest
1581 %defattr(644,root,root,755)
1582 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_auth_digest.conf
1583 %attr(755,root,root) %{_libexecdir}/mod_auth_digest.so
1584
1585 %files mod_autoindex
1586 %defattr(644,root,root,755)
1587 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_autoindex.conf
1588 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
1589
1590 %files mod_cache
1591 %defattr(644,root,root,755)
1592 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cache.conf
1593 %attr(755,root,root) %{_libexecdir}/mod_cache.so
1594 %attr(755,root,root) %{_libexecdir}/mod_disk_cache.so
1595 %attr(755,root,root) %{_libexecdir}/mod_mem_cache.so
1596
1597 %files mod_cgid
1598 %defattr(644,root,root,755)
1599 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_cgid.conf
1600 %attr(755,root,root) %{_libexecdir}/mod_cgid.so
1601
1602 %files mod_charset_lite
1603 %defattr(644,root,root,755)
1604 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_charset_lite.conf
1605 %attr(755,root,root) %{_libexecdir}/mod_charset_lite.so
1606
1607 %files mod_dav
1608 %defattr(644,root,root,755)
1609 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dav.conf
1610 %attr(755,root,root) %{_libexecdir}/mod_dav*.so
1611
1612 %files mod_deflate
1613 %defattr(644,root,root,755)
1614 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_deflate.conf
1615 %attr(755,root,root) %{_libexecdir}/mod_deflate.so
1616
1617 %files mod_dir
1618 %defattr(644,root,root,755)
1619 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_dir.conf
1620 %attr(755,root,root) %{_libexecdir}/mod_dir.so
1621
1622 %files mod_expires
1623 %defattr(644,root,root,755)
1624 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_expires.conf
1625 %attr(755,root,root) %{_libexecdir}/mod_expires.so
1626
1627 %files mod_file_cache
1628 %defattr(644,root,root,755)
1629 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_file_cache.conf
1630 %attr(755,root,root) %{_libexecdir}/mod_file_cache.so
1631
1632 %files mod_headers
1633 %defattr(644,root,root,755)
1634 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_headers.conf
1635 %attr(755,root,root) %{_libexecdir}/mod_headers.so
1636
1637 %files mod_imap
1638 %defattr(644,root,root,755)
1639 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_imap.conf
1640 %attr(755,root,root) %{_libexecdir}/mod_imap.so
1641
1642 %files mod_info
1643 %defattr(644,root,root,755)
1644 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_info.conf
1645 %attr(755,root,root) %{_libexecdir}/mod_info.so
1646
1647 %files mod_proxy
1648 %defattr(644,root,root,755)
1649 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_proxy.conf
1650 %attr(755,root,root) %{_libexecdir}/mod_proxy*.so
1651
1652 %files mod_rewrite
1653 %defattr(644,root,root,755)
1654 %attr(755,root,root) %{_libexecdir}/mod_rewrite.so
1655 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_rewrite.conf
1656
1657 %if %{with ssl}
1658 %files mod_ssl
1659 %defattr(644,root,root,755)
1660 %attr(750,root,root) %dir %{_sysconfdir}/ssl
1661 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ssl/server.*
1662 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_ssl.conf
1663 %attr(755,root,root) %{_libexecdir}/mod_ssl.so
1664 %endif
1665
1666 %files mod_status
1667 %defattr(644,root,root,755)
1668 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_status.conf
1669 %attr(755,root,root) %{_libexecdir}/mod_status.so
1670
1671 %files mod_usertrack
1672 %defattr(644,root,root,755)
1673 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_usertrack.conf
1674 %attr(755,root,root) %{_libexecdir}/mod_usertrack.so
1675
1676 %files mod_unique_id
1677 %defattr(644,root,root,755)
1678 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_unique_id.conf
1679 %attr(755,root,root) %{_libexecdir}/mod_unique_id.so
1680
1681 %files mod_vhost_alias
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) %{_libexecdir}/mod_vhost_alias.so
1684 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*_mod_vhost_alias.conf
This page took 0.340865 seconds and 4 git commands to generate.