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